Class: Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1GetRecaptchaParamResponse

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV1GetRecaptchaParamResponse

Returns a new instance of GoogleCloudIdentitytoolkitV1GetRecaptchaParamResponse.



1115
1116
1117
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1115

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

Instance Attribute Details

#kindString

Corresponds to the JSON property kind

Returns:

  • (String)


1098
1099
1100
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1098

def kind
  @kind
end

#producer_project_numberString

The producer project number used to generate PIA tokens Corresponds to the JSON property producerProjectNumber

Returns:

  • (String)


1103
1104
1105
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1103

def producer_project_number
  @producer_project_number
end

#recaptcha_site_keyString

The reCAPTCHA v2 site key used to invoke the reCAPTCHA service. Always present. Corresponds to the JSON property recaptchaSiteKey

Returns:

  • (String)


1108
1109
1110
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1108

def recaptcha_site_key
  @recaptcha_site_key
end

#recaptcha_stokenString

Corresponds to the JSON property recaptchaStoken

Returns:

  • (String)


1113
1114
1115
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1113

def recaptcha_stoken
  @recaptcha_stoken
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1120
1121
1122
1123
1124
1125
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1120

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