Class: Google::Apis::GamesV1::TurnBasedMatchDataRequest
- Inherits:
-
Object
- Object
- Google::Apis::GamesV1::TurnBasedMatchDataRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/games_v1/classes.rb,
generated/google/apis/games_v1/representations.rb,
generated/google/apis/games_v1/representations.rb
Overview
This is a JSON template for sending a turn-based match data object.
Instance Attribute Summary collapse
-
#data ⇒ String
The byte representation of the data (limited to 128 kB), as a Base64-encoded string with the URL_SAFE encoding option.
-
#kind ⇒ String
Uniquely identifies the type of this resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TurnBasedMatchDataRequest
constructor
A new instance of TurnBasedMatchDataRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ TurnBasedMatchDataRequest
Returns a new instance of TurnBasedMatchDataRequest.
4365 4366 4367 |
# File 'generated/google/apis/games_v1/classes.rb', line 4365 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data ⇒ String
The byte representation of the data (limited to 128 kB), as a Base64-encoded
string with the URL_SAFE encoding option.
Corresponds to the JSON property data
4357 4358 4359 |
# File 'generated/google/apis/games_v1/classes.rb', line 4357 def data @data end |
#kind ⇒ String
Uniquely identifies the type of this resource. Value is always the fixed
string games#turnBasedMatchDataRequest.
Corresponds to the JSON property kind
4363 4364 4365 |
# File 'generated/google/apis/games_v1/classes.rb', line 4363 def kind @kind end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4370 4371 4372 4373 |
# File 'generated/google/apis/games_v1/classes.rb', line 4370 def update!(**args) @data = args[:data] if args.key?(:data) @kind = args[:kind] if args.key?(:kind) end |