Class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentChunkedDocument

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

Overview

Represents the chunks that the document is divided into.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta1DocumentChunkedDocument

Returns a new instance of GoogleCloudDocumentaiV1beta1DocumentChunkedDocument.



2187
2188
2189
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 2187

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

Instance Attribute Details

#chunksArray<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunk>

List of chunks. Corresponds to the JSON property chunks



2185
2186
2187
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 2185

def chunks
  @chunks
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2192
2193
2194
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 2192

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