Document AI V1beta3 API - Class Google::Cloud::DocumentAI::V1beta3::RawDocument (v0.23.0)

Reference documentation and code samples for the Document AI V1beta3 API class Google::Cloud::DocumentAI::V1beta3::RawDocument.

Payload message of raw document content (bytes).

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#content

def content() -> ::String
Returns
  • (::String) — Inline document content.

#content=

def content=(value) -> ::String
Parameter
  • value (::String) — Inline document content.
Returns
  • (::String) — Inline document content.

#mime_type

def mime_type() -> ::String
Returns
  • (::String) — An IANA MIME type (RFC6838) indicating the nature and format of the content.

#mime_type=

def mime_type=(value) -> ::String
Parameter
  • value (::String) — An IANA MIME type (RFC6838) indicating the nature and format of the content.
Returns
  • (::String) — An IANA MIME type (RFC6838) indicating the nature and format of the content.