# Memorystore V1 API - Class Google::Cloud::Memorystore::V1::Instance::ConnectionDetail (v1.9.0)

1.9.0 (latest) 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.1 1.0.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Memorystore V1 API class Google::Cloud::Memorystore::V1::Instance::ConnectionDetail.

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::Memorystore::V1::PscAutoConnection

**Returns**

- ([::Google::Cloud::Memorystore::V1::PscAutoConnection](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-memorystore-v1/latest/Google-Cloud-Memorystore-V1-PscAutoConnection)) --- Immutable. 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::Memorystore::V1::PscAutoConnection

**Parameter**

- **value** ([::Google::Cloud::Memorystore::V1::PscAutoConnection](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-memorystore-v1/latest/Google-Cloud-Memorystore-V1-PscAutoConnection)) --- Immutable. 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::Memorystore::V1::PscAutoConnection](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-memorystore-v1/latest/Google-Cloud-Memorystore-V1-PscAutoConnection)) --- Immutable. 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::Memorystore::V1::PscConnection

**Returns**

- ([::Google::Cloud::Memorystore::V1::PscConnection](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-memorystore-v1/latest/Google-Cloud-Memorystore-V1-PscConnection)) --- Detailed information of a PSC connection that is created by the user.


  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::Memorystore::V1::PscConnection

**Parameter**

- **value** ([::Google::Cloud::Memorystore::V1::PscConnection](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-memorystore-v1/latest/Google-Cloud-Memorystore-V1-PscConnection)) --- Detailed information of a PSC connection that is created by the user.


  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::Memorystore::V1::PscConnection](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-memorystore-v1/latest/Google-Cloud-Memorystore-V1-PscConnection)) --- Detailed information of a PSC connection that is created by the user.


  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.