Document AI V1 API - Class Google::Cloud::DocumentAI::V1::BatchDocumentsInputConfig (v1.4.0)

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

The common config to specify a set of documents used as input.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#gcs_documents

def gcs_documents() -> ::Google::Cloud::DocumentAI::V1::GcsDocuments
Returns
  • (::Google::Cloud::DocumentAI::V1::GcsDocuments) — The set of documents individually specified on Cloud Storage.

    Note: The following fields are mutually exclusive: gcs_documents, gcs_prefix. If a field in that set is populated, all other fields in the set will automatically be cleared.

#gcs_documents=

def gcs_documents=(value) -> ::Google::Cloud::DocumentAI::V1::GcsDocuments
Parameter
  • value (::Google::Cloud::DocumentAI::V1::GcsDocuments) — The set of documents individually specified on Cloud Storage.

    Note: The following fields are mutually exclusive: gcs_documents, gcs_prefix. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::DocumentAI::V1::GcsDocuments) — The set of documents individually specified on Cloud Storage.

    Note: The following fields are mutually exclusive: gcs_documents, gcs_prefix. If a field in that set is populated, all other fields in the set will automatically be cleared.

#gcs_prefix

def gcs_prefix() -> ::Google::Cloud::DocumentAI::V1::GcsPrefix
Returns
  • (::Google::Cloud::DocumentAI::V1::GcsPrefix) — The set of documents that match the specified Cloud Storage gcs_prefix.

    Note: The following fields are mutually exclusive: gcs_prefix, gcs_documents. If a field in that set is populated, all other fields in the set will automatically be cleared.

#gcs_prefix=

def gcs_prefix=(value) -> ::Google::Cloud::DocumentAI::V1::GcsPrefix
Parameter
  • value (::Google::Cloud::DocumentAI::V1::GcsPrefix) — The set of documents that match the specified Cloud Storage gcs_prefix.

    Note: The following fields are mutually exclusive: gcs_prefix, gcs_documents. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::DocumentAI::V1::GcsPrefix) — The set of documents that match the specified Cloud Storage gcs_prefix.

    Note: The following fields are mutually exclusive: gcs_prefix, gcs_documents. If a field in that set is populated, all other fields in the set will automatically be cleared.