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.



1812
1813
1814
# File 'lib/google/apis/games_v1/classes.rb', line 1812

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

Instance Attribute Details

#token_valueString

Value of the token. Corresponds to the JSON property tokenValue

Returns:

  • (String)


1810
1811
1812
# File 'lib/google/apis/games_v1/classes.rb', line 1810

def token_value
  @token_value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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