Class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentChunkedDocument

Inherits:
Object
  • Object
show all
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

Represents the chunks that the document is divided into.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3DocumentChunkedDocument

Returns a new instance of GoogleCloudDocumentaiV1beta3DocumentChunkedDocument.



7970
7971
7972
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 7970

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

Instance Attribute Details

#chunksArray<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunk>

List of chunks. Corresponds to the JSON property chunks



7968
7969
7970
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 7968

def chunks
  @chunks
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7975
7976
7977
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 7975

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