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::DestinationConfig.

Define the Connectors target endpoint.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #destinations

    def destinations() -> ::Array<::Google::Cloud::Connectors::V1::Destination>

**Returns**

- (::Array\<[::Google::Cloud::Connectors::V1::Destination](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-connectors-v1/latest/Google-Cloud-Connectors-V1-Destination)\>) --- The destinations for the key.

### #destinations=

    def destinations=(value) -> ::Array<::Google::Cloud::Connectors::V1::Destination>

**Parameter**

- **value** (::Array\<[::Google::Cloud::Connectors::V1::Destination](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-connectors-v1/latest/Google-Cloud-Connectors-V1-Destination)\>) --- The destinations for the key.
**Returns**

- (::Array\<[::Google::Cloud::Connectors::V1::Destination](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-connectors-v1/latest/Google-Cloud-Connectors-V1-Destination)\>) --- The destinations for the key.

### #key

    def key() -> ::String

**Returns**

- (::String) --- The key is the destination identifier that is supported by the Connector.

### #key=

    def key=(value) -> ::String

**Parameter**

- **value** (::String) --- The key is the destination identifier that is supported by the Connector.
**Returns**

- (::String) --- The key is the destination identifier that is supported by the Connector.