Google Cloud Backup Dr V1 Client - Class CloudSqlInstanceBackupProperties (0.9.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_create_time Google\Protobuf\Timestamp

Output only. The instance creation timestamp.

↳ instance_tier string

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

↳ instance_delete_time Google\Protobuf\Timestamp

Output only. The instance delete timestamp.

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

getInstanceCreateTime

Output only. The instance creation timestamp.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasInstanceCreateTime

clearInstanceCreateTime

setInstanceCreateTime

Output only. The instance creation timestamp.

Parameter
Name Description
var Google\Protobuf\Timestamp
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

getInstanceDeleteTime

Output only. The instance delete timestamp.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasInstanceDeleteTime

clearInstanceDeleteTime

setInstanceDeleteTime

Output only. The instance delete timestamp.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this