Class: Google::Apis::SlidesV1::RerouteLineRequest
- Inherits:
-
Object
- Object
- Google::Apis::SlidesV1::RerouteLineRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/slides_v1/classes.rb,
generated/google/apis/slides_v1/representations.rb,
generated/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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ RerouteLineRequest
Returns a new instance of RerouteLineRequest
3224 3225 3226 |
# File 'generated/google/apis/slides_v1/classes.rb', line 3224 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
3222 3223 3224 |
# File 'generated/google/apis/slides_v1/classes.rb', line 3222 def object_id_prop @object_id_prop end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3229 3230 3231 |
# File 'generated/google/apis/slides_v1/classes.rb', line 3229 def update!(**args) @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) end |