gcloud alpha identity groups memberships add

NAME
gcloud alpha identity groups memberships add - create a new membership in an existing group
SYNOPSIS
gcloud alpha identity groups memberships add --group-email=GROUP_EMAIL --member-email=MEMBER_EMAIL [--expiration=EXPIRATION] [--organization=ORGANIZATION] [--roles=[ROLES,…]] [GCLOUD_WIDE_FLAG]
DESCRIPTION
(ALPHA) Create a new membership in an existing group.
EXAMPLES
To create a new membership in a group:
gcloud alpha identity groups memberships add --group-email="eng-discuss@foo.com" --member-email="user@foo.com"
REQUIRED FLAGS
--group-email=GROUP_EMAIL
The email address of the group the new membership is being added to.
--member-email=MEMBER_EMAIL
The email address of the group or user being added to a group.
OPTIONAL FLAGS
--expiration=EXPIRATION
Optional time of expiration for the membership. This is given as a duration from now, for example '30d', '6m', '3y' for 30 days, 6 months, or 3 years respectively.
--organization=ORGANIZATION
The organization ID of the group the new membership is being added to.
--roles=[ROLES,…]
A comma-separated list of roles for a member within the Group. If not specified, MEMBER will be used as a default value.
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 $ gcloud help for details.

API REFERENCE
This command uses the cloudidentity/v1alpha1 API. The full documentation for this API can be found at: https://cloud.google.com/identity/
NOTES
This command is currently in alpha and might change without notice. If this command fails with API permission errors despite specifying the correct project, you might be trying to access an API with an invitation-only early access allowlist. These variants are also available:
gcloud identity groups memberships add
gcloud beta identity groups memberships add