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.



3674
3675
3676
# File 'generated/google/apis/docs_v1/classes.rb', line 3674

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



3665
3666
3667
# File 'generated/google/apis/docs_v1/classes.rb', line 3665

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



3672
3673
3674
# File 'generated/google/apis/docs_v1/classes.rb', line 3672

def positioning_suggestion_state
  @positioning_suggestion_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3679
3680
3681
3682
# File 'generated/google/apis/docs_v1/classes.rb', line 3679

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