Show / Hide Table of Contents

Class Alert

An alert affecting a customer.

Inheritance
System.Object
Alert
Implements
IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.AlertCenter.v1beta1.Data
Assembly: Google.Apis.AlertCenter.v1beta1.dll
Syntax
public class Alert : IDirectResponseSchema

Properties

AlertId

Output only. The unique identifier for the alert.

Declaration
[JsonProperty("alertId")]
public virtual string AlertId { get; set; }
Property Value
Type Description
System.String

CreateTime

Output only. The time this alert was created.

Declaration
[JsonProperty("createTime")]
public virtual object CreateTime { get; set; }
Property Value
Type Description
System.Object

CustomerId

Output only. The unique identifier of the Google account of the customer.

Declaration
[JsonProperty("customerId")]
public virtual string CustomerId { get; set; }
Property Value
Type Description
System.String

Data

Optional. The data associated with this alert, for example google.apps.alertcenter.type.DeviceCompromised.

Declaration
[JsonProperty("data")]
public virtual IDictionary<string, object> Data { get; set; }
Property Value
Type Description
System.Collections.Generic.IDictionary<System.String, System.Object>

Deleted

Output only. True if this alert is marked for deletion.

Declaration
[JsonProperty("deleted")]
public virtual bool? Deleted { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

EndTime

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.

Declaration
[JsonProperty("endTime")]
public virtual object EndTime { get; set; }
Property Value
Type Description
System.Object

ETag

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.

Declaration
[JsonProperty("etag")]
public virtual string ETag { get; set; }
Property Value
Type Description
System.String

Metadata

Output only. The metadata associated with this alert.

Declaration
[JsonProperty("metadata")]
public virtual AlertMetadata Metadata { get; set; }
Property Value
Type Description
AlertMetadata

SecurityInvestigationToolLink

Output only. An optional Security Investigation Tool query for this alert.

Declaration
[JsonProperty("securityInvestigationToolLink")]
public virtual string SecurityInvestigationToolLink { get; set; }
Property Value
Type Description
System.String

Source

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

Declaration
[JsonProperty("source")]
public virtual string Source { get; set; }
Property Value
Type Description
System.String

StartTime

Required. The time the event that caused this alert was started or detected.

Declaration
[JsonProperty("startTime")]
public virtual object StartTime { get; set; }
Property Value
Type Description
System.Object

Type

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.

Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
Type Description
System.String

UpdateTime

Output only. The time this alert was last updated.

Declaration
[JsonProperty("updateTime")]
public virtual object UpdateTime { get; set; }
Property Value
Type Description
System.Object

Implements

IDirectResponseSchema
In This Article
Back to top