Class: Google::Apis::DocsV1::SuggestedNamedStyles
- Inherits:
-
Object
- Object
- Google::Apis::DocsV1::SuggestedNamedStyles
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/docs_v1/classes.rb,
lib/google/apis/docs_v1/representations.rb,
lib/google/apis/docs_v1/representations.rb
Overview
A suggested change to the NamedStyles.
Instance Attribute Summary collapse
-
#named_styles ⇒ Google::Apis::DocsV1::NamedStyles
The named styles.
-
#named_styles_suggestion_state ⇒ Google::Apis::DocsV1::NamedStylesSuggestionState
The suggestion state of a NamedStyles message.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SuggestedNamedStyles
constructor
A new instance of SuggestedNamedStyles.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SuggestedNamedStyles
Returns a new instance of SuggestedNamedStyles.
4995 4996 4997 |
# File 'lib/google/apis/docs_v1/classes.rb', line 4995 def initialize(**args) update!(**args) end |
Instance Attribute Details
#named_styles ⇒ Google::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
4988 4989 4990 |
# File 'lib/google/apis/docs_v1/classes.rb', line 4988 def named_styles @named_styles end |
#named_styles_suggestion_state ⇒ Google::Apis::DocsV1::NamedStylesSuggestionState
The suggestion state of a NamedStyles message.
Corresponds to the JSON property namedStylesSuggestionState
4993 4994 4995 |
# File 'lib/google/apis/docs_v1/classes.rb', line 4993 def named_styles_suggestion_state @named_styles_suggestion_state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5000 5001 5002 5003 |
# File 'lib/google/apis/docs_v1/classes.rb', line 5000 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 |