Class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow

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

Represents a row in a table.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow

Returns a new instance of GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow.



9152
9153
9154
# File 'lib/google/apis/documentai_v1/classes.rb', line 9152

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

Instance Attribute Details

#cellsArray<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell>

A table row is a list of table cells. Corresponds to the JSON property cells



9150
9151
9152
# File 'lib/google/apis/documentai_v1/classes.rb', line 9150

def cells
  @cells
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9157
9158
9159
# File 'lib/google/apis/documentai_v1/classes.rb', line 9157

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