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.



4741
4742
4743
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4741

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)


4739
4740
4741
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4739

def image_url
  @image_url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4746
4747
4748
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4746

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