Class: Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1SignInWithGameCenterResponse
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1SignInWithGameCenterResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/identitytoolkit_v1/classes.rb,
lib/google/apis/identitytoolkit_v1/representations.rb,
lib/google/apis/identitytoolkit_v1/representations.rb
Overview
Response message for SignInWithGameCenter
Instance Attribute Summary collapse
-
#display_name ⇒ String
Display name of the authenticated user.
-
#expires_in ⇒ Fixnum
The number of seconds until the ID token expires.
-
#game_player_id ⇒ String
The user's Game Center game player ID.
-
#id_token ⇒ String
An Identity Platform ID token for the authenticated user.
-
#is_new_user ⇒ Boolean
(also: #is_new_user?)
Whether the logged in user was created by this request.
-
#local_id ⇒ String
The ID of the authenticated user.
-
#player_id ⇒ String
The user's Game Center player ID.
-
#refresh_token ⇒ String
An Identity Platform refresh token for the authenticated user.
-
#team_player_id ⇒ String
The user's Game Center team player ID.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV1SignInWithGameCenterResponse
constructor
A new instance of GoogleCloudIdentitytoolkitV1SignInWithGameCenterResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV1SignInWithGameCenterResponse
Returns a new instance of GoogleCloudIdentitytoolkitV1SignInWithGameCenterResponse.
2472 2473 2474 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2472 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
Display name of the authenticated user.
Corresponds to the JSON property displayName
2423 2424 2425 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2423 def display_name @display_name end |
#expires_in ⇒ Fixnum
The number of seconds until the ID token expires.
Corresponds to the JSON property expiresIn
2428 2429 2430 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2428 def expires_in @expires_in end |
#game_player_id ⇒ String
The user's Game Center game player ID. A unique identifier for a player of the
game. https://developer.apple.com/documentation/gamekit/gkplayer/3113960-
gameplayerid
Corresponds to the JSON property gamePlayerId
2435 2436 2437 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2435 def game_player_id @game_player_id end |
#id_token ⇒ String
An Identity Platform ID token for the authenticated user.
Corresponds to the JSON property idToken
2440 2441 2442 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2440 def id_token @id_token end |
#is_new_user ⇒ Boolean Also known as: is_new_user?
Whether the logged in user was created by this request.
Corresponds to the JSON property isNewUser
2445 2446 2447 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2445 def is_new_user @is_new_user end |
#local_id ⇒ String
The ID of the authenticated user. Always present in the response.
Corresponds to the JSON property localId
2451 2452 2453 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2451 def local_id @local_id end |
#player_id ⇒ String
The user's Game Center player ID. Pass playerID
along with gamePlayerID
and teamPlayerID
to initiate the migration of a user's Game Center player ID
to gamePlayerID
.
Corresponds to the JSON property playerId
2458 2459 2460 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2458 def player_id @player_id end |
#refresh_token ⇒ String
An Identity Platform refresh token for the authenticated user.
Corresponds to the JSON property refreshToken
2463 2464 2465 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2463 def refresh_token @refresh_token end |
#team_player_id ⇒ String
The user's Game Center team player ID. A unique identifier for a player of all
the games that you distribute using your developer account. https://developer.
apple.com/documentation/gamekit/gkplayer/3174857-teamplayerid
Corresponds to the JSON property teamPlayerId
2470 2471 2472 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2470 def team_player_id @team_player_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2477 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @expires_in = args[:expires_in] if args.key?(:expires_in) @game_player_id = args[:game_player_id] if args.key?(:game_player_id) @id_token = args[:id_token] if args.key?(:id_token) @is_new_user = args[:is_new_user] if args.key?(:is_new_user) @local_id = args[:local_id] if args.key?(:local_id) @player_id = args[:player_id] if args.key?(:player_id) @refresh_token = args[:refresh_token] if args.key?(:refresh_token) @team_player_id = args[:team_player_id] if args.key?(:team_player_id) end |