class Google::Apis::SearchconsoleV1::Image

Describe image data.

Attributes

data[RW]

Image data in format determined by the mime type. Currently, the format will always be “image/png”, but this might change in the future. Corresponds to the JSON property `data` NOTE: Values are automatically base64 encoded/decoded in the client library. @return [String]

mime_type[RW]

The mime-type of the image data. Corresponds to the JSON property `mimeType` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/searchconsole_v1/classes.rb, line 171
def update!(**args)
  @data = args[:data] if args.key?(:data)
  @mime_type = args[:mime_type] if args.key?(:mime_type)
end