class Google::Apis::GamesV1::SnapshotImage
This is a JSON template for an image of a snapshot.
Attributes
height[RW]
The height of the image. Corresponds to the JSON property `height` @return [Fixnum]
kind[RW]
Uniquely identifies the type of this resource. Value is always the fixed string games#snapshotImage. Corresponds to the JSON property `kind` @return [String]
mime_type[RW]
The MIME type of the image. Corresponds to the JSON property `mime_type` @return [String]
url[RW]
The URL of the image. This URL may be invalidated at any time and should not be cached. Corresponds to the JSON property `url` @return [String]
width[RW]
The width of the image. Corresponds to the JSON property `width` @return [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/games_v1/classes.rb, line 3983 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 3988 def update!(**args) @height = args[:height] if args.key?(:height) @kind = args[:kind] if args.key?(:kind) @mime_type = args[:mime_type] if args.key?(:mime_type) @url = args[:url] if args.key?(:url) @width = args[:width] if args.key?(:width) end