Class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentOutputConfigGcsOutputConfigShardingConfig

Inherits:
Object
  • Object
show all
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 sharding config for the output document.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1DocumentOutputConfigGcsOutputConfigShardingConfig

Returns a new instance of GoogleCloudDocumentaiV1DocumentOutputConfigGcsOutputConfigShardingConfig.



2099
2100
2101
# File 'lib/google/apis/documentai_v1/classes.rb', line 2099

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#pages_overlapFixnum

The number of overlapping pages between consecutive shards. Corresponds to the JSON property pagesOverlap

Returns:

  • (Fixnum)


2092
2093
2094
# File 'lib/google/apis/documentai_v1/classes.rb', line 2092

def pages_overlap
  @pages_overlap
end

#pages_per_shardFixnum

The number of pages per shard. Corresponds to the JSON property pagesPerShard

Returns:

  • (Fixnum)


2097
2098
2099
# File 'lib/google/apis/documentai_v1/classes.rb', line 2097

def pages_per_shard
  @pages_per_shard
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2104
2105
2106
2107
# File 'lib/google/apis/documentai_v1/classes.rb', line 2104

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