Class: Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaExchangeDeviceCheckTokenRequest

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleFirebaseAppcheckV1betaExchangeDeviceCheckTokenRequest

Returns a new instance of GoogleFirebaseAppcheckV1betaExchangeDeviceCheckTokenRequest.



490
491
492
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 490

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

Instance Attribute Details

#device_tokenString

Required. The device_token as returned by Apple's client-side DeviceCheck API. This is the Base64 encoded Data (Swift) or NSData (ObjC) object. Corresponds to the JSON property deviceToken

Returns:

  • (String)


488
489
490
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 488

def device_token
  @device_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



495
496
497
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 495

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