REST Resource: organizations.contacts

Resource: Contact

A contact that will receive notifications from Google Cloud.

JSON representation
{
  "name": string,
  "email": string,
  "notificationCategorySubscriptions": [
    enum (NotificationCategory)
  ],
  "languageTag": string,
  "verificationState": enum (VerificationState),
  "verificationExpireTime": 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.

verificationState

enum (VerificationState)

The verification state of this contact's email address.

verificationExpireTime

string (Timestamp format)

Time when the current verification token will expire. After this a new token will need to be generated for the user to verify the contact.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

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.

resend

Allows user to resend verification.

verify

Verifies the email of a contact.