# Google Cloud Memorystore for Redis V1BETA1 API - Class Google::Cloud::Redis::Cluster::V1beta1::PscServiceAttachment (v0.11.0)

0.11.0 (latest) 0.10.0 0.9.1 0.8.0 0.7.1 0.6.0 0.5.0 0.4.1 0.3.0 0.2.0 0.1.2 Reference documentation and code samples for the Google Cloud Memorystore for Redis V1BETA1 API class Google::Cloud::Redis::Cluster::V1beta1::PscServiceAttachment.

Configuration of a service attachment of the cluster, for creating PSC
connections.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #connection_type

    def connection_type() -> ::Google::Cloud::Redis::Cluster::V1beta1::ConnectionType

**Returns**

- ([::Google::Cloud::Redis::Cluster::V1beta1::ConnectionType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-redis-cluster-v1beta1/latest/Google-Cloud-Redis-Cluster-V1beta1-ConnectionType)) --- Output only. Type of a PSC connection targeting this service attachment.

### #service_attachment

    def service_attachment() -> ::String

**Returns**

- (::String) --- Output only. Service attachment URI which your self-created PscConnection should use as target