Google Cloud Backup Dr V1 Client - Class AlloyDbClusterBackupProperties (0.12.0)

Reference documentation and code samples for the Google Cloud Backup Dr V1 Client class AlloyDbClusterBackupProperties.

AlloyDbClusterBackupProperties represents AlloyDB cluster backup properties.

.

Generated from protobuf message google.cloud.backupdr.v1.AlloyDbClusterBackupProperties

Namespace

Google \ Cloud \ BackupDR \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ description string

An optional text description for the backup.

↳ stored_bytes int|string

Output only. Storage usage of this particular backup

↳ chain_id string

Output only. The chain id of this backup. Backups belonging to the same chain are sharing the same chain id. This property is calculated and maintained by BackupDR.

↳ database_version string

Output only. The PostgreSQL major version of the AlloyDB cluster when the backup was taken.

getDescription

An optional text description for the backup.

Returns
Type Description
string

hasDescription

clearDescription

setDescription

An optional text description for the backup.

Parameter
Name Description
var string
Returns
Type Description
$this

getStoredBytes

Output only. Storage usage of this particular backup

Returns
Type Description
int|string

setStoredBytes

Output only. Storage usage of this particular backup

Parameter
Name Description
var int|string
Returns
Type Description
$this

getChainId

Output only. The chain id of this backup. Backups belonging to the same chain are sharing the same chain id. This property is calculated and maintained by BackupDR.

Returns
Type Description
string

setChainId

Output only. The chain id of this backup. Backups belonging to the same chain are sharing the same chain id. This property is calculated and maintained by BackupDR.

Parameter
Name Description
var string
Returns
Type Description
$this

getDatabaseVersion

Output only. The PostgreSQL major version of the AlloyDB cluster when the backup was taken.

Returns
Type Description
string

setDatabaseVersion

Output only. The PostgreSQL major version of the AlloyDB cluster when the backup was taken.

Parameter
Name Description
var string
Returns
Type Description
$this