Class: Google::Apis::DocsV1::BackgroundSuggestionState

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 Background have been changed in this suggestion. For any field set to true, the Backgound has a new suggested value.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ BackgroundSuggestionState

Returns a new instance of BackgroundSuggestionState



118
119
120
# File 'generated/google/apis/docs_v1/classes.rb', line 118

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

Instance Attribute Details

#background_color_suggestedBoolean Also known as: background_color_suggested?

Indicates whether the current background color has been modified in this suggestion. Corresponds to the JSON property backgroundColorSuggested

Returns:

  • (Boolean)


115
116
117
# File 'generated/google/apis/docs_v1/classes.rb', line 115

def background_color_suggested
  @background_color_suggested
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



123
124
125
# File 'generated/google/apis/docs_v1/classes.rb', line 123

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