Class: Google::Apis::DocsV1::EmbeddedObjectBorderSuggestionState
- Inherits:
-
Object
- Object
- Google::Apis::DocsV1::EmbeddedObjectBorderSuggestionState
- 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 EmbeddedObjectBorder have been changed in this suggestion. For any field set to true, there is a new suggested value.
Instance Attribute Summary collapse
-
#color_suggested ⇒ Boolean
(also: #color_suggested?)
Indicates if there was a suggested change to color.
-
#dash_style_suggested ⇒ Boolean
(also: #dash_style_suggested?)
Indicates if there was a suggested change to dash_style.
-
#property_state_suggested ⇒ Boolean
(also: #property_state_suggested?)
Indicates if there was a suggested change to property_state.
-
#width_suggested ⇒ Boolean
(also: #width_suggested?)
Indicates if there was a suggested change to width.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EmbeddedObjectBorderSuggestionState
constructor
A new instance of EmbeddedObjectBorderSuggestionState.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EmbeddedObjectBorderSuggestionState
Returns a new instance of EmbeddedObjectBorderSuggestionState.
1451 1452 1453 |
# File 'generated/google/apis/docs_v1/classes.rb', line 1451 def initialize(**args) update!(**args) end |
Instance Attribute Details
#color_suggested ⇒ Boolean Also known as: color_suggested?
Indicates if there was a suggested change to color.
Corresponds to the JSON property colorSuggested
1430 1431 1432 |
# File 'generated/google/apis/docs_v1/classes.rb', line 1430 def color_suggested @color_suggested end |
#dash_style_suggested ⇒ Boolean Also known as: dash_style_suggested?
Indicates if there was a suggested change to dash_style.
Corresponds to the JSON property dashStyleSuggested
1436 1437 1438 |
# File 'generated/google/apis/docs_v1/classes.rb', line 1436 def dash_style_suggested @dash_style_suggested end |
#property_state_suggested ⇒ Boolean Also known as: property_state_suggested?
Indicates if there was a suggested change to property_state.
Corresponds to the JSON property propertyStateSuggested
1442 1443 1444 |
# File 'generated/google/apis/docs_v1/classes.rb', line 1442 def property_state_suggested @property_state_suggested end |
#width_suggested ⇒ Boolean Also known as: width_suggested?
Indicates if there was a suggested change to width.
Corresponds to the JSON property widthSuggested
1448 1449 1450 |
# File 'generated/google/apis/docs_v1/classes.rb', line 1448 def width_suggested @width_suggested end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1456 1457 1458 1459 1460 1461 |
# File 'generated/google/apis/docs_v1/classes.rb', line 1456 def update!(**args) @color_suggested = args[:color_suggested] if args.key?(:color_suggested) @dash_style_suggested = args[:dash_style_suggested] if args.key?(:dash_style_suggested) @property_state_suggested = args[:property_state_suggested] if args.key?(:property_state_suggested) @width_suggested = args[:width_suggested] if args.key?(:width_suggested) end |