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.



1885
1886
1887
# File 'lib/google/apis/games_v1/classes.rb', line 1885

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

Instance Attribute Details

#token_valueString

Value of the token. Corresponds to the JSON property tokenValue

Returns:

  • (String)


1883
1884
1885
# File 'lib/google/apis/games_v1/classes.rb', line 1883

def token_value
  @token_value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1890
1891
1892
# File 'lib/google/apis/games_v1/classes.rb', line 1890

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