@maxim_mazurok/gapi.client.sqladmin-v1beta4 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.
Files changed (2) hide show
  1. package/index.d.ts +41 -4
  2. 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=v1beta4
12
- // Revision: 20240304
12
+ // Revision: 20240324
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -77,6 +77,8 @@ declare namespace gapi.client {
77
77
  replicationLogArchivingEnabled?: boolean;
78
78
  /** Start time for the daily backup configuration in UTC timezone in the 24 hour format - `HH:MM`. */
79
79
  startTime?: string;
80
+ /** Output only. This value contains the storage location of transactional logs for the database for point-in-time recovery. */
81
+ transactionalLogStorageState?: string;
80
82
  /** The number of days of transaction logs we retain for point in time restore, from 1-7. */
81
83
  transactionLogRetentionDays?: number;
82
84
  }
@@ -243,6 +245,8 @@ declare namespace gapi.client {
243
245
  };
244
246
  /** 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. */
245
247
  gceZone?: string;
248
+ /** Gemini instance configuration. */
249
+ geminiConfig?: GeminiInstanceConfig;
246
250
  /** The instance type. */
247
251
  instanceType?: string;
248
252
  /** The assigned IP addresses for the instance. */
@@ -275,6 +279,8 @@ declare namespace gapi.client {
275
279
  replicaConfiguration?: ReplicaConfiguration;
276
280
  /** The replicas of the instance. */
277
281
  replicaNames?: string[];
282
+ /** 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. */
283
+ replicationCluster?: ReplicationCluster;
278
284
  /** Initial root password. Use only on creation. You must set root passwords before you can connect to PostgreSQL instances. */
279
285
  rootPassword?: string;
280
286
  /** The status indicating if instance satisfiesPzs. Reserved for future use. */
@@ -457,6 +463,20 @@ declare namespace gapi.client {
457
463
  /** This is always `sql#flagsList`. */
458
464
  kind?: string;
459
465
  }
466
+ interface GeminiInstanceConfig {
467
+ /** Output only. Whether active query is enabled. */
468
+ activeQueryEnabled?: boolean;
469
+ /** Output only. Whether Gemini is enabled. */
470
+ entitled?: boolean;
471
+ /** Output only. Whether flag recommender is enabled. */
472
+ flagRecommenderEnabled?: boolean;
473
+ /** Output only. Whether vacuum management is enabled. */
474
+ googleVacuumMgmtEnabled?: boolean;
475
+ /** Output only. Whether index advisor is enabled. */
476
+ indexAdvisorEnabled?: boolean;
477
+ /** Output only. Whether oom session cancel is enabled. */
478
+ oomSessionCancelEnabled?: boolean;
479
+ }
460
480
  interface GenerateEphemeralCertRequest {
461
481
  /** Optional. Access token to include in the signed certificate. */
462
482
  access_token?: string;
@@ -518,6 +538,13 @@ declare namespace gapi.client {
518
538
  importUser?: string;
519
539
  /** This is always `sql#importContext`. */
520
540
  kind?: string;
541
+ /** Optional. Options for importing data from SQL statements. */
542
+ sqlImportOptions?: {
543
+ /** Optional. Whether or not the import should be parallel. */
544
+ parallel?: boolean;
545
+ /** Optional. The number of threads to use for parallel import. */
546
+ threads?: number;
547
+ };
521
548
  /** 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. */
522
549
  uri?: string;
523
550
  }
@@ -615,9 +642,9 @@ declare namespace gapi.client {
615
642
  privateNetwork?: string;
616
643
  /** PSC settings for this instance. */
617
644
  pscConfig?: PscConfig;
618
- /** Use `ssl_mode` instead for MySQL and PostgreSQL. SQL Server uses this flag. 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. */
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. */
619
646
  requireSsl?: boolean;
620
- /** Specify how SSL/TLS is enforced in database connections. MySQL and PostgreSQL use the `ssl_mode` flag. If you must use the `require_ssl` flag for backward compatibility, then only the following value pairs are valid: * `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` 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. SQL Server uses the `require_ssl` flag. You can set the value for this flag to `true` or `false`. */
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` 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. */
621
648
  sslMode?: string;
622
649
  }
623
650
  interface IpMapping {
@@ -813,6 +840,12 @@ declare namespace gapi.client {
813
840
  /** 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. */
814
841
  mysqlReplicaConfiguration?: MySqlReplicaConfiguration;
815
842
  }
843
+ interface ReplicationCluster {
844
+ /** Output only. read-only field that indicates if the replica is a dr_replica; not set for a primary. */
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. Users can set this field to set a designated DR replica for a primary. Removing this field removes the DR replica. */
847
+ failoverDrReplicaName?: string;
848
+ }
816
849
  interface Reschedule {
817
850
  /** Required. The type of the reschedule. */
818
851
  rescheduleType?: string;
@@ -870,7 +903,7 @@ declare namespace gapi.client {
870
903
  denyMaintenancePeriods?: DenyMaintenancePeriod[];
871
904
  /** Optional. The edition of the instance. */
872
905
  edition?: string;
873
- /** Optional. Configuration to enable Cloud SQL Vertex AI Integration */
906
+ /** 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. */
874
907
  enableGoogleMlIntegration?: boolean;
875
908
  /** Insights configuration, for now relevant only for Postgres. */
876
909
  insightsConfig?: InsightsConfig;
@@ -945,6 +978,8 @@ declare namespace gapi.client {
945
978
  }
946
979
  interface SqlInstancesResetReplicaSizeRequest {}
947
980
  interface SqlInstancesStartExternalSyncRequest {
981
+ /** Optional. MigrationType decides if the migration is a physical file based migration or logical migration. */
982
+ migrationType?: string;
948
983
  /** MySQL-specific settings for start external sync. */
949
984
  mysqlSyncConfig?: MySqlSyncConfig;
950
985
  /** Whether to skip the verification step (VESS). */
@@ -955,6 +990,8 @@ declare namespace gapi.client {
955
990
  syncParallelLevel?: string;
956
991
  }
957
992
  interface SqlInstancesVerifyExternalSyncSettingsRequest {
993
+ /** Optional. MigrationType field decides if the migration is a physical file based migration or logical migration */
994
+ migrationType?: string;
958
995
  /** Optional. MySQL-specific settings for start external sync. */
959
996
  mysqlSyncConfig?: MySqlSyncConfig;
960
997
  /** External sync mode */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.sqladmin-v1beta4",
3
- "version": "0.0.20240304",
3
+ "version": "0.0.20240324",
4
4
  "description": "TypeScript typings for Cloud SQL Admin API v1beta4",
5
5
  "repository": {
6
6
  "type": "git",