- NAME
-
- gcloud beta identity groups create - create a new group
- SYNOPSIS
-
-
gcloud beta identity groups create
EMAIL
--labels
=LABELS
--organization
=ORGANIZATION
[--description
=DESCRIPTION
] [--display-name
=DISPLAY_NAME
] [--dynamic-user-query
=DYNAMIC_USER_QUERY
] [--with-initial-owner
=WITH_INITIAL_OWNER
] [GCLOUD_WIDE_FLAG …
]
-
- DESCRIPTION
-
(BETA)
Create a new group. - POSITIONAL ARGUMENTS
-
EMAIL
- The email address of the group to be created.
- REQUIRED FLAGS
-
--labels
=LABELS
- Labels for group resource. Example of labels "--labels cloudidentity.googleapis.com/groups.discussion_forum"
--organization
=ORGANIZATION
- The organization the Group being created belongs to. This can be specified either as an ID ("123456789") or as the associated domain ("example.com").
- OPTIONAL FLAGS
-
--description
=DESCRIPTION
- 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.
--display-name
=DISPLAY_NAME
- The Group's display name.
--dynamic-user-query
=DYNAMIC_USER_QUERY
-
Query that determines the memberships of the dynamic group.
Example of a query: --dynamic-user-query="user.organizations.exists(org,org.title=='SWE')"
--with-initial-owner
=WITH_INITIAL_OWNER
-
If specified the user making the request will be added as the initial owner of
the group being created.
WITH_INITIAL_OWNER
must be one of:empty
,initial-group-config-unspecified
,with-initial-owner
.
- GCLOUD WIDE FLAGS
-
These flags are available to all commands:
--account
,--billing-project
,--configuration
,--flags-file
,--flatten
,--format
,--help
,--impersonate-service-account
,--log-http
,--project
,--quiet
,--trace-token
,--user-output-enabled
,--verbosity
.Run
$ gcloud help
for details. - API REFERENCE
-
This command uses the
cloudidentity/v1beta1
API. The full documentation for this API can be found at: https://cloud.google.com/identity/ - EXAMPLES
-
To create a new group:
gcloud beta identity groups create eng-discuss@foo.com --organization="5149234212" --with-initial-owner=WITH_INITIAL_OWNER --display-name="Engineer Discuss" --description="Group for engineering discussions" --labels="cloudidentity.googleapis.com/groups.discussion_forum"
- NOTES
-
This command is currently in BETA and may change without notice. These variants
are also available:
gcloud identity groups create
gcloud alpha identity groups create
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-12-15 UTC.