Class: Aws::GameLift::Types::AttributeValue
- Inherits:
-
Struct
- Object
- Struct
- Aws::GameLift::Types::AttributeValue
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-gamelift/types.rb
Overview
Values for use in player attribute key-value pairs. This object lets you specify an attribute value using any of the valid data types: string, number, string array, or data map. Each ‘AttributeValue` object can use only one of the available properties.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#n ⇒ Float
For number values, expressed as double.
-
#s ⇒ String
For single string values.
-
#sdm ⇒ Hash<String,Float>
For a map of up to 10 data type:value pairs.
-
#sl ⇒ Array<String>
For a list of up to 100 strings.
Instance Attribute Details
#n ⇒ Float
For number values, expressed as double.
156 157 158 159 160 161 162 163 |
# File 'lib/aws-sdk-gamelift/types.rb', line 156 class AttributeValue < Struct.new( :s, :n, :sl, :sdm) SENSITIVE = [] include Aws::Structure end |
#s ⇒ String
For single string values. Maximum string length is 100 characters.
156 157 158 159 160 161 162 163 |
# File 'lib/aws-sdk-gamelift/types.rb', line 156 class AttributeValue < Struct.new( :s, :n, :sl, :sdm) SENSITIVE = [] include Aws::Structure end |
#sdm ⇒ Hash<String,Float>
For a map of up to 10 data type:value pairs. Maximum length for each string value is 100 characters.
156 157 158 159 160 161 162 163 |
# File 'lib/aws-sdk-gamelift/types.rb', line 156 class AttributeValue < Struct.new( :s, :n, :sl, :sdm) SENSITIVE = [] include Aws::Structure end |
#sl ⇒ Array<String>
For a list of up to 100 strings. Maximum length for each string is 100 characters. Duplicate values are not recognized; all occurrences of the repeated value after the first of a repeated value are ignored.
156 157 158 159 160 161 162 163 |
# File 'lib/aws-sdk-gamelift/types.rb', line 156 class AttributeValue < Struct.new( :s, :n, :sl, :sdm) SENSITIVE = [] include Aws::Structure end |