Class: Google::Apis::SlidesV1::UpdateLineCategoryRequest
- Inherits:
-
Object
- Object
- Google::Apis::SlidesV1::UpdateLineCategoryRequest
- 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
Updates the category of a line.
Instance Attribute Summary collapse
-
#line_category ⇒ String
The line category to update to.
-
#object_id_prop ⇒ String
The object ID of the line the update is applied to.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UpdateLineCategoryRequest
constructor
A new instance of UpdateLineCategoryRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UpdateLineCategoryRequest
Returns a new instance of UpdateLineCategoryRequest.
4509 4510 4511 |
# File 'lib/google/apis/slides_v1/classes.rb', line 4509 def initialize(**args) update!(**args) end |
Instance Attribute Details
#line_category ⇒ String
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
4500 4501 4502 |
# File 'lib/google/apis/slides_v1/classes.rb', line 4500 def line_category @line_category end |
#object_id_prop ⇒ String
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
4507 4508 4509 |
# File 'lib/google/apis/slides_v1/classes.rb', line 4507 def object_id_prop @object_id_prop end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4514 4515 4516 4517 |
# File 'lib/google/apis/slides_v1/classes.rb', line 4514 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 |