Document AI V1 API - Class Google::Cloud::DocumentAI::V1::Document::Page::Image (v0.6.0)

Reference documentation and code samples for the Document AI V1 API class Google::Cloud::DocumentAI::V1::Document::Page::Image.

Rendered image contents for this page.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#content

def content() -> ::String
Returns
  • (::String) — Raw byte content of the image.

#content=

def content=(value) -> ::String
Parameter
  • value (::String) — Raw byte content of the image.
Returns
  • (::String) — Raw byte content of the image.

#height

def height() -> ::Integer
Returns
  • (::Integer) — Height of the image in pixels.

#height=

def height=(value) -> ::Integer
Parameter
  • value (::Integer) — Height of the image in pixels.
Returns
  • (::Integer) — Height of the image in pixels.

#mime_type

def mime_type() -> ::String
Returns
  • (::String) — Encoding mime type for the image.

#mime_type=

def mime_type=(value) -> ::String
Parameter
  • value (::String) — Encoding mime type for the image.
Returns
  • (::String) — Encoding mime type for the image.

#width

def width() -> ::Integer
Returns
  • (::Integer) — Width of the image in pixels.

#width=

def width=(value) -> ::Integer
Parameter
  • value (::Integer) — Width of the image in pixels.
Returns
  • (::Integer) — Width of the image in pixels.