Class: Google::Apis::AndroidpublisherV3::ImageAsset

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/androidpublisher_v3/classes.rb,
lib/google/apis/androidpublisher_v3/representations.rb,
lib/google/apis/androidpublisher_v3/representations.rb

Overview

An image asset.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ImageAsset

Returns a new instance of ImageAsset.



4920
4921
4922
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4920

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#image_urlString

The URL of the image asset. Corresponds to the JSON property imageUrl

Returns:

  • (String)


4918
4919
4920
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4918

def image_url
  @image_url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4925
4926
4927
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4925

def update!(**args)
  @image_url = args[:image_url] if args.key?(:image_url)
end