class Google::Apis::GamesV1::TurnBasedMatchResults
This is a JSON template for a turn-based match results object.
Attributes
data[RW]
This is a JSON template for sending a turn-based match data object. Corresponds to the JSON property `data` @return [Google::Apis::GamesV1::TurnBasedMatchDataRequest]
kind[RW]
Uniquely identifies the type of this resource. Value is always the fixed string games#turnBasedMatchResults. Corresponds to the JSON property `kind` @return [String]
match_version[RW]
The version of the match being updated. Corresponds to the JSON property `matchVersion` @return [Fixnum]
results[RW]
The match results for the participants in the match. Corresponds to the JSON property `results` @return [Array<Google::Apis::GamesV1::ParticipantResult>]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/games_v1/classes.rb, line 4530 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 4535 def update!(**args) @data = args[:data] if args.key?(:data) @kind = args[:kind] if args.key?(:kind) @match_version = args[:match_version] if args.key?(:match_version) @results = args[:results] if args.key?(:results) end