- Resource: ResourceBackupConfig
- ResourceType
- BackupConfigDetails
- Type
- State
- PitrSettings
- BackupLocation
- Type
- BackupDrPlanConfig
- BackupDrPlanRule
- BackupDrTemplateConfig
- Methods
Resource: ResourceBackupConfig
ResourceBackupConfig represents a resource along with its backup configurations.
JSON representation |
---|
{ "name": string, "uid": string, "targetResource": string, "targetResourceDisplayName": string, "targetResourceType": enum ( |
Fields | |
---|---|
name |
Identifier. The resource name of the ResourceBackupConfig. Format: projects/{project}/locations/{location}/resourceBackupConfigs/{uid} |
uid |
Output only. The unique identifier of the resource backup config. |
target |
Output only. The full resource name of the cloud resource that this configuration applies to. Supported resource types are |
target |
Output only. The human friendly name of the target resource. |
target |
Output only. The type of the target resource. |
target |
Labels associated with the target resource. An object containing a list of |
backup |
Backup configurations applying to the target resource, including those targeting its related/child resources. For example, backup configuration applicable to Compute Engine disks will be populated in this field for a Compute Engine VM which has the disk associated. |
backup |
Output only. Whether the target resource is configured for backup. This is true if the backupConfigsDetails is not empty. |
vaulted |
Output only. Whether the target resource is protected by a backup vault. This is true if the backupConfigsDetails is not empty and any of the |
ResourceType
The type of the cloud resource.
Enums | |
---|---|
RESOURCE_TYPE_UNSPECIFIED |
Resource type not set. |
CLOUD_SQL_INSTANCE |
Cloud SQL instance. |
COMPUTE_ENGINE_VM |
Compute Engine VM. |
BackupConfigDetails
BackupConfigDetails has information about how the resource is configured for backups and about the most recent backup taken for this configuration.
JSON representation |
---|
{ "backupConfigSource": string, "backupConfigSourceDisplayName": string, "type": enum ( |
Fields | |
---|---|
backup |
Output only. The full resource name of the backup config source resource. For example, "//backupdr.googleapis.com/v1/projects/{project}/locations/{region}/backupPlans/{backupplanId}" or "//compute.googleapis.com/projects/{project}/locations/{region}/resourcePolicies/{resourcePolicyId}". |
backup |
Output only. The display name of the backup config source resource. |
type |
Output only. The type of the backup config resource. |
state |
Output only. The state of the backup config resource. |
pitr |
Output only. Point in time recovery settings of the backup configuration resource. |
latest |
Output only. Timestamp of the latest successful backup created via this backup configuration. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
applicable |
Output only. The full resource name of the resource that is applicable for the backup configuration. Example: "//compute.googleapis.com/projects/{project}/zones/{zone}/instances/{instance}" |
backup |
Output only. The full resource name of the backup vault that will store the backups generated through this backup configuration. Example: "//backupdr.googleapis.com/v1/projects/{project}/locations/{region}/backupVaults/{backupvaultId}" |
backup |
The locations where the backups are to be stored. |
Union field plan_specific_config . The plan specific config. This depends on the value of BackupConfigDetails.type . For type=BACKUPDR_BACKUP_PLAN, backup_dr_plan_config would be populated to capture information related to Backup and DR's Backup Plans. For type=BACKUPDR_TEMPLATE, backup_dr_template_config would be populated to capture information related to Backup and DR's Template details. plan_specific_config can be only one of the following: |
|
backup |
Backup and DR's Backup Plan specific data. |
backup |
Backup and DR's Template specific data. |
Type
Type of the backup configuration.
Enums | |
---|---|
TYPE_UNSPECIFIED |
Backup config type is unspecified. |
CLOUD_SQL_INSTANCE_BACKUP_CONFIG |
Backup config is Cloud SQL instance's automated backup config. |
COMPUTE_ENGINE_RESOURCE_POLICY |
Backup config is Compute Engine Resource Policy. |
BACKUPDR_BACKUP_PLAN |
Backup config is Backup and DR's Backup Plan. |
BACKUPDR_TEMPLATE |
Backup config is Backup and DR's Template. |
State
The state tells whether the backup config is active or not.
Enums | |
---|---|
STATE_UNSPECIFIED |
Backup config state not set. |
ACTIVE |
The config is in an active state protecting the resource |
INACTIVE |
The config is currently not protecting the resource. Either because it is disabled or the owning project has been deleted without cleanup of the actual resource. |
ERROR |
The config still exists but because of some error state it is not protecting the resource. Like the source project is deleted. For eg. PlanAssociation, BackupPlan is deleted. |
PitrSettings
Point in time recovery settings of the backup configuration resource.
JSON representation |
---|
{ "retentionDays": integer } |
Fields | |
---|---|
retention |
Output only. Number of days to retain the backup. |
BackupLocation
BackupLocation represents a cloud location where a backup can be stored.
JSON representation |
---|
{
"type": enum ( |
Fields | |
---|---|
type |
Output only. The type of the location. |
location |
Output only. The id of the cloud location. Example: "us-central1" |
Type
The type of the location.
Enums | |
---|---|
TYPE_UNSPECIFIED |
Location type is unspecified. |
ZONAL |
Location type is zonal. |
REGIONAL |
Location type is regional. |
MULTI_REGIONAL |
Location type is multi regional. |
BackupDrPlanConfig
BackupDrPlanConfig has additional information about Backup and DR's Plan backup configuration.
JSON representation |
---|
{
"backupDrPlanRules": [
{
object ( |
Fields | |
---|---|
backup |
Backup rules of the backup plan resource. |
BackupDrPlanRule
BackupDrPlanRule has rule specific information of the backup plan resource.
JSON representation |
---|
{ "ruleId": string, "lastSuccessfulBackupTime": string } |
Fields | |
---|---|
rule |
Output only. Unique Id of the backup rule. |
last |
Output only. Timestamp of the latest successful backup created via this backup rule. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
BackupDrTemplateConfig
BackupDrTemplateConfig has additional information about Backup and DR's Template backup configuration.
JSON representation |
---|
{ "firstPartyManagementUri": string, "thirdPartyManagementUri": string } |
Fields | |
---|---|
first |
Output only. The URI of the BackupDr template resource for the first party identity users. |
third |
Output only. The URI of the BackupDr template resource for the third party identity users. |
Methods |
|
---|---|
|
Lists ResourceBackupConfigs. |