class Google::Apis::GamesV1::TurnBasedMatchModification

This is a JSON template for turn-based match modification metadata.

Attributes

kind[RW]

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

modified_timestamp_millis[RW]

The timestamp at which they modified the match, in milliseconds since the epoch in UTC. Corresponds to the JSON property `modifiedTimestampMillis` @return [String]

participant_id[RW]

The ID of the participant that modified the match. Corresponds to the JSON property `participantId` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/games_v1/classes.rb, line 4395
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 4400
def update!(**args)
  @kind = args[:kind] if args.key?(:kind)
  @modified_timestamp_millis = args[:modified_timestamp_millis] if args.key?(:modified_timestamp_millis)
  @participant_id = args[:participant_id] if args.key?(:participant_id)
end