Reference documentation and code samples for the Google Cloud Memorystore V1 Client class BackupCollection.
BackupCollection of an instance.
Generated from protobuf message google.cloud.memorystore.v1.BackupCollection
Namespace
Google \ Cloud \ Memorystore \ 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. |
↳ instance_uid |
string
Output only. The instance uid of the backup collection. |
↳ instance |
string
Output only. The full resource path of the instance the backup collection belongs to. Example: projects/{project}/locations/{location}/instances/{instance} |
↳ 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. |
↳ create_time |
Google\Protobuf\Timestamp
Output only. The time when the backup collection was created. |
↳ total_backup_size_bytes |
int|string
Output only. Total size of all backups in the backup collection. |
↳ total_backup_count |
int|string
Output only. Total number of backups in the backup collection. |
↳ last_backup_time |
Google\Protobuf\Timestamp
Output only. The last time a backup was created in 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 |
|
getInstanceUid
Output only. The instance uid of the backup collection.
| Returns | |
|---|---|
| Type | Description |
string |
|
setInstanceUid
Output only. The instance uid of the backup collection.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getInstance
Output only. The full resource path of the instance the backup collection belongs to. Example: projects/{project}/locations/{location}/instances/{instance}
| Returns | |
|---|---|
| Type | Description |
string |
|
setInstance
Output only. The full resource path of the instance the backup collection belongs to. Example: projects/{project}/locations/{location}/instances/{instance}
| 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 |
|
getCreateTime
Output only. The time when the backup collection was created.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasCreateTime
clearCreateTime
setCreateTime
Output only. The time when the backup collection was created.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTotalBackupSizeBytes
Output only. Total size of all backups in the backup collection.
| Returns | |
|---|---|
| Type | Description |
int|string |
|
setTotalBackupSizeBytes
Output only. Total size of all backups in the backup collection.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTotalBackupCount
Output only. Total number of backups in the backup collection.
| Returns | |
|---|---|
| Type | Description |
int|string |
|
setTotalBackupCount
Output only. Total number of backups in the backup collection.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLastBackupTime
Output only. The last time a backup was created in the backup collection.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasLastBackupTime
clearLastBackupTime
setLastBackupTime
Output only. The last time a backup was created in the backup collection.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|