Class: Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1ExchangeRecaptchaV3TokenRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/firebaseappcheck_v1/classes.rb,
lib/google/apis/firebaseappcheck_v1/representations.rb,
lib/google/apis/firebaseappcheck_v1/representations.rb

Overview

Request message for the ExchangeRecaptchaV3Token method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleFirebaseAppcheckV1ExchangeRecaptchaV3TokenRequest

Returns a new instance of GoogleFirebaseAppcheckV1ExchangeRecaptchaV3TokenRequest.



651
652
653
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 651

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#limited_useBoolean Also known as: limited_use?

Specifies whether this attestation is for use in a limited use (true) or * session based* (false) context. To enable this attestation to be used with the replay protection feature, set this to true. The default value is false. Corresponds to the JSON property limitedUse

Returns:

  • (Boolean)


642
643
644
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 642

def limited_use
  @limited_use
end

#recaptcha_v3_tokenString

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

Returns:

  • (String)


649
650
651
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 649

def recaptcha_v3_token
  @recaptcha_v3_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



656
657
658
659
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 656

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