Class ActivityRule
Alerts from Google Workspace Security Center rules service configured by an admin.
Implements
Inherited Members
Namespace: Google.Apis.AlertCenter.v1beta1.Data
Assembly: Google.Apis.AlertCenter.v1beta1.dll
Syntax
public class ActivityRule : IDirectResponseSchemaProperties
ActionNames
List of action names associated with the rule threshold.
Declaration
[JsonProperty("actionNames")]
public virtual IList<string> ActionNames { get; set; }Property Value
| Type | Description | 
|---|---|
| IList<string> | 
CreateTime
object representation of CreateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }Property Value
| Type | Description | 
|---|---|
| object | 
CreateTimeDateTimeOffset
DateTimeOffset representation of CreateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }Property Value
| Type | Description | 
|---|---|
| DateTimeOffset? | 
CreateTimeRaw
Rule create timestamp.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }Property Value
| Type | Description | 
|---|---|
| string | 
Description
Description of the rule.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }Property Value
| Type | Description | 
|---|---|
| string | 
DisplayName
Alert display name.
Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { get; set; }Property Value
| Type | Description | 
|---|---|
| string | 
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }Property Value
| Type | Description | 
|---|---|
| string | 
Name
Rule name.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }Property Value
| Type | Description | 
|---|---|
| string | 
Query
Query that is used to get the data from the associated source.
Declaration
[JsonProperty("query")]
public virtual string Query { get; set; }Property Value
| Type | Description | 
|---|---|
| string | 
SupersededAlerts
List of alert IDs superseded by this alert. It is used to indicate that this alert is essentially extension of superseded alerts and we found the relationship after creating these alerts.
Declaration
[JsonProperty("supersededAlerts")]
public virtual IList<string> SupersededAlerts { get; set; }Property Value
| Type | Description | 
|---|---|
| IList<string> | 
SupersedingAlert
Alert ID superseding this alert. It is used to indicate that superseding alert is essentially extension of this alert and we found the relationship after creating both alerts.
Declaration
[JsonProperty("supersedingAlert")]
public virtual string SupersedingAlert { get; set; }Property Value
| Type | Description | 
|---|---|
| string | 
Threshold
Alert threshold is for example “COUNT > 5”.
Declaration
[JsonProperty("threshold")]
public virtual string Threshold { get; set; }Property Value
| Type | Description | 
|---|---|
| string | 
TriggerSource
The trigger sources for this rule. * GMAIL_EVENTS * DEVICE_EVENTS * USER_EVENTS
Declaration
[JsonProperty("triggerSource")]
public virtual string TriggerSource { get; set; }Property Value
| Type | Description | 
|---|---|
| string | 
UpdateTime
object representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }Property Value
| Type | Description | 
|---|---|
| object | 
UpdateTimeDateTimeOffset
DateTimeOffset representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }Property Value
| Type | Description | 
|---|---|
| DateTimeOffset? | 
UpdateTimeRaw
The timestamp of the last update to the rule.
Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }Property Value
| Type | Description | 
|---|---|
| string | 
WindowSize
Rule window size. Possible values are 1 hour or 24 hours.
Declaration
[JsonProperty("windowSize")]
public virtual object WindowSize { get; set; }Property Value
| Type | Description | 
|---|---|
| object |