Eventarc v1 API - Class Destination (2.4.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
Name Description
other Destination

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

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