Class: Google::Apis::DocsV1::EmbeddedObjectBorderSuggestionState

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 EmbeddedObjectBorder have been changed in this suggestion. For any field set to true, there is 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) ⇒ EmbeddedObjectBorderSuggestionState

Returns a new instance of EmbeddedObjectBorderSuggestionState.



1485
1486
1487
# File 'generated/google/apis/docs_v1/classes.rb', line 1485

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

Instance Attribute Details

#color_suggestedBoolean Also known as: color_suggested?

Indicates if there was a suggested change to color. Corresponds to the JSON property colorSuggested

Returns:

  • (Boolean)


1464
1465
1466
# File 'generated/google/apis/docs_v1/classes.rb', line 1464

def color_suggested
  @color_suggested
end

#dash_style_suggestedBoolean Also known as: dash_style_suggested?

Indicates if there was a suggested change to dash_style. Corresponds to the JSON property dashStyleSuggested

Returns:

  • (Boolean)


1470
1471
1472
# File 'generated/google/apis/docs_v1/classes.rb', line 1470

def dash_style_suggested
  @dash_style_suggested
end

#property_state_suggestedBoolean Also known as: property_state_suggested?

Indicates if there was a suggested change to property_state. Corresponds to the JSON property propertyStateSuggested

Returns:

  • (Boolean)


1476
1477
1478
# File 'generated/google/apis/docs_v1/classes.rb', line 1476

def property_state_suggested
  @property_state_suggested
end

#width_suggestedBoolean Also known as: width_suggested?

Indicates if there was a suggested change to width. Corresponds to the JSON property widthSuggested

Returns:

  • (Boolean)


1482
1483
1484
# File 'generated/google/apis/docs_v1/classes.rb', line 1482

def width_suggested
  @width_suggested
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1490
1491
1492
1493
1494
1495
# File 'generated/google/apis/docs_v1/classes.rb', line 1490

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