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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

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_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)


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