Class: Google::Apis::GamesV1::PlayGroupingApiToken

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/games_v1/classes.rb,
lib/google/apis/games_v1/representations.rb,
lib/google/apis/games_v1/representations.rb

Overview

Token data returned from GeneratePlayGroupingApiToken RPC.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PlayGroupingApiToken

Returns a new instance of PlayGroupingApiToken.



1818
1819
1820
# File 'lib/google/apis/games_v1/classes.rb', line 1818

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

Instance Attribute Details

#token_valueString

Value of the token. Corresponds to the JSON property tokenValue

Returns:

  • (String)


1816
1817
1818
# File 'lib/google/apis/games_v1/classes.rb', line 1816

def token_value
  @token_value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1823
1824
1825
# File 'lib/google/apis/games_v1/classes.rb', line 1823

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