Class: Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaExchangeDebugTokenRequest

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleFirebaseAppcheckV1betaExchangeDebugTokenRequest

Returns a new instance of GoogleFirebaseAppcheckV1betaExchangeDebugTokenRequest.



637
638
639
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 637

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

Instance Attribute Details

#debug_tokenString

Required. A debug token secret. This string must match a debug token secret previously created using CreateDebugToken. Corresponds to the JSON property debugToken

Returns:

  • (String)


626
627
628
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 626

def debug_token
  @debug_token
end

#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)


634
635
636
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 634

def limited_use
  @limited_use
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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