@maxim_mazurok/gapi.client.sqladmin-v1 0.0.20240304 → 0.0.20240324
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 +41 -4
- package/package.json +1 -1
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: 20240324
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -73,6 +73,8 @@ declare namespace gapi.client {
|
|
|
73
73
|
replicationLogArchivingEnabled?: boolean;
|
|
74
74
|
/** Start time for the daily backup configuration in UTC timezone in the 24 hour format - `HH:MM`. */
|
|
75
75
|
startTime?: string;
|
|
76
|
+
/** Output only. This value contains the storage location of transactional logs for the database for point-in-time recovery. */
|
|
77
|
+
transactionalLogStorageState?: string;
|
|
76
78
|
/** The number of days of transaction logs we retain for point in time restore, from 1-7. */
|
|
77
79
|
transactionLogRetentionDays?: number;
|
|
78
80
|
}
|
|
@@ -239,6 +241,8 @@ declare namespace gapi.client {
|
|
|
239
241
|
};
|
|
240
242
|
/** The Compute Engine zone that the instance is currently serving from. This value could be different from the zone that was specified when the instance was created if the instance has failed over to its secondary zone. WARNING: Changing this might restart the instance. */
|
|
241
243
|
gceZone?: string;
|
|
244
|
+
/** Gemini configuration. */
|
|
245
|
+
geminiConfig?: GeminiInstanceConfig;
|
|
242
246
|
/** The instance type. */
|
|
243
247
|
instanceType?: string;
|
|
244
248
|
/** The assigned IP addresses for the instance. */
|
|
@@ -271,6 +275,8 @@ declare namespace gapi.client {
|
|
|
271
275
|
replicaConfiguration?: ReplicaConfiguration;
|
|
272
276
|
/** The replicas of the instance. */
|
|
273
277
|
replicaNames?: string[];
|
|
278
|
+
/** Optional. The pair of a primary instance and disaster recovery (DR) replica. A DR replica is a cross-region replica that you designate for failover in the event that the primary instance has regional failure. */
|
|
279
|
+
replicationCluster?: ReplicationCluster;
|
|
274
280
|
/** Initial root password. Use only on creation. You must set root passwords before you can connect to PostgreSQL instances. */
|
|
275
281
|
rootPassword?: string;
|
|
276
282
|
/** The status indicating if instance satisfiesPzs. Reserved for future use. */
|
|
@@ -452,6 +458,20 @@ declare namespace gapi.client {
|
|
|
452
458
|
/** This is always `sql#flagsList`. */
|
|
453
459
|
kind?: string;
|
|
454
460
|
}
|
|
461
|
+
interface GeminiInstanceConfig {
|
|
462
|
+
/** Output only. Whether active query is enabled. */
|
|
463
|
+
activeQueryEnabled?: boolean;
|
|
464
|
+
/** Output only. Whether gemini is enabled. */
|
|
465
|
+
entitled?: boolean;
|
|
466
|
+
/** Output only. Whether flag recommender is enabled. */
|
|
467
|
+
flagRecommenderEnabled?: boolean;
|
|
468
|
+
/** Output only. Whether vacuum management is enabled. */
|
|
469
|
+
googleVacuumMgmtEnabled?: boolean;
|
|
470
|
+
/** Output only. Whether index advisor is enabled. */
|
|
471
|
+
indexAdvisorEnabled?: boolean;
|
|
472
|
+
/** Output only. Whether oom session cancel is enabled. */
|
|
473
|
+
oomSessionCancelEnabled?: boolean;
|
|
474
|
+
}
|
|
455
475
|
interface GenerateEphemeralCertRequest {
|
|
456
476
|
/** Optional. Access token to include in the signed certificate. */
|
|
457
477
|
access_token?: string;
|
|
@@ -513,6 +533,13 @@ declare namespace gapi.client {
|
|
|
513
533
|
importUser?: string;
|
|
514
534
|
/** This is always `sql#importContext`. */
|
|
515
535
|
kind?: string;
|
|
536
|
+
/** Optional. Options for importing data from SQL statements. */
|
|
537
|
+
sqlImportOptions?: {
|
|
538
|
+
/** Optional. Whether or not the import should be parallel. */
|
|
539
|
+
parallel?: boolean;
|
|
540
|
+
/** Optional. The number of threads to use for parallel import. */
|
|
541
|
+
threads?: number;
|
|
542
|
+
};
|
|
516
543
|
/** Path to the import file in Cloud Storage, in the form `gs://bucketName/fileName`. Compressed gzip files (.gz) are supported when `fileType` is `SQL`. The instance must have write permissions to the bucket and read access to the file. */
|
|
517
544
|
uri?: string;
|
|
518
545
|
}
|
|
@@ -610,9 +637,9 @@ declare namespace gapi.client {
|
|
|
610
637
|
privateNetwork?: string;
|
|
611
638
|
/** PSC settings for this instance. */
|
|
612
639
|
pscConfig?: PscConfig;
|
|
613
|
-
/** Use `ssl_mode` instead
|
|
640
|
+
/** 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. */
|
|
614
641
|
requireSsl?: boolean;
|
|
615
|
-
/** Specify how SSL/TLS is enforced in database connections.
|
|
642
|
+
/** 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` gets priority over the value of `require_ssl`. For example, for the pair `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=false`, the `ssl_mode=ENCRYPTED_ONLY` means only accept SSL connections, while the `require_ssl=false` means accept both non-SSL and SSL connections. MySQL and PostgreSQL databases respect `ssl_mode` in this case and accept only SSL connections. */
|
|
616
643
|
sslMode?: string;
|
|
617
644
|
}
|
|
618
645
|
interface IpMapping {
|
|
@@ -808,6 +835,12 @@ declare namespace gapi.client {
|
|
|
808
835
|
/** MySQL specific configuration when replicating from a MySQL on-premises primary instance. Replication configuration information such as the username, password, certificates, and keys are not stored in the instance metadata. The configuration information is used only to set up the replication connection and is stored by MySQL in a file named `master.info` in the data directory. */
|
|
809
836
|
mysqlReplicaConfiguration?: MySqlReplicaConfiguration;
|
|
810
837
|
}
|
|
838
|
+
interface ReplicationCluster {
|
|
839
|
+
/** Output only. read-only field that indicates if the replica is a dr_replica; not set for a primary. */
|
|
840
|
+
drReplica?: boolean;
|
|
841
|
+
/** 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. Users can set this field to set a designated DR replica for a primary. Removing this field removes the DR replica. */
|
|
842
|
+
failoverDrReplicaName?: string;
|
|
843
|
+
}
|
|
811
844
|
interface Reschedule {
|
|
812
845
|
/** Required. The type of the reschedule. */
|
|
813
846
|
rescheduleType?: string;
|
|
@@ -865,7 +898,7 @@ declare namespace gapi.client {
|
|
|
865
898
|
denyMaintenancePeriods?: DenyMaintenancePeriod[];
|
|
866
899
|
/** Optional. The edition of the instance. */
|
|
867
900
|
edition?: string;
|
|
868
|
-
/** Optional.
|
|
901
|
+
/** Optional. When this parameter is set to true, Cloud SQL instances can connect to Vertex AI to pass requests for real-time predictions and insights to the AI. The default value is false. This applies only to Cloud SQL for PostgreSQL instances. */
|
|
869
902
|
enableGoogleMlIntegration?: boolean;
|
|
870
903
|
/** Insights configuration, for now relevant only for Postgres. */
|
|
871
904
|
insightsConfig?: InsightsConfig;
|
|
@@ -940,6 +973,8 @@ declare namespace gapi.client {
|
|
|
940
973
|
}
|
|
941
974
|
interface SqlInstancesResetReplicaSizeRequest {}
|
|
942
975
|
interface SqlInstancesStartExternalSyncRequest {
|
|
976
|
+
/** Optional. MigrationType decides if the migration is a physical file based migration or logical migration. */
|
|
977
|
+
migrationType?: string;
|
|
943
978
|
/** MySQL-specific settings for start external sync. */
|
|
944
979
|
mysqlSyncConfig?: MySqlSyncConfig;
|
|
945
980
|
/** Whether to skip the verification step (VESS). */
|
|
@@ -950,6 +985,8 @@ declare namespace gapi.client {
|
|
|
950
985
|
syncParallelLevel?: string;
|
|
951
986
|
}
|
|
952
987
|
interface SqlInstancesVerifyExternalSyncSettingsRequest {
|
|
988
|
+
/** Optional. MigrationType decides if the migration is a physical file based migration or logical migration */
|
|
989
|
+
migrationType?: string;
|
|
953
990
|
/** Optional. MySQL-specific settings for start external sync. */
|
|
954
991
|
mysqlSyncConfig?: MySqlSyncConfig;
|
|
955
992
|
/** External sync mode */
|