REST Resource: folders.contacts

Resource: Contact

A contact that will receive notifications from Google Cloud.

JSON representation
{
  "name": string,
  "email": string,
  "notificationCategorySubscriptions": [
    enum (NotificationCategory)
  ],
  "languageTag": string
}
Fields
name

string

The identifier for the contact. Format: {resourceType}/{resource_id}/contacts/{contact_id}

email

string

Required. The email address to send notifications to. This does not need to be a Google account.

notificationCategorySubscriptions[]

enum (NotificationCategory)

The categories of notifications that the contact will receive communications for.

languageTag

string

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

compute

Lists all contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.

create

Adds a new contact for a resource.

delete

Deletes a contact.

get

Gets a single contact.

list

Lists the contacts that have been set on a resource.

patch

Updates a contact.