Class: Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1ExchangeDeviceCheckTokenRequest
- Inherits:
-
Object
- Object
- Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1ExchangeDeviceCheckTokenRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/firebaseappcheck_v1/classes.rb,
lib/google/apis/firebaseappcheck_v1/representations.rb,
lib/google/apis/firebaseappcheck_v1/representations.rb
Overview
Request message for the ExchangeDeviceCheckToken method.
Instance Attribute Summary collapse
-
#device_token ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleFirebaseAppcheckV1ExchangeDeviceCheckTokenRequest
constructor
A new instance of GoogleFirebaseAppcheckV1ExchangeDeviceCheckTokenRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleFirebaseAppcheckV1ExchangeDeviceCheckTokenRequest
Returns a new instance of GoogleFirebaseAppcheckV1ExchangeDeviceCheckTokenRequest.
504 505 506 |
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 504 def initialize(**args) update!(**args) end |
Instance Attribute Details
#device_token ⇒ String
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
502 503 504 |
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 502 def device_token @device_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
509 510 511 |
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 509 def update!(**args) @device_token = args[:device_token] if args.key?(:device_token) end |