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.
1138 1139 1140 |
# File 'lib/google/apis/games_v1/classes.rb', line 1138 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
1131 1132 1133 |
# File 'lib/google/apis/games_v1/classes.rb', line 1131 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
1136 1137 1138 |
# File 'lib/google/apis/games_v1/classes.rb', line 1136 def recall_token @recall_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1143 1144 1145 1146 |
# File 'lib/google/apis/games_v1/classes.rb', line 1143 def update!(**args) @application_id = args[:application_id] if args.key?(:application_id) @recall_token = args[:recall_token] if args.key?(:recall_token) end |