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.



3836
3837
3838
# File 'generated/google/apis/docs_v1/classes.rb', line 3836

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



3827
3828
3829
# File 'generated/google/apis/docs_v1/classes.rb', line 3827

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



3834
3835
3836
# File 'generated/google/apis/docs_v1/classes.rb', line 3834

def positioning_suggestion_state
  @positioning_suggestion_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3841
3842
3843
3844
# File 'generated/google/apis/docs_v1/classes.rb', line 3841

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