Reference documentation and code samples for the Google Cloud Sql Admin V1 Client class BackupRun.
A BackupRun resource.
Generated from protobuf message google.cloud.sql.v1.BackupRun
Namespace
Google \ Cloud \ Sql \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ kind
string
This is always sql#backupRun
.
↳ status
int
The status of this run.
↳ enqueued_time
Google\Protobuf\Timestamp
The time the run was enqueued in UTC timezone in RFC 3339
format, for example 2012-11-15T16:19:00.094Z
.
↳ id
int|string
The identifier for this backup run. Unique only for a specific Cloud SQL instance.
↳ start_time
Google\Protobuf\Timestamp
The time the backup operation actually started in UTC timezone in RFC 3339
format, for example 2012-11-15T16:19:00.094Z
.
↳ end_time
Google\Protobuf\Timestamp
The time the backup operation completed in UTC timezone in RFC 3339
format, for example 2012-11-15T16:19:00.094Z
.
↳ error
OperationError
Information about why the backup operation failed. This is only present if the run has the FAILED status.
↳ type
int
The type of this run; can be either "AUTOMATED" or "ON_DEMAND" or "FINAL". This field defaults to "ON_DEMAND" and is ignored, when specified for insert requests.
↳ description
string
The description of this run, only applicable to on-demand backups.
↳ window_start_time
Google\Protobuf\Timestamp
The start time of the backup window during which this the backup was attempted in RFC 3339
format, for example 2012-11-15T16:19:00.094Z
.
↳ instance
string
Name of the database instance.
↳ self_link
string
The URI of this resource.
↳ location
string
Location of the backups.
↳ disk_encryption_configuration
↳ disk_encryption_status
↳ backup_kind
int
Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT.
↳ time_zone
string
Backup time zone to prevent restores to an instance with a different time zone. Now relevant only for SQL Server.
↳ max_chargeable_bytes
int|string
Output only. The maximum chargeable bytes for the backup.
getKind
This is always sql#backupRun
.
string
setKind
This is always sql#backupRun
.
var
string
$this
getStatus
The status of this run.
int
setStatus
The status of this run.
var
int
$this
getEnqueuedTime
The time the run was enqueued in UTC timezone in RFC 3339
format, for example 2012-11-15T16:19:00.094Z
.
hasEnqueuedTime
clearEnqueuedTime
setEnqueuedTime
The time the run was enqueued in UTC timezone in RFC 3339
format, for example 2012-11-15T16:19:00.094Z
.
$this
getId
The identifier for this backup run. Unique only for a specific Cloud SQL instance.
int|string
setId
The identifier for this backup run. Unique only for a specific Cloud SQL instance.
var
int|string
$this
getStartTime
The time the backup operation actually started in UTC timezone in RFC 3339
format, for example 2012-11-15T16:19:00.094Z
.
hasStartTime
clearStartTime
setStartTime
The time the backup operation actually started in UTC timezone in RFC 3339
format, for example 2012-11-15T16:19:00.094Z
.
$this
getEndTime
The time the backup operation completed in UTC timezone in RFC 3339
format, for example 2012-11-15T16:19:00.094Z
.
hasEndTime
clearEndTime
setEndTime
The time the backup operation completed in UTC timezone in RFC 3339
format, for example 2012-11-15T16:19:00.094Z
.
$this
getError
Information about why the backup operation failed. This is only present if the run has the FAILED status.
hasError
clearError
setError
Information about why the backup operation failed. This is only present if the run has the FAILED status.
$this
getType
The type of this run; can be either "AUTOMATED" or "ON_DEMAND" or "FINAL".
This field defaults to "ON_DEMAND" and is ignored, when specified for insert requests.
int
setType
The type of this run; can be either "AUTOMATED" or "ON_DEMAND" or "FINAL".
This field defaults to "ON_DEMAND" and is ignored, when specified for insert requests.
var
int
$this
getDescription
The description of this run, only applicable to on-demand backups.
string
setDescription
The description of this run, only applicable to on-demand backups.
var
string
$this
getWindowStartTime
The start time of the backup window during which this the backup was
attempted in RFC 3339
format, for
example 2012-11-15T16:19:00.094Z
.
hasWindowStartTime
clearWindowStartTime
setWindowStartTime
The start time of the backup window during which this the backup was
attempted in RFC 3339
format, for
example 2012-11-15T16:19:00.094Z
.
$this
getInstance
Name of the database instance.
string
setInstance
Name of the database instance.
var
string
$this
getSelfLink
The URI of this resource.
string
setSelfLink
The URI of this resource.
var
string
$this
getLocation
Location of the backups.
string
setLocation
Location of the backups.
var
string
$this
getDiskEncryptionConfiguration
Encryption configuration specific to a backup.
hasDiskEncryptionConfiguration
clearDiskEncryptionConfiguration
setDiskEncryptionConfiguration
Encryption configuration specific to a backup.
$this
getDiskEncryptionStatus
Encryption status specific to a backup.
hasDiskEncryptionStatus
clearDiskEncryptionStatus
setDiskEncryptionStatus
Encryption status specific to a backup.
$this
getBackupKind
Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT.
int
setBackupKind
Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT.
var
int
$this
getTimeZone
Backup time zone to prevent restores to an instance with a different time zone. Now relevant only for SQL Server.
string
setTimeZone
Backup time zone to prevent restores to an instance with a different time zone. Now relevant only for SQL Server.
var
string
$this
getMaxChargeableBytes
Output only. The maximum chargeable bytes for the backup.
int|string
hasMaxChargeableBytes
clearMaxChargeableBytes
setMaxChargeableBytes
Output only. The maximum chargeable bytes for the backup.
var
int|string
$this