Class: Aws::GameLift::Types::DesiredPlayerSession

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb

Overview

Player information for use when creating player sessions using a game session placement request.

Constant Summary collapse

SENSITIVE =
[:player_id]

Instance Attribute Summary collapse

Instance Attribute Details

#player_dataString

Developer-defined information related to a player. Amazon GameLift does not use this data, so it can be formatted as needed for use in the game.

Returns:

  • (String)


3583
3584
3585
3586
3587
3588
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 3583

class DesiredPlayerSession < Struct.new(
  :player_id,
  :player_data)
  SENSITIVE = [:player_id]
  include Aws::Structure
end

#player_idString

A unique identifier for a player to associate with the player session.

Returns:

  • (String)


3583
3584
3585
3586
3587
3588
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 3583

class DesiredPlayerSession < Struct.new(
  :player_id,
  :player_data)
  SENSITIVE = [:player_id]
  include Aws::Structure
end