REST Resource: projects.contacts

Resource: Contact

A contact that will receive notifications from Trusted Cloud.

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

string

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

email

string

Required. The email address to send notifications to. The email address does not need to be a Trusted Cloud Account.

notificationCategorySubscriptions[]

enum (NotificationCategory)

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

languageTag

string

Required. The preferred language for notifications, as a ISO 639-1 language code. See Supported languages for a list of supported languages.

validationState

enum (ValidationState)

Output only. The validity of the contact. A contact is considered valid if it is the correct recipient for notifications for a particular resource.

validateTime

string (Timestamp format)

Output only. The last time the validationState was updated, either manually or automatically. A contact is considered stale if its validation state was updated more than 1 year ago.

Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

Methods

compute

IAM fallback, Billing Admin fallback, and TECHNICAL_INCIDENTS category are not supported.
Lists all contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.

create

IAM fallback, Billing Admin fallback, and TECHNICAL_INCIDENTS category are not supported.
Adds a new contact for a resource.

delete

IAM fallback, Billing Admin fallback, and TECHNICAL_INCIDENTS category are not supported.
Deletes a contact.

get

IAM fallback, Billing Admin fallback, and TECHNICAL_INCIDENTS category are not supported.
Gets a single contact.

list

IAM fallback, Billing Admin fallback, and TECHNICAL_INCIDENTS category are not supported.
Lists the contacts that have been set on a resource.

patch

IAM fallback, Billing Admin fallback, and TECHNICAL_INCIDENTS category are not supported.
Updates a contact.

sendTestMessage

IAM fallback, Billing Admin fallback, and TECHNICAL_INCIDENTS category are not supported.
Allows a contact admin to send a test message to contact to verify that it has been configured correctly.