Class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentOutputConfigGcsOutputConfig
- Inherits:
-
Object
- Object
- Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentOutputConfigGcsOutputConfig
- 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 more...
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::DocumentaiV1::GoogleCloudDocumentaiV1DocumentOutputConfigGcsOutputConfigShardingConfig
The sharding config for the output document.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDocumentaiV1DocumentOutputConfigGcsOutputConfig
constructor
A new instance of GoogleCloudDocumentaiV1DocumentOutputConfigGcsOutputConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDocumentaiV1DocumentOutputConfigGcsOutputConfig
Returns a new instance of GoogleCloudDocumentaiV1DocumentOutputConfigGcsOutputConfig.
2173 2174 2175 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 2173 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`
2161 2162 2163 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 2161 def field_mask @field_mask end |
#gcs_uri ⇒ String
The Cloud Storage uri (a directory) of the output.
Corresponds to the JSON property gcsUri
2166 2167 2168 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 2166 def gcs_uri @gcs_uri end |
#sharding_config ⇒ Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentOutputConfigGcsOutputConfigShardingConfig
The sharding config for the output document.
Corresponds to the JSON property shardingConfig
2171 2172 2173 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 2171 def sharding_config @sharding_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2178 2179 2180 2181 2182 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 2178 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 |