Class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow

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) ⇒ GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow

Returns a new instance of GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow.



2289
2290
2291
# File 'lib/google/apis/documentai_v1/classes.rb', line 2289

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

Instance Attribute Details

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

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



2287
2288
2289
# File 'lib/google/apis/documentai_v1/classes.rb', line 2287

def cells
  @cells
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2294
2295
2296
# File 'lib/google/apis/documentai_v1/classes.rb', line 2294

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