Class: Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaExchangeRecaptchaTokenRequest
- Inherits:
-
Object
- Object
- Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaExchangeRecaptchaTokenRequest
- 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 ExchangeRecaptchaToken method.
Instance Attribute Summary collapse
-
#recaptcha_token ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleFirebaseAppcheckV1betaExchangeRecaptchaTokenRequest
constructor
A new instance of GoogleFirebaseAppcheckV1betaExchangeRecaptchaTokenRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleFirebaseAppcheckV1betaExchangeRecaptchaTokenRequest
Returns a new instance of GoogleFirebaseAppcheckV1betaExchangeRecaptchaTokenRequest.
751 752 753 |
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 751 def initialize(**args) update!(**args) end |
Instance Attribute Details
#recaptcha_token ⇒ String
Required. The reCAPTCHA token as returned by the reCAPTCHA v3 JavaScript API.
Corresponds to the JSON property recaptchaToken
749 750 751 |
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 749 def recaptcha_token @recaptcha_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
756 757 758 |
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 756 def update!(**args) @recaptcha_token = args[:recaptcha_token] if args.key?(:recaptcha_token) end |