@maxim_mazurok/gapi.client.sqladmin-v1beta4 0.0.20240622 → 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=v1beta4
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20240711
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -195,6 +195,8 @@ declare namespace gapi.client {
|
|
|
195
195
|
region?: string;
|
|
196
196
|
/** SSL configuration. */
|
|
197
197
|
serverCaCert?: SslCert;
|
|
198
|
+
/** Specify what type of CA is used for the server certificate. */
|
|
199
|
+
serverCaMode?: string;
|
|
198
200
|
}
|
|
199
201
|
interface Database {
|
|
200
202
|
/** The Cloud SQL charset value. */
|
|
@@ -311,6 +313,8 @@ declare namespace gapi.client {
|
|
|
311
313
|
state?: string;
|
|
312
314
|
/** If the instance state is SUSPENDED, the reason for the suspension. */
|
|
313
315
|
suspensionReason?: string[];
|
|
316
|
+
/** Input only. Whether Cloud SQL is enabled to switch storing point-in-time recovery log files from a data disk to Cloud Storage. */
|
|
317
|
+
switchTransactionLogsToCloudStorageEnabled?: boolean;
|
|
314
318
|
/** Output only. All database versions that are available for upgrade. */
|
|
315
319
|
upgradableDatabaseVersions?: AvailableDatabaseVersion[];
|
|
316
320
|
/** Output only. The dns name of the primary instance in a replication group. */
|
|
@@ -668,6 +672,8 @@ declare namespace gapi.client {
|
|
|
668
672
|
pscConfig?: PscConfig;
|
|
669
673
|
/** 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 legacy `require_ssl` flag. */
|
|
670
674
|
requireSsl?: boolean;
|
|
675
|
+
/** Specify what type of CA is used for the server certificate. */
|
|
676
|
+
serverCaMode?: string;
|
|
671
677
|
/** 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. */
|
|
672
678
|
sslMode?: string;
|
|
673
679
|
}
|
|
@@ -1834,7 +1840,7 @@ declare namespace gapi.client {
|
|
|
1834
1840
|
},
|
|
1835
1841
|
body: InstancesAcquireSsrsLeaseRequest
|
|
1836
1842
|
): Request<SqlInstancesAcquireSsrsLeaseResponse>;
|
|
1837
|
-
/** Add 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. */
|
|
1843
|
+
/** Add 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. */
|
|
1838
1844
|
addServerCa(request?: {
|
|
1839
1845
|
/** V1 error format. */
|
|
1840
1846
|
'$.xgafv'?: string;
|
|
@@ -2717,7 +2723,7 @@ declare namespace gapi.client {
|
|
|
2717
2723
|
},
|
|
2718
2724
|
body: InstancesRestoreBackupRequest
|
|
2719
2725
|
): Request<Operation>;
|
|
2720
|
-
/** Rotates the server certificate to one signed by the Certificate Authority (CA) version previously added with the addServerCA method. */
|
|
2726
|
+
/** 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. */
|
|
2721
2727
|
rotateServerCa(request: {
|
|
2722
2728
|
/** V1 error format. */
|
|
2723
2729
|
'$.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
|
-
Add 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
|
+
Add 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',
|