Eventarc v1 API - Class Destination (2.3.0)

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.

Inheritance

object > Destination

Namespace

Google.Cloud.Eventarc.V1

Assembly

Google.Cloud.Eventarc.V1.dll

Constructors

Destination()

public Destination()

Destination(Destination)

public Destination(Destination other)
Parameter
NameDescription
otherDestination

Properties

CloudFunction

public string CloudFunction { get; set; }

The Cloud Function resource name. Only Cloud Functions V2 is supported. Format: projects/{project}/locations/{location}/functions/{function}

Property Value
TypeDescription
string

CloudFunctionAsCloudFunctionName

public CloudFunctionName CloudFunctionAsCloudFunctionName { get; set; }

CloudFunctionName-typed view over the CloudFunction resource name property.

Property Value
TypeDescription
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
TypeDescription
CloudRun

DescriptorCase

public Destination.DescriptorOneofCase DescriptorCase { get; }
Property Value
TypeDescription
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
TypeDescription
GKE

HasCloudFunction

public bool HasCloudFunction { get; }

Gets whether the "cloud_function" field is set

Property Value
TypeDescription
bool

HasWorkflow

public bool HasWorkflow { get; }

Gets whether the "workflow" field is set

Property Value
TypeDescription
bool

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
TypeDescription
string

WorkflowAsWorkflowName

public WorkflowName WorkflowAsWorkflowName { get; set; }

WorkflowName-typed view over the Workflow resource name property.

Property Value
TypeDescription
WorkflowName