gcloud essential-contacts create

NAME
gcloud essential-contacts create - create an essential contact
SYNOPSIS
gcloud essential-contacts create--email=EMAIL--language=LANGUAGE--notification-categories=[NOTIFICATION_CATEGORIES,…][--folder=FOLDER    |--organization=ORGANIZATION    |--project=PROJECT][GCLOUD_WIDE_FLAG]
EXAMPLES
To create a contact in the current project, run:
gcloudessential-contactscreate--email=contact-email@example.com--notification-categories=technical,product-updates--language=en-US

To create a contact in the folder with id456, run:

gcloudessential-contactscreate--email=contact-email@example.com--notification-categories=technical,product-updates--language=en-US--folder=456

To create a contact in the organization with id456, run:

gcloudessential-contactscreate--email=contact-email@example.com--notification-categories=technical,product-updates--language=en-US--organization=456
REQUIRED FLAGS
--email=EMAIL
email address of contact.
--language=LANGUAGE
preferred language of contact. Must be a valid ISO 639-1 language code.
--notification-categories=[NOTIFICATION_CATEGORIES,…]
list of notification categories contact is subscribed to.NOTIFICATION_CATEGORIES must be one of:all,billing,legal,notification-category-unspecified,product-updates,security,suspension,technical,technical-incidents.
OPTIONAL FLAGS
At most one of these can be specified:
--folder=FOLDER
folder number where contacts are set. If neither --project, --folder, nor--organization are provided then the config property [core/project] will be usedas the resource.
--organization=ORGANIZATION
organization number where contacts are set. If neither --project, --folder, nor--organization are provided then the config property [core/project] will be usedas the resource.
--project=PROJECT
project number or id where contacts are set. If neither --project, --folder, nor--organization are provided then the config property [core/project] will be usedas the resource.
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.

NOTES
These variants are also available:
gcloudalphaessential-contactscreate
gcloudbetaessential-contactscreate

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-05-07 UTC.