Class: Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaExchangeSafetyNetTokenRequest

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleFirebaseAppcheckV1betaExchangeSafetyNetTokenRequest

Returns a new instance of GoogleFirebaseAppcheckV1betaExchangeSafetyNetTokenRequest.



801
802
803
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 801

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

Instance Attribute Details

#safety_net_tokenString

Required. The SafetyNet attestation response issued to your app. Corresponds to the JSON property safetyNetToken

Returns:

  • (String)


799
800
801
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 799

def safety_net_token
  @safety_net_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



806
807
808
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 806

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