Class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentOutputConfigGcsOutputConfigShardingConfig
- Inherits:
-
Object
- Object
- Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentOutputConfigGcsOutputConfigShardingConfig
- 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 sharding config for the output document.
Instance Attribute Summary collapse
-
#pages_overlap ⇒ Fixnum
The number of overlapping pages between consecutive shards.
-
#pages_per_shard ⇒ Fixnum
The number of pages per shard.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDocumentaiV1DocumentOutputConfigGcsOutputConfigShardingConfig
constructor
A new instance of GoogleCloudDocumentaiV1DocumentOutputConfigGcsOutputConfigShardingConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDocumentaiV1DocumentOutputConfigGcsOutputConfigShardingConfig
Returns a new instance of GoogleCloudDocumentaiV1DocumentOutputConfigGcsOutputConfigShardingConfig.
2199 2200 2201 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 2199 def initialize(**args) update!(**args) end |
Instance Attribute Details
#pages_overlap ⇒ Fixnum
The number of overlapping pages between consecutive shards.
Corresponds to the JSON property pagesOverlap
2192 2193 2194 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 2192 def pages_overlap @pages_overlap end |
#pages_per_shard ⇒ Fixnum
The number of pages per shard.
Corresponds to the JSON property pagesPerShard
2197 2198 2199 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 2197 def pages_per_shard @pages_per_shard end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2204 2205 2206 2207 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 2204 def update!(**args) @pages_overlap = args[:pages_overlap] if args.key?(:pages_overlap) @pages_per_shard = args[:pages_per_shard] if args.key?(:pages_per_shard) end |