Class: Google::Apis::DocsV1::ShadingSuggestionState

Inherits:
Object
  • Object
show all
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 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 is a new suggested value.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ShadingSuggestionState

Returns a new instance of ShadingSuggestionState.



4416
4417
4418
# File 'generated/google/apis/docs_v1/classes.rb', line 4416

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#background_color_suggestedBoolean Also known as: background_color_suggested?

Indicates if there was a suggested change to the Shading. Corresponds to the JSON property backgroundColorSuggested

Returns:

  • (Boolean)


4413
4414
4415
# File 'generated/google/apis/docs_v1/classes.rb', line 4413

def background_color_suggested
  @background_color_suggested
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4421
4422
4423
# File 'generated/google/apis/docs_v1/classes.rb', line 4421

def update!(**args)
  @background_color_suggested = args[:background_color_suggested] if args.key?(:background_color_suggested)
end