2.9.0 (latest) 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.3.0 1.2.0 1.1.0 1.0.0

    public sealed class Pipeline.Types.Destination : IMessage<Pipeline.Types.Destination>, IEquatable<Pipeline.Types.Destination>, IDeepCloneable<Pipeline.Types.Destination>, IBufferMessage, IMessage

Reference documentation and code samples for the Eventarc v1 API class Pipeline.Types.Destination.

Represents a target of an invocation over HTTP.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> Pipeline.Types.Destination

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[Pipeline](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.Types.md.txt)[Destination](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Pipeline](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.Types.md.txt)[Destination](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[Pipeline](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.Types.md.txt)[Destination](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Eventarc.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.md.txt)

## Assembly

Google.Cloud.Eventarc.V1.dll

## Constructors

### Destination()

    public Destination()

### Destination(Destination)

    public Destination(Pipeline.Types.Destination other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `PipelineTypesDestination` |

## Properties

### AuthenticationConfig

    public Pipeline.Types.Destination.Types.AuthenticationConfig AuthenticationConfig { get; set; }

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.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `PipelineTypesDestinationTypesAuthenticationConfig` |   |

### DestinationDescriptorCase

    public Pipeline.Types.Destination.DestinationDescriptorOneofCase DestinationDescriptorCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `PipelineTypesDestinationDestinationDescriptorOneofCase` |   |

### HasMessageBus

    public bool HasMessageBus { get; }

Gets whether the "message_bus" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### HasTopic

    public bool HasTopic { get; }

Gets whether the "topic" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### HasWorkflow

    public bool HasWorkflow { get; }

Gets whether the "workflow" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### HttpEndpoint

    public Pipeline.Types.Destination.Types.HttpEndpoint HttpEndpoint { get; set; }

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>

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `PipelineTypesDestinationTypesHttpEndpoint` |   |

### MessageBus

    public string MessageBus { get; set; }

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}`

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### MessageBusAsMessageBusName

    public MessageBusName MessageBusAsMessageBusName { get; set; }

[MessageBusName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.MessageBusName.md.txt)-typed view over the [MessageBus](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination.md.txt#Google_Cloud_Eventarc_V1_Pipeline_Types_Destination_MessageBus) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `MessageBusName` |   |

### NetworkConfig

    public Pipeline.Types.Destination.Types.NetworkConfig NetworkConfig { get; set; }

Optional. Network config is used to configure how Pipeline resolves and
connects to a destination.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `PipelineTypesDestinationTypesNetworkConfig` |   |

### OutputPayloadFormat

    public Pipeline.Types.MessagePayloadFormat OutputPayloadFormat { get; set; }

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.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `PipelineTypesMessagePayloadFormat` |   |

### Topic

    public string Topic { get; set; }

Optional. The resource name of the Pub/Sub topic to which events should
be published. Format:
`projects/{project}/locations/{location}/topics/{topic}`

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### TopicAsTopicName

    public TopicName TopicAsTopicName { get; set; }

[TopicName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.TopicName.md.txt)-typed view over the [Topic](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination.md.txt#Google_Cloud_Eventarc_V1_Pipeline_Types_Destination_Topic) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `TopicName` |   |

### Workflow

    public string Workflow { get; set; }

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}`

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### WorkflowAsWorkflowName

    public WorkflowName WorkflowAsWorkflowName { get; set; }

[WorkflowName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.WorkflowName.md.txt)-typed view over the [Workflow](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination.md.txt#Google_Cloud_Eventarc_V1_Pipeline_Types_Destination_Workflow) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `WorkflowName` |   |