Class: Google::Apis::SlidesV1::UpdateTableRowPropertiesRequest
- Inherits:
-
Object
- Object
- Google::Apis::SlidesV1::UpdateTableRowPropertiesRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/slides_v1/classes.rb,
generated/google/apis/slides_v1/representations.rb,
generated/google/apis/slides_v1/representations.rb
Overview
Updates the properties of a Table row.
Instance Attribute Summary collapse
-
#fields ⇒ String
The fields that should be updated.
-
#object_id_prop ⇒ String
The object ID of the table.
-
#row_indices ⇒ Array<Fixnum>
The list of zero-based indices specifying which rows to update.
-
#table_row_properties ⇒ Google::Apis::SlidesV1::TableRowProperties
Properties of each row in a table.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UpdateTableRowPropertiesRequest
constructor
A new instance of UpdateTableRowPropertiesRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ UpdateTableRowPropertiesRequest
Returns a new instance of UpdateTableRowPropertiesRequest
4919 4920 4921 |
# File 'generated/google/apis/slides_v1/classes.rb', line 4919 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 tableRowProperties
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"
.
If '"min_row_height"' is included in the field mask but the property is
left unset, the minimum row height will default to 0.
Corresponds to the JSON property fields
4901 4902 4903 |
# File 'generated/google/apis/slides_v1/classes.rb', line 4901 def fields @fields end |
#object_id_prop ⇒ String
The object ID of the table.
Corresponds to the JSON property objectId
4906 4907 4908 |
# File 'generated/google/apis/slides_v1/classes.rb', line 4906 def object_id_prop @object_id_prop end |
#row_indices ⇒ Array<Fixnum>
The list of zero-based indices specifying which rows to update. If no
indices are provided, all rows in the table will be updated.
Corresponds to the JSON property rowIndices
4912 4913 4914 |
# File 'generated/google/apis/slides_v1/classes.rb', line 4912 def row_indices @row_indices end |
#table_row_properties ⇒ Google::Apis::SlidesV1::TableRowProperties
Properties of each row in a table.
Corresponds to the JSON property tableRowProperties
4917 4918 4919 |
# File 'generated/google/apis/slides_v1/classes.rb', line 4917 def table_row_properties @table_row_properties end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4924 4925 4926 4927 4928 4929 |
# File 'generated/google/apis/slides_v1/classes.rb', line 4924 def update!(**args) @fields = args[:fields] if args.key?(:fields) @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) @row_indices = args[:row_indices] if args.key?(:row_indices) @table_row_properties = args[:table_row_properties] if args.key?(:table_row_properties) end |