Class: Google::Apis::AndroidpublisherV2::Image
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV2::Image
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/androidpublisher_v2/classes.rb,
generated/google/apis/androidpublisher_v2/representations.rb,
generated/google/apis/androidpublisher_v2/representations.rb
Instance Attribute Summary collapse
-
#id ⇒ String
A unique id representing this image.
-
#sha1 ⇒ String
A sha1 hash of the image that was uploaded.
-
#url ⇒ String
A URL that will serve a preview of the image.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Image
constructor
A new instance of Image.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Image
Returns a new instance of Image.
612 613 614 |
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 612 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ String
A unique id representing this image.
Corresponds to the JSON property id
600 601 602 |
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 600 def id @id end |
#sha1 ⇒ String
A sha1 hash of the image that was uploaded.
Corresponds to the JSON property sha1
605 606 607 |
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 605 def sha1 @sha1 end |
#url ⇒ String
A URL that will serve a preview of the image.
Corresponds to the JSON property url
610 611 612 |
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 610 def url @url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
617 618 619 620 621 |
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 617 def update!(**args) @id = args[:id] if args.key?(:id) @sha1 = args[:sha1] if args.key?(:sha1) @url = args[:url] if args.key?(:url) end |