Class: Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaExchangeRecaptchaEnterpriseTokenRequest

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 ExchangeRecaptchaEnterpriseToken method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleFirebaseAppcheckV1betaExchangeRecaptchaEnterpriseTokenRequest

Returns a new instance of GoogleFirebaseAppcheckV1betaExchangeRecaptchaEnterpriseTokenRequest.



730
731
732
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 730

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)


720
721
722
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 720

def limited_use
  @limited_use
end

#recaptcha_enterprise_tokenString

Required. The reCAPTCHA token as returned by the reCAPTCHA Enterprise JavaScript API. Corresponds to the JSON property recaptchaEnterpriseToken

Returns:

  • (String)


728
729
730
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 728

def recaptcha_enterprise_token
  @recaptcha_enterprise_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



735
736
737
738
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 735

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