Class: Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaExchangeRecaptchaTokenRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_tokenString

Required. The reCAPTCHA token as returned by the reCAPTCHA v3 JavaScript API. Corresponds to the JSON property recaptchaToken

Returns:

  • (String)


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