google_api_docs v0.3.0 GoogleApi.Docs.V1.Model.UpdateTableCellStyleRequest View Source

Updates the style of a range of table cells.

Attributes

  • fields (type: String.t, default: nil) - 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.

  • tableCellStyle (type: GoogleApi.Docs.V1.Model.TableCellStyle.t, default: nil) - The style to set on the table cells.

    When updating borders, if a cell shares a border with an adjacent cell, the corresponding border property of the adjacent cell is updated as well. Borders that are merged and invisible are not updated.

    Since updating a border shared by adjacent cells in the same request can cause conflicting border updates, border updates are applied in the following order:

    • border_right
    • border_left
    • border_bottom
    • border_top
  • tableRange (type: GoogleApi.Docs.V1.Model.TableRange.t, default: nil) - The table range representing the subset of the table to which the updates are applied.

  • tableStartLocation (type: GoogleApi.Docs.V1.Model.Location.t, default: nil) - The location where the table starts in the document. When specified, the updates are applied to all the cells in the table.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.Docs.V1.Model.UpdateTableCellStyleRequest{
  fields: String.t(),
  tableCellStyle: GoogleApi.Docs.V1.Model.TableCellStyle.t(),
  tableRange: GoogleApi.Docs.V1.Model.TableRange.t(),
  tableStartLocation: GoogleApi.Docs.V1.Model.Location.t()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.