Class: Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentChunkedDocument

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/contentwarehouse_v1/classes.rb,
lib/google/apis/contentwarehouse_v1/representations.rb,
lib/google/apis/contentwarehouse_v1/representations.rb

Overview

Represents the chunks that the document is divided into.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1DocumentChunkedDocument

Returns a new instance of GoogleCloudDocumentaiV1DocumentChunkedDocument.



4458
4459
4460
# File 'lib/google/apis/contentwarehouse_v1/classes.rb', line 4458

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

Instance Attribute Details

#chunksArray<Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentChunkedDocumentChunk>

List of chunks. Corresponds to the JSON property chunks



4456
4457
4458
# File 'lib/google/apis/contentwarehouse_v1/classes.rb', line 4456

def chunks
  @chunks
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4463
4464
4465
# File 'lib/google/apis/contentwarehouse_v1/classes.rb', line 4463

def update!(**args)
  @chunks = args[:chunks] if args.key?(:chunks)
end