class Google::Apis::AndroidpublisherV3::Image

An uploaded image. The resource for ImagesService.

Attributes

id[RW]

A unique id representing this image. Corresponds to the JSON property `id` @return [String]

sha1[RW]

A sha1 hash of the image. Corresponds to the JSON property `sha1` @return [String]

sha256[RW]

A sha256 hash of the image. Corresponds to the JSON property `sha256` @return [String]

url[RW]

A URL that will serve a preview of the image. Corresponds to the JSON property `url` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/androidpublisher_v3/classes.rb, line 675
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/androidpublisher_v3/classes.rb, line 680
def update!(**args)
  @id = args[:id] if args.key?(:id)
  @sha1 = args[:sha1] if args.key?(:sha1)
  @sha256 = args[:sha256] if args.key?(:sha256)
  @url = args[:url] if args.key?(:url)
end