Resource: Contact
A contact that will receive notifications from Google Cloud.
JSON representation |
---|
{ "name": string, "email": string, "notificationCategorySubscriptions": [ enum ( |
Fields | |
---|---|
name |
Output only. The identifier for the contact. Format: {resourceType}/{resource_id}/contacts/{contact_id} |
email |
Required. The email address to send notifications to. The email address does not need to be a Google Account. |
notification |
Required. The categories of notifications that the contact will receive communications for. |
language |
Required. The preferred language for notifications, as a ISO 639-1 language code. See Supported languages for a list of supported languages. |
validation |
Output only. The validity of the contact. A contact is considered valid if it is the correct recipient for notifications for a particular resource. |
validate |
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. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
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. |
|
Allows a contact admin to send a test message to contact to verify that it has been configured correctly. |