# Google Cloud Memorystore for Redis V1 API - Class Google::Cloud::Redis::Cluster::V1::DiscoveryEndpoint (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::DiscoveryEndpoint.

Endpoints on each network, for Redis clients to connect to the cluster.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #address

    def address() -> ::String

**Returns**

- (::String) --- Output only. Address of the exposed Redis endpoint used by clients to connect to the service. The address could be either IP or hostname.

### #port

    def port() -> ::Integer

**Returns**

- (::Integer) --- Output only. The port number of the exposed Redis endpoint.

### #psc_config

    def psc_config() -> ::Google::Cloud::Redis::Cluster::V1::PscConfig

**Returns**

- ([::Google::Cloud::Redis::Cluster::V1::PscConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-redis-cluster-v1/latest/Google-Cloud-Redis-Cluster-V1-PscConfig)) --- Output only. Customer configuration for where the endpoint is created and accessed from.