v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1339136214.2 KB
projects

Fetch Backups for a given resource type.

get/v1/{+parent}/backups:fetchForResourceType

Path parameters

parentstring required

Required. Datasources are the parent resource for the backups. Format: projects/{project}/locations/{location}/backupVaults/{backupVaultId}/dataSources/{datasourceId}

Query parameters

filterstring

Optional. A filter expression that filters the results fetched in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. Supported fields: * name * state * backup_type * create_time * expire_time * enforced_retention_end_time * gcp_backup_plan_info.backup_plan * cloud_sql_instance_backup_properties.instance_tier * cloud_sql_instance_backup_properties.database_installed_version

orderBystring

Optional. A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported fields: * name

pageSizeinteger

Optional. The maximum number of Backups to return. The service may return fewer than this value. If unspecified, at most 50 Backups will be returned. The maximum value is 100; values above 100 will be coerced to 100.

pageTokenstring

Optional. A page token, received from a previous call of FetchBackupsForResourceType. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to FetchBackupsForResourceType must match the call that provided the page token.

resourceTypestring

Required. The type of the Google Cloud resource. Ex: sqladmin.googleapis.com/Instance

view'BACKUP_VIEW_UNSPECIFIED' | 'BACKUP_VIEW_BASIC' | 'BACKUP_VIEW_FULL'

Optional. This parameter is used to specify the view of the backup. If not specified, the default view is BASIC.

Response

Successful response