class Google::Apis::ManufacturersV1::Image

An image.

Attributes

image_url[RW]

The URL of the image. For crawled images, this is the provided URL. For uploaded images, this is a serving URL from Google if the image has been processed successfully. Corresponds to the JSON property `imageUrl` @return [String]

status[RW]

The status of the image. @OutputOnly Corresponds to the JSON property `status` @return [String]

type[RW]

The type of the image, i.e., crawled or uploaded. @OutputOnly Corresponds to the JSON property `type` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/manufacturers_v1/classes.rb, line 445
def update!(**args)
  @image_url = args[:image_url] if args.key?(:image_url)
  @status = args[:status] if args.key?(:status)
  @type = args[:type] if args.key?(:type)
end