Class: Google::Apis::VisionV1::GoogleCloudVisionV1p5beta1Table

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/vision_v1/classes.rb,
generated/google/apis/vision_v1/representations.rb,
generated/google/apis/vision_v1/representations.rb

Overview

A table representation similar to HTML table structure.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GoogleCloudVisionV1p5beta1Table

Returns a new instance of GoogleCloudVisionV1p5beta1Table



10718
10719
10720
# File 'generated/google/apis/vision_v1/classes.rb', line 10718

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

Instance Attribute Details

#body_rowsArray<Google::Apis::VisionV1::GoogleCloudVisionV1p5beta1TableTableRow>

Body rows of the table Corresponds to the JSON property bodyRows



10711
10712
10713
# File 'generated/google/apis/vision_v1/classes.rb', line 10711

def body_rows
  @body_rows
end

#header_rowsArray<Google::Apis::VisionV1::GoogleCloudVisionV1p5beta1TableTableRow>

Header rows of the table Corresponds to the JSON property headerRows



10716
10717
10718
# File 'generated/google/apis/vision_v1/classes.rb', line 10716

def header_rows
  @header_rows
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10723
10724
10725
10726
# File 'generated/google/apis/vision_v1/classes.rb', line 10723

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