Class: Google::Apis::DocsV1::PositionedObjectPropertiesSuggestionState

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 PositionedObjectProperties 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) ⇒ PositionedObjectPropertiesSuggestionState

Returns a new instance of PositionedObjectPropertiesSuggestionState



3451
3452
3453
# File 'generated/google/apis/docs_v1/classes.rb', line 3451

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

Instance Attribute Details

#embedded_object_suggestion_stateGoogle::Apis::DocsV1::EmbeddedObjectSuggestionState

A mask that indicates which of the fields on the base EmbeddedObject have been changed in this suggestion. For any field set to true, there is a new suggested value. Corresponds to the JSON property embeddedObjectSuggestionState



3442
3443
3444
# File 'generated/google/apis/docs_v1/classes.rb', line 3442

def embedded_object_suggestion_state
  @embedded_object_suggestion_state
end

#positioning_suggestion_stateGoogle::Apis::DocsV1::PositionedObjectPositioningSuggestionState

A mask that indicates which of the fields on the base PositionedObjectPositioning have been changed in this suggestion. For any field set to true, there is a new suggested value. Corresponds to the JSON property positioningSuggestionState



3449
3450
3451
# File 'generated/google/apis/docs_v1/classes.rb', line 3449

def positioning_suggestion_state
  @positioning_suggestion_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3456
3457
3458
3459
# File 'generated/google/apis/docs_v1/classes.rb', line 3456

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