Class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1BatchDocumentsInputConfig
- Inherits:
-
Object
- Object
- Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1BatchDocumentsInputConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/documentai_v1/classes.rb,
lib/google/apis/documentai_v1/representations.rb,
lib/google/apis/documentai_v1/representations.rb
Overview
The common config to specify a set of documents used as input.
Instance Attribute Summary collapse
-
#gcs_documents ⇒ Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1GcsDocuments
Specifies a set of documents on Cloud Storage.
-
#gcs_prefix ⇒ Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1GcsPrefix
Specifies all documents on Cloud Storage with a common prefix.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDocumentaiV1BatchDocumentsInputConfig
constructor
A new instance of GoogleCloudDocumentaiV1BatchDocumentsInputConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDocumentaiV1BatchDocumentsInputConfig
Returns a new instance of GoogleCloudDocumentaiV1BatchDocumentsInputConfig.
812 813 814 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 812 def initialize(**args) update!(**args) end |
Instance Attribute Details
#gcs_documents ⇒ Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1GcsDocuments
Specifies a set of documents on Cloud Storage.
Corresponds to the JSON property gcsDocuments
805 806 807 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 805 def gcs_documents @gcs_documents end |
#gcs_prefix ⇒ Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1GcsPrefix
Specifies all documents on Cloud Storage with a common prefix.
Corresponds to the JSON property gcsPrefix
810 811 812 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 810 def gcs_prefix @gcs_prefix end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
817 818 819 820 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 817 def update!(**args) @gcs_documents = args[:gcs_documents] if args.key?(:gcs_documents) @gcs_prefix = args[:gcs_prefix] if args.key?(:gcs_prefix) end |