google_api_slides v0.10.0 GoogleApi.Slides.V1.Model.UpdateTextStyleRequest 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. Ifobject_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.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
t()
View Sourcet() :: %GoogleApi.Slides.V1.Model.UpdateTextStyleRequest{ cellLocation: GoogleApi.Slides.V1.Model.TableCellLocation.t(), fields: String.t(), objectId: String.t(), style: GoogleApi.Slides.V1.Model.TextStyle.t(), textRange: GoogleApi.Slides.V1.Model.Range.t() }
Link to this section Functions
Unwrap a decoded JSON object into its complex fields.