View Source GoogleApi.ServiceControl.V2.Model.V2ResourceEvent (google_api_service_control v0.44.0)
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.
Attributes
-
contextId(type:String.t, default:nil) - 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. -
destinations(type:String.t, default:nil) - The destinations field determines which backend services should handle the event. This should be specified as a comma-delimited string. -
parent(type:GoogleApi.ServiceControl.V2.Model.Resource.t, default:nil) - The parent resource for the resource. -
path(type:String.t, default:nil) - The api path the resource event was created in. This should match the source of thepayloadfield. For direct integrations with Chemist, this should generally be the RESPONSE. go/resource-event-pipeline-type -
payload(type:map(), default:nil) - 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). -
resource(type:GoogleApi.ServiceControl.V2.Model.Resource.t, default:nil) - The resource associated with the event. -
type(type:String.t, default:nil) - The resource event type determines how the backend service should process the event.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.ServiceControl.V2.Model.V2ResourceEvent{ contextId: String.t() | nil, destinations: String.t() | nil, parent: GoogleApi.ServiceControl.V2.Model.Resource.t() | nil, path: String.t() | nil, payload: map() | nil, resource: GoogleApi.ServiceControl.V2.Model.Resource.t() | nil, type: String.t() | nil }