class Google::Apis::DocsV1::NamedStyleSuggestionState

A suggestion state of a NamedStyle message.

Attributes

named_style_type[RW]

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` @return [String]

paragraph_style_suggestion_state[RW]

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` @return [Google::Apis::DocsV1::ParagraphStyleSuggestionState]

text_style_suggestion_state[RW]

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` @return [Google::Apis::DocsV1::TextStyleSuggestionState]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/docs_v1/classes.rb, line 2697
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 2702
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