Close httplib2 connections.
list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)
Lists ResourceBackupConfigs.
Retrieves the next page of results.
close()
Close httplib2 connections.
list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)
Lists ResourceBackupConfigs.
Args:
parent: string, Required. The project and location for which to retrieve resource backup configs. Format: 'projects/{project_id}/locations/{location}'. In Cloud Backup and DR, locations map to Google Cloud regions, for example **us-central1**. (required)
filter: string, Optional. Filtering results.
orderBy: string, Optional. Hint for how to order the results.
pageSize: integer, Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
pageToken: string, Optional. A token identifying a page of results the server should return.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # Response for ListResourceBackupConfigs.
"nextPageToken": "A String", # A token identifying a page of results the server should return.
"resourceBackupConfigs": [ # The list of ResourceBackupConfigs for the specified scope.
{ # ResourceBackupConfig represents a resource along with its backup configurations.
"backupConfigsDetails": [ # 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.
{ # BackupConfigDetails has information about how the resource is configured for backups and about the most recent backup taken for this configuration.
"applicableResource": "A String", # Output only. The [full resource name](https://cloud.google.com/asset-inventory/docs/resource-name-format) of the resource that is applicable for the backup configuration. Example: "//compute.googleapis.com/projects/{project}/zones/{zone}/instances/{instance}"
"backupConfigSource": "A String", # 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}".
"backupConfigSourceDisplayName": "A String", # Output only. The display name of the backup config source resource.
"backupDrPlanConfig": { # BackupDrPlanConfig has additional information about Backup and DR's Plan backup configuration. # Backup and DR's Backup Plan specific data.
"backupDrPlanRules": [ # Backup rules of the backup plan resource.
{ # BackupDrPlanRule has rule specific information of the backup plan resource.
"lastSuccessfulBackupTime": "A String", # Output only. Timestamp of the latest successful backup created via this backup rule.
"ruleId": "A String", # Output only. Unique Id of the backup rule.
},
],
},
"backupDrTemplateConfig": { # BackupDrTemplateConfig has additional information about Backup and DR's Template backup configuration. # Backup and DR's Template specific data.
"firstPartyManagementUri": "A String", # Output only. The URI of the BackupDr template resource for the first party identity users.
"thirdPartyManagementUri": "A String", # Output only. The URI of the BackupDr template resource for the third party identity users.
},
"backupLocations": [ # The locations where the backups are to be stored.
{ # BackupLocation represents a cloud location where a backup can be stored.
"locationId": "A String", # Output only. The id of the cloud location. Example: "us-central1"
"type": "A String", # Output only. The type of the location.
},
],
"backupVault": "A String", # Output only. The [full resource name](https://cloud.google.com/asset-inventory/docs/resource-name-format) 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}"
"latestSuccessfulBackupTime": "A String", # Output only. Timestamp of the latest successful backup created via this backup configuration.
"pitrSettings": { # Point in time recovery settings of the backup configuration resource. # Output only. Point in time recovery settings of the backup configuration resource.
"retentionDays": 42, # Output only. Number of days to retain the backup.
},
"state": "A String", # Output only. The state of the backup config resource.
"type": "A String", # Output only. The type of the backup config resource.
},
],
"backupConfigured": True or False, # Output only. Whether the target resource is configured for backup. This is true if the backup_configs_details is not empty.
"name": "A String", # Identifier. The resource name of the ResourceBackupConfig. Format: projects/{project}/locations/{location}/resourceBackupConfigs/{uid}
"targetResource": "A String", # Output only. The [full resource name](https://cloud.google.com/asset-inventory/docs/resource-name-format) of the cloud resource that this configuration applies to. Supported resource types are ResourceBackupConfig.ResourceType.
"targetResourceDisplayName": "A String", # Output only. The human friendly name of the target resource.
"targetResourceLabels": { # Labels associated with the target resource.
"a_key": "A String",
},
"targetResourceType": "A String", # Output only. The type of the target resource.
"uid": "A String", # Output only. The unique identifier of the resource backup config.
"vaulted": True or False, # Output only. Whether the target resource is protected by a backup vault. This is true if the backup_configs_details is not empty and any of the ResourceBackupConfig.backup_configs_details has a backup configuration with BackupConfigDetails.backup_vault set. set.
},
],
}
list_next()
Retrieves the next page of results.
Args:
previous_request: The request for the previous page. (required)
previous_response: The response from the request for the previous page. (required)
Returns:
A request object that you can call 'execute()' on to request the next
page. Returns None if there are no more items in the collection.