gcloud identity groups memberships add

NAME
gcloud identity groups memberships add - create a new membership in an existing group
SYNOPSIS
gcloud identity groups memberships add --group-email=GROUP_EMAIL --member-email=MEMBER_EMAIL [--expiration=EXPIRATION] [--roles=[ROLES,…]] [GCLOUD_WIDE_FLAG]
DESCRIPTION
Create a new membership in an existing group.
EXAMPLES
To create a new membership in a group:
gcloud 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.
--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/v1 API. The full documentation for this API can be found at: https://cloud.google.com/identity/
NOTES
These variants are also available:
gcloud alpha identity groups memberships add
gcloud beta identity groups memberships add