Class: Google::Apis::SlidesV1::RerouteLineRequest
- Inherits:
-
Object
- Object
- Google::Apis::SlidesV1::RerouteLineRequest
- 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
-
#object_id_prop ⇒ String
The object ID of the line to reroute.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RerouteLineRequest
constructor
A new instance of RerouteLineRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RerouteLineRequest
Returns a new instance of RerouteLineRequest.
3135 3136 3137 |
# File 'lib/google/apis/slides_v1/classes.rb', line 3135 def initialize(**args) update!(**args) end |
Instance Attribute Details
#object_id_prop ⇒ String
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
3133 3134 3135 |
# File 'lib/google/apis/slides_v1/classes.rb', line 3133 def object_id_prop @object_id_prop end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3140 3141 3142 |
# File 'lib/google/apis/slides_v1/classes.rb', line 3140 def update!(**args) @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) end |