Reference documentation and code samples for the Google Cloud Eventarc V1 Client class Destination.
Represents a target of an invocation over HTTP.
Generated from protobuf message google.cloud.eventarc.v1.Destination
Namespace
Google \ Cloud \ Eventarc \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ cloud_run
Google\Cloud\Eventarc\V1\CloudRun
Cloud Run fully-managed resource that receives the events. The resource should be in the same project as the trigger.
↳ cloud_function
string
The Cloud Function resource name. Only Cloud Functions V2 is supported. Format: projects/{project}/locations/{location}/functions/{function}
↳ gke
Google\Cloud\Eventarc\V1\GKE
A GKE service capable of receiving events. The service should be running in the same project as the trigger.
↳ workflow
string
The resource name of the Workflow whose Executions are triggered by the events. The Workflow resource should be deployed in the same project as the trigger. Format: projects/{project}/locations/{location}/workflows/{workflow}
getCloudRun
Cloud Run fully-managed resource that receives the events. The resource should be in the same project as the trigger.
hasCloudRun
setCloudRun
Cloud Run fully-managed resource that receives the events. The resource should be in the same project as the trigger.
$this
getCloudFunction
The Cloud Function resource name. Only Cloud Functions V2 is supported.
Format: projects/{project}/locations/{location}/functions/{function}
string
hasCloudFunction
setCloudFunction
The Cloud Function resource name. Only Cloud Functions V2 is supported.
Format: projects/{project}/locations/{location}/functions/{function}
var
string
$this
getGke
A GKE service capable of receiving events. The service should be running in the same project as the trigger.
hasGke
setGke
A GKE service capable of receiving events. The service should be running in the same project as the trigger.
$this
getWorkflow
The resource name of the Workflow whose Executions are triggered by the events. The Workflow resource should be deployed in the same project as the trigger.
Format: projects/{project}/locations/{location}/workflows/{workflow}
string
hasWorkflow
setWorkflow
The resource name of the Workflow whose Executions are triggered by the events. The Workflow resource should be deployed in the same project as the trigger.
Format: projects/{project}/locations/{location}/workflows/{workflow}
var
string
$this
getDescriptor
string