@maxim_mazurok/gapi.client.sqladmin-v1beta4 0.0.20240412 → 0.0.20240507
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 +19 -17
- 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: 20240507
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -279,11 +279,11 @@ 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;
|
|
286
|
-
/**
|
|
286
|
+
/** This status indicates whether the instance satisfies PZS. The status is reserved for future use. */
|
|
287
287
|
satisfiesPzs?: boolean;
|
|
288
288
|
/** The start time of any upcoming scheduled maintenance for this instance. */
|
|
289
289
|
scheduledMaintenance?: SqlScheduledMaintenance;
|
|
@@ -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,10 +841,12 @@ 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
|
+
/** Output only. If set, it indicates this instance has a private service access (PSA) dns endpoint that is pointing to the primary instance of the cluster. If this instance is the primary, the dns should be pointing to this instance. After Switchover or Replica failover, this DNS endpoint points to the promoted instance. This is a read-only field, returned to the user as information. This field can exist even if a standalone instance does not yet have a replica, or had a DR replica that was deleted. */
|
|
849
|
+
psaWriteEndpoint?: string;
|
|
848
850
|
}
|
|
849
851
|
interface Reschedule {
|
|
850
852
|
/** Required. The type of the reschedule. */
|
|
@@ -978,7 +980,7 @@ declare namespace gapi.client {
|
|
|
978
980
|
}
|
|
979
981
|
interface SqlInstancesResetReplicaSizeRequest {}
|
|
980
982
|
interface SqlInstancesStartExternalSyncRequest {
|
|
981
|
-
/** Optional. MigrationType
|
|
983
|
+
/** 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
984
|
migrationType?: string;
|
|
983
985
|
/** MySQL-specific settings for start external sync. */
|
|
984
986
|
mysqlSyncConfig?: MySqlSyncConfig;
|
|
@@ -990,13 +992,13 @@ declare namespace gapi.client {
|
|
|
990
992
|
syncParallelLevel?: string;
|
|
991
993
|
}
|
|
992
994
|
interface SqlInstancesVerifyExternalSyncSettingsRequest {
|
|
993
|
-
/** Optional. MigrationType
|
|
995
|
+
/** 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
996
|
migrationType?: string;
|
|
995
997
|
/** Optional. MySQL-specific settings for start external sync. */
|
|
996
998
|
mysqlSyncConfig?: MySqlSyncConfig;
|
|
997
999
|
/** External sync mode */
|
|
998
1000
|
syncMode?: string;
|
|
999
|
-
/** Optional. Parallel level for initial data sync.
|
|
1001
|
+
/** Optional. Parallel level for initial data sync. Only applicable for PostgreSQL. */
|
|
1000
1002
|
syncParallelLevel?: string;
|
|
1001
1003
|
/** Flag to enable verifying connection only */
|
|
1002
1004
|
verifyConnectionOnly?: boolean;
|
|
@@ -2447,7 +2449,7 @@ declare namespace gapi.client {
|
|
|
2447
2449
|
},
|
|
2448
2450
|
body: DatabaseInstance
|
|
2449
2451
|
): Request<Operation>;
|
|
2450
|
-
/** Promotes the read replica instance to be
|
|
2452
|
+
/** Promotes the read replica instance to be an independent Cloud SQL primary instance. Using this operation might cause your instance to restart. */
|
|
2451
2453
|
promoteReplica(request?: {
|
|
2452
2454
|
/** V1 error format. */
|
|
2453
2455
|
'$.xgafv'?: string;
|
|
@@ -2457,7 +2459,7 @@ declare namespace gapi.client {
|
|
|
2457
2459
|
alt?: string;
|
|
2458
2460
|
/** JSONP */
|
|
2459
2461
|
callback?: string;
|
|
2460
|
-
/** Set to true
|
|
2462
|
+
/** 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
2463
|
failover?: boolean;
|
|
2462
2464
|
/** Selector specifying which fields to include in a partial response. */
|
|
2463
2465
|
fields?: string;
|
|
@@ -2809,7 +2811,7 @@ declare namespace gapi.client {
|
|
|
2809
2811
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2810
2812
|
uploadType?: string;
|
|
2811
2813
|
}): Request<Operation>;
|
|
2812
|
-
/** Switches over from the primary instance to
|
|
2814
|
+
/** Switches over from the primary instance to the designated DR replica instance. */
|
|
2813
2815
|
switchover(request?: {
|
|
2814
2816
|
/** V1 error format. */
|
|
2815
2817
|
'$.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',
|