# Google Cloud Memorystore for Redis V1 API - Class Google::Cloud::Redis::Cluster::V1::ConnectionDetail (v1.7.0)

1.7.0 (latest) 1.6.0 1.5.1 1.4.0 1.3.1 1.2.0 1.1.0 1.0.1 0.6.0 0.5.0 0.4.2 0.3.0 0.2.2 0.1.0 Reference documentation and code samples for the Google Cloud Memorystore for Redis V1 API class Google::Cloud::Redis::Cluster::V1::ConnectionDetail.

Detailed information of each PSC connection.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #psc_auto_connection

    def psc_auto_connection() -> ::Google::Cloud::Redis::Cluster::V1::PscAutoConnection

**Returns**

- ([::Google::Cloud::Redis::Cluster::V1::PscAutoConnection](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-redis-cluster-v1/latest/Google-Cloud-Redis-Cluster-V1-PscAutoConnection)) --- Detailed information of a PSC connection that is created through service connectivity automation.


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

### #psc_auto_connection=

    def psc_auto_connection=(value) -> ::Google::Cloud::Redis::Cluster::V1::PscAutoConnection

**Parameter**

- **value** ([::Google::Cloud::Redis::Cluster::V1::PscAutoConnection](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-redis-cluster-v1/latest/Google-Cloud-Redis-Cluster-V1-PscAutoConnection)) --- Detailed information of a PSC connection that is created through service connectivity automation.


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

- ([::Google::Cloud::Redis::Cluster::V1::PscAutoConnection](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-redis-cluster-v1/latest/Google-Cloud-Redis-Cluster-V1-PscAutoConnection)) --- Detailed information of a PSC connection that is created through service connectivity automation.


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

### #psc_connection

    def psc_connection() -> ::Google::Cloud::Redis::Cluster::V1::PscConnection

**Returns**

- ([::Google::Cloud::Redis::Cluster::V1::PscConnection](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-redis-cluster-v1/latest/Google-Cloud-Redis-Cluster-V1-PscConnection)) --- Detailed information of a PSC connection that is created by the customer who owns the cluster.


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

### #psc_connection=

    def psc_connection=(value) -> ::Google::Cloud::Redis::Cluster::V1::PscConnection

**Parameter**

- **value** ([::Google::Cloud::Redis::Cluster::V1::PscConnection](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-redis-cluster-v1/latest/Google-Cloud-Redis-Cluster-V1-PscConnection)) --- Detailed information of a PSC connection that is created by the customer who owns the cluster.


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

- ([::Google::Cloud::Redis::Cluster::V1::PscConnection](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-redis-cluster-v1/latest/Google-Cloud-Redis-Cluster-V1-PscConnection)) --- Detailed information of a PSC connection that is created by the customer who owns the cluster.


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