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

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RerouteLineRequest

Returns a new instance of RerouteLineRequest.



3065
3066
3067
# File 'generated/google/apis/slides_v1/classes.rb', line 3065

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)


3063
3064
3065
# File 'generated/google/apis/slides_v1/classes.rb', line 3063

def object_id_prop
  @object_id_prop
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3070
3071
3072
# File 'generated/google/apis/slides_v1/classes.rb', line 3070

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