Eventarc v1 API - Class Pipeline.Types.Destination (2.6.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 > Pipeline.Types.Destination

Namespace

Google.Cloud.Eventarc.V1

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 GCP destinations that require GCP credentials to 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-typed view over the 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-typed view over the 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-typed view over the Workflow resource name property.

Property Value
Type Description
WorkflowName