Class: Google::Apis::DocsV1::NamedStyleSuggestionState
- Inherits:
-
Object
- Object
- Google::Apis::DocsV1::NamedStyleSuggestionState
- 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 suggestion state of a NamedStyle message.
Instance Attribute Summary collapse
-
#named_style_type ⇒ String
The named style type that this suggestion state corresponds to.
-
#paragraph_style_suggestion_state ⇒ Google::Apis::DocsV1::ParagraphStyleSuggestionState
A mask that indicates which of the fields on the base ParagraphStyle have been changed in this suggestion.
-
#text_style_suggestion_state ⇒ Google::Apis::DocsV1::TextStyleSuggestionState
A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NamedStyleSuggestionState
constructor
A new instance of NamedStyleSuggestionState.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ NamedStyleSuggestionState
Returns a new instance of NamedStyleSuggestionState.
2795 2796 2797 |
# File 'generated/google/apis/docs_v1/classes.rb', line 2795 def initialize(**args) update!(**args) end |
Instance Attribute Details
#named_style_type ⇒ String
The named style type that this suggestion state corresponds to.
This field is provided as a convenience for matching the
NamedStyleSuggestionState with its corresponding NamedStyle.
Corresponds to the JSON property namedStyleType
2779 2780 2781 |
# File 'generated/google/apis/docs_v1/classes.rb', line 2779 def named_style_type @named_style_type end |
#paragraph_style_suggestion_state ⇒ Google::Apis::DocsV1::ParagraphStyleSuggestionState
A mask that indicates which of the fields on the base ParagraphStyle have been
changed in this suggestion.
For any field set to true, there is a new suggested value.
Corresponds to the JSON property paragraphStyleSuggestionState
2786 2787 2788 |
# File 'generated/google/apis/docs_v1/classes.rb', line 2786 def paragraph_style_suggestion_state @paragraph_style_suggestion_state end |
#text_style_suggestion_state ⇒ Google::Apis::DocsV1::TextStyleSuggestionState
A mask that indicates which of the fields on the base TextStyle have been
changed in this suggestion.
For any field set to true, there is a new suggested value.
Corresponds to the JSON property textStyleSuggestionState
2793 2794 2795 |
# File 'generated/google/apis/docs_v1/classes.rb', line 2793 def text_style_suggestion_state @text_style_suggestion_state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2800 2801 2802 2803 2804 |
# File 'generated/google/apis/docs_v1/classes.rb', line 2800 def update!(**args) @named_style_type = args[:named_style_type] if args.key?(:named_style_type) @paragraph_style_suggestion_state = args[:paragraph_style_suggestion_state] if args.key?(:paragraph_style_suggestion_state) @text_style_suggestion_state = args[:text_style_suggestion_state] if args.key?(:text_style_suggestion_state) end |