@maxim_mazurok/gapi.client.sqladmin-v1 0.0.20220922 → 0.0.20221017

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 (3) hide show
  1. package/index.d.ts +11 -2
  2. package/package.json +1 -1
  3. package/tests.ts +10 -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: 20220922
12
+ // Revision: 20221017
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -373,6 +373,10 @@ declare namespace gapi.client {
373
373
  kmsKeyVersionName?: string;
374
374
  }
375
375
  interface ExportContext {
376
+ bakExportOptions?: {
377
+ stripeCount?: number;
378
+ striped?: boolean;
379
+ };
376
380
  /** Options for exporting data as CSV. `MySQL` and `PostgreSQL` instances only. */
377
381
  csvExportOptions?: {
378
382
  /** Specifies the character that should appear before a data character that needs to be escaped. */
@@ -491,6 +495,7 @@ declare namespace gapi.client {
491
495
  */
492
496
  pvkPath?: string;
493
497
  };
498
+ striped?: boolean;
494
499
  };
495
500
  /** Options for importing data as CSV. */
496
501
  csvImportOptions?: {
@@ -605,6 +610,8 @@ declare namespace gapi.client {
605
610
  allocatedIpRange?: string;
606
611
  /** The list of external networks that are allowed to connect to the instance using the IP. In 'CIDR' notation, also known as 'slash' notation (for example: `157.197.200.0/24`). */
607
612
  authorizedNetworks?: AclEntry[];
613
+ /** Controls connectivity to private IP instances from Google services, such as BigQuery. */
614
+ enablePrivatePathForGoogleCloudServices?: boolean;
608
615
  /** Whether the instance is assigned a public IP address or not. */
609
616
  ipv4Enabled?: boolean;
610
617
  /**
@@ -3188,11 +3195,13 @@ declare namespace gapi.client {
3188
3195
  callback?: string;
3189
3196
  /** Selector specifying which fields to include in a partial response. */
3190
3197
  fields?: string;
3198
+ /** Host of a user of the instance. */
3199
+ host?: string;
3191
3200
  /** Database instance ID. This does not include the project ID. */
3192
3201
  instance: string;
3193
3202
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3194
3203
  key?: string;
3195
- /** User of the instance. If the database user has a host, this is specified as {username}@{host} else as {username}. */
3204
+ /** User of the instance. */
3196
3205
  name: string;
3197
3206
  /** OAuth 2.0 token for the current user. */
3198
3207
  oauth_token?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.sqladmin-v1",
3
- "version": "0.0.20220922",
3
+ "version": "0.0.20221017",
4
4
  "description": "TypeScript typings for Cloud SQL Admin API v1",
5
5
  "license": "MIT",
6
6
  "author": {
package/tests.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
4
4
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
5
5
 
6
- // Revision: 20220922
6
+ // Revision: 20221017
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -242,6 +242,10 @@ gapi.load('client', async () => {
242
242
  project: "Test string",
243
243
  }, {
244
244
  exportContext: {
245
+ bakExportOptions: {
246
+ stripeCount: 42,
247
+ striped: true,
248
+ },
245
249
  csvExportOptions: {
246
250
  escapeCharacter: "Test string",
247
251
  fieldsTerminatedBy: "Test string",
@@ -298,6 +302,7 @@ gapi.load('client', async () => {
298
302
  pvkPassword: "Test string",
299
303
  pvkPath: "Test string",
300
304
  },
305
+ striped: true,
301
306
  },
302
307
  csvImportOptions: {
303
308
  columns: [
@@ -481,6 +486,7 @@ gapi.load('client', async () => {
481
486
  value: "Test string",
482
487
  }
483
488
  ],
489
+ enablePrivatePathForGoogleCloudServices: true,
484
490
  ipv4Enabled: true,
485
491
  privateNetwork: "Test string",
486
492
  requireSsl: true,
@@ -709,6 +715,7 @@ gapi.load('client', async () => {
709
715
  value: "Test string",
710
716
  }
711
717
  ],
718
+ enablePrivatePathForGoogleCloudServices: true,
712
719
  ipv4Enabled: true,
713
720
  privateNetwork: "Test string",
714
721
  requireSsl: true,
@@ -979,6 +986,7 @@ gapi.load('client', async () => {
979
986
  value: "Test string",
980
987
  }
981
988
  ],
989
+ enablePrivatePathForGoogleCloudServices: true,
982
990
  ipv4Enabled: true,
983
991
  privateNetwork: "Test string",
984
992
  requireSsl: true,
@@ -1129,6 +1137,7 @@ gapi.load('client', async () => {
1129
1137
  });
1130
1138
  /** Retrieves a resource containing information about a user. */
1131
1139
  await gapi.client.sql.users.get({
1140
+ host: "Test string",
1132
1141
  instance: "Test string",
1133
1142
  name: "Test string",
1134
1143
  project: "Test string",