# Class Destination (1.21.0)

1.21.0 (latest) 1.20.0 1.19.0 1.18.0 1.17.0 1.16.0 1.15.3 1.14.0 1.13.2 1.12.0 1.11.5 1.10.0 1.9.2 1.8.1 1.7.0 1.6.3 1.5.1 1.4.2 1.3.0 1.2.1 1.1.0 1.0.2 0.2.4 0.1.0

    Destination(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents a target of an invocation over HTTP.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `cloud_run` | `https://docs.cloud.google.com/python/docs/reference/eventarc/latest/google.cloud.eventarc_v1.types.CloudRun` Cloud Run fully-managed resource that receives the events. The resource should be in the same project as the trigger. This field is a member of `oneof`_ `descriptor`. |
| `cloud_function` | `str` The Cloud Function resource name. Cloud Functions V1 and V2 are supported. Format: `projects/{project}/locations/{location}/functions/{function}` This is a read-only field. Creating Cloud Functions V1/V2 triggers is only supported via the Cloud Functions product. An error will be returned if the user sets this value. This field is a member of `oneof`_ `descriptor`. |
| `gke` | `https://docs.cloud.google.com/python/docs/reference/eventarc/latest/google.cloud.eventarc_v1.types.GKE` A GKE service capable of receiving events. The service should be running in the same project as the trigger. This field is a member of `oneof`_ `descriptor`. |
| `workflow` | `str` 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}` This field is a member of `oneof`_ `descriptor`. |
| `http_endpoint` | `https://docs.cloud.google.com/python/docs/reference/eventarc/latest/google.cloud.eventarc_v1.types.HttpEndpoint` An HTTP endpoint destination described by an URI. This field is a member of `oneof`_ `descriptor`. |
| `network_config` | `https://docs.cloud.google.com/python/docs/reference/eventarc/latest/google.cloud.eventarc_v1.types.NetworkConfig` Optional. Network config is used to configure how Eventarc resolves and connect to a destination. This should only be used with HttpEndpoint destination type. |