Class: Google::Apis::SlidesV1::UpdateLineCategoryRequest

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

Updates the category of a line.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ UpdateLineCategoryRequest

Returns a new instance of UpdateLineCategoryRequest.



4376
4377
4378
# File 'generated/google/apis/slides_v1/classes.rb', line 4376

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

Instance Attribute Details

#line_categoryString

The line category to update to. The exact line type is determined based on the category to update to and how it's routed to connect to other page elements. Corresponds to the JSON property lineCategory

Returns:

  • (String)


4367
4368
4369
# File 'generated/google/apis/slides_v1/classes.rb', line 4367

def line_category
  @line_category
end

#object_id_propString

The object ID of the line the update is applied to. Only a line with a category indicating it is a "connector" can be updated. The line may be rerouted after updating its category. Corresponds to the JSON property objectId

Returns:

  • (String)


4374
4375
4376
# File 'generated/google/apis/slides_v1/classes.rb', line 4374

def object_id_prop
  @object_id_prop
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4381
4382
4383
4384
# File 'generated/google/apis/slides_v1/classes.rb', line 4381

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