Class: Google::Apis::AndroidpublisherV3::ImageAsset
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV3::ImageAsset
- 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
-
#image_url ⇒ String
The URL of the image asset.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ImageAsset
constructor
A new instance of ImageAsset.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_url ⇒ String
The URL of the image asset.
Corresponds to the JSON property imageUrl
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 |