class Google::Apis::DocsV1::UpdateTableCellStyleRequest

Updates the style of a range of table cells.

Attributes

fields[RW]

The fields that should be updated. At least one field must be specified. The root `tableCellStyle` 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 cell background color, set `fields` to `“backgroundColor”`. 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` @return [String]

table_cell_style[RW]

The style of a TableCell. Inherited table cell styles are represented as unset fields in this message. A table cell style can inherit from the table's style. Corresponds to the JSON property `tableCellStyle` @return [Google::Apis::DocsV1::TableCellStyle]

table_range[RW]

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 table cell location = (table_start_location, row = 0, column = 0), row span = 3 and column span = 2 specifies the following cells: x x [ x x x ] Corresponds to the JSON property `tableRange` @return [Google::Apis::DocsV1::TableRange]

table_start_location[RW]

A particular location in the document. Corresponds to the JSON property `tableStartLocation` @return [Google::Apis::DocsV1::Location]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/docs_v1/classes.rb, line 6122
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/docs_v1/classes.rb, line 6127
def update!(**args)
  @fields = args[:fields] if args.key?(:fields)
  @table_cell_style = args[:table_cell_style] if args.key?(:table_cell_style)
  @table_range = args[:table_range] if args.key?(:table_range)
  @table_start_location = args[:table_start_location] if args.key?(:table_start_location)
end