Class: Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaExchangePlayIntegrityTokenRequest

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
more...

Overview

Request message for the ExchangePlayIntegrityToken method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleFirebaseAppcheckV1betaExchangePlayIntegrityTokenRequest

Returns a new instance of GoogleFirebaseAppcheckV1betaExchangePlayIntegrityTokenRequest.

[View source]

699
700
701
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 699

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)

689
690
691
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 689

def limited_use
  @limited_use
end

#play_integrity_tokenString

Required. The integrity verdict response token from Play Integrity issued to your app. Corresponds to the JSON property playIntegrityToken

Returns:

  • (String)

697
698
699
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 697

def play_integrity_token
  @play_integrity_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object

[View source]

704
705
706
707
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 704

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