Class: Google::Apis::SlidesV1::UpdateTableBorderPropertiesRequest
- Inherits:
-
Object
- Object
- Google::Apis::SlidesV1::UpdateTableBorderPropertiesRequest
- 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 the table borders in a Table.
Instance Attribute Summary collapse
-
#border_position ⇒ String
The border position in the table range the updates should apply to.
-
#fields ⇒ String
The fields that should be updated.
-
#object_id_prop ⇒ String
The object ID of the table.
-
#table_border_properties ⇒ Google::Apis::SlidesV1::TableBorderProperties
The border styling properties of the TableBorderCell.
-
#table_range ⇒ Google::Apis::SlidesV1::TableRange
A table range represents a reference to a subset of a table.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UpdateTableBorderPropertiesRequest
constructor
A new instance of UpdateTableBorderPropertiesRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UpdateTableBorderPropertiesRequest
Returns a new instance of UpdateTableBorderPropertiesRequest.
4734 4735 4736 |
# File 'generated/google/apis/slides_v1/classes.rb', line 4734 def initialize(**args) update!(**args) end |
Instance Attribute Details
#border_position ⇒ String
The border position in the table range the updates should apply to. If a
border position is not specified, the updates will apply to all borders in the
table range.
Corresponds to the JSON property borderPosition
4702 4703 4704 |
# File 'generated/google/apis/slides_v1/classes.rb', line 4702 def border_position @border_position end |
#fields ⇒ String
The fields that should be updated. At least one field must be specified. The
root tableBorderProperties
is implied and should not be specified. A single
"*"
can be used as short-hand for listing every field. For example to update
the table border solid fill color, set fields
to "tableBorderFill.solidFill.
color"
. To reset a property to its default value, include its field name in
the field mask but leave the field itself unset.
Corresponds to the JSON property fields
4712 4713 4714 |
# File 'generated/google/apis/slides_v1/classes.rb', line 4712 def fields @fields end |
#object_id_prop ⇒ String
The object ID of the table.
Corresponds to the JSON property objectId
4717 4718 4719 |
# File 'generated/google/apis/slides_v1/classes.rb', line 4717 def object_id_prop @object_id_prop end |
#table_border_properties ⇒ Google::Apis::SlidesV1::TableBorderProperties
The border styling properties of the TableBorderCell.
Corresponds to the JSON property tableBorderProperties
4722 4723 4724 |
# File 'generated/google/apis/slides_v1/classes.rb', line 4722 def table_border_properties @table_border_properties end |
#table_range ⇒ Google::Apis::SlidesV1::TableRange
A table range represents a reference to a subset of a table. It's important to
note that the cells specified by a table range do not necessarily form a
rectangle. For example, let's say we have a 3 x 3 table where all the cells of
the last row are merged together. The table looks like this: [ ] A table range
with location = (0, 0), row span = 3 and column span = 2 specifies the
following cells: x x [ x x x ]
Corresponds to the JSON property tableRange
4732 4733 4734 |
# File 'generated/google/apis/slides_v1/classes.rb', line 4732 def table_range @table_range end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4739 4740 4741 4742 4743 4744 4745 |
# File 'generated/google/apis/slides_v1/classes.rb', line 4739 def update!(**args) @border_position = args[:border_position] if args.key?(:border_position) @fields = args[:fields] if args.key?(:fields) @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) @table_border_properties = args[:table_border_properties] if args.key?(:table_border_properties) @table_range = args[:table_range] if args.key?(:table_range) end |