|
644 | 644 | ]
|
645 | 645 | },
|
646 | 646 | "addServerCa": {
|
647 |
| - "description": "Adds a new trusted Certificate Authority (CA) version for the specified instance. Required to prepare for a certificate rotation. If a CA version was previously added but never used in a certificate rotation, this operation replaces that version. There cannot be more than one CA version waiting to be rotated in.", |
| 647 | + "description": "Adds a new trusted Certificate Authority (CA) version for the specified instance. Required to prepare for a certificate rotation. If a CA version was previously added but never used in a certificate rotation, this operation replaces that version. There cannot be more than one CA version waiting to be rotated in. For instances that have enabled Certificate Authority Service (CAS) based server CA, please use AddServerCertificate to add a new server certificate.", |
648 | 648 | "flatPath": "v1/projects/{project}/instances/{instance}/addServerCa",
|
649 | 649 | "httpMethod": "POST",
|
650 | 650 | "id": "sql.instances.addServerCa",
|
|
1287 | 1287 | ]
|
1288 | 1288 | },
|
1289 | 1289 | "rotateServerCa": {
|
1290 |
| - "description": "Rotates the server certificate to one signed by the Certificate Authority (CA) version previously added with the addServerCA method.", |
| 1290 | + "description": "Rotates the server certificate to one signed by the Certificate Authority (CA) version previously added with the addServerCA method. For instances that have enabled Certificate Authority Service (CAS) based server CA, please use RotateServerCertificate to rotate the server certificate.", |
1291 | 1291 | "flatPath": "v1/projects/{project}/instances/{instance}/rotateServerCa",
|
1292 | 1292 | "httpMethod": "POST",
|
1293 | 1293 | "id": "sql.instances.rotateServerCa",
|
|
2267 | 2267 | }
|
2268 | 2268 | }
|
2269 | 2269 | },
|
2270 |
| - "revision": "20240618", |
| 2270 | + "revision": "20240724", |
2271 | 2271 | "rootUrl": "https://sqladmin.googleapis.com/",
|
2272 | 2272 | "schemas": {
|
2273 | 2273 | "AclEntry": {
|
|
2572 | 2572 | "description": "Location of the backups.",
|
2573 | 2573 | "type": "string"
|
2574 | 2574 | },
|
| 2575 | + "maxChargeableBytes": { |
| 2576 | + "description": "Output only. The maximum chargeable bytes for the backup.", |
| 2577 | + "format": "int64", |
| 2578 | + "readOnly": true, |
| 2579 | + "type": "string" |
| 2580 | + }, |
2575 | 2581 | "selfLink": {
|
2576 | 2582 | "description": "The URI of this resource.",
|
2577 | 2583 | "type": "string"
|
|
2915 | 2921 | "serverCaCert": {
|
2916 | 2922 | "$ref": "SslCert",
|
2917 | 2923 | "description": "SSL configuration."
|
| 2924 | + }, |
| 2925 | + "serverCaMode": { |
| 2926 | + "description": "Specify what type of CA is used for the server certificate.", |
| 2927 | + "enum": [ |
| 2928 | + "CA_MODE_UNSPECIFIED", |
| 2929 | + "GOOGLE_MANAGED_INTERNAL_CA", |
| 2930 | + "GOOGLE_MANAGED_CAS_CA" |
| 2931 | + ], |
| 2932 | + "enumDescriptions": [ |
| 2933 | + "CA mode is unknown.", |
| 2934 | + "Google-managed self-signed internal CA.", |
| 2935 | + "Google-managed regional CA part of root CA hierarchy hosted on Google Cloud's Certificate Authority Service (CAS)." |
| 2936 | + ], |
| 2937 | + "type": "string" |
2918 | 2938 | }
|
2919 | 2939 | },
|
2920 | 2940 | "type": "object"
|
|
3319 | 3339 | "description": "Initial root password. Use only on creation. You must set root passwords before you can connect to PostgreSQL instances.",
|
3320 | 3340 | "type": "string"
|
3321 | 3341 | },
|
| 3342 | + "satisfiesPzi": { |
| 3343 | + "description": "Output only. This status indicates whether the instance satisfies PZI. The status is reserved for future use.", |
| 3344 | + "readOnly": true, |
| 3345 | + "type": "boolean" |
| 3346 | + }, |
3322 | 3347 | "satisfiesPzs": {
|
3323 | 3348 | "description": "This status indicates whether the instance satisfies PZS. The status is reserved for future use.",
|
3324 | 3349 | "type": "boolean"
|
|
3415 | 3440 | },
|
3416 | 3441 | "type": "array"
|
3417 | 3442 | },
|
| 3443 | + "switchTransactionLogsToCloudStorageEnabled": { |
| 3444 | + "description": "Input only. Whether Cloud SQL is enabled to switch storing point-in-time recovery log files from a data disk to Cloud Storage.", |
| 3445 | + "type": "boolean" |
| 3446 | + }, |
3418 | 3447 | "upgradableDatabaseVersions": {
|
3419 | 3448 | "description": "Output only. All database versions that are available for upgrade.",
|
3420 | 3449 | "items": {
|
|
3711 | 3740 | "description": "Optional. Whether or not the export should be parallel.",
|
3712 | 3741 | "type": "boolean"
|
3713 | 3742 | },
|
| 3743 | + "postgresExportOptions": { |
| 3744 | + "description": "Options for exporting from a Cloud SQL for PostgreSQL instance.", |
| 3745 | + "properties": { |
| 3746 | + "clean": { |
| 3747 | + "description": "Optional. Use this option to include DROP SQL statements. These statements are used to delete database objects before running the import operation.", |
| 3748 | + "type": "boolean" |
| 3749 | + }, |
| 3750 | + "ifExists": { |
| 3751 | + "description": "Optional. Option to include an IF EXISTS SQL statement with each DROP statement produced by clean.", |
| 3752 | + "type": "boolean" |
| 3753 | + } |
| 3754 | + }, |
| 3755 | + "type": "object" |
| 3756 | + }, |
3714 | 3757 | "schemaOnly": {
|
3715 | 3758 | "description": "Export only schemas.",
|
3716 | 3759 | "type": "boolean"
|
|
4193 | 4236 | "description": "Optional. Whether or not the import should be parallel.",
|
4194 | 4237 | "type": "boolean"
|
4195 | 4238 | },
|
| 4239 | + "postgresImportOptions": { |
| 4240 | + "description": "Optional. Options for importing from a Cloud SQL for PostgreSQL instance.", |
| 4241 | + "properties": { |
| 4242 | + "clean": { |
| 4243 | + "description": "Optional. The --clean flag for the pg_restore utility. This flag applies only if you enabled Cloud SQL to import files in parallel.", |
| 4244 | + "type": "boolean" |
| 4245 | + }, |
| 4246 | + "ifExists": { |
| 4247 | + "description": "Optional. The --if-exists flag for the pg_restore utility. This flag applies only if you enabled Cloud SQL to import files in parallel.", |
| 4248 | + "type": "boolean" |
| 4249 | + } |
| 4250 | + }, |
| 4251 | + "type": "object" |
| 4252 | + }, |
4196 | 4253 | "threads": {
|
4197 | 4254 | "description": "Optional. The number of threads to use for parallel import.",
|
4198 | 4255 | "format": "int32",
|
|
4462 | 4519 | "description": "Use `ssl_mode` instead. Whether SSL/TLS connections over IP are enforced. If set to false, then allow both non-SSL/non-TLS and SSL/TLS connections. For SSL/TLS connections, the client certificate won't be verified. If set to true, then only allow connections encrypted with SSL/TLS and with valid client certificates. If you want to enforce SSL/TLS without enforcing the requirement for valid client certificates, then use the `ssl_mode` flag instead of the `require_ssl` flag.",
|
4463 | 4520 | "type": "boolean"
|
4464 | 4521 | },
|
| 4522 | + "serverCaMode": { |
| 4523 | + "description": "Specify what type of CA is used for the server certificate.", |
| 4524 | + "enum": [ |
| 4525 | + "CA_MODE_UNSPECIFIED", |
| 4526 | + "GOOGLE_MANAGED_INTERNAL_CA", |
| 4527 | + "GOOGLE_MANAGED_CAS_CA" |
| 4528 | + ], |
| 4529 | + "enumDescriptions": [ |
| 4530 | + "CA mode is unknown.", |
| 4531 | + "Google-managed self-signed internal CA.", |
| 4532 | + "Google-managed regional CA part of root CA hierarchy hosted on Google Cloud's Certificate Authority Service (CAS)." |
| 4533 | + ], |
| 4534 | + "type": "string" |
| 4535 | + }, |
4465 | 4536 | "sslMode": {
|
4466 | 4537 | "description": "Specify how SSL/TLS is enforced in database connections. If you must use the `require_ssl` flag for backward compatibility, then only the following value pairs are valid: For PostgreSQL and MySQL: * `ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED` and `require_ssl=false` * `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=false` * `ssl_mode=TRUSTED_CLIENT_CERTIFICATE_REQUIRED` and `require_ssl=true` For SQL Server: * `ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED` and `require_ssl=false` * `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=true` The value of `ssl_mode` has priority over the value of `require_ssl`. For example, for the pair `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=false`, `ssl_mode=ENCRYPTED_ONLY` means accept only SSL connections, while `require_ssl=false` means accept both non-SSL and SSL connections. In this case, MySQL and PostgreSQL databases respect `ssl_mode` and accepts only SSL connections.",
|
4467 | 4538 | "enum": [
|
|
4779 | 4850 | "RECONFIGURE_OLD_PRIMARY",
|
4780 | 4851 | "CLUSTER_MAINTENANCE",
|
4781 | 4852 | "SELF_SERVICE_MAINTENANCE",
|
4782 |
| - "SWITCHOVER_TO_REPLICA" |
| 4853 | + "SWITCHOVER_TO_REPLICA", |
| 4854 | + "MAJOR_VERSION_UPGRADE" |
4783 | 4855 | ],
|
4784 | 4856 | "enumDeprecated": [
|
4785 | 4857 | false,
|
|
4826 | 4898 | false,
|
4827 | 4899 | false,
|
4828 | 4900 | false,
|
| 4901 | + false, |
4829 | 4902 | false
|
4830 | 4903 | ],
|
4831 | 4904 | "enumDescriptions": [
|
|
4873 | 4946 | "Reconfigures old primary after a promote replica operation. Effect of a promote operation to the old primary is executed in this operation, asynchronously from the promote replica operation executed to the replica.",
|
4874 | 4947 | "Indicates that the instance, its read replicas, and its cascading replicas are in maintenance. Maintenance typically gets initiated on groups of replicas first, followed by the primary instance. For each instance, maintenance typically causes the instance to be unavailable for 1-3 minutes.",
|
4875 | 4948 | "Indicates that the instance (and any of its replicas) are currently in maintenance. This is initiated as a self-service request by using SSM. Maintenance typically causes the instance to be unavailable for 1-3 minutes.",
|
4876 |
| - "Switches a primary instance to a replica. This operation runs as part of a switchover operation to the original primary instance." |
| 4949 | + "Switches a primary instance to a replica. This operation runs as part of a switchover operation to the original primary instance.", |
| 4950 | + "Updates the major version of a Cloud SQL instance." |
4877 | 4951 | ],
|
4878 | 4952 | "type": "string"
|
4879 | 4953 | },
|
|
5551 | 5625 | "UNSUPPORTED_EXTENSIONS_NOT_MIGRATED",
|
5552 | 5626 | "EXTENSIONS_NOT_MIGRATED",
|
5553 | 5627 | "PG_CRON_FLAG_ENABLED_IN_REPLICA",
|
5554 |
| - "EXTENSIONS_NOT_ENABLED_IN_REPLICA" |
| 5628 | + "EXTENSIONS_NOT_ENABLED_IN_REPLICA", |
| 5629 | + "UNSUPPORTED_COLUMNS" |
5555 | 5630 | ],
|
5556 | 5631 | "enumDescriptions": [
|
5557 | 5632 | "",
|
|
5602 | 5677 | "The warning message indicates the unsupported extensions will not be migrated to the destination.",
|
5603 | 5678 | "The warning message indicates the pg_cron extension and settings will not be migrated to the destination.",
|
5604 | 5679 | "The error message indicates that pg_cron flags are enabled on the destination which is not supported during the migration.",
|
5605 |
| - "This error message indicates that the specified extensions are not enabled on destination instance. For example, before you can migrate data to the destination instance, you must enable the PGAudit extension on the instance." |
| 5680 | + "This error message indicates that the specified extensions are not enabled on destination instance. For example, before you can migrate data to the destination instance, you must enable the PGAudit extension on the instance.", |
| 5681 | + "The source database has generated columns that can't be migrated. Please change them to regular columns before migration." |
5606 | 5682 | ],
|
5607 | 5683 | "type": "string"
|
5608 | 5684 | }
|
|
0 commit comments