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.



550
551
552
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 550

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)


548
549
550
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 548

def recaptcha_token
  @recaptcha_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



555
556
557
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 555

def update!(**args)
  @recaptcha_token = args[:recaptcha_token] if args.key?(:recaptcha_token)
end