Class: Google::Apis::DocsV1::NamedStylesSuggestionState
- Inherits:
-
Object
- Object
- Google::Apis::DocsV1::NamedStylesSuggestionState
- 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
The suggestion state of a NamedStyles message.
Instance Attribute Summary collapse
-
#styles_suggestion_states ⇒ Array<Google::Apis::DocsV1::NamedStyleSuggestionState>
A mask that indicates which of the fields on the corresponding NamedStyle in styles have been changed in this suggestion.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NamedStylesSuggestionState
constructor
A new instance of NamedStylesSuggestionState.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ NamedStylesSuggestionState
Returns a new instance of NamedStylesSuggestionState
2453 2454 2455 |
# File 'generated/google/apis/docs_v1/classes.rb', line 2453 def initialize(**args) update!(**args) end |
Instance Attribute Details
#styles_suggestion_states ⇒ Array<Google::Apis::DocsV1::NamedStyleSuggestionState>
A mask that indicates which of the fields on the corresponding NamedStyle in
styles have been changed in this
suggestion.
The order of these named style suggestion states match the order of the
corresponding named style within the named styles suggestion.
Corresponds to the JSON property stylesSuggestionStates
2451 2452 2453 |
# File 'generated/google/apis/docs_v1/classes.rb', line 2451 def styles_suggestion_states @styles_suggestion_states end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2458 2459 2460 |
# File 'generated/google/apis/docs_v1/classes.rb', line 2458 def update!(**args) @styles_suggestion_states = args[:styles_suggestion_states] if args.key?(:styles_suggestion_states) end |