public sealed class Destination : IMessage<Destination>, IEquatable<Destination>, IDeepCloneable<Destination>, IBufferMessage, IMessage
Reference documentation and code samples for the Eventarc v1 API class Destination.
Represents a target of an invocation over HTTP.
Implements
IMessageDestination, IEquatableDestination, IDeepCloneableDestination, IBufferMessage, IMessageNamespace
Google.Cloud.Eventarc.V1Assembly
Google.Cloud.Eventarc.V1.dll
Constructors
Destination()
public Destination()
Destination(Destination)
public Destination(Destination other)
Parameter | |
---|---|
Name | Description |
other |
Destination |
Properties
CloudFunction
public string CloudFunction { get; set; }
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.
Property Value | |
---|---|
Type | Description |
string |
CloudFunctionAsCloudFunctionName
public CloudFunctionName CloudFunctionAsCloudFunctionName { get; set; }
CloudFunctionName-typed view over the CloudFunction resource name property.
Property Value | |
---|---|
Type | Description |
CloudFunctionName |
CloudRun
public CloudRun CloudRun { get; set; }
Cloud Run fully-managed resource that receives the events. The resource should be in the same project as the trigger.
Property Value | |
---|---|
Type | Description |
CloudRun |
DescriptorCase
public Destination.DescriptorOneofCase DescriptorCase { get; }
Property Value | |
---|---|
Type | Description |
DestinationDescriptorOneofCase |
Gke
public GKE Gke { get; set; }
A GKE service capable of receiving events. The service should be running in the same project as the trigger.
Property Value | |
---|---|
Type | Description |
GKE |
HasCloudFunction
public bool HasCloudFunction { get; }
Gets whether the "cloud_function" 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 HttpEndpoint HttpEndpoint { get; set; }
An HTTP endpoint destination described by an URI.
Property Value | |
---|---|
Type | Description |
HttpEndpoint |
NetworkConfig
public NetworkConfig NetworkConfig { get; set; }
Optional. Network config is used to configure how Eventarc resolves and connect to a destination. This should only be used with HttpEndpoint destination type.
Property Value | |
---|---|
Type | Description |
NetworkConfig |
Workflow
public string Workflow { get; set; }
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}
Property Value | |
---|---|
Type | Description |
string |
WorkflowAsWorkflowName
public WorkflowName WorkflowAsWorkflowName { get; set; }
WorkflowName-typed view over the Workflow resource name property.
Property Value | |
---|---|
Type | Description |
WorkflowName |