Resource: Contact
A contact that will receive notifications from Google Cloud.
JSON representation | |
---|---|
{
"name": string,
"email": string,
"notificationCategorySubscriptions": [
enum ( |
Fields | |
---|---|
name |
The identifier for the contact. Format: {resourceType}/{resource_id}/contacts/{contact_id} |
email |
Required. The email address to send notifications to. This does not need to be a Google account. |
notificationCategorySubscriptions[] |
The categories of notifications that the contact will receive communications for. |
languageTag |
The preferred language for notifications, as a ISO 639-1 language code. See Supported languages for a list of supported languages. |
NotificationCategory
The notification categories that an essential contact can be subscribed to. Each notification will be categorized by the sender into one of the following categories. All contacts that are subscribed to that category will receive the notification.
Enums | |
---|---|
NOTIFICATION_CATEGORY_UNSPECIFIED |
Notification category is unrecognized or unspecified. |
ALL |
All notifications related to the resource, including notifications pertaining to categories added in the future. |
SUSPENSION |
Notifications related to imminent account suspension. |
SECURITY |
Notifications related to security/privacy incidents, notifications, and vulnerabilities. |
TECHNICAL |
Notifications related to outages, errors, bugs, and other technical issues. |
BILLING |
Notifications related to billing and payments notifications, price updates, errors, or credits. |
LEGAL |
Notifications related to enforcement actions, regulatory compliance, or government notices. |
PRODUCT_UPDATES |
Notifications related to new versions, product terms updates, or deprecations. |
Methods |
|
---|---|
|
Lists all contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources. |
|
Adds a new contact for a resource. |
|
Deletes a contact. |
|
Gets a single contact. |
|
Lists the contacts that have been set on a resource. |
|
Updates a contact. |