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

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 suggested change to PositionedObjectProperties.

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) ⇒ SuggestedPositionedObjectProperties

Returns a new instance of SuggestedPositionedObjectProperties.



4802
4803
4804
# File 'generated/google/apis/docs_v1/classes.rb', line 4802

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



4793
4794
4795
# File 'generated/google/apis/docs_v1/classes.rb', line 4793

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



4800
4801
4802
# File 'generated/google/apis/docs_v1/classes.rb', line 4800

def positioned_object_properties_suggestion_state
  @positioned_object_properties_suggestion_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4807
4808
4809
4810
# File 'generated/google/apis/docs_v1/classes.rb', line 4807

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