Class: Google::Apis::DocsV1::UpdateTableRowStyleRequest
- Inherits:
-
Object
- Object
- Google::Apis::DocsV1::UpdateTableRowStyleRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/docs_v1/classes.rb,
generated/google/apis/docs_v1/representations.rb,
generated/google/apis/docs_v1/representations.rb
Overview
Updates the TableRowStyle of rows in a table.
Instance Attribute Summary collapse
-
#fields ⇒ String
The fields that should be updated.
-
#row_indices ⇒ Array<Fixnum>
The list of zero-based row indices whose style should be updated.
-
#table_row_style ⇒ Google::Apis::DocsV1::TableRowStyle
Styles that apply to a table row.
-
#table_start_location ⇒ Google::Apis::DocsV1::Location
A particular location in the document.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UpdateTableRowStyleRequest
constructor
A new instance of UpdateTableRowStyleRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ UpdateTableRowStyleRequest
Returns a new instance of UpdateTableRowStyleRequest
5893 5894 5895 |
# File 'generated/google/apis/docs_v1/classes.rb', line 5893 def initialize(**args) update!(**args) end |
Instance Attribute Details
#fields ⇒ String
The fields that should be updated.
At least one field must be specified. The root tableRowStyle
is implied
and should not be specified. A single "*"
can be used as short-hand for
listing every field.
For example to update the minimum row height, set fields
to
"min_row_height"
.
Corresponds to the JSON property fields
5875 5876 5877 |
# File 'generated/google/apis/docs_v1/classes.rb', line 5875 def fields @fields end |
#row_indices ⇒ Array<Fixnum>
The list of zero-based row indices whose style should be updated. If no
indices are specified, all rows will be updated.
Corresponds to the JSON property rowIndices
5881 5882 5883 |
# File 'generated/google/apis/docs_v1/classes.rb', line 5881 def row_indices @row_indices end |
#table_row_style ⇒ Google::Apis::DocsV1::TableRowStyle
Styles that apply to a table row.
Corresponds to the JSON property tableRowStyle
5886 5887 5888 |
# File 'generated/google/apis/docs_v1/classes.rb', line 5886 def table_row_style @table_row_style end |
#table_start_location ⇒ Google::Apis::DocsV1::Location
A particular location in the document.
Corresponds to the JSON property tableStartLocation
5891 5892 5893 |
# File 'generated/google/apis/docs_v1/classes.rb', line 5891 def table_start_location @table_start_location end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5898 5899 5900 5901 5902 5903 |
# File 'generated/google/apis/docs_v1/classes.rb', line 5898 def update!(**args) @fields = args[:fields] if args.key?(:fields) @row_indices = args[:row_indices] if args.key?(:row_indices) @table_row_style = args[:table_row_style] if args.key?(:table_row_style) @table_start_location = args[:table_start_location] if args.key?(:table_start_location) end |