Class: Google::Apis::DocsV1::SuggestedNamedStyles

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/docs_v1/classes.rb,
generated/google/apis/docs_v1/representations.rb,
generated/google/apis/docs_v1/representations.rb

Overview

A suggested change to the NamedStyles.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ SuggestedNamedStyles

Returns a new instance of SuggestedNamedStyles.



4969
4970
4971
# File 'generated/google/apis/docs_v1/classes.rb', line 4969

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#named_stylesGoogle::Apis::DocsV1::NamedStyles

The named styles. Paragraphs in the document can inherit their TextStyle and ParagraphStyle from these named styles. Corresponds to the JSON property namedStyles



4961
4962
4963
# File 'generated/google/apis/docs_v1/classes.rb', line 4961

def named_styles
  @named_styles
end

#named_styles_suggestion_stateGoogle::Apis::DocsV1::NamedStylesSuggestionState

The suggestion state of a NamedStyles message. Corresponds to the JSON property namedStylesSuggestionState



4967
4968
4969
# File 'generated/google/apis/docs_v1/classes.rb', line 4967

def named_styles_suggestion_state
  @named_styles_suggestion_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4974
4975
4976
4977
# File 'generated/google/apis/docs_v1/classes.rb', line 4974

def update!(**args)
  @named_styles = args[:named_styles] if args.key?(:named_styles)
  @named_styles_suggestion_state = args[:named_styles_suggestion_state] if args.key?(:named_styles_suggestion_state)
end