Reference documentation and code samples for the Google Cloud Security Command Center V2 Client class BackupDisasterRecovery.
Information related to Google Cloud Backup and DR Service findings.
Generated from protobuf message google.cloud.securitycenter.v2.BackupDisasterRecovery
Namespace
Google \ Cloud \ SecurityCenter \ V2Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ backup_template |
string
The name of a Backup and DR template which comprises one or more backup policies. See the Backup and DR documentation for more information. For example, |
↳ policies |
array
The names of Backup and DR policies that are associated with a template and that define when to run a backup, how frequently to run a backup, and how long to retain the backup image. For example, |
↳ host |
string
The name of a Backup and DR host, which is managed by the backup and recovery appliance and known to the management console. The host can be of type Generic (for example, Compute Engine, SQL Server, Oracle DB, SMB file system, etc.), vCenter, or an ESX server. See the Backup and DR documentation on hosts for more information. For example, |
↳ applications |
array
The names of Backup and DR applications. An application is a VM, database, or file system on a managed host monitored by a backup and recovery appliance. For example, |
↳ storage_pool |
string
The name of the Backup and DR storage pool that the backup and recovery appliance is storing data in. The storage pool could be of type Cloud, Primary, Snapshot, or OnVault. See the Backup and DR documentation on storage pools. For example, |
↳ policy_options |
array
The names of Backup and DR advanced policy options of a policy applying to an application. See the Backup and DR documentation on policy options. For example, |
↳ profile |
string
The name of the Backup and DR resource profile that specifies the storage media for backups of application and VM data. See the Backup and DR documentation on profiles. For example, |
↳ appliance |
string
The name of the Backup and DR appliance that captures, moves, and manages the lifecycle of backup data. For example, |
↳ backup_type |
string
The backup type of the Backup and DR image. For example, |
↳ backup_create_time |
Google\Protobuf\Timestamp
The timestamp at which the Backup and DR backup was created. |
getBackupTemplate
The name of a Backup and DR template which comprises one or more backup
policies. See the Backup and DR
documentation
for more information. For example, snap-ov
.
Returns | |
---|---|
Type | Description |
string |
setBackupTemplate
The name of a Backup and DR template which comprises one or more backup
policies. See the Backup and DR
documentation
for more information. For example, snap-ov
.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getPolicies
The names of Backup and DR policies that are associated with a template
and that define when to run a backup, how frequently to run a backup, and
how long to retain the backup image. For example, onvaults
.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setPolicies
The names of Backup and DR policies that are associated with a template
and that define when to run a backup, how frequently to run a backup, and
how long to retain the backup image. For example, onvaults
.
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |
getHost
The name of a Backup and DR host, which is managed by the backup and
recovery appliance and known to the management console. The host can be of
type Generic (for example, Compute Engine, SQL Server, Oracle DB, SMB file
system, etc.), vCenter, or an ESX server. See the Backup and DR
documentation on
hosts
for more information. For example, centos7-01
.
Returns | |
---|---|
Type | Description |
string |
setHost
The name of a Backup and DR host, which is managed by the backup and
recovery appliance and known to the management console. The host can be of
type Generic (for example, Compute Engine, SQL Server, Oracle DB, SMB file
system, etc.), vCenter, or an ESX server. See the Backup and DR
documentation on
hosts
for more information. For example, centos7-01
.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getApplications
The names of Backup and DR applications. An application is a VM, database,
or file system on a managed host monitored by a backup and recovery
appliance. For example, centos7-01-vol00
, centos7-01-vol01
,
centos7-01-vol02
.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setApplications
The names of Backup and DR applications. An application is a VM, database,
or file system on a managed host monitored by a backup and recovery
appliance. For example, centos7-01-vol00
, centos7-01-vol01
,
centos7-01-vol02
.
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |
getStoragePool
The name of the Backup and DR storage pool that the backup and recovery appliance is storing data in. The storage pool could be of type Cloud, Primary, Snapshot, or OnVault. See the Backup and DR documentation on storage pools.
For example, DiskPoolOne
.
Returns | |
---|---|
Type | Description |
string |
setStoragePool
The name of the Backup and DR storage pool that the backup and recovery appliance is storing data in. The storage pool could be of type Cloud, Primary, Snapshot, or OnVault. See the Backup and DR documentation on storage pools.
For example, DiskPoolOne
.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getPolicyOptions
The names of Backup and DR advanced policy options of a policy applying to an application. See the Backup and DR documentation on policy options.
For example, skipofflineappsincongrp, nounmap
.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setPolicyOptions
The names of Backup and DR advanced policy options of a policy applying to an application. See the Backup and DR documentation on policy options.
For example, skipofflineappsincongrp, nounmap
.
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |
getProfile
The name of the Backup and DR resource profile that specifies the storage media for backups of application and VM data. See the Backup and DR documentation on profiles.
For example, GCP
.
Returns | |
---|---|
Type | Description |
string |
setProfile
The name of the Backup and DR resource profile that specifies the storage media for backups of application and VM data. See the Backup and DR documentation on profiles.
For example, GCP
.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getAppliance
The name of the Backup and DR appliance that captures, moves, and manages
the lifecycle of backup data. For example, backup-server-57137
.
Returns | |
---|---|
Type | Description |
string |
setAppliance
The name of the Backup and DR appliance that captures, moves, and manages
the lifecycle of backup data. For example, backup-server-57137
.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getBackupType
The backup type of the Backup and DR image.
For example, Snapshot
, Remote Snapshot
, OnVault
.
Returns | |
---|---|
Type | Description |
string |
setBackupType
The backup type of the Backup and DR image.
For example, Snapshot
, Remote Snapshot
, OnVault
.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getBackupCreateTime
The timestamp at which the Backup and DR backup was created.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasBackupCreateTime
clearBackupCreateTime
setBackupCreateTime
The timestamp at which the Backup and DR backup was created.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |