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 \ V1Methods
__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 |
|