Class: Google::Apis::SlidesV1::GroupObjectsRequest
- Inherits:
-
Object
- Object
- Google::Apis::SlidesV1::GroupObjectsRequest
- 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
Groups objects to create an object group. For example, groups PageElements to create a Group on the same page as all the children.
Instance Attribute Summary collapse
-
#children_object_ids ⇒ Array<String>
The object IDs of the objects to group.
-
#group_object_id ⇒ String
A user-supplied object ID for the group to be created.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GroupObjectsRequest
constructor
A new instance of GroupObjectsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GroupObjectsRequest
Returns a new instance of GroupObjectsRequest.
1164 1165 1166 |
# File 'lib/google/apis/slides_v1/classes.rb', line 1164 def initialize(**args) update!(**args) end |
Instance Attribute Details
#children_object_ids ⇒ Array<String>
The object IDs of the objects to group. Only page elements can be grouped.
There should be at least two page elements on the same page that are not
already in another group. Some page elements, such as videos, tables and
placeholders cannot be grouped.
Corresponds to the JSON property childrenObjectIds
1151 1152 1153 |
# File 'lib/google/apis/slides_v1/classes.rb', line 1151 def children_object_ids @children_object_ids end |
#group_object_id ⇒ String
A user-supplied object ID for the group to be created. If you specify an ID,
it must be unique among all pages and page elements in the presentation. The
ID must start with an alphanumeric character or an underscore (matches regex [
a-zA-Z0-9_]
); remaining characters may include those as well as a hyphen or
colon (matches regex [a-zA-Z0-9_-:]
). The length of the ID must not be less
than 5 or greater than 50. If you don't specify an ID, a unique one is
generated.
Corresponds to the JSON property groupObjectId
1162 1163 1164 |
# File 'lib/google/apis/slides_v1/classes.rb', line 1162 def group_object_id @group_object_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1169 1170 1171 1172 |
# File 'lib/google/apis/slides_v1/classes.rb', line 1169 def update!(**args) @children_object_ids = args[:children_object_ids] if args.key?(:children_object_ids) @group_object_id = args[:group_object_id] if args.key?(:group_object_id) end |