1.6.1 (latest) 1.6.0 1.5.0 1.4.0 1.3.1 1.2.0 1.1.0 1.0.1 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the Connectors V1 API class Google::Cloud::Connectors::V1::Destination.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #host

    def host() -> ::String

**Returns**

- (::String) --- For publicly routable host.

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

### #host=

    def host=(value) -> ::String

**Parameter**

- **value** (::String) --- For publicly routable host.


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

- (::String) --- For publicly routable host.

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

### #port

    def port() -> ::Integer

**Returns**

- (::Integer) --- The port is the target port number that is accepted by the destination.

### #port=

    def port=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- The port is the target port number that is accepted by the destination.
**Returns**

- (::Integer) --- The port is the target port number that is accepted by the destination.

### #service_attachment

    def service_attachment() -> ::String

**Returns**

- (::String) --- PSC service attachments. Format: projects/*/regions/* /serviceAttachments/\*


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

### #service_attachment=

    def service_attachment=(value) -> ::String

**Parameter**

- **value** (::String) --- PSC service attachments. Format: projects/*/regions/* /serviceAttachments/\*


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

- (::String) --- PSC service attachments. Format: projects/*/regions/* /serviceAttachments/\*


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