class Google::Apis::GamesV1::Snapshot
An snapshot object.
Attributes
An image of a snapshot. Corresponds to the JSON property `coverImage` @return [Google::Apis::GamesV1::SnapshotImage]
The description of this snapshot. Corresponds to the JSON property `description` @return [String]
The ID of the file underlying this snapshot in the Drive API. Only present if the snapshot is a view on a Drive file and the file is owned by the caller. Corresponds to the JSON property `driveId` @return [String]
The duration associated with this snapshot, in millis. Corresponds to the JSON property `durationMillis` @return [Fixnum]
The ID of the snapshot. Corresponds to the JSON property `id` @return [String]
Uniquely identifies the type of this resource. Value is always the fixed string `games#snapshot`. Corresponds to the JSON property `kind` @return [String]
The timestamp (in millis since Unix epoch) of the last modification to this snapshot. Corresponds to the JSON property `lastModifiedMillis` @return [Fixnum]
The progress value (64-bit integer set by developer) associated with this snapshot. Corresponds to the JSON property `progressValue` @return [Fixnum]
The title of this snapshot. Corresponds to the JSON property `title` @return [String]
The type of this snapshot. Corresponds to the JSON property `type` @return [String]
The unique name provided when the snapshot was created. Corresponds to the JSON property `uniqueName` @return [String]
Public Class Methods
# File lib/google/apis/games_v1/classes.rb, line 2451 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/games_v1/classes.rb, line 2456 def update!(**args) @cover_image = args[:cover_image] if args.key?(:cover_image) @description = args[:description] if args.key?(:description) @drive_id = args[:drive_id] if args.key?(:drive_id) @duration_millis = args[:duration_millis] if args.key?(:duration_millis) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @last_modified_millis = args[:last_modified_millis] if args.key?(:last_modified_millis) @progress_value = args[:progress_value] if args.key?(:progress_value) @title = args[:title] if args.key?(:title) @type = args[:type] if args.key?(:type) @unique_name = args[:unique_name] if args.key?(:unique_name) end