@maxim_mazurok/gapi.client.sqladmin-v1beta4 0.0.20240613 → 0.0.20240622

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 +18 -6
  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: 20240613
12
+ // Revision: 20240622
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -175,8 +175,6 @@ declare namespace gapi.client {
175
175
  pitrTimestampMs?: string;
176
176
  /** Timestamp, if specified, identifies the time to which the source instance is cloned. */
177
177
  pointInTime?: string;
178
- /** Optional. Copy clone and point-in-time recovery clone of a regional instance in the specified zones. If not specified, clone to the same secondary zone as the source instance. This value cannot be the same as the preferred_zone field. */
179
- preferredSecondaryZone?: string;
180
178
  /** Optional. Copy clone and point-in-time recovery clone of an instance to the specified zone. If no zone is specified, clone to the same primary zone as the source instance. */
181
179
  preferredZone?: string;
182
180
  }
@@ -431,6 +429,13 @@ declare namespace gapi.client {
431
429
  };
432
430
  /** Optional. Whether or not the export should be parallel. */
433
431
  parallel?: boolean;
432
+ /** Options for exporting from a Cloud SQL for PostgreSQL instance. */
433
+ postgresExportOptions?: {
434
+ /** Optional. Use this option to include DROP SQL statements. These statements are used to delete database objects before running the import operation. */
435
+ clean?: boolean;
436
+ /** Optional. Option to include an IF EXISTS SQL statement with each DROP statement produced by clean. */
437
+ ifExists?: boolean;
438
+ };
434
439
  /** Export only schemas. */
435
440
  schemaOnly?: boolean;
436
441
  /** Tables to export, or that were exported, from the specified database. If you specify tables, specify one and only one database. For PostgreSQL instances, you can specify only one table. */
@@ -554,6 +559,13 @@ declare namespace gapi.client {
554
559
  sqlImportOptions?: {
555
560
  /** Optional. Whether or not the import should be parallel. */
556
561
  parallel?: boolean;
562
+ /** Optional. Options for importing from a Cloud SQL for PostgreSQL instance. */
563
+ postgresImportOptions?: {
564
+ /** Optional. The --clean flag for the pg_restore utility. This flag applies only if you enabled Cloud SQL to import files in parallel. */
565
+ clean?: boolean;
566
+ /** Optional. The --if-exists flag for the pg_restore utility. This flag applies only if you enabled Cloud SQL to import files in parallel. */
567
+ ifExists?: boolean;
568
+ };
557
569
  /** Optional. The number of threads to use for parallel import. */
558
570
  threads?: number;
559
571
  };
@@ -678,13 +690,13 @@ declare namespace gapi.client {
678
690
  zone?: string;
679
691
  }
680
692
  interface MaintenanceWindow {
681
- /** day of week (1-7), starting on Monday. */
693
+ /** Day of week - `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`, or `SUNDAY`. Specify in the UTC time zone. Returned in output as an integer, 1 to 7, where `1` equals Monday. */
682
694
  day?: number;
683
- /** hour of day - 0 to 23. */
695
+ /** Hour of day - 0 to 23. Specify in the UTC time zone. */
684
696
  hour?: number;
685
697
  /** This is always `sql#maintenanceWindow`. */
686
698
  kind?: string;
687
- /** Maintenance timing setting: `canary` (Earlier) or `stable` (Later). [Learn more](https://cloud.google.com/sql/docs/mysql/instance-settings#maintenance-timing-2ndgen). */
699
+ /** Maintenance timing settings: `canary`, `stable`, or `week5`. For more information, see [About maintenance on Cloud SQL instances](https://cloud.google.com/sql/docs/mysql/maintenance). */
688
700
  updateTrack?: string;
689
701
  }
690
702
  interface MySqlReplicaConfiguration {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.sqladmin-v1beta4",
3
- "version": "0.0.20240613",
3
+ "version": "0.0.20240622",
4
4
  "description": "TypeScript typings for Cloud SQL Admin API v1beta4",
5
5
  "repository": {
6
6
  "type": "git",