class Google::Apis::DocsV1::NamedStyles

The named styles. Paragraphs in the document can inherit their TextStyle and ParagraphStyle from these named styles.

Attributes

styles[RW]

The named styles. There is an entry for each of the possible named style types. Corresponds to the JSON property `styles` @return [Array<Google::Apis::DocsV1::NamedStyle>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/docs_v1/classes.rb, line 2719
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 2724
def update!(**args)
  @styles = args[:styles] if args.key?(:styles)
end