class Google::Apis::GamesV1::ImageAsset
An image asset object.
Attributes
height[RW]
The height of the asset. Corresponds to the JSON property `height` @return [Fixnum]
kind[RW]
Uniquely identifies the type of this resource. Value is always the fixed string `games#imageAsset`. Corresponds to the JSON property `kind` @return [String]
name[RW]
The name of the asset. Corresponds to the JSON property `name` @return [String]
url[RW]
The URL of the asset. Corresponds to the JSON property `url` @return [String]
width[RW]
The width of the asset. Corresponds to the JSON property `width` @return [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/games_v1/classes.rb, line 1114 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/games_v1/classes.rb, line 1119 def update!(**args) @height = args[:height] if args.key?(:height) @kind = args[:kind] if args.key?(:kind) @name = args[:name] if args.key?(:name) @url = args[:url] if args.key?(:url) @width = args[:width] if args.key?(:width) end