Google Cloud Backup Dr V1 Client - Class CloudSqlInstanceBackupProperties (0.7.0)

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

CloudSqlInstanceBackupProperties represents Cloud SQL Instance Backup properties.

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

Namespace

Google \ Cloud \ BackupDR \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ database_installed_version string

Output only. The installed database version of the Cloud SQL instance when the backup was taken.

↳ final_backup bool

Output only. Whether the backup is a final backup.

↳ source_instance string

Output only. The source instance of the backup. Format: projects/{project}/instances/{instance}

↳ instance_tier string

Output only. The tier (or machine type) for this instance. Example: db-custom-1-3840

getDatabaseInstalledVersion

Output only. The installed database version of the Cloud SQL instance when the backup was taken.

Returns
Type Description
string

setDatabaseInstalledVersion

Output only. The installed database version of the Cloud SQL instance when the backup was taken.

Parameter
Name Description
var string
Returns
Type Description
$this

getFinalBackup

Output only. Whether the backup is a final backup.

Returns
Type Description
bool

setFinalBackup

Output only. Whether the backup is a final backup.

Parameter
Name Description
var bool
Returns
Type Description
$this

getSourceInstance

Output only. The source instance of the backup.

Format: projects/{project}/instances/{instance}

Returns
Type Description
string

setSourceInstance

Output only. The source instance of the backup.

Format: projects/{project}/instances/{instance}

Parameter
Name Description
var string
Returns
Type Description
$this

getInstanceTier

Output only. The tier (or machine type) for this instance. Example: db-custom-1-3840

Returns
Type Description
string

setInstanceTier

Output only. The tier (or machine type) for this instance. Example: db-custom-1-3840

Parameter
Name Description
var string
Returns
Type Description
$this