Class: Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaExchangeCustomTokenRequest

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleFirebaseAppcheckV1betaExchangeCustomTokenRequest

Returns a new instance of GoogleFirebaseAppcheckV1betaExchangeCustomTokenRequest.



449
450
451
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 449

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

Instance Attribute Details

#custom_tokenString

Required. A custom token signed using your project's Admin SDK service account credentials. Corresponds to the JSON property customToken

Returns:

  • (String)


447
448
449
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 447

def custom_token
  @custom_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



454
455
456
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 454

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