class Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageImage

Rendered image contents for this page.

Attributes

content[RW]

Raw byte content of the image. Corresponds to the JSON property `content` NOTE: Values are automatically base64 encoded/decoded in the client library. @return [String]

height[RW]

Height of the image in pixels. Corresponds to the JSON property `height` @return [Fixnum]

mime_type[RW]

Encoding mime type for the image. Corresponds to the JSON property `mimeType` @return [String]

width[RW]

Width of the image in pixels. Corresponds to the JSON property `width` @return [Fixnum]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/documentai_v1/classes.rb, line 5336
def update!(**args)
  @content = args[:content] if args.key?(:content)
  @height = args[:height] if args.key?(:height)
  @mime_type = args[:mime_type] if args.key?(:mime_type)
  @width = args[:width] if args.key?(:width)
end