# Google Cloud Network Management V1 Client - Class RedisClusterInfo (2.9.2)

2.9.2 (latest) 2.9.1 2.8.0 2.7.0 2.6.1 2.5.0 2.4.2 2.3.2 2.2.1 2.1.1 2.0.1 1.7.3 1.5.0 1.4.2 1.3.0 1.2.0 1.1.1 1.0.5 Reference documentation and code samples for the Google Cloud Network Management V1 Client class RedisClusterInfo.

For display only. Metadata associated with a Redis Cluster.

Generated from protobuf message `google.cloud.networkmanagement.v1.RedisClusterInfo`

## Namespace

Google \\ Cloud \\ NetworkManagement \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ display_name` | `string` Name of a Redis Cluster. |
| `↳ uri` | `string` URI of a Redis Cluster in format "projects/{project_id}/locations/{location}/clusters/{cluster_id}" |
| `↳ network_uri` | `string` URI of the network containing the Redis Cluster endpoints in format "projects/{project_id}/global/networks/{network_id}". |
| `↳ discovery_endpoint_ip_address` | `string` Discovery endpoint IP address of a Redis Cluster. |
| `↳ secondary_endpoint_ip_address` | `string` Secondary endpoint IP address of a Redis Cluster. |
| `↳ location` | `string` Name of the region in which the Redis Cluster is defined. For example, "us-central1". |

### getDisplayName

Name of a Redis Cluster.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setDisplayName

Name of a Redis Cluster.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getUri

URI of a Redis Cluster in format
"projects/{project_id}/locations/{location}/clusters/{cluster_id}"

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setUri

URI of a Redis Cluster in format
"projects/{project_id}/locations/{location}/clusters/{cluster_id}"

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getNetworkUri

URI of the network containing the Redis Cluster endpoints in format
"projects/{project_id}/global/networks/{network_id}".

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setNetworkUri

URI of the network containing the Redis Cluster endpoints in format
"projects/{project_id}/global/networks/{network_id}".

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDiscoveryEndpointIpAddress

Discovery endpoint IP address of a Redis Cluster.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setDiscoveryEndpointIpAddress

Discovery endpoint IP address of a Redis Cluster.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getSecondaryEndpointIpAddress

Secondary endpoint IP address of a Redis Cluster.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setSecondaryEndpointIpAddress

Secondary endpoint IP address of a Redis Cluster.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getLocation

Name of the region in which the Redis Cluster is defined. For example,
"us-central1".

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setLocation

Name of the region in which the Redis Cluster is defined. For example,
"us-central1".

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |