Reference documentation and code samples for the Google Cloud Backup Dr V1 Client class BackupPlanAssociation.
A BackupPlanAssociation represents a single BackupPlanAssociation which contains details like workload, backup plan etc
Generated from protobuf message google.cloud.backupdr.v1.BackupPlanAssociation
Namespace
Google \ Cloud \ BackupDR \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Output only. Identifier. The resource name of BackupPlanAssociation in below format Format : projects/{project}/locations/{location}/backupPlanAssociations/{backupPlanAssociationId}
↳ resource_type
string
Optional. Resource type of workload on which backupplan is applied
↳ resource
string
Required. Immutable. Resource name of workload on which backupplan is applied
↳ backup_plan
string
Required. Resource name of backup plan which needs to be applied on workload. Format: projects/{project}/locations/{location}/backupPlans/{backupPlanId}
↳ create_time
↳ update_time
↳ state
int
Output only. The BackupPlanAssociation resource state.
↳ rules_config_info
↳ data_source
string
Output only. Output Only. Resource name of data source which will be used as storage location for backups taken. Format : projects/{project}/locations/{location}/backupVaults/{backupvault}/dataSources/{datasource}
getName
Output only. Identifier. The resource name of BackupPlanAssociation in below format Format : projects/{project}/locations/{location}/backupPlanAssociations/{backupPlanAssociationId}
string
setName
Output only. Identifier. The resource name of BackupPlanAssociation in below format Format : projects/{project}/locations/{location}/backupPlanAssociations/{backupPlanAssociationId}
var
string
$this
getResourceType
Optional. Resource type of workload on which backupplan is applied
string
setResourceType
Optional. Resource type of workload on which backupplan is applied
var
string
$this
getResource
Required. Immutable. Resource name of workload on which backupplan is applied
string
setResource
Required. Immutable. Resource name of workload on which backupplan is applied
var
string
$this
getBackupPlan
Required. Resource name of backup plan which needs to be applied on workload. Format: projects/{project}/locations/{location}/backupPlans/{backupPlanId}
string
setBackupPlan
Required. Resource name of backup plan which needs to be applied on workload. Format: projects/{project}/locations/{location}/backupPlans/{backupPlanId}
var
string
$this
getCreateTime
Output only. The time when the instance was created.
hasCreateTime
clearCreateTime
setCreateTime
Output only. The time when the instance was created.
$this
getUpdateTime
Output only. The time when the instance was updated.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The time when the instance was updated.
$this
getState
Output only. The BackupPlanAssociation resource state.
int
setState
Output only. The BackupPlanAssociation resource state.
var
int
$this
getRulesConfigInfo
Output only. The config info related to backup rules.
setRulesConfigInfo
Output only. The config info related to backup rules.
$this
getDataSource
Output only. Output Only.
Resource name of data source which will be used as storage location for backups taken. Format : projects/{project}/locations/{location}/backupVaults/{backupvault}/dataSources/{datasource}
string
setDataSource
Output only. Output Only.
Resource name of data source which will be used as storage location for backups taken. Format : projects/{project}/locations/{location}/backupVaults/{backupvault}/dataSources/{datasource}
var
string
$this