class Google::Apis::GamesManagementV1management::GamesPlayedResource
This is a JSON template for metadata about a player playing a game with the currently authenticated user.
Attributes
auto_matched[RW]
True if the player was auto-matched with the currently authenticated user. Corresponds to the JSON property `autoMatched` @return [Boolean]
auto_matched?[RW]
True if the player was auto-matched with the currently authenticated user. Corresponds to the JSON property `autoMatched` @return [Boolean]
time_millis[RW]
The last time the player played the game in milliseconds since the epoch in UTC. Corresponds to the JSON property `timeMillis` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/games_management_v1management/classes.rb, line 164 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_management_v1management/classes.rb, line 169 def update!(**args) @auto_matched = args[:auto_matched] if args.key?(:auto_matched) @time_millis = args[:time_millis] if args.key?(:time_millis) end