Class: Google::Apis::SlidesV1::UpdateTableBorderPropertiesRequest
- Inherits:
-
Object
- Object
- Google::Apis::SlidesV1::UpdateTableBorderPropertiesRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/slides_v1/classes.rb,
lib/google/apis/slides_v1/representations.rb,
lib/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.
4903 4904 4905 |
# File 'lib/google/apis/slides_v1/classes.rb', line 4903 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
4871 4872 4873 |
# File 'lib/google/apis/slides_v1/classes.rb', line 4871 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
4881 4882 4883 |
# File 'lib/google/apis/slides_v1/classes.rb', line 4881 def fields @fields end |
#object_id_prop ⇒ String
The object ID of the table.
Corresponds to the JSON property objectId
4886 4887 4888 |
# File 'lib/google/apis/slides_v1/classes.rb', line 4886 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
4891 4892 4893 |
# File 'lib/google/apis/slides_v1/classes.rb', line 4891 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
4901 4902 4903 |
# File 'lib/google/apis/slides_v1/classes.rb', line 4901 def table_range @table_range end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4908 4909 4910 4911 4912 4913 4914 |
# File 'lib/google/apis/slides_v1/classes.rb', line 4908 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 |