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.



4013
4014
4015
# File 'lib/google/apis/documentai_v1/classes.rb', line 4013

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



4011
4012
4013
# File 'lib/google/apis/documentai_v1/classes.rb', line 4011

def cells
  @cells
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4018
4019
4020
# File 'lib/google/apis/documentai_v1/classes.rb', line 4018

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