Class: Google::Apis::SlidesV1::GroupObjectsRequest

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

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GroupObjectsRequest

Returns a new instance of GroupObjectsRequest.



1115
1116
1117
# File 'generated/google/apis/slides_v1/classes.rb', line 1115

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

Instance Attribute Details

#children_object_idsArray<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 placeholder shapes cannot be grouped. Corresponds to the JSON property childrenObjectIds

Returns:

  • (Array<String>)


1102
1103
1104
# File 'generated/google/apis/slides_v1/classes.rb', line 1102

def children_object_ids
  @children_object_ids
end

#group_object_idString

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

Returns:

  • (String)


1113
1114
1115
# File 'generated/google/apis/slides_v1/classes.rb', line 1113

def group_object_id
  @group_object_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1120
1121
1122
1123
# File 'generated/google/apis/slides_v1/classes.rb', line 1120

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