Class V1ResourceEvent
Report v2 extension proto for passing the resource metadata associated with a resource create/update/delete/undelete event from ESF to Chemist. ResourceEvent proto should be serialized into the ReportRequest.operations.extensions.
Implements
Inherited Members
Namespace: Google.Apis.ServiceControl.v1.Data
Assembly: Google.Apis.ServiceControl.v1.dll
Syntax
public class V1ResourceEvent : IDirectResponseSchema
Properties
ContextId
The ESF unique context id of the api request, from which this resource event originated. This field is only needed for CAIS integration via api annotation. See go/cais-lro-delete for more details.
Declaration
[JsonProperty("contextId")]
public virtual long? ContextId { get; set; }
Property Value
Type | Description |
---|---|
long? |
Destinations
The destinations field determines which backend services should handle the event. This should be specified as a comma-delimited string.
Declaration
[JsonProperty("destinations")]
public virtual string Destinations { 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 |
Parent
The parent resource for the resource.
Declaration
[JsonProperty("parent")]
public virtual Resource Parent { get; set; }
Property Value
Type | Description |
---|---|
Resource |
Path
The api path the resource event was created in. This should match the source of the payload
field. For
direct integrations with Chemist, this should generally be the RESPONSE. go/resource-event-pipeline-type
Declaration
[JsonProperty("path")]
public virtual string Path { get; set; }
Property Value
Type | Description |
---|---|
string |
Payload
The payload contains metadata associated with the resource event. A ResourceEventPayloadStatus is provided instead if the original payload cannot be returned due to a limitation (e.g. size limit).
Declaration
[JsonProperty("payload")]
public virtual IDictionary<string, object> Payload { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, object> |
Resource
The resource associated with the event.
Declaration
[JsonProperty("resource")]
public virtual Resource Resource { get; set; }
Property Value
Type | Description |
---|---|
Resource |
Type
The resource event type determines how the backend service should process the event.
Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
Type | Description |
---|---|
string |