# 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** |
| `network_config` | `https://docs.cloud.google.com/python/docs/reference/eventarc/latest/google.cloud.eventarc_v1.types.Pipeline.Destination.NetworkConfig` Optional. Network config is used to configure how Pipeline resolves and connects to a destination. |
| `http_endpoint` | `https://docs.cloud.google.com/python/docs/reference/eventarc/latest/google.cloud.eventarc_v1.types.Pipeline.Destination.HttpEndpoint` Optional. An HTTP endpoint destination described by an URI. If a DNS FQDN is provided as the endpoint, Pipeline will create a peering zone to the consumer VPC and forward DNS requests to the VPC specified by network config to resolve the service endpoint. See: https://cloud.google.com/dns/docs/zones/zones-overview#peering_zones This field is a member of `oneof`_ `destination_descriptor`. |
| `workflow` | `str` Optional. 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 Pipeline. Format: `projects/{project}/locations/{location}/workflows/{workflow}` This field is a member of `oneof`_ `destination_descriptor`. |
| `message_bus` | `str` Optional. The resource name of the Message Bus to which events should be published. The Message Bus resource should exist in the same project as the Pipeline. Format: `projects/{project}/locations/{location}/messageBuses/{message_bus}` This field is a member of `oneof`_ `destination_descriptor`. |
| `topic` | `str` Optional. The resource name of the Pub/Sub topic to which events should be published. Format: `projects/{project}/locations/{location}/topics/{topic}` This field is a member of `oneof`_ `destination_descriptor`. |
| `authentication_config` | `https://docs.cloud.google.com/python/docs/reference/eventarc/latest/google.cloud.eventarc_v1.types.Pipeline.Destination.AuthenticationConfig` Optional. An authentication config used to authenticate message requests, such that destinations can verify the source. For example, this can be used with private Google Cloud destinations that require Google Cloud credentials for access like Cloud Run. This field is optional and should be set only by users interested in authenticated push. |
| `output_payload_format` | `https://docs.cloud.google.com/python/docs/reference/eventarc/latest/google.cloud.eventarc_v1.types.Pipeline.MessagePayloadFormat` Optional. The message format before it is delivered to the destination. If not set, the message will be delivered in the format it was originally delivered to the Pipeline. This field can only be set if Pipeline.input_payload_format is also set. |

## Classes

### AuthenticationConfig

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

Represents a config used to authenticate message requests.

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>

### HttpEndpoint

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

Represents a HTTP endpoint destination.

### NetworkConfig

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

Represents a network config to be used for destination
resolution and connectivity.