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.
757 758 759 |
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 757 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
755 756 757 |
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 755 def recaptcha_token @recaptcha_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
762 763 764 |
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 762 def update!(**args) @recaptcha_token = args[:recaptcha_token] if args.key?(:recaptcha_token) end |