Reference documentation and code samples for the Google Cloud Redis Cluster V1 Client class BackupCollection.
BackupCollection of a cluster.
Generated from protobuf message google.cloud.redis.cluster.v1.BackupCollection
Namespace
Google \ Cloud \ Redis \ Cluster \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Identifier. Full resource path of the backup collection. |
↳ cluster_uid |
string
Output only. The cluster uid of the backup collection. |
↳ cluster |
string
Output only. The full resource path of the cluster the backup collection belongs to. Example: projects/{project}/locations/{location}/clusters/{cluster} |
↳ kms_key |
string
Output only. The KMS key used to encrypt the backups under this backup collection. |
↳ uid |
string
Output only. System assigned unique identifier of the backup collection. |
getName
Identifier. Full resource path of the backup collection.
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Identifier. Full resource path of the backup collection.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getClusterUid
Output only. The cluster uid of the backup collection.
| Returns | |
|---|---|
| Type | Description |
string |
|
setClusterUid
Output only. The cluster uid of the backup collection.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCluster
Output only. The full resource path of the cluster the backup collection belongs to. Example: projects/{project}/locations/{location}/clusters/{cluster}
| Returns | |
|---|---|
| Type | Description |
string |
|
setCluster
Output only. The full resource path of the cluster the backup collection belongs to. Example: projects/{project}/locations/{location}/clusters/{cluster}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getKmsKey
Output only. The KMS key used to encrypt the backups under this backup collection.
| Returns | |
|---|---|
| Type | Description |
string |
|
setKmsKey
Output only. The KMS key used to encrypt the backups under this backup collection.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUid
Output only. System assigned unique identifier of the backup collection.
| Returns | |
|---|---|
| Type | Description |
string |
|
setUid
Output only. System assigned unique identifier of the backup collection.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|