Document AI V1 API - Class Google::Cloud::DocumentAI::V1::GcsDocument (v1.0.0)

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

Specifies a document stored on Cloud Storage.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#gcs_uri

def gcs_uri() -> ::String
Returns
  • (::String) — The Cloud Storage object uri.

#gcs_uri=

def gcs_uri=(value) -> ::String
Parameter
  • value (::String) — The Cloud Storage object uri.
Returns
  • (::String) — The Cloud Storage object uri.

#mime_type

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

#mime_type=

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