Class: Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1GetRecaptchaParamResponse
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1GetRecaptchaParamResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/identitytoolkit_v1/classes.rb,
lib/google/apis/identitytoolkit_v1/representations.rb,
lib/google/apis/identitytoolkit_v1/representations.rb
Overview
Response message for GetRecaptchaParam.
Instance Attribute Summary collapse
-
#kind ⇒ String
Corresponds to the JSON property
kind. -
#producer_project_number ⇒ String
The producer project number used to generate PIA tokens Corresponds to the JSON property
producerProjectNumber. -
#recaptcha_site_key ⇒ String
The reCAPTCHA v2 site key used to invoke the reCAPTCHA service.
-
#recaptcha_stoken ⇒ String
Corresponds to the JSON property
recaptchaStoken.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV1GetRecaptchaParamResponse
constructor
A new instance of GoogleCloudIdentitytoolkitV1GetRecaptchaParamResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV1GetRecaptchaParamResponse
Returns a new instance of GoogleCloudIdentitytoolkitV1GetRecaptchaParamResponse.
1155 1156 1157 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1155 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kind ⇒ String
Corresponds to the JSON property kind
1138 1139 1140 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1138 def kind @kind end |
#producer_project_number ⇒ String
The producer project number used to generate PIA tokens
Corresponds to the JSON property producerProjectNumber
1143 1144 1145 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1143 def producer_project_number @producer_project_number end |
#recaptcha_site_key ⇒ String
The reCAPTCHA v2 site key used to invoke the reCAPTCHA service. Always present.
Corresponds to the JSON property recaptchaSiteKey
1148 1149 1150 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1148 def recaptcha_site_key @recaptcha_site_key end |
#recaptcha_stoken ⇒ String
Corresponds to the JSON property recaptchaStoken
1153 1154 1155 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1153 def recaptcha_stoken @recaptcha_stoken end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1160 1161 1162 1163 1164 1165 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1160 def update!(**args) @kind = args[:kind] if args.key?(:kind) @producer_project_number = args[:producer_project_number] if args.key?(:producer_project_number) @recaptcha_site_key = args[:recaptcha_site_key] if args.key?(:recaptcha_site_key) @recaptcha_stoken = args[:recaptcha_stoken] if args.key?(:recaptcha_stoken) end |