Class: Google::Apis::IdentitytoolkitV3::GetRecaptchaParamResponse
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV3::GetRecaptchaParamResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/identitytoolkit_v3/classes.rb,
generated/google/apis/identitytoolkit_v3/representations.rb,
generated/google/apis/identitytoolkit_v3/representations.rb
Overview
Response of getting recaptcha param.
Instance Attribute Summary collapse
-
#kind ⇒ String
The fixed string "identitytoolkit#GetRecaptchaParamResponse".
-
#recaptcha_site_key ⇒ String
Site key registered at recaptcha.
-
#recaptcha_stoken ⇒ String
The stoken field for the recaptcha widget, used to request captcha challenge.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GetRecaptchaParamResponse
constructor
A new instance of GetRecaptchaParamResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GetRecaptchaParamResponse
Returns a new instance of GetRecaptchaParamResponse
327 328 329 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 327 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kind ⇒ String
The fixed string "identitytoolkit#GetRecaptchaParamResponse".
Corresponds to the JSON property kind
315 316 317 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 315 def kind @kind end |
#recaptcha_site_key ⇒ String
Site key registered at recaptcha.
Corresponds to the JSON property recaptchaSiteKey
320 321 322 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 320 def recaptcha_site_key @recaptcha_site_key end |
#recaptcha_stoken ⇒ String
The stoken field for the recaptcha widget, used to request captcha challenge.
Corresponds to the JSON property recaptchaStoken
325 326 327 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 325 def recaptcha_stoken @recaptcha_stoken end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
332 333 334 335 336 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 332 def update!(**args) @kind = args[:kind] if args.key?(:kind) @recaptcha_site_key = args[:recaptcha_site_key] if args.key?(:recaptcha_site_key) @recaptcha_stoken = args[:recaptcha_stoken] if args.key?(:recaptcha_stoken) end |