|
1363 | 1363 | "https://www.googleapis.com/auth/cloud-platform" |
1364 | 1364 | ] |
1365 | 1365 | }, |
| 1366 | + "fetchForResourceType": { |
| 1367 | + "description": "Fetch Backups for a given resource type.", |
| 1368 | + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backupVaults/{backupVaultsId}/dataSources/{dataSourcesId}/backups:fetchForResourceType", |
| 1369 | + "httpMethod": "GET", |
| 1370 | + "id": "backupdr.projects.locations.backupVaults.dataSources.backups.fetchForResourceType", |
| 1371 | + "parameterOrder": [ |
| 1372 | + "parent" |
| 1373 | + ], |
| 1374 | + "parameters": { |
| 1375 | + "filter": { |
| 1376 | + "description": "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:", |
| 1377 | + "location": "query", |
| 1378 | + "type": "string" |
| 1379 | + }, |
| 1380 | + "orderBy": { |
| 1381 | + "description": "Optional. A comma-separated list of fields to order by, sorted in ascending order. Use \"desc\" after a field name for descending.", |
| 1382 | + "location": "query", |
| 1383 | + "type": "string" |
| 1384 | + }, |
| 1385 | + "pageSize": { |
| 1386 | + "description": "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.", |
| 1387 | + "format": "int32", |
| 1388 | + "location": "query", |
| 1389 | + "type": "integer" |
| 1390 | + }, |
| 1391 | + "pageToken": { |
| 1392 | + "description": "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.", |
| 1393 | + "location": "query", |
| 1394 | + "type": "string" |
| 1395 | + }, |
| 1396 | + "parent": { |
| 1397 | + "description": "Required. Datasources are the parent resource for the backups. Format: projects/{project}/locations/{location}/backupVaults/{backupVaultId}/dataSources/{datasourceId}", |
| 1398 | + "location": "path", |
| 1399 | + "pattern": "^projects/[^/]+/locations/[^/]+/backupVaults/[^/]+/dataSources/[^/]+$", |
| 1400 | + "required": true, |
| 1401 | + "type": "string" |
| 1402 | + }, |
| 1403 | + "resourceType": { |
| 1404 | + "description": "Required. The type of the GCP resource. Ex: sqladmin.googleapis.com/Instance", |
| 1405 | + "location": "query", |
| 1406 | + "type": "string" |
| 1407 | + }, |
| 1408 | + "view": { |
| 1409 | + "description": "Optional. This parameter is used to specify the view of the backup. If not specified, the default view is BASIC.", |
| 1410 | + "enum": [ |
| 1411 | + "BACKUP_VIEW_UNSPECIFIED", |
| 1412 | + "BACKUP_VIEW_BASIC", |
| 1413 | + "BACKUP_VIEW_FULL" |
| 1414 | + ], |
| 1415 | + "enumDescriptions": [ |
| 1416 | + "If the value is not set, the default 'FULL' view is used.", |
| 1417 | + "Includes basic data about the Backup, but not the full contents.", |
| 1418 | + "Includes all data about the Backup. This is the default value (for both ListBackups and GetBackup)." |
| 1419 | + ], |
| 1420 | + "location": "query", |
| 1421 | + "type": "string" |
| 1422 | + } |
| 1423 | + }, |
| 1424 | + "path": "v1/{+parent}/backups:fetchForResourceType", |
| 1425 | + "response": { |
| 1426 | + "$ref": "FetchBackupsForResourceTypeResponse" |
| 1427 | + }, |
| 1428 | + "scopes": [ |
| 1429 | + "https://www.googleapis.com/auth/cloud-platform" |
| 1430 | + ] |
| 1431 | + }, |
1366 | 1432 | "get": { |
1367 | 1433 | "description": "Gets details of a Backup.", |
1368 | 1434 | "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backupVaults/{backupVaultsId}/dataSources/{dataSourcesId}/backups/{backupsId}", |
|
1614 | 1680 | "scopes": [ |
1615 | 1681 | "https://www.googleapis.com/auth/cloud-platform" |
1616 | 1682 | ] |
| 1683 | + }, |
| 1684 | + "list": { |
| 1685 | + "description": "Lists DataSourceReferences for a given project and location.", |
| 1686 | + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataSourceReferences", |
| 1687 | + "httpMethod": "GET", |
| 1688 | + "id": "backupdr.projects.locations.dataSourceReferences.list", |
| 1689 | + "parameterOrder": [ |
| 1690 | + "parent" |
| 1691 | + ], |
| 1692 | + "parameters": { |
| 1693 | + "filter": { |
| 1694 | + "description": "Optional. A filter expression that filters the results listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The following field and operator combinations are supported: * data_source_gcp_resource_info.gcp_resourcename with `=`, `!=` * data_source_gcp_resource_info.type with `=`, `!=`", |
| 1695 | + "location": "query", |
| 1696 | + "type": "string" |
| 1697 | + }, |
| 1698 | + "orderBy": { |
| 1699 | + "description": "Optional. A comma-separated list of fields to order by, sorted in ascending order. Use \"desc\" after a field name for descending. Supported fields: * data_source * data_source_gcp_resource_info.gcp_resourcename", |
| 1700 | + "location": "query", |
| 1701 | + "type": "string" |
| 1702 | + }, |
| 1703 | + "pageSize": { |
| 1704 | + "description": "Optional. The maximum number of DataSourceReferences to return. The service may return fewer than this value. If unspecified, at most 50 DataSourceReferences will be returned. The maximum value is 100; values above 100 will be coerced to 100.", |
| 1705 | + "format": "int32", |
| 1706 | + "location": "query", |
| 1707 | + "type": "integer" |
| 1708 | + }, |
| 1709 | + "pageToken": { |
| 1710 | + "description": "Optional. A page token, received from a previous `ListDataSourceReferences` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListDataSourceReferences` must match the call that provided the page token.", |
| 1711 | + "location": "query", |
| 1712 | + "type": "string" |
| 1713 | + }, |
| 1714 | + "parent": { |
| 1715 | + "description": "Required. The parent resource name. Format: projects/{project}/locations/{location}", |
| 1716 | + "location": "path", |
| 1717 | + "pattern": "^projects/[^/]+/locations/[^/]+$", |
| 1718 | + "required": true, |
| 1719 | + "type": "string" |
| 1720 | + } |
| 1721 | + }, |
| 1722 | + "path": "v1/{+parent}/dataSourceReferences", |
| 1723 | + "response": { |
| 1724 | + "$ref": "ListDataSourceReferencesResponse" |
| 1725 | + }, |
| 1726 | + "scopes": [ |
| 1727 | + "https://www.googleapis.com/auth/cloud-platform" |
| 1728 | + ] |
1617 | 1729 | } |
1618 | 1730 | } |
1619 | 1731 | }, |
|
2122 | 2234 | } |
2123 | 2235 | } |
2124 | 2236 | }, |
2125 | | - "revision": "20251001", |
| 2237 | + "revision": "20251015", |
2126 | 2238 | "rootUrl": "https://backupdr.googleapis.com/", |
2127 | 2239 | "schemas": { |
2128 | 2240 | "AbandonBackupRequest": { |
|
2602 | 2714 | "description": "Output only. Configuration for a Google Cloud resource.", |
2603 | 2715 | "readOnly": true |
2604 | 2716 | }, |
| 2717 | + "gcpResource": { |
| 2718 | + "$ref": "BackupGcpResource", |
| 2719 | + "description": "Output only. Unique identifier of the GCP resource that is being backed up.", |
| 2720 | + "readOnly": true |
| 2721 | + }, |
2605 | 2722 | "labels": { |
2606 | 2723 | "additionalProperties": { |
2607 | 2724 | "type": "string" |
|
2950 | 3067 | }, |
2951 | 3068 | "type": "object" |
2952 | 3069 | }, |
| 3070 | + "BackupGcpResource": { |
| 3071 | + "description": "Minimum details to identify a Google Cloud resource for a backup.", |
| 3072 | + "id": "BackupGcpResource", |
| 3073 | + "properties": { |
| 3074 | + "gcpResourcename": { |
| 3075 | + "description": "Name of the Google Cloud resource.", |
| 3076 | + "type": "string" |
| 3077 | + }, |
| 3078 | + "location": { |
| 3079 | + "description": "Location of the resource: //\"global\"/\"unspecified\".", |
| 3080 | + "type": "string" |
| 3081 | + }, |
| 3082 | + "type": { |
| 3083 | + "description": "Type of the resource. Use the Unified Resource Type, eg. compute.googleapis.com/Instance.", |
| 3084 | + "type": "string" |
| 3085 | + } |
| 3086 | + }, |
| 3087 | + "type": "object" |
| 3088 | + }, |
2953 | 3089 | "BackupLocation": { |
2954 | 3090 | "description": "BackupLocation represents a cloud location where a backup can be stored.", |
2955 | 3091 | "id": "BackupLocation", |
|
3448 | 3584 | "readOnly": true, |
3449 | 3585 | "type": "boolean" |
3450 | 3586 | }, |
| 3587 | + "instanceCreateTime": { |
| 3588 | + "description": "Output only. The instance creation timestamp.", |
| 3589 | + "format": "google-datetime", |
| 3590 | + "readOnly": true, |
| 3591 | + "type": "string" |
| 3592 | + }, |
| 3593 | + "instanceDeleteTime": { |
| 3594 | + "description": "Output only. The instance delete timestamp.", |
| 3595 | + "format": "google-datetime", |
| 3596 | + "readOnly": true, |
| 3597 | + "type": "string" |
| 3598 | + }, |
3451 | 3599 | "instanceTier": { |
3452 | 3600 | "description": "Output only. The tier (or machine type) for this instance. Example: `db-custom-1-3840`", |
3453 | 3601 | "readOnly": true, |
|
4132 | 4280 | "name": { |
4133 | 4281 | "description": "Identifier. The resource name of the DataSourceReference. Format: projects/{project}/locations/{location}/dataSourceReferences/{data_source_reference}", |
4134 | 4282 | "type": "string" |
| 4283 | + }, |
| 4284 | + "totalStoredBytes": { |
| 4285 | + "description": "Output only. Total size of the storage used by all backup resources for the referenced datasource.", |
| 4286 | + "format": "int64", |
| 4287 | + "readOnly": true, |
| 4288 | + "type": "string" |
4135 | 4289 | } |
4136 | 4290 | }, |
4137 | 4291 | "type": "object" |
|
4501 | 4655 | }, |
4502 | 4656 | "type": "object" |
4503 | 4657 | }, |
| 4658 | + "FetchBackupsForResourceTypeResponse": { |
| 4659 | + "description": "Response for the FetchBackupsForResourceType method.", |
| 4660 | + "id": "FetchBackupsForResourceTypeResponse", |
| 4661 | + "properties": { |
| 4662 | + "backups": { |
| 4663 | + "description": "The Backups from the specified parent.", |
| 4664 | + "items": { |
| 4665 | + "$ref": "Backup" |
| 4666 | + }, |
| 4667 | + "type": "array" |
| 4668 | + }, |
| 4669 | + "nextPageToken": { |
| 4670 | + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", |
| 4671 | + "type": "string" |
| 4672 | + } |
| 4673 | + }, |
| 4674 | + "type": "object" |
| 4675 | + }, |
4504 | 4676 | "FetchDataSourceReferencesForResourceTypeResponse": { |
4505 | 4677 | "description": "Response for the FetchDataSourceReferencesForResourceType method.", |
4506 | 4678 | "id": "FetchDataSourceReferencesForResourceTypeResponse", |
|
4938 | 5110 | }, |
4939 | 5111 | "type": "object" |
4940 | 5112 | }, |
| 5113 | + "ListDataSourceReferencesResponse": { |
| 5114 | + "description": "Response for the ListDataSourceReferences method.", |
| 5115 | + "id": "ListDataSourceReferencesResponse", |
| 5116 | + "properties": { |
| 5117 | + "dataSourceReferences": { |
| 5118 | + "description": "The DataSourceReferences from the specified parent.", |
| 5119 | + "items": { |
| 5120 | + "$ref": "DataSourceReference" |
| 5121 | + }, |
| 5122 | + "type": "array" |
| 5123 | + }, |
| 5124 | + "nextPageToken": { |
| 5125 | + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", |
| 5126 | + "type": "string" |
| 5127 | + } |
| 5128 | + }, |
| 5129 | + "type": "object" |
| 5130 | + }, |
4941 | 5131 | "ListDataSourcesResponse": { |
4942 | 5132 | "description": "Response message for listing DataSources.", |
4943 | 5133 | "id": "ListDataSourcesResponse", |
|
0 commit comments