Document AI V1beta3 API - Class Google::Cloud::DocumentAI::V1beta3::BatchProcessRequest::BatchInputConfig (v0.13.0)

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

The message for input config in batch process.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#gcs_source

def gcs_source() -> ::String
Returns
  • (::String) — The Cloud Storage location as the source of the document.

#gcs_source=

def gcs_source=(value) -> ::String
Parameter
  • value (::String) — The Cloud Storage location as the source of the document.
Returns
  • (::String) — The Cloud Storage location as the source of the document.

#mime_type

def mime_type() -> ::String
Returns
  • (::String) — Mimetype of the input. If the input is a raw document, the supported mimetypes are application/pdf, image/tiff, and image/gif. If the input is a [Document] proto, the type should be application/json.

#mime_type=

def mime_type=(value) -> ::String
Parameter
  • value (::String) — Mimetype of the input. If the input is a raw document, the supported mimetypes are application/pdf, image/tiff, and image/gif. If the input is a [Document] proto, the type should be application/json.
Returns
  • (::String) — Mimetype of the input. If the input is a raw document, the supported mimetypes are application/pdf, image/tiff, and image/gif. If the input is a [Document] proto, the type should be application/json.