|
234 | 234 | ]
|
235 | 235 | },
|
236 | 236 | "UpdateBackup": {
|
237 |
| - "description": "Updates the retention period and description of the backup. You can use this API to update final backups only.", |
| 237 | + "description": "This API updates the following: 1- retention period and description of backup in case of final backups only. 2- gcbdr_soft_delete_status of backup in case of GCBDR managed backups only.", |
238 | 238 | "flatPath": "v1/projects/{projectsId}/backups/{backupsId}",
|
239 | 239 | "httpMethod": "PATCH",
|
240 | 240 | "id": "sql.Backups.UpdateBackup",
|
|
250 | 250 | "type": "string"
|
251 | 251 | },
|
252 | 252 | "updateMask": {
|
253 |
| - "description": "The list of fields that you can update. You can update only the description and retention period of the final backup.", |
| 253 | + "description": "The list of fields that you can update. 1- You can update only the description and retention period for a final backup. 2- You can update only the gcbdr_soft_delete_status for GCBDR managed backup.", |
254 | 254 | "format": "google-fieldmask",
|
255 | 255 | "location": "query",
|
256 | 256 | "type": "string"
|
|
1381 | 1381 | "https://www.googleapis.com/auth/sqlservice.admin"
|
1382 | 1382 | ]
|
1383 | 1383 | },
|
| 1384 | + "pointInTimeRestore": { |
| 1385 | + "description": "Point in time restore for an instance managed by Google Cloud Backup and Disaster Recovery.", |
| 1386 | + "flatPath": "v1/projects/{projectsId}:pointInTimeRestore", |
| 1387 | + "httpMethod": "POST", |
| 1388 | + "id": "sql.instances.pointInTimeRestore", |
| 1389 | + "parameterOrder": [ |
| 1390 | + "parent" |
| 1391 | + ], |
| 1392 | + "parameters": { |
| 1393 | + "parent": { |
| 1394 | + "description": "Required. The parent resource where you created this instance. Format: projects/{project}", |
| 1395 | + "location": "path", |
| 1396 | + "pattern": "^projects/[^/]+$", |
| 1397 | + "required": true, |
| 1398 | + "type": "string" |
| 1399 | + } |
| 1400 | + }, |
| 1401 | + "path": "v1/{+parent}:pointInTimeRestore", |
| 1402 | + "request": { |
| 1403 | + "$ref": "PointInTimeRestoreContext" |
| 1404 | + }, |
| 1405 | + "response": { |
| 1406 | + "$ref": "Operation" |
| 1407 | + }, |
| 1408 | + "scopes": [ |
| 1409 | + "https://www.googleapis.com/auth/cloud-platform", |
| 1410 | + "https://www.googleapis.com/auth/sqlservice.admin" |
| 1411 | + ] |
| 1412 | + }, |
1384 | 1413 | "promoteReplica": {
|
1385 | 1414 | "description": "Promotes the read replica instance to be an independent Cloud SQL primary instance. Using this operation might cause your instance to restart.",
|
1386 | 1415 | "flatPath": "v1/projects/{project}/instances/{instance}/promoteReplica",
|
|
2565 | 2594 | }
|
2566 | 2595 | }
|
2567 | 2596 | },
|
2568 |
| - "revision": "20250412", |
| 2597 | + "revision": "20250427", |
2569 | 2598 | "rootUrl": "https://sqladmin.googleapis.com/",
|
2570 | 2599 | "schemas": {
|
2571 | 2600 | "AclEntry": {
|
|
2681 | 2710 | "type": "object"
|
2682 | 2711 | },
|
2683 | 2712 | "Backup": {
|
2684 |
| - "description": "A backup resource.", |
| 2713 | + "description": "A backup resource. Next ID: 30", |
2685 | 2714 | "id": "Backup",
|
2686 | 2715 | "properties": {
|
2687 | 2716 | "backupInterval": {
|
|
2990 | 3019 | "$ref": "BackupRetentionSettings",
|
2991 | 3020 | "description": "Backup retention settings."
|
2992 | 3021 | },
|
| 3022 | + "backupTier": { |
| 3023 | + "description": "Output only. Backup tier that manages the backups for the instance.", |
| 3024 | + "enum": [ |
| 3025 | + "BACKUP_TIER_UNSPECIFIED", |
| 3026 | + "STANDARD", |
| 3027 | + "ADVANCED", |
| 3028 | + "ENHANCED" |
| 3029 | + ], |
| 3030 | + "enumDeprecated": [ |
| 3031 | + false, |
| 3032 | + false, |
| 3033 | + true, |
| 3034 | + false |
| 3035 | + ], |
| 3036 | + "enumDescriptions": [ |
| 3037 | + "Unspecified.", |
| 3038 | + "Instance is managed by Cloud SQL.", |
| 3039 | + "Deprecated: ADVANCED is deprecated. Please use ENHANCED instead.", |
| 3040 | + "Instance is managed by Google Cloud Backup and DR Service." |
| 3041 | + ], |
| 3042 | + "readOnly": true, |
| 3043 | + "type": "string" |
| 3044 | + }, |
2993 | 3045 | "binaryLogEnabled": {
|
2994 | 3046 | "description": "(MySQL only) Whether binary log is enabled. If backup configuration is disabled, binarylog must be disabled as well.",
|
2995 | 3047 | "type": "boolean"
|
|
5521 | 5573 | "description": "The name of the backup that's used to restore a Cloud SQL instance: Format: projects/{project-id}/backups/{backup-uid}. Only one of restore_backup_context, backup, backupdr_backup can be passed to the input.",
|
5522 | 5574 | "type": "string"
|
5523 | 5575 | },
|
| 5576 | + "backupdrBackup": { |
| 5577 | + "description": "The name of the backup that's used to restore a Cloud SQL instance: Format: \"projects/{project-id}/locations/{location}/backupVaults/{backupvault}/dataSources/{datasource}/backups/{backup-uid}\". Only one of restore_backup_context, backup, backupdr_backup can be passed to the input.", |
| 5578 | + "type": "string" |
| 5579 | + }, |
5524 | 5580 | "restoreBackupContext": {
|
5525 | 5581 | "$ref": "RestoreBackupContext",
|
5526 | 5582 | "description": "Parameters required to perform the restore backup operation."
|
|
6016 | 6072 | "MANAGE_BACKUP",
|
6017 | 6073 | "ENHANCED_BACKUP",
|
6018 | 6074 | "REPAIR_READ_POOL",
|
6019 |
| - "CREATE_READ_POOL" |
| 6075 | + "CREATE_READ_POOL", |
| 6076 | + "PRE_CHECK_MAJOR_VERSION_UPGRADE" |
6020 | 6077 | ],
|
6021 | 6078 | "enumDeprecated": [
|
6022 | 6079 | false,
|
|
6070 | 6127 | false,
|
6071 | 6128 | false,
|
6072 | 6129 | false,
|
| 6130 | + false, |
6073 | 6131 | false
|
6074 | 6132 | ],
|
6075 | 6133 | "enumDescriptions": [
|
|
6124 | 6182 | "Changes the BackupTier of a Cloud SQL instance.",
|
6125 | 6183 | "Creates a backup for an Enhanced BackupTier Cloud SQL instance.",
|
6126 | 6184 | "Repairs entire read pool or specified read pool nodes in the read pool.",
|
6127 |
| - "Creates a Cloud SQL read pool instance." |
| 6185 | + "Creates a Cloud SQL read pool instance.", |
| 6186 | + "Pre-checks the major version upgrade operation." |
6128 | 6187 | ],
|
6129 | 6188 | "type": "string"
|
6130 | 6189 | },
|
|
6353 | 6412 | },
|
6354 | 6413 | "type": "object"
|
6355 | 6414 | },
|
| 6415 | + "PointInTimeRestoreContext": { |
| 6416 | + "description": "The context to perform a point-in-time recovery of an instance managed by Google Cloud Backup and Disaster Recovery.", |
| 6417 | + "id": "PointInTimeRestoreContext", |
| 6418 | + "properties": { |
| 6419 | + "allocatedIpRange": { |
| 6420 | + "description": "Optional. The name of the allocated IP range for the internal IP Cloud SQL instance. For example: \"google-managed-services-default\". If you set this, then Cloud SQL creates the IP address for the cloned instance in the allocated range. This range must comply with [RFC 1035](https://tools.ietf.org/html/rfc1035) standards. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?. Reserved for future use. http://go/speckle-subnet-picker-clone", |
| 6421 | + "type": "string" |
| 6422 | + }, |
| 6423 | + "datasource": { |
| 6424 | + "description": "The Google Cloud Backup and Disaster Recovery Datasource URI. Format: projects/{project}/locations/{region}/backupVaults/{backupvault}/dataSources/{datasource}.", |
| 6425 | + "type": "string" |
| 6426 | + }, |
| 6427 | + "pointInTime": { |
| 6428 | + "description": "Required. The date and time to which you want to restore the instance.", |
| 6429 | + "format": "google-datetime", |
| 6430 | + "type": "string" |
| 6431 | + }, |
| 6432 | + "preferredSecondaryZone": { |
| 6433 | + "description": "Optional. Point-in-time recovery of a regional instance in the specified zones. If not specified, clone to the same secondary zone as the source instance. This value cannot be the same as the preferred_zone field.", |
| 6434 | + "type": "string" |
| 6435 | + }, |
| 6436 | + "preferredZone": { |
| 6437 | + "description": "Optional. Point-in-time recovery of an instance to the specified zone. If no zone is specified, then clone to the same primary zone as the source instance.", |
| 6438 | + "type": "string" |
| 6439 | + }, |
| 6440 | + "privateNetwork": { |
| 6441 | + "description": "Optional. The resource link for the VPC network from which the Cloud SQL instance is accessible for private IP. For example, `/projects/myProject/global/networks/default`.", |
| 6442 | + "type": "string" |
| 6443 | + }, |
| 6444 | + "targetInstance": { |
| 6445 | + "description": "Target instance name.", |
| 6446 | + "type": "string" |
| 6447 | + } |
| 6448 | + }, |
| 6449 | + "type": "object" |
| 6450 | + }, |
6356 | 6451 | "PoolNodeConfig": {
|
6357 | 6452 | "description": "Details of a single read pool node of a read pool.",
|
6358 | 6453 | "id": "PoolNodeConfig",
|
|
7635 | 7730 | "description": "Optional. The host from which the user can connect. For `insert` operations, host defaults to an empty string. For `update` operations, host is specified as part of the request URL. The host name cannot be updated after insertion. For a MySQL instance, it's required; for a PostgreSQL or SQL Server instance, it's optional.",
|
7636 | 7731 | "type": "string"
|
7637 | 7732 | },
|
7638 |
| - "iamStatus": { |
7639 |
| - "description": "Indicates if user is active for IAM Authentication.", |
7640 |
| - "enum": [ |
7641 |
| - "IAM_STATUS_UNSPECIFIED", |
7642 |
| - "INACTIVE", |
7643 |
| - "ACTIVE" |
7644 |
| - ], |
7645 |
| - "enumDescriptions": [ |
7646 |
| - "The default value for users that are not of type CLOUD_IAM_GROUP. Only CLOUD_IAM_GROUP users will be inactive/active. Will not display any value in UI.", |
7647 |
| - "User is not available for IAM Authentication.", |
7648 |
| - "User is available for IAM Authentication." |
7649 |
| - ], |
7650 |
| - "type": "string" |
7651 |
| - }, |
7652 | 7733 | "instance": {
|
7653 | 7734 | "description": "The name of the Cloud SQL instance. This does not include the project ID. Can be omitted for `update` because it is already specified on the URL.",
|
7654 | 7735 | "type": "string"
|
|
0 commit comments