Alert
import type { Alert } from "https://googleapis.deno.dev/v1/alertcenter:v1beta1.ts";
An alert affecting a customer.
§Properties
Output only. The unique identifier of the Google Workspace account of the customer.
Optional. The data associated with this alert, for example google.apps.alertcenter.type.DeviceCompromised.
Optional. The time the event that caused this alert ceased being active. If provided, the end time must not be earlier than the start time. If not provided, it indicates an ongoing alert.
Optional. etag
is used for optimistic concurrency control as a way to
help prevent simultaneous updates of an alert from overwriting each other.
It is strongly suggested that systems make use of the etag
in the
read-modify-write cycle to perform alert updates in order to avoid race
conditions: An etag
is returned in the response which contains alerts,
and systems are expected to put that etag in the request to update alert to
ensure that their change will be applied to the same version of the alert.
If no etag
is provided in the call to update alert, then the existing
alert is overwritten blindly.
Output only. The metadata associated with this alert.
Output only. An optional Security Investigation Tool query for this alert.
Required. A unique identifier for the system that reported the alert. This is output only after alert is created. Supported sources are any of the following: * Google Operations * Mobile device management * Gmail phishing
- Data Loss Prevention * Domain wide takeout * State sponsored attack * Google identity * Apps outage
Required. The type of the alert. This is output only after alert is created. For a list of available alert types see Google Workspace Alert types.