Class: Google::Apis::SlidesV1::RerouteLineRequest

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

Overview

Reroutes a line such that it's connected at the two closest connection sites on the connected page elements.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RerouteLineRequest

Returns a new instance of RerouteLineRequest.



3125
3126
3127
# File 'lib/google/apis/slides_v1/classes.rb', line 3125

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

Instance Attribute Details

#object_id_propString

The object ID of the line to reroute. Only a line with a category indicating it is a "connector" can be rerouted. The start and end connections of the line must be on different page elements. Corresponds to the JSON property objectId

Returns:

  • (String)


3123
3124
3125
# File 'lib/google/apis/slides_v1/classes.rb', line 3123

def object_id_prop
  @object_id_prop
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3130
3131
3132
# File 'lib/google/apis/slides_v1/classes.rb', line 3130

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