Class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkField

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

The chunk field in the chunk. A chunk field could be one of the various types ( e.g. image, table) supported.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkField

Returns a new instance of GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkField.



4547
4548
4549
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 4547

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

Instance Attribute Details

#image_chunk_fieldGoogle::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkImageChunkField

The image chunk field in the chunk. Corresponds to the JSON property imageChunkField



4540
4541
4542
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 4540

def image_chunk_field
  @image_chunk_field
end

#table_chunk_fieldGoogle::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkTableChunkField

The table chunk field in the chunk. Corresponds to the JSON property tableChunkField



4545
4546
4547
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 4545

def table_chunk_field
  @table_chunk_field
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4552
4553
4554
4555
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 4552

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