Show / Hide Table of Contents

Class EventAnnotation

Annotation configuration for one event type on a dashboard

Inheritance
object
EventAnnotation
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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>

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX