Class: Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1ExchangeCustomTokenRequest
- Inherits:
-
Object
- Object
- Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1ExchangeCustomTokenRequest
- 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 ExchangeCustomToken method.
Instance Attribute Summary collapse
-
#custom_token ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleFirebaseAppcheckV1ExchangeCustomTokenRequest
constructor
A new instance of GoogleFirebaseAppcheckV1ExchangeCustomTokenRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleFirebaseAppcheckV1ExchangeCustomTokenRequest
Returns a new instance of GoogleFirebaseAppcheckV1ExchangeCustomTokenRequest.
463 464 465 |
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 463 def initialize(**args) update!(**args) end |
Instance Attribute Details
#custom_token ⇒ String
Required. A custom token signed using your project's Admin SDK service account
credentials.
Corresponds to the JSON property customToken
461 462 463 |
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 461 def custom_token @custom_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
468 469 470 |
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 468 def update!(**args) @custom_token = args[:custom_token] if args.key?(:custom_token) end |