Reference documentation and code samples for the Google Cloud Redis Cluster V1 Client class RemoteCluster.
Details of the remote cluster associated with this cluster in a cross cluster replication setup.
Generated from protobuf message google.cloud.redis.cluster.v1.CrossClusterReplicationConfig.RemoteCluster
Namespace
Google \ Cloud \ Redis \ Cluster \ V1 \ CrossClusterReplicationConfigMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ cluster |
string
The full resource path of the remote cluster in the format: projects/
|
↳ uid |
string
Output only. The unique identifier of the remote cluster. |
getCluster
The full resource path of the remote cluster in the format: projects/
Returns | |
---|---|
Type | Description |
string |
setCluster
The full resource path of the remote cluster in the format: projects/
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getUid
Output only. The unique identifier of the remote cluster.
Returns | |
---|---|
Type | Description |
string |
setUid
Output only. The unique identifier of the remote cluster.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |