Class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1RetrieveLegacySecretKeyResponse
- Inherits:
-
Object
- Object
- Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1RetrieveLegacySecretKeyResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/recaptchaenterprise_v1/classes.rb,
lib/google/apis/recaptchaenterprise_v1/representations.rb,
lib/google/apis/recaptchaenterprise_v1/representations.rb
Overview
Secret key used in legacy reCAPTCHA only. Should be used when integrating with a 3rd party which is still using legacy reCAPTCHA.
Instance Attribute Summary collapse
-
#legacy_secret_key ⇒ String
The secret key (also known as shared secret) authorizes communication between your application backend and the reCAPTCHA Enterprise server to create an assessment.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRecaptchaenterpriseV1RetrieveLegacySecretKeyResponse
constructor
A new instance of GoogleCloudRecaptchaenterpriseV1RetrieveLegacySecretKeyResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRecaptchaenterpriseV1RetrieveLegacySecretKeyResponse
Returns a new instance of GoogleCloudRecaptchaenterpriseV1RetrieveLegacySecretKeyResponse.
552 553 554 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 552 def initialize(**args) update!(**args) end |
Instance Attribute Details
#legacy_secret_key ⇒ String
The secret key (also known as shared secret) authorizes communication between
your application backend and the reCAPTCHA Enterprise server to create an
assessment. The secret key needs to be kept safe for security purposes.
Corresponds to the JSON property legacySecretKey
550 551 552 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 550 def legacy_secret_key @legacy_secret_key end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
557 558 559 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 557 def update!(**args) @legacy_secret_key = args[:legacy_secret_key] if args.key?(:legacy_secret_key) end |