Class: Google::Apis::SlidesV1::UpdatePageElementsZOrderRequest
- Inherits:
-
Object
- Object
- Google::Apis::SlidesV1::UpdatePageElementsZOrderRequest
- 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 Z-order of page elements. Z-order is an ordering of the elements on the page from back to front. The page element in the front may cover the elements that are behind it.
Instance Attribute Summary collapse
-
#operation ⇒ String
The Z-order operation to apply on the page elements.
-
#page_element_object_ids ⇒ Array<String>
The object IDs of the page elements to update.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UpdatePageElementsZOrderRequest
constructor
A new instance of UpdatePageElementsZOrderRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ UpdatePageElementsZOrderRequest
Returns a new instance of UpdatePageElementsZOrderRequest
4737 4738 4739 |
# File 'generated/google/apis/slides_v1/classes.rb', line 4737 def initialize(**args) update!(**args) end |
Instance Attribute Details
#operation ⇒ String
The Z-order operation to apply on the page elements.
When applying the operation on multiple page elements, the relative
Z-orders within these page elements before the operation is maintained.
Corresponds to the JSON property operation
4729 4730 4731 |
# File 'generated/google/apis/slides_v1/classes.rb', line 4729 def operation @operation end |
#page_element_object_ids ⇒ Array<String>
The object IDs of the page elements to update.
All the page elements must be on the same page and must not be grouped.
Corresponds to the JSON property pageElementObjectIds
4735 4736 4737 |
# File 'generated/google/apis/slides_v1/classes.rb', line 4735 def page_element_object_ids @page_element_object_ids end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4742 4743 4744 4745 |
# File 'generated/google/apis/slides_v1/classes.rb', line 4742 def update!(**args) @operation = args[:operation] if args.key?(:operation) @page_element_object_ids = args[:page_element_object_ids] if args.key?(:page_element_object_ids) end |