View Source GoogleApi.Eventarc.V1.Model.Destination (google_api_eventarc v0.8.0)

Represents a target of an invocation over HTTP.

Attributes

  • cloudFunction (type: String.t, default: nil) - The Cloud Function resource name. Only Cloud Functions V2 is supported. Format: projects/{project}/locations/{location}/functions/{function}
  • cloudRun (type: GoogleApi.Eventarc.V1.Model.CloudRun.t, default: nil) - Cloud Run fully-managed resource that receives the events. The resource should be in the same project as the trigger.
  • gke (type: GoogleApi.Eventarc.V1.Model.GKE.t, default: nil) - A GKE service capable of receiving events. The service should be running in the same project as the trigger.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Eventarc.V1.Model.Destination{
  cloudFunction: String.t() | nil,
  cloudRun: GoogleApi.Eventarc.V1.Model.CloudRun.t() | nil,
  gke: GoogleApi.Eventarc.V1.Model.GKE.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.