# Google Cloud Network Management V1 Client - Class RedisInstanceInfo (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 RedisInstanceInfo.

For display only. Metadata associated with a Cloud Redis Instance.

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

## 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 Cloud Redis Instance. |
| `↳ uri` | `string` URI of a Cloud Redis Instance. |
| `↳ network_uri` | `string` URI of a Cloud Redis Instance network. |
| `↳ primary_endpoint_ip` | `string` Primary endpoint IP address of a Cloud Redis Instance. |
| `↳ read_endpoint_ip` | `string` Read endpoint IP address of a Cloud Redis Instance (if applicable). |
| `↳ region` | `string` Region in which the Cloud Redis Instance is defined. |

### getDisplayName

Name of a Cloud Redis Instance.

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

### setDisplayName

Name of a Cloud Redis Instance.

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

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

### getUri

URI of a Cloud Redis Instance.

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

### setUri

URI of a Cloud Redis Instance.

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

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

### getNetworkUri

URI of a Cloud Redis Instance network.

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

### setNetworkUri

URI of a Cloud Redis Instance network.

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

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

### getPrimaryEndpointIp

Primary endpoint IP address of a Cloud Redis Instance.

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

### setPrimaryEndpointIp

Primary endpoint IP address of a Cloud Redis Instance.

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

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

### getReadEndpointIp

Read endpoint IP address of a Cloud Redis Instance (if applicable).

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

### setReadEndpointIp

Read endpoint IP address of a Cloud Redis Instance (if applicable).

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

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

### getRegion

Region in which the Cloud Redis Instance is defined.

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

### setRegion

Region in which the Cloud Redis Instance is defined.

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

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