Class: Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaExchangeRecaptchaV3TokenRequest
- Inherits:
-
Object
- Object
- Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaExchangeRecaptchaV3TokenRequest
- 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
Request message for the ExchangeRecaptchaV3Token method.
Instance Attribute Summary collapse
-
#limited_use ⇒ Boolean
(also: #limited_use?)
Forces a short-lived token with a 5 minute TTL.
-
#recaptcha_v3_token ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleFirebaseAppcheckV1betaExchangeRecaptchaV3TokenRequest
constructor
A new instance of GoogleFirebaseAppcheckV1betaExchangeRecaptchaV3TokenRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleFirebaseAppcheckV1betaExchangeRecaptchaV3TokenRequest
Returns a new instance of GoogleFirebaseAppcheckV1betaExchangeRecaptchaV3TokenRequest.
710 711 712 |
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 710 def initialize(**args) update!(**args) end |
Instance Attribute Details
#limited_use ⇒ Boolean Also known as: limited_use?
Forces a short-lived token with a 5 minute TTL. Useful when the client wishes
to impose stricter TTL requirements for this exchange. Default: false.
Corresponds to the JSON property limitedUse
701 702 703 |
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 701 def limited_use @limited_use end |
#recaptcha_v3_token ⇒ String
Required. The reCAPTCHA token as returned by the reCAPTCHA v3 JavaScript API.
Corresponds to the JSON property recaptchaV3Token
708 709 710 |
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 708 def recaptcha_v3_token @recaptcha_v3_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
715 716 717 718 |
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 715 def update!(**args) @limited_use = args[:limited_use] if args.key?(:limited_use) @recaptcha_v3_token = args[:recaptcha_v3_token] if args.key?(:recaptcha_v3_token) end |