class Google::Apis::GamesV1::TurnBasedMatchData

This is a JSON template for 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]

data_available[RW]

True if this match has data available but it wasn't returned in a list response; fetching the match individually will retrieve this data. Corresponds to the JSON property `dataAvailable` @return [Boolean]

data_available?[RW]

True if this match has data available but it wasn't returned in a list response; fetching the match individually will retrieve this data. Corresponds to the JSON property `dataAvailable` @return [Boolean]

kind[RW]

Uniquely identifies the type of this resource. Value is always the fixed string games#turnBasedMatchData. 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 4303
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 4308
def update!(**args)
  @data = args[:data] if args.key?(:data)
  @data_available = args[:data_available] if args.key?(:data_available)
  @kind = args[:kind] if args.key?(:kind)
end