Class: Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1SignInWithGameCenterRequest
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1SignInWithGameCenterRequest
- 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
Request message for SignInWithGameCenter
Instance Attribute Summary collapse
-
#display_name ⇒ String
The user's Game Center display name.
-
#game_player_id ⇒ String
The user's Game Center game player ID.
-
#id_token ⇒ String
A valid ID token for an Identity Platform account.
-
#player_id ⇒ String
Required.
-
#public_key_url ⇒ String
Required.
-
#salt ⇒ String
Required.
-
#signature ⇒ String
Required.
-
#team_player_id ⇒ String
The user's Game Center team player ID.
-
#tenant_id ⇒ String
The ID of the Identity Platform tenant the user is signing in to.
-
#timestamp ⇒ Fixnum
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV1SignInWithGameCenterRequest
constructor
A new instance of GoogleCloudIdentitytoolkitV1SignInWithGameCenterRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV1SignInWithGameCenterRequest
Returns a new instance of GoogleCloudIdentitytoolkitV1SignInWithGameCenterRequest.
2424 2425 2426 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2424 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
The user's Game Center display name.
Corresponds to the JSON property displayName
2367 2368 2369 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2367 def display_name @display_name 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
2374 2375 2376 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2374 def game_player_id @game_player_id end |
#id_token ⇒ String
A valid ID token for an Identity Platform account. If present, this request
will link the Game Center player ID to the account represented by this ID
token.
Corresponds to the JSON property idToken
2381 2382 2383 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2381 def id_token @id_token end |
#player_id ⇒ String
Required. The user's Game Center player ID. Deprecated by Apple. 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
2388 2389 2390 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2388 def player_id @player_id end |
#public_key_url ⇒ String
Required. The URL to fetch the Apple public key in order to verify the given
signature is signed by Apple.
Corresponds to the JSON property publicKeyUrl
2394 2395 2396 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2394 def public_key_url @public_key_url end |
#salt ⇒ String
Required. A random string used to generate the given signature.
Corresponds to the JSON property salt
2399 2400 2401 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2399 def salt @salt end |
#signature ⇒ String
Required. The verification signature data generated by Apple.
Corresponds to the JSON property signature
2404 2405 2406 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2404 def signature @signature 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
2411 2412 2413 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2411 def team_player_id @team_player_id end |
#tenant_id ⇒ String
The ID of the Identity Platform tenant the user is signing in to.
Corresponds to the JSON property tenantId
2416 2417 2418 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2416 def tenant_id @tenant_id end |
#timestamp ⇒ Fixnum
Required. The time when the signature was created by Apple, in milliseconds
since the epoch.
Corresponds to the JSON property timestamp
2422 2423 2424 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2422 def @timestamp end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2429 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @game_player_id = args[:game_player_id] if args.key?(:game_player_id) @id_token = args[:id_token] if args.key?(:id_token) @player_id = args[:player_id] if args.key?(:player_id) @public_key_url = args[:public_key_url] if args.key?(:public_key_url) @salt = args[:salt] if args.key?(:salt) @signature = args[:signature] if args.key?(:signature) @team_player_id = args[:team_player_id] if args.key?(:team_player_id) @tenant_id = args[:tenant_id] if args.key?(:tenant_id) @timestamp = args[:timestamp] if args.key?(:timestamp) end |