Class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentOutputConfigGcsOutputConfig
- Inherits:
-
Object
- Object
- Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentOutputConfigGcsOutputConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/documentai_v1beta3/classes.rb,
lib/google/apis/documentai_v1beta3/representations.rb,
lib/google/apis/documentai_v1beta3/representations.rb
Overview
The configuration used when outputting documents.
Instance Attribute Summary collapse
-
#field_mask ⇒ String
Specifies which fields to include in the output documents.
-
#gcs_uri ⇒ String
The Cloud Storage uri (a directory) of the output.
-
#sharding_config ⇒ Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentOutputConfigGcsOutputConfigShardingConfig
The sharding config for the output document.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3DocumentOutputConfigGcsOutputConfig
constructor
A new instance of GoogleCloudDocumentaiV1beta3DocumentOutputConfigGcsOutputConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3DocumentOutputConfigGcsOutputConfig
Returns a new instance of GoogleCloudDocumentaiV1beta3DocumentOutputConfigGcsOutputConfig.
8734 8735 8736 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 8734 def initialize(**args) update!(**args) end |
Instance Attribute Details
#field_mask ⇒ String
Specifies which fields to include in the output documents. Only supports top
level document and pages field so it must be in the form of
document_field_name
or pages.
page_field_name`.
Corresponds to the JSON property
fieldMask`
8722 8723 8724 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 8722 def field_mask @field_mask end |
#gcs_uri ⇒ String
The Cloud Storage uri (a directory) of the output.
Corresponds to the JSON property gcsUri
8727 8728 8729 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 8727 def gcs_uri @gcs_uri end |
#sharding_config ⇒ Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentOutputConfigGcsOutputConfigShardingConfig
The sharding config for the output document.
Corresponds to the JSON property shardingConfig
8732 8733 8734 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 8732 def sharding_config @sharding_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8739 8740 8741 8742 8743 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 8739 def update!(**args) @field_mask = args[:field_mask] if args.key?(:field_mask) @gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri) @sharding_config = args[:sharding_config] if args.key?(:sharding_config) end |