GoogleApi.Slides.V1.Model.UpdateTextStyleRequest (google_api_slides v0.24.0)

View Source

Update the styling of text in a Shape or Table.

Attributes

  • cellLocation (type: GoogleApi.Slides.V1.Model.TableCellLocation.t, default: nil) - The location of the cell in the table containing the text to style. If object_id refers to a table, cell_location must have a value. Otherwise, it must not.
  • fields (type: String.t, default: nil) - The fields that should be updated. At least one field must be specified. The root style is implied and should not be specified. A single "*" can be used as short-hand for listing every field. For example, to update the text style to bold, set fields to "bold". To reset a property to its default value, include its field name in the field mask but leave the field itself unset.
  • objectId (type: String.t, default: nil) - The object ID of the shape or table with the text to be styled.
  • style (type: GoogleApi.Slides.V1.Model.TextStyle.t, default: nil) - The style(s) to set on the text. If the value for a particular style matches that of the parent, that style will be set to inherit. Certain text style changes may cause other changes meant to mirror the behavior of the Slides editor. See the documentation of TextStyle for more information.
  • textRange (type: GoogleApi.Slides.V1.Model.Range.t, default: nil) - The range of text to style. The range may be extended to include adjacent newlines. If the range fully contains a paragraph belonging to a list, the paragraph's bullet is also updated with the matching text style.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Slides.V1.Model.UpdateTextStyleRequest{
  cellLocation: GoogleApi.Slides.V1.Model.TableCellLocation.t() | nil,
  fields: String.t() | nil,
  objectId: String.t() | nil,
  style: GoogleApi.Slides.V1.Model.TextStyle.t() | nil,
  textRange: GoogleApi.Slides.V1.Model.Range.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.