Class: Google::Apis::GamesV1::GenerateRecallPlayGroupingApiTokenResponse

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 GenerateRecallPlayGroupingApiToken RPC.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GenerateRecallPlayGroupingApiTokenResponse

Returns a new instance of GenerateRecallPlayGroupingApiTokenResponse.



1162
1163
1164
# File 'lib/google/apis/games_v1/classes.rb', line 1162

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



1160
1161
1162
# File 'lib/google/apis/games_v1/classes.rb', line 1160

def token
  @token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1167
1168
1169
# File 'lib/google/apis/games_v1/classes.rb', line 1167

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