Class: Google::Apis::IdentitytoolkitV3::GetRecaptchaParamResponse

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GetRecaptchaParamResponse

Returns a new instance of GetRecaptchaParamResponse



265
266
267
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 265

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#kindString

The fixed string "identitytoolkit#GetRecaptchaParamResponse". Corresponds to the JSON property kind

Returns:

  • (String)


253
254
255
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 253

def kind
  @kind
end

#recaptcha_site_keyString

Site key registered at recaptcha. Corresponds to the JSON property recaptchaSiteKey

Returns:

  • (String)


258
259
260
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 258

def recaptcha_site_key
  @recaptcha_site_key
end

#recaptcha_stokenString

The stoken field for the recaptcha widget, used to request captcha challenge. Corresponds to the JSON property recaptchaStoken

Returns:

  • (String)


263
264
265
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 263

def recaptcha_stoken
  @recaptcha_stoken
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



270
271
272
273
274
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 270

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