class Google::Apis::DocsV1::UpdateSectionStyleRequest
Updates the SectionStyle
.
Attributes
fields[RW]
The fields that should be updated. At least one field must be specified. The root `section_style` is implied and must not be specified. A single `“*”` can be used as short-hand for listing every field. For example to update the left margin, set `fields` to `“margin_left”`. Corresponds to the JSON property `fields` @return [String]
range[RW]
Specifies a contiguous range of text. Corresponds to the JSON property `range` @return [Google::Apis::DocsV1::Range]
section_style[RW]
The styling that applies to a section. Corresponds to the JSON property `sectionStyle` @return [Google::Apis::DocsV1::SectionStyle]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/docs_v1/classes.rb, line 6075 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 6080 def update!(**args) @fields = args[:fields] if args.key?(:fields) @range = args[:range] if args.key?(:range) @section_style = args[:section_style] if args.key?(:section_style) end