Class: Google::Apis::GamesV1::GeneratePlayGroupingApiTokenResponse

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

Response for the GeneratePlayGroupingApiToken RPC.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GeneratePlayGroupingApiTokenResponse

Returns a new instance of GeneratePlayGroupingApiTokenResponse.



1143
1144
1145
# File 'lib/google/apis/games_v1/classes.rb', line 1143

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

Instance Attribute Details

#tokenGoogle::Apis::GamesV1::PlayGroupingApiToken

Token data returned from GeneratePlayGroupingApiToken RPC. Corresponds to the JSON property token



1141
1142
1143
# File 'lib/google/apis/games_v1/classes.rb', line 1141

def token
  @token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1148
1149
1150
# File 'lib/google/apis/games_v1/classes.rb', line 1148

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