Class: Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaExchangeRecaptchaEnterpriseTokenRequest
- Inherits:
-
Object
- Object
- Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaExchangeRecaptchaEnterpriseTokenRequest
- 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 ExchangeRecaptchaEnterpriseToken method.
Instance Attribute Summary collapse
-
#limited_use ⇒ Boolean
(also: #limited_use?)
Forces a short-lived token with a 5 minute TTL.
-
#recaptcha_enterprise_token ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleFirebaseAppcheckV1betaExchangeRecaptchaEnterpriseTokenRequest
constructor
A new instance of GoogleFirebaseAppcheckV1betaExchangeRecaptchaEnterpriseTokenRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleFirebaseAppcheckV1betaExchangeRecaptchaEnterpriseTokenRequest
Returns a new instance of GoogleFirebaseAppcheckV1betaExchangeRecaptchaEnterpriseTokenRequest.
662 663 664 |
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 662 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
652 653 654 |
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 652 def limited_use @limited_use end |
#recaptcha_enterprise_token ⇒ String
Required. The reCAPTCHA token as returned by the reCAPTCHA Enterprise
JavaScript API.
Corresponds to the JSON property recaptchaEnterpriseToken
660 661 662 |
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 660 def recaptcha_enterprise_token @recaptcha_enterprise_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
667 668 669 670 |
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 667 def update!(**args) @limited_use = args[:limited_use] if args.key?(:limited_use) @recaptcha_enterprise_token = args[:recaptcha_enterprise_token] if args.key?(:recaptcha_enterprise_token) end |