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



4263
4264
4265
# File 'generated/google/apis/docs_v1/classes.rb', line 4263

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



4253
4254
4255
# File 'generated/google/apis/docs_v1/classes.rb', line 4253

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



4261
4262
4263
# File 'generated/google/apis/docs_v1/classes.rb', line 4261

def positioned_object_properties_suggestion_state
  @positioned_object_properties_suggestion_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4268
4269
4270
4271
# File 'generated/google/apis/docs_v1/classes.rb', line 4268

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