Class: Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaRecaptchaConfig
- Inherits:
-
Object
- Object
- Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaRecaptchaConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/firebaseappcheck_v1beta/classes.rb,
lib/google/apis/firebaseappcheck_v1beta/representations.rb,
lib/google/apis/firebaseappcheck_v1beta/representations.rb
Overview
An app's reCAPTCHA v3 configuration object. This configuration is used by ExchangeRecaptchaToken to validate reCAPTCHA tokens issued to apps by reCAPTCHA v3.
Instance Attribute Summary collapse
-
#name ⇒ String
Required.
-
#site_secret ⇒ String
Required.
-
#site_secret_set ⇒ Boolean
(also: #site_secret_set?)
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleFirebaseAppcheckV1betaRecaptchaConfig
constructor
A new instance of GoogleFirebaseAppcheckV1betaRecaptchaConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleFirebaseAppcheckV1betaRecaptchaConfig
Returns a new instance of GoogleFirebaseAppcheckV1betaRecaptchaConfig.
489 490 491 |
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 489 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Required. The relative resource name of the reCAPTCHA v3 configuration object,
in the format: projects/`project_number`/apps/`app_id`/recaptchaConfig
Corresponds to the JSON property name
472 473 474 |
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 472 def name @name end |
#site_secret ⇒ String
Required. Input only. The site secret used to identify your service for
reCAPTCHA v3 verification. For security reasons, this field will never be
populated in any response.
Corresponds to the JSON property siteSecret
479 480 481 |
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 479 def site_secret @site_secret end |
#site_secret_set ⇒ Boolean Also known as: site_secret_set?
Output only. Whether the site_secret field was previously set. Since we will
never return the site_secret field, this field is the only way to find out
whether it was previously set.
Corresponds to the JSON property siteSecretSet
486 487 488 |
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 486 def site_secret_set @site_secret_set end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
494 495 496 497 498 |
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 494 def update!(**args) @name = args[:name] if args.key?(:name) @site_secret = args[:site_secret] if args.key?(:site_secret) @site_secret_set = args[:site_secret_set] if args.key?(:site_secret_set) end |