Reference documentation and code samples for the Google Cloud Backup Dr V1 Client class GcpBackupConfig.
GcpBackupConfig captures the Backup configuration details for Google Cloud resources. All Google Cloud resources regardless of type are protected with backup plan associations.
Generated from protobuf message google.cloud.backupdr.v1.GcpBackupConfig
Namespace
Google \ Cloud \ BackupDR \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ backup_plan |
string
The name of the backup plan. |
↳ backup_plan_description |
string
The description of the backup plan. |
↳ backup_plan_association |
string
The name of the backup plan association. |
↳ backup_plan_rules |
array
The names of the backup plan rules which point to this backupvault |
getBackupPlan
The name of the backup plan.
Returns | |
---|---|
Type | Description |
string |
setBackupPlan
The name of the backup plan.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getBackupPlanDescription
The description of the backup plan.
Returns | |
---|---|
Type | Description |
string |
setBackupPlanDescription
The description of the backup plan.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getBackupPlanAssociation
The name of the backup plan association.
Returns | |
---|---|
Type | Description |
string |
setBackupPlanAssociation
The name of the backup plan association.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getBackupPlanRules
The names of the backup plan rules which point to this backupvault
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setBackupPlanRules
The names of the backup plan rules which point to this backupvault
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |