Class EventAnnotation
Annotation configuration for one event type on a dashboard
Implements
Inherited Members
Namespace: Google.Apis.Monitoring.v1.Data
Assembly: Google.Apis.Monitoring.v1.dll
Syntax
public class EventAnnotation : IDirectResponseSchema
Properties
DisplayName
Solely for UI display. Should not be used programmatically.
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 |
Enabled
Whether or not to show the events on the dashboard by default
Declaration
[JsonProperty("enabled")]
public virtual bool? Enabled { get; set; }
Property Value
Type | Description |
---|---|
bool? |
EventType
The type of event to display.
Declaration
[JsonProperty("eventType")]
public virtual string EventType { get; set; }
Property Value
Type | Description |
---|---|
string |
Filter
string filtering the events - event dependant. Example values: "resource.labels.pod_name = 'pod-1'" "protoPayload.authenticationInfo.principalEmail='user@example.com'"
Declaration
[JsonProperty("filter")]
public virtual string Filter { get; set; }
Property Value
Type | Description |
---|---|
string |
ResourceNames
Per annotation level override for the names of logging resources to search for events. Currently only projects are supported. If both this field and the per annotation field is empty, it will default to the host project. Limit: 50 projects. For example: “projects/another-project-id”
Declaration
[JsonProperty("resourceNames")]
public virtual IList<string> ResourceNames { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |