Class: Google::Apis::GamesV1::RetrievePlayerTokensResponse

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 RetrievePlayerTokens RPC

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RetrievePlayerTokensResponse

Returns a new instance of RetrievePlayerTokensResponse.



2590
2591
2592
# File 'lib/google/apis/games_v1/classes.rb', line 2590

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

Instance Attribute Details

#tokensArray<Google::Apis::GamesV1::RecallToken>

Required. Recall tokens associated with the requested PGS Player principal Corresponds to the JSON property tokens



2588
2589
2590
# File 'lib/google/apis/games_v1/classes.rb', line 2588

def tokens
  @tokens
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2595
2596
2597
# File 'lib/google/apis/games_v1/classes.rb', line 2595

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