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.
Optional. Network config is used to configure how Eventarc resolves and
connect to a destination.
This should only be used with HttpEndpoint destination type.
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}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eDestination\u003c/code\u003e class in the Eventarc v1 API represents a target for HTTP invocations and has multiple versions available, with version 2.6.0 being the latest.\u003c/p\u003e\n"],["\u003cp\u003eThis class is designed to be used with different event target types, including Cloud Functions, Cloud Run, GKE services, and HTTP endpoints.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDestination\u003c/code\u003e implements several interfaces for functionality, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, for use with .NET applications.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDestination\u003c/code\u003e class allows configuration for connections using \u003ccode\u003eNetworkConfig\u003c/code\u003e and supports different types of targets using properties like \u003ccode\u003eCloudFunction\u003c/code\u003e, \u003ccode\u003eCloudRun\u003c/code\u003e, \u003ccode\u003eGke\u003c/code\u003e, and \u003ccode\u003eHttpEndpoint\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDestination\u003c/code\u003e class supports linking a workflow resource for triggering events via the \u003ccode\u003eWorkflow\u003c/code\u003e property, which is compatible with the \u003ccode\u003eWorkflowName\u003c/code\u003e type.\u003c/p\u003e\n"]]],[],null,["# Eventarc v1 API - Class Destination (2.6.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.6.0 (latest)](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Destination)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/2.5.0/Google.Cloud.Eventarc.V1.Destination)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/2.4.0/Google.Cloud.Eventarc.V1.Destination)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/2.3.0/Google.Cloud.Eventarc.V1.Destination)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/2.2.0/Google.Cloud.Eventarc.V1.Destination)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/2.1.0/Google.Cloud.Eventarc.V1.Destination)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/2.0.0/Google.Cloud.Eventarc.V1.Destination)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/1.3.0/Google.Cloud.Eventarc.V1.Destination)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/1.2.0/Google.Cloud.Eventarc.V1.Destination)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/1.1.0/Google.Cloud.Eventarc.V1.Destination)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/1.0.0/Google.Cloud.Eventarc.V1.Destination) \n\n public sealed class Destination : IMessage\u003cDestination\u003e, IEquatable\u003cDestination\u003e, IDeepCloneable\u003cDestination\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Eventarc v1 API class Destination.\n\nRepresents a target of an invocation over HTTP. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Destination \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Destination](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Destination), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Destination](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Destination), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Destination](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Destination), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Eventarc.V1](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Eventarc.V1.dll\n\nConstructors\n------------\n\n### Destination()\n\n public Destination()\n\n### Destination(Destination)\n\n public Destination(Destination other)\n\nProperties\n----------\n\n### CloudFunction\n\n public string CloudFunction { get; set; }\n\nThe Cloud Function resource name. Cloud Functions V1 and V2 are\nsupported.\nFormat: `projects/{project}/locations/{location}/functions/{function}`\n\nThis is a read-only field. Creating Cloud Functions V1/V2 triggers is\nonly supported via the Cloud Functions product. An error will be returned\nif the user sets this value.\n\n### CloudFunctionAsCloudFunctionName\n\n public CloudFunctionName CloudFunctionAsCloudFunctionName { get; set; }\n\n[CloudFunctionName](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.CloudFunctionName)-typed view over the [CloudFunction](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Destination#Google_Cloud_Eventarc_V1_Destination_CloudFunction) resource name property.\n\n### CloudRun\n\n public CloudRun CloudRun { get; set; }\n\nCloud Run fully-managed resource that receives the events. The resource\nshould be in the same project as the trigger.\n\n### DescriptorCase\n\n public Destination.DescriptorOneofCase DescriptorCase { get; }\n\n### Gke\n\n public GKE Gke { get; set; }\n\nA GKE service capable of receiving events. The service should be running\nin the same project as the trigger.\n\n### HasCloudFunction\n\n public bool HasCloudFunction { get; }\n\nGets whether the \"cloud_function\" field is set\n\n### HasWorkflow\n\n public bool HasWorkflow { get; }\n\nGets whether the \"workflow\" field is set\n\n### HttpEndpoint\n\n public HttpEndpoint HttpEndpoint { get; set; }\n\nAn HTTP endpoint destination described by an URI.\n\n### NetworkConfig\n\n public NetworkConfig NetworkConfig { get; set; }\n\nOptional. Network config is used to configure how Eventarc resolves and\nconnect to a destination.\nThis should only be used with HttpEndpoint destination type.\n\n### Workflow\n\n public string Workflow { get; set; }\n\nThe resource name of the Workflow whose Executions are triggered by\nthe events. The Workflow resource should be deployed in the same project\nas the trigger.\nFormat: `projects/{project}/locations/{location}/workflows/{workflow}`\n\n### WorkflowAsWorkflowName\n\n public WorkflowName WorkflowAsWorkflowName { get; set; }\n\n[WorkflowName](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.WorkflowName)-typed view over the [Workflow](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Destination#Google_Cloud_Eventarc_V1_Destination_Workflow) resource name property."]]