Class: Google::Apis::DocsV1::SuggestedPositionedObjectProperties

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/docs_v1/classes.rb,
lib/google/apis/docs_v1/representations.rb,
lib/google/apis/docs_v1/representations.rb

Overview

A suggested change to PositionedObjectProperties.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SuggestedPositionedObjectProperties

Returns a new instance of SuggestedPositionedObjectProperties.



5392
5393
5394
# File 'lib/google/apis/docs_v1/classes.rb', line 5392

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

Instance Attribute Details

#positioned_object_propertiesGoogle::Apis::DocsV1::PositionedObjectProperties

Properties of a PositionedObject. Corresponds to the JSON property positionedObjectProperties



5383
5384
5385
# File 'lib/google/apis/docs_v1/classes.rb', line 5383

def positioned_object_properties
  @positioned_object_properties
end

#positioned_object_properties_suggestion_stateGoogle::Apis::DocsV1::PositionedObjectPropertiesSuggestionState

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's a new suggested value. Corresponds to the JSON property positionedObjectPropertiesSuggestionState



5390
5391
5392
# File 'lib/google/apis/docs_v1/classes.rb', line 5390

def positioned_object_properties_suggestion_state
  @positioned_object_properties_suggestion_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5397
5398
5399
5400
# File 'lib/google/apis/docs_v1/classes.rb', line 5397

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