Class: Google::Apis::DocsV1::ShadingSuggestionState
- Inherits:
-
Object
- Object
- Google::Apis::DocsV1::ShadingSuggestionState
- 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 Shading have been changed in this suggested change. For any field set to true, there's a new suggested value.
Instance Attribute Summary collapse
-
#background_color_suggested ⇒ Boolean
(also: #background_color_suggested?)
Indicates if there was a suggested change to the Shading.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ShadingSuggestionState
constructor
A new instance of ShadingSuggestionState.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ShadingSuggestionState
Returns a new instance of ShadingSuggestionState.
5006 5007 5008 |
# File 'lib/google/apis/docs_v1/classes.rb', line 5006 def initialize(**args) update!(**args) end |
Instance Attribute Details
#background_color_suggested ⇒ Boolean Also known as: background_color_suggested?
Indicates if there was a suggested change to the Shading.
Corresponds to the JSON property backgroundColorSuggested
5003 5004 5005 |
# File 'lib/google/apis/docs_v1/classes.rb', line 5003 def background_color_suggested @background_color_suggested end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5011 5012 5013 |
# File 'lib/google/apis/docs_v1/classes.rb', line 5011 def update!(**args) @background_color_suggested = args[:background_color_suggested] if args.key?(:background_color_suggested) end |