Class: Google::Apis::DocsV1::BackgroundSuggestionState
- Inherits:
-
Object
- Object
- Google::Apis::DocsV1::BackgroundSuggestionState
- 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 mask that indicates which of the fields on the base Background have been changed in this suggestion. For any field set to true, the Backgound has a new suggested value.
Instance Attribute Summary collapse
-
#background_color_suggested ⇒ Boolean
(also: #background_color_suggested?)
Indicates whether the current background color has been modified in this suggestion.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BackgroundSuggestionState
constructor
A new instance of BackgroundSuggestionState.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BackgroundSuggestionState
Returns a new instance of BackgroundSuggestionState.
112 113 114 |
# File 'lib/google/apis/docs_v1/classes.rb', line 112 def initialize(**args) update!(**args) end |
Instance Attribute Details
#background_color_suggested ⇒ Boolean Also known as: background_color_suggested?
Indicates whether the current background color has been modified in this
suggestion.
Corresponds to the JSON property backgroundColorSuggested
109 110 111 |
# File 'lib/google/apis/docs_v1/classes.rb', line 109 def background_color_suggested @background_color_suggested end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
117 118 119 |
# File 'lib/google/apis/docs_v1/classes.rb', line 117 def update!(**args) @background_color_suggested = args[:background_color_suggested] if args.key?(:background_color_suggested) end |