@maxim_mazurok/gapi.client.sqladmin-v1beta4 0.0.20240404 → 0.0.20240425
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 +16 -16
- 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: 20240425
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -279,7 +279,7 @@ declare namespace gapi.client {
|
|
|
279
279
|
replicaConfiguration?: ReplicaConfiguration;
|
|
280
280
|
/** The replicas of the instance. */
|
|
281
281
|
replicaNames?: string[];
|
|
282
|
-
/**
|
|
282
|
+
/** A primary instance and disaster recovery (DR) replica pair. A DR replica is a cross-region replica that you designate for failover in the event that the primary instance experiences regional failure. Only applicable to MySQL. */
|
|
283
283
|
replicationCluster?: ReplicationCluster;
|
|
284
284
|
/** Initial root password. Use only on creation. You must set root passwords before you can connect to PostgreSQL instances. */
|
|
285
285
|
rootPassword?: string;
|
|
@@ -464,17 +464,17 @@ declare namespace gapi.client {
|
|
|
464
464
|
kind?: string;
|
|
465
465
|
}
|
|
466
466
|
interface GeminiInstanceConfig {
|
|
467
|
-
/** Output only. Whether active query is enabled. */
|
|
467
|
+
/** Output only. Whether the active query is enabled. */
|
|
468
468
|
activeQueryEnabled?: boolean;
|
|
469
469
|
/** Output only. Whether Gemini is enabled. */
|
|
470
470
|
entitled?: boolean;
|
|
471
|
-
/** Output only. Whether flag recommender is enabled. */
|
|
471
|
+
/** Output only. Whether the flag recommender is enabled. */
|
|
472
472
|
flagRecommenderEnabled?: boolean;
|
|
473
|
-
/** Output only. Whether vacuum management is enabled. */
|
|
473
|
+
/** Output only. Whether the vacuum management is enabled. */
|
|
474
474
|
googleVacuumMgmtEnabled?: boolean;
|
|
475
|
-
/** Output only. Whether index advisor is enabled. */
|
|
475
|
+
/** Output only. Whether the index advisor is enabled. */
|
|
476
476
|
indexAdvisorEnabled?: boolean;
|
|
477
|
-
/** Output only. Whether
|
|
477
|
+
/** Output only. Whether canceling the out-of-memory (OOM) session is enabled. */
|
|
478
478
|
oomSessionCancelEnabled?: boolean;
|
|
479
479
|
}
|
|
480
480
|
interface GenerateEphemeralCertRequest {
|
|
@@ -644,7 +644,7 @@ declare namespace gapi.client {
|
|
|
644
644
|
pscConfig?: PscConfig;
|
|
645
645
|
/** 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. */
|
|
646
646
|
requireSsl?: boolean;
|
|
647
|
-
/** 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`
|
|
647
|
+
/** 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. */
|
|
648
648
|
sslMode?: string;
|
|
649
649
|
}
|
|
650
650
|
interface IpMapping {
|
|
@@ -841,9 +841,9 @@ declare namespace gapi.client {
|
|
|
841
841
|
mysqlReplicaConfiguration?: MySqlReplicaConfiguration;
|
|
842
842
|
}
|
|
843
843
|
interface ReplicationCluster {
|
|
844
|
-
/** Output only.
|
|
844
|
+
/** Output only. Read-only field that indicates whether the replica is a DR replica. This field is not set if the instance is a primary instance. */
|
|
845
845
|
drReplica?: boolean;
|
|
846
|
-
/** Optional. If the instance is a primary instance, then this field identifies the disaster recovery (DR) replica. A DR replica is an optional configuration for Enterprise Plus edition instances. If the instance is a read replica, then the field is not set.
|
|
846
|
+
/** Optional. If the instance is a primary instance, then this field identifies the disaster recovery (DR) replica. A DR replica is an optional configuration for Enterprise Plus edition instances. If the instance is a read replica, then the field is not set. Set this field to a replica name to designate a DR replica for a primary instance. Remove the replica name to remove the DR replica designation. */
|
|
847
847
|
failoverDrReplicaName?: string;
|
|
848
848
|
}
|
|
849
849
|
interface Reschedule {
|
|
@@ -978,7 +978,7 @@ declare namespace gapi.client {
|
|
|
978
978
|
}
|
|
979
979
|
interface SqlInstancesResetReplicaSizeRequest {}
|
|
980
980
|
interface SqlInstancesStartExternalSyncRequest {
|
|
981
|
-
/** Optional. MigrationType
|
|
981
|
+
/** Optional. MigrationType configures the migration to use physical files or logical dump files. If not set, then the logical dump file configuration is used. Valid values are `LOGICAL` or `PHYSICAL`. Only applicable to MySQL. */
|
|
982
982
|
migrationType?: string;
|
|
983
983
|
/** MySQL-specific settings for start external sync. */
|
|
984
984
|
mysqlSyncConfig?: MySqlSyncConfig;
|
|
@@ -990,13 +990,13 @@ declare namespace gapi.client {
|
|
|
990
990
|
syncParallelLevel?: string;
|
|
991
991
|
}
|
|
992
992
|
interface SqlInstancesVerifyExternalSyncSettingsRequest {
|
|
993
|
-
/** Optional. MigrationType
|
|
993
|
+
/** Optional. MigrationType configures the migration to use physical files or logical dump files. If not set, then the logical dump file configuration is used. Valid values are `LOGICAL` or `PHYSICAL`. Only applicable to MySQL. */
|
|
994
994
|
migrationType?: string;
|
|
995
995
|
/** Optional. MySQL-specific settings for start external sync. */
|
|
996
996
|
mysqlSyncConfig?: MySqlSyncConfig;
|
|
997
997
|
/** External sync mode */
|
|
998
998
|
syncMode?: string;
|
|
999
|
-
/** Optional. Parallel level for initial data sync.
|
|
999
|
+
/** Optional. Parallel level for initial data sync. Only applicable for PostgreSQL. */
|
|
1000
1000
|
syncParallelLevel?: string;
|
|
1001
1001
|
/** Flag to enable verifying connection only */
|
|
1002
1002
|
verifyConnectionOnly?: boolean;
|
|
@@ -2447,7 +2447,7 @@ declare namespace gapi.client {
|
|
|
2447
2447
|
},
|
|
2448
2448
|
body: DatabaseInstance
|
|
2449
2449
|
): Request<Operation>;
|
|
2450
|
-
/** Promotes the read replica instance to be
|
|
2450
|
+
/** Promotes the read replica instance to be an independent Cloud SQL primary instance. Using this operation might cause your instance to restart. */
|
|
2451
2451
|
promoteReplica(request?: {
|
|
2452
2452
|
/** V1 error format. */
|
|
2453
2453
|
'$.xgafv'?: string;
|
|
@@ -2457,7 +2457,7 @@ declare namespace gapi.client {
|
|
|
2457
2457
|
alt?: string;
|
|
2458
2458
|
/** JSONP */
|
|
2459
2459
|
callback?: string;
|
|
2460
|
-
/** Set to true
|
|
2460
|
+
/** Set to true to invoke a replica failover to the designated DR replica. As part of replica failover, the promote operation attempts to add the original primary instance as a replica of the promoted DR replica when the original primary instance comes back online. If set to false or not specified, then the original primary instance becomes an independent Cloud SQL primary instance. Only applicable to MySQL. */
|
|
2461
2461
|
failover?: boolean;
|
|
2462
2462
|
/** Selector specifying which fields to include in a partial response. */
|
|
2463
2463
|
fields?: string;
|
|
@@ -2809,7 +2809,7 @@ declare namespace gapi.client {
|
|
|
2809
2809
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2810
2810
|
uploadType?: string;
|
|
2811
2811
|
}): Request<Operation>;
|
|
2812
|
-
/** Switches over from the primary instance to
|
|
2812
|
+
/** Switches over from the primary instance to the designated DR replica instance. */
|
|
2813
2813
|
switchover(request?: {
|
|
2814
2814
|
/** V1 error format. */
|
|
2815
2815
|
'$.xgafv'?: string;
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -280,7 +280,7 @@ await gapi.client.sql.instances.patch({
|
|
|
280
280
|
});
|
|
281
281
|
|
|
282
282
|
/*
|
|
283
|
-
Promotes the read replica instance to be
|
|
283
|
+
Promotes the read replica instance to be an independent Cloud SQL primary instance. Using this operation might cause your instance to restart.
|
|
284
284
|
*/
|
|
285
285
|
await gapi.client.sql.instances.promoteReplica({
|
|
286
286
|
instance: 'instance',
|
|
@@ -352,7 +352,7 @@ await gapi.client.sql.instances.stopReplica({
|
|
|
352
352
|
});
|
|
353
353
|
|
|
354
354
|
/*
|
|
355
|
-
Switches over from the primary instance to
|
|
355
|
+
Switches over from the primary instance to the designated DR replica instance.
|
|
356
356
|
*/
|
|
357
357
|
await gapi.client.sql.instances.switchover({
|
|
358
358
|
instance: 'instance',
|