@maxim_mazurok/gapi.client.sqladmin-v1 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=v1
12
- // Revision: 20240304
12
+ // Revision: 20240317
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;
@@ -808,6 +828,12 @@ declare namespace gapi.client {
808
828
  /** 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
829
  mysqlReplicaConfiguration?: MySqlReplicaConfiguration;
810
830
  }
831
+ interface ReplicationCluster {
832
+ /** Output only. read-only field that indicates if the replica is a dr_replica; not set for a primary. */
833
+ drReplica?: boolean;
834
+ /** 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. */
835
+ failoverDrReplicaName?: string;
836
+ }
811
837
  interface Reschedule {
812
838
  /** Required. The type of the reschedule. */
813
839
  rescheduleType?: string;
@@ -865,7 +891,7 @@ declare namespace gapi.client {
865
891
  denyMaintenancePeriods?: DenyMaintenancePeriod[];
866
892
  /** Optional. The edition of the instance. */
867
893
  edition?: string;
868
- /** Optional. Configuration to enable Cloud SQL Vertex AI Integration */
894
+ /** 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
895
  enableGoogleMlIntegration?: boolean;
870
896
  /** Insights configuration, for now relevant only for Postgres. */
871
897
  insightsConfig?: InsightsConfig;
@@ -940,6 +966,8 @@ declare namespace gapi.client {
940
966
  }
941
967
  interface SqlInstancesResetReplicaSizeRequest {}
942
968
  interface SqlInstancesStartExternalSyncRequest {
969
+ /** Optional. MigrationType decides if the migration is a physical file based migration or logical migration. */
970
+ migrationType?: string;
943
971
  /** MySQL-specific settings for start external sync. */
944
972
  mysqlSyncConfig?: MySqlSyncConfig;
945
973
  /** Whether to skip the verification step (VESS). */
@@ -950,6 +978,8 @@ declare namespace gapi.client {
950
978
  syncParallelLevel?: string;
951
979
  }
952
980
  interface SqlInstancesVerifyExternalSyncSettingsRequest {
981
+ /** Optional. MigrationType decides if the migration is a physical file based migration or logical migration */
982
+ migrationType?: string;
953
983
  /** Optional. MySQL-specific settings for start external sync. */
954
984
  mysqlSyncConfig?: MySqlSyncConfig;
955
985
  /** External sync mode */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.sqladmin-v1",
3
- "version": "0.0.20240304",
3
+ "version": "0.0.20240317",
4
4
  "description": "TypeScript typings for Cloud SQL Admin API v1",
5
5
  "repository": {
6
6
  "type": "git",