# Eventarc V1 API - Class Google::Cloud::Eventarc::V1::Pipeline::Destination (v2.8.0)

2.8.0 (latest) 2.7.1 2.6.0 2.5.0 2.4.1 2.3.0 2.2.0 2.1.0 2.0.1 1.3.0 1.2.0 1.1.0 1.0.1 0.10.0 0.9.2 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.1 0.1.4 Reference documentation and code samples for the Eventarc V1 API class Google::Cloud::Eventarc::V1::Pipeline::Destination.

Represents a target of an invocation over HTTP.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #authentication_config

    def authentication_config() -> ::Google::Cloud::Eventarc::V1::Pipeline::Destination::AuthenticationConfig

**Returns**

- ([::Google::Cloud::Eventarc::V1::Pipeline::Destination::AuthenticationConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-eventarc-v1/latest/Google-Cloud-Eventarc-V1-Pipeline-Destination-AuthenticationConfig)) --- Optional. An authentication config used to authenticate message requests, such that destinations can verify the source. For example, this can be used with private Google Cloud destinations that require Google Cloud credentials for access like Cloud Run. This field is optional and should be set only by users interested in authenticated push.

### #authentication_config=

    def authentication_config=(value) -> ::Google::Cloud::Eventarc::V1::Pipeline::Destination::AuthenticationConfig

**Parameter**

- **value** ([::Google::Cloud::Eventarc::V1::Pipeline::Destination::AuthenticationConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-eventarc-v1/latest/Google-Cloud-Eventarc-V1-Pipeline-Destination-AuthenticationConfig)) --- Optional. An authentication config used to authenticate message requests, such that destinations can verify the source. For example, this can be used with private Google Cloud destinations that require Google Cloud credentials for access like Cloud Run. This field is optional and should be set only by users interested in authenticated push.
**Returns**

- ([::Google::Cloud::Eventarc::V1::Pipeline::Destination::AuthenticationConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-eventarc-v1/latest/Google-Cloud-Eventarc-V1-Pipeline-Destination-AuthenticationConfig)) --- Optional. An authentication config used to authenticate message requests, such that destinations can verify the source. For example, this can be used with private Google Cloud destinations that require Google Cloud credentials for access like Cloud Run. This field is optional and should be set only by users interested in authenticated push.

### #http_endpoint

    def http_endpoint() -> ::Google::Cloud::Eventarc::V1::Pipeline::Destination::HttpEndpoint

**Returns**

- ([::Google::Cloud::Eventarc::V1::Pipeline::Destination::HttpEndpoint](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-eventarc-v1/latest/Google-Cloud-Eventarc-V1-Pipeline-Destination-HttpEndpoint)) --- 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


  Note: The following fields are mutually exclusive: `http_endpoint`, `workflow`, `message_bus`, `topic`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #http_endpoint=

    def http_endpoint=(value) -> ::Google::Cloud::Eventarc::V1::Pipeline::Destination::HttpEndpoint

**Parameter**

- **value** ([::Google::Cloud::Eventarc::V1::Pipeline::Destination::HttpEndpoint](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-eventarc-v1/latest/Google-Cloud-Eventarc-V1-Pipeline-Destination-HttpEndpoint)) --- 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


  Note: The following fields are mutually exclusive: `http_endpoint`, `workflow`, `message_bus`, `topic`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::Eventarc::V1::Pipeline::Destination::HttpEndpoint](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-eventarc-v1/latest/Google-Cloud-Eventarc-V1-Pipeline-Destination-HttpEndpoint)) --- 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


  Note: The following fields are mutually exclusive: `http_endpoint`, `workflow`, `message_bus`, `topic`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #message_bus

    def message_bus() -> ::String

**Returns**

