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.



2647
2648
2649
# File 'lib/google/apis/games_v1/classes.rb', line 2647

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



2645
2646
2647
# File 'lib/google/apis/games_v1/classes.rb', line 2645

def tokens
  @tokens
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2652
2653
2654
# File 'lib/google/apis/games_v1/classes.rb', line 2652

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