Class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock
- Inherits:
-
Object
- Object
- Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock
- 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
Represents a table type block.
Instance Attribute Summary collapse
-
#body_rows ⇒ Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow>
Body rows containing main table content.
-
#caption ⇒ String
Table caption/title.
-
#header_rows ⇒ Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow>
Header rows at the top of the table.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock
constructor
A new instance of GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock
Returns a new instance of GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock.
2475 2476 2477 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 2475 def initialize(**args) update!(**args) end |
Instance Attribute Details
#body_rows ⇒ Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow>
Body rows containing main table content.
Corresponds to the JSON property bodyRows
2463 2464 2465 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 2463 def body_rows @body_rows end |
#caption ⇒ String
Table caption/title.
Corresponds to the JSON property caption
2468 2469 2470 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 2468 def @caption end |
#header_rows ⇒ Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow>
Header rows at the top of the table.
Corresponds to the JSON property headerRows
2473 2474 2475 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 2473 def header_rows @header_rows end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2480 2481 2482 2483 2484 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 2480 def update!(**args) @body_rows = args[:body_rows] if args.key?(:body_rows) @caption = args[:caption] if args.key?(:caption) @header_rows = args[:header_rows] if args.key?(:header_rows) end |