@maxim_mazurok/gapi.client.sqladmin-v1 0.0.20240709 → 0.0.20240711
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +9 -3
- package/package.json +1 -1
- package/readme.md +2 -2
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://sqladmin.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20240711
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -191,6 +191,8 @@ declare namespace gapi.client {
|
|
|
191
191
|
region?: string;
|
|
192
192
|
/** SSL configuration. */
|
|
193
193
|
serverCaCert?: SslCert;
|
|
194
|
+
/** Specify what type of CA is used for the server certificate. */
|
|
195
|
+
serverCaMode?: string;
|
|
194
196
|
}
|
|
195
197
|
interface Database {
|
|
196
198
|
/** The Cloud SQL charset value. */
|
|
@@ -306,6 +308,8 @@ declare namespace gapi.client {
|
|
|
306
308
|
state?: string;
|
|
307
309
|
/** If the instance state is SUSPENDED, the reason for the suspension. */
|
|
308
310
|
suspensionReason?: string[];
|
|
311
|
+
/** Input only. Whether Cloud SQL is enabled to switch storing point-in-time recovery log files from a data disk to Cloud Storage. */
|
|
312
|
+
switchTransactionLogsToCloudStorageEnabled?: boolean;
|
|
309
313
|
/** Output only. All database versions that are available for upgrade. */
|
|
310
314
|
upgradableDatabaseVersions?: AvailableDatabaseVersion[];
|
|
311
315
|
/** Output only. The dns name of the primary instance in a replication group. */
|
|
@@ -663,6 +667,8 @@ declare namespace gapi.client {
|
|
|
663
667
|
pscConfig?: PscConfig;
|
|
664
668
|
/** 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. */
|
|
665
669
|
requireSsl?: boolean;
|
|
670
|
+
/** Specify what type of CA is used for the server certificate. */
|
|
671
|
+
serverCaMode?: string;
|
|
666
672
|
/** 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. */
|
|
667
673
|
sslMode?: string;
|
|
668
674
|
}
|
|
@@ -1829,7 +1835,7 @@ declare namespace gapi.client {
|
|
|
1829
1835
|
},
|
|
1830
1836
|
body: InstancesAcquireSsrsLeaseRequest
|
|
1831
1837
|
): Request<SqlInstancesAcquireSsrsLeaseResponse>;
|
|
1832
|
-
/** 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. */
|
|
1838
|
+
/** 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. */
|
|
1833
1839
|
addServerCa(request?: {
|
|
1834
1840
|
/** V1 error format. */
|
|
1835
1841
|
'$.xgafv'?: string;
|
|
@@ -2712,7 +2718,7 @@ declare namespace gapi.client {
|
|
|
2712
2718
|
},
|
|
2713
2719
|
body: InstancesRestoreBackupRequest
|
|
2714
2720
|
): Request<Operation>;
|
|
2715
|
-
/** Rotates the server certificate to one signed by the Certificate Authority (CA) version previously added with the addServerCA method. */
|
|
2721
|
+
/** 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. */
|
|
2716
2722
|
rotateServerCa(request: {
|
|
2717
2723
|
/** V1 error format. */
|
|
2718
2724
|
'$.xgafv'?: string;
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -185,7 +185,7 @@ await gapi.client.sql.instances.acquireSsrsLease({
|
|
|
185
185
|
});
|
|
186
186
|
|
|
187
187
|
/*
|
|
188
|
-
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.
|
|
188
|
+
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.
|
|
189
189
|
*/
|
|
190
190
|
await gapi.client.sql.instances.addServerCa({
|
|
191
191
|
instance: 'instance',
|
|
@@ -328,7 +328,7 @@ await gapi.client.sql.instances.restoreBackup({
|
|
|
328
328
|
});
|
|
329
329
|
|
|
330
330
|
/*
|
|
331
|
-
Rotates the server certificate to one signed by the Certificate Authority (CA) version previously added with the addServerCA method.
|
|
331
|
+
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.
|
|
332
332
|
*/
|
|
333
333
|
await gapi.client.sql.instances.rotateServerCa({
|
|
334
334
|
instance: 'instance',
|