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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ UpdateTableBorderPropertiesRequest
Returns a new instance of UpdateTableBorderPropertiesRequest
4973 4974 4975 |
# File 'generated/google/apis/slides_v1/classes.rb', line 4973 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
4933 4934 4935 |
# File 'generated/google/apis/slides_v1/classes.rb', line 4933 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
4945 4946 4947 |
# File 'generated/google/apis/slides_v1/classes.rb', line 4945 def fields @fields end |
#object_id_prop ⇒ String
The object ID of the table.
Corresponds to the JSON property objectId
4950 4951 4952 |
# File 'generated/google/apis/slides_v1/classes.rb', line 4950 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
4956 4957 4958 |
# File 'generated/google/apis/slides_v1/classes.rb', line 4956 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 ]
Corresponds to the JSON property tableRange
4971 4972 4973 |
# File 'generated/google/apis/slides_v1/classes.rb', line 4971 def table_range @table_range end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4978 4979 4980 4981 4982 4983 4984 |
# File 'generated/google/apis/slides_v1/classes.rb', line 4978 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 |