@maxim_mazurok/gapi.client.sqladmin-v1beta4 0.0.20240304 → 0.0.20240317

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 +32 -2
  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: 20240317
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;
@@ -813,6 +833,12 @@ declare namespace gapi.client {
813
833
  /** 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
834
  mysqlReplicaConfiguration?: MySqlReplicaConfiguration;
815
835
  }
836
+ interface ReplicationCluster {
837
+ /** Output only. read-only field that indicates if the replica is a dr_replica; not set for a primary. */
838
+ drReplica?: boolean;
839
+ /** 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. */
840
+ failoverDrReplicaName?: string;
841
+ }
816
842
  interface Reschedule {
817
843
  /** Required. The type of the reschedule. */
818
844
  rescheduleType?: string;
@@ -870,7 +896,7 @@ declare namespace gapi.client {
870
896
  denyMaintenancePeriods?: DenyMaintenancePeriod[];
871
897
  /** Optional. The edition of the instance. */
872
898
  edition?: string;
873
- /** Optional. Configuration to enable Cloud SQL Vertex AI Integration */
899
+ /** 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
900
  enableGoogleMlIntegration?: boolean;
875
901
  /** Insights configuration, for now relevant only for Postgres. */
876
902
  insightsConfig?: InsightsConfig;
@@ -945,6 +971,8 @@ declare namespace gapi.client {
945
971
  }
946
972
  interface SqlInstancesResetReplicaSizeRequest {}
947
973
  interface SqlInstancesStartExternalSyncRequest {
974
+ /** Optional. MigrationType decides if the migration is a physical file based migration or logical migration. */
975
+ migrationType?: string;
948
976
  /** MySQL-specific settings for start external sync. */
949
977
  mysqlSyncConfig?: MySqlSyncConfig;
950
978
  /** Whether to skip the verification step (VESS). */
@@ -955,6 +983,8 @@ declare namespace gapi.client {
955
983
  syncParallelLevel?: string;
956
984
  }
957
985
  interface SqlInstancesVerifyExternalSyncSettingsRequest {
986
+ /** Optional. MigrationType field decides if the migration is a physical file based migration or logical migration */
987
+ migrationType?: string;
958
988
  /** Optional. MySQL-specific settings for start external sync. */
959
989
  mysqlSyncConfig?: MySqlSyncConfig;
960
990
  /** 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.20240317",
4
4
  "description": "TypeScript typings for Cloud SQL Admin API v1beta4",
5
5
  "repository": {
6
6
  "type": "git",