Class: Google::Apis::GamesV1::GamePlayerToken
- Inherits:
-
Object
- Object
- Google::Apis::GamesV1::GamePlayerToken
- 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
Recall tokens for a game.
Instance Attribute Summary collapse
-
#application_id ⇒ String
The application that this player identifier is for.
-
#recall_token ⇒ Google::Apis::GamesV1::RecallToken
Recall token data returned from RetrievePlayerTokens RPC Corresponds to the JSON property
recallToken.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GamePlayerToken
constructor
A new instance of GamePlayerToken.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GamePlayerToken
Returns a new instance of GamePlayerToken.
1071 1072 1073 |
# File 'lib/google/apis/games_v1/classes.rb', line 1071 def initialize(**args) update!(**args) end |
Instance Attribute Details
#application_id ⇒ String
The application that this player identifier is for.
Corresponds to the JSON property applicationId
1064 1065 1066 |
# File 'lib/google/apis/games_v1/classes.rb', line 1064 def application_id @application_id end |
#recall_token ⇒ Google::Apis::GamesV1::RecallToken
Recall token data returned from RetrievePlayerTokens RPC
Corresponds to the JSON property recallToken
1069 1070 1071 |
# File 'lib/google/apis/games_v1/classes.rb', line 1069 def recall_token @recall_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1076 1077 1078 1079 |
# File 'lib/google/apis/games_v1/classes.rb', line 1076 def update!(**args) @application_id = args[:application_id] if args.key?(:application_id) @recall_token = args[:recall_token] if args.key?(:recall_token) end |