- (::String) --- 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}`


  Note: The following fields are mutually exclusive: `message_bus`, `http_endpoint`, `workflow`, `topic`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #message_bus=

    def message_bus=(value) -> ::String

**Parameter**

- **value** (::String) --- 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}`


  Note: The following fields are mutually exclusive: `message_bus`, `http_endpoint`, `workflow`, `topic`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- (::String) --- 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}`


  Note: The following fields are mutually exclusive: `message_bus`, `http_endpoint`, `workflow`, `topic`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #network_config

    def network_config() -> ::Google::Cloud::Eventarc::V1::Pipeline::Destination::NetworkConfig

**Returns**

- ([::Google::Cloud::Eventarc::V1::Pipeline::Destination::NetworkConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-eventarc-v1/latest/Google-Cloud-Eventarc-V1-Pipeline-Destination-NetworkConfig)) --- Optional. Network config is used to configure how Pipeline resolves and connects to a destination.

### #network_config=

    def network_config=(value) -> ::Google::Cloud::Eventarc::V1::Pipeline::Destination::NetworkConfig

**Parameter**

- **value** ([::Google::Cloud::Eventarc::V1::Pipeline::Destination::NetworkConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-eventarc-v1/latest/Google-Cloud-Eventarc-V1-Pipeline-Destination-NetworkConfig)) --- Optional. Network config is used to configure how Pipeline resolves and connects to a destination.
**Returns**

- ([::Google::Cloud::Eventarc::V1::Pipeline::Destination::NetworkConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-eventarc-v1/latest/Google-Cloud-Eventarc-V1-Pipeline-Destination-NetworkConfig)) --- Optional. Network config is used to configure how Pipeline resolves and connects to a destination.

### #output_payload_format

    def output_payload_format() -> ::Google::Cloud::Eventarc::V1::Pipeline::MessagePayloadFormat

**Returns**

- ([::Google::Cloud::Eventarc::V1::Pipeline::MessagePayloadFormat](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-eventarc-v1/latest/Google-Cloud-Eventarc-V1-Pipeline-MessagePayloadFormat)) --- 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.

### #output_payload_format=

    def output_payload_format=(value) -> ::Google::Cloud::Eventarc::V1::Pipeline::MessagePayloadFormat

**Parameter**

- **value** ([::Google::Cloud::Eventarc::V1::Pipeline::MessagePayloadFormat](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-eventarc-v1/latest/Google-Cloud-Eventarc-V1-Pipeline-MessagePayloadFormat)) --- 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.
**Returns**

- ([::Google::Cloud::Eventarc::V1::Pipeline::MessagePayloadFormat](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-eventarc-v1/latest/Google-Cloud-Eventarc-V1-Pipeline-MessagePayloadFormat)) --- 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.

### #topic

    def topic() -> ::String

**Returns**

- (::String) --- Optional. The resource name of the Pub/Sub topic to which events should be published. Format: `projects/{project}/locations/{location}/topics/{topic}`


  Note: The following fields are mutually exclusive: `topic`, `http_endpoint`, `workflow`, `message_bus`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #topic=

    def topic=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The resource name of the Pub/Sub topic to which events should be published. Format: `projects/{project}/locations/{location}/topics/{topic}`


  Note: The following fields are mutually exclusive: `topic`, `http_endpoint`, `workflow`, `message_bus`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- (::String) --- Optional. The resource name of the Pub/Sub topic to which events should be published. Format: `projects/{project}/locations/{location}/topics/{topic}`


  Note: The following fields are mutually exclusive: `topic`, `http_endpoint`, `workflow`, `message_bus`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #workflow

    def workflow() -> ::String

**Returns**

- (::String) --- 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}`


  Note: The following fields are mutually exclusive: `workflow`, `http_endpoint`, `message_bus`, `topic`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #workflow=

    def workflow=(value) -> ::String

**Parameter**

- **value** (::String) --- 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}`


  Note: The following fields are mutually exclusive: `workflow`, `http_endpoint`, `message_bus`, `topic`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- (::String) --- 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}`


  Note: The following fields are mutually exclusive: `workflow`, `http_endpoint`, `message_bus`, `topic`. If a field in that set is populated, all other fields in the set will automatically be cleared.