class Google::Apis::GamesV1::TurnBasedMatchDataRequest

This is a JSON template for sending a turn-based match data object.

Attributes

data[RW]

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` @return [String]

kind[RW]

Uniquely identifies the type of this resource. Value is always the fixed string games#turnBasedMatchDataRequest. Corresponds to the JSON property `kind` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/games_v1/classes.rb, line 4331
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/games_v1/classes.rb, line 4336
def update!(**args)
  @data = args[:data] if args.key?(:data)
  @kind = args[:kind] if args.key?(:kind)
end