HEX
Server: Apache/2.4.65 (Ubuntu)
System: Linux ielts-store-v2 6.8.0-1036-gcp #38~22.04.1-Ubuntu SMP Thu Aug 14 01:19:18 UTC 2025 x86_64
User: root (0)
PHP: 7.2.34-54+ubuntu20.04.1+deb.sury.org+1
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
File: //snap/google-cloud-cli/396/help/man/man1/gcloud_identity_groups_create.1
.TH "GCLOUD_IDENTITY_GROUPS_CREATE" 1



.SH "NAME"
.HP
gcloud identity groups create \- create a new group



.SH "SYNOPSIS"
.HP
\f5gcloud identity groups create\fR \fIEMAIL\fR (\fB\-\-customer\fR=\fICUSTOMER\fR\ |\ \fB\-\-organization\fR=\fIORGANIZATION\fR) [\fB\-\-description\fR=\fIDESCRIPTION\fR] [\fB\-\-display\-name\fR=\fIDISPLAY_NAME\fR] [\fB\-\-dynamic\-user\-query\fR=\fIDYNAMIC_USER_QUERY\fR] [\fB\-\-with\-initial\-owner\fR=\fIWITH_INITIAL_OWNER\fR] [\fB\-\-group\-type\fR=\fIGROUP_TYPE\fR;\ default="discussion"\ |\ \fB\-\-labels\fR=\fILABELS\fR] [\fIGCLOUD_WIDE_FLAG\ ...\fR]



.SH "DESCRIPTION"

Create a new group.



.SH "EXAMPLES"

To quickly create a new Google Groups discussion group with default settings:

.RS 2m
$ gcloud identity groups create eng\-discuss@example.com \e
    \-\-organization="example.com"
.RE

To create a new Google Groups discussion group with a display name and
descripton:

.RS 2m
$ gcloud identity groups create eng\-discuss@example.com \e
    \-\-organization="example.com" \-\-display\-name="Engineer Discuss" \e
    \-\-description="Group for engineering discussions"
.RE

To create a new security group:

.RS 2m
$ gcloud identity groups create security\-group@example.com \e
    \-\-organization="example.com" \-\-group\-type="security" \e
    \-\-display\-name="Security Group" \e
    \-\-description="Description of Security Group"
.RE



.SH "POSITIONAL ARGUMENTS"

.RS 2m
.TP 2m
\fIEMAIL\fR

The email address of the group to be created.


.RE
.sp

.SH "REQUIRED FLAGS"

.RS 2m
.TP 2m

Exactly one of these must be specified:


.RS 2m
.TP 2m
\fB\-\-customer\fR=\fICUSTOMER\fR

The customer ID for the customer\e's G Suite account. Example of customer:
"C01k1e9nw"

.TP 2m
\fB\-\-organization\fR=\fIORGANIZATION\fR

The organization the Group being created belongs to. This can be specified
either as an ID ("123456789") or as the associated domain ("example.com").


.RE
.RE
.sp

.SH "OPTIONAL FLAGS"

.RS 2m
.TP 2m
\fB\-\-description\fR=\fIDESCRIPTION\fR

An extended description to help users determine the purpose of a Group. For
example, you can include information about who should join the Group, the types
of messages to send to the Group, links to FAQs about the Group, or related
Groups. Maximum length is 4,096 characters.

.TP 2m
\fB\-\-display\-name\fR=\fIDISPLAY_NAME\fR

The Group's display name.

.TP 2m
\fB\-\-dynamic\-user\-query\fR=\fIDYNAMIC_USER_QUERY\fR

Query that determines the memberships of the dynamic group.

Example of a query:
\-\-dynamic\-user\-query="user.organizations.exists(org,org.title=='SWE')"

.TP 2m
\fB\-\-with\-initial\-owner\fR=\fIWITH_INITIAL_OWNER\fR

If specified the user making the request will be added as the initial owner of
the group being created. \fIWITH_INITIAL_OWNER\fR must be one of:

.RS 2m
.TP 2m
\fBempty\fR
The creator of the group will not be the owner of the group. This is the default
for dynamic groups.

.TP 2m
\fBwith\-initial\-owner\fR
The creator of the group will be the owner of the group. This is the default for
non\-dynamic groups.

.RE
.sp


.TP 2m

At most one of these can be specified:


.RS 2m
.TP 2m
\fB\-\-group\-type\fR=\fIGROUP_TYPE\fR; default="discussion"

The type of group to create. Setting group\-type will add the appropriate labels
for the type of group being created. \fIGROUP_TYPE\fR must be one of:

.RS 2m
.TP 2m
\fBdiscussion\fR
Creates a Google Groups discussion group.
.TP 2m
\fBdynamic\fR
Creates a dynamic group.
.TP 2m
\fBsecurity\fR
Creates a security group.
.RE
.sp


.TP 2m
\fB\-\-labels\fR=\fILABELS\fR

Labels for group resource. Example of labels "\-\-labels
cloudidentity.googleapis.com/groups.discussion_forum"


.RE
.RE
.sp

.SH "GCLOUD WIDE FLAGS"

These flags are available to all commands: \-\-access\-token\-file, \-\-account,
\-\-billing\-project, \-\-configuration, \-\-flags\-file, \-\-flatten,
\-\-format, \-\-help, \-\-impersonate\-service\-account, \-\-log\-http,
\-\-project, \-\-quiet, \-\-trace\-token, \-\-user\-output\-enabled,
\-\-verbosity.

Run \fB$ gcloud help\fR for details.



.SH "API REFERENCE"

This command uses the \fBcloudidentity/v1\fR API. The full documentation for
this API can be found at: https://cloud.google.com/identity/



.SH "NOTES"

These variants are also available:

.RS 2m
$ gcloud alpha identity groups create
.RE

.RS 2m
$ gcloud beta identity groups create
.RE