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.



2524
2525
2526
# File 'lib/google/apis/games_v1/classes.rb', line 2524

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



2522
2523
2524
# File 'lib/google/apis/games_v1/classes.rb', line 2522

def tokens
  @tokens
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2529
2530
2531
# File 'lib/google/apis/games_v1/classes.rb', line 2529

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