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

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 +2 -11
  2. package/package.json +1 -1
  3. package/tests.ts +1 -10
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: 20221017
12
+ // Revision: 20221104
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -373,10 +373,6 @@ declare namespace gapi.client {
373
373
  kmsKeyVersionName?: string;
374
374
  }
375
375
  interface ExportContext {
376
- bakExportOptions?: {
377
- stripeCount?: number;
378
- striped?: boolean;
379
- };
380
376
  /** Options for exporting data as CSV. `MySQL` and `PostgreSQL` instances only. */
381
377
  csvExportOptions?: {
382
378
  /** Specifies the character that should appear before a data character that needs to be escaped. */
@@ -495,7 +491,6 @@ declare namespace gapi.client {
495
491
  */
496
492
  pvkPath?: string;
497
493
  };
498
- striped?: boolean;
499
494
  };
500
495
  /** Options for importing data as CSV. */
501
496
  csvImportOptions?: {
@@ -610,8 +605,6 @@ declare namespace gapi.client {
610
605
  allocatedIpRange?: string;
611
606
  /** 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`). */
612
607
  authorizedNetworks?: AclEntry[];
613
- /** Controls connectivity to private IP instances from Google services, such as BigQuery. */
614
- enablePrivatePathForGoogleCloudServices?: boolean;
615
608
  /** Whether the instance is assigned a public IP address or not. */
616
609
  ipv4Enabled?: boolean;
617
610
  /**
@@ -3195,13 +3188,11 @@ declare namespace gapi.client {
3195
3188
  callback?: string;
3196
3189
  /** Selector specifying which fields to include in a partial response. */
3197
3190
  fields?: string;
3198
- /** Host of a user of the instance. */
3199
- host?: string;
3200
3191
  /** Database instance ID. This does not include the project ID. */
3201
3192
  instance: string;
3202
3193
  /** 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. */
3203
3194
  key?: string;
3204
- /** User of the instance. */
3195
+ /** User of the instance. If the database user has a host, this is specified as {username}@{host} else as {username}. */
3205
3196
  name: string;
3206
3197
  /** OAuth 2.0 token for the current user. */
3207
3198
  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.20221017",
3
+ "version": "0.0.20221104",
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: 20221017
6
+ // Revision: 20221104
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -242,10 +242,6 @@ gapi.load('client', async () => {
242
242
  project: "Test string",
243
243
  }, {
244
244
  exportContext: {
245
- bakExportOptions: {
246
- stripeCount: 42,
247
- striped: true,
248
- },
249
245
  csvExportOptions: {
250
246
  escapeCharacter: "Test string",
251
247
  fieldsTerminatedBy: "Test string",
@@ -302,7 +298,6 @@ gapi.load('client', async () => {
302
298
  pvkPassword: "Test string",
303
299
  pvkPath: "Test string",
304
300
  },
305
- striped: true,
306
301
  },
307
302
  csvImportOptions: {
308
303
  columns: [
@@ -486,7 +481,6 @@ gapi.load('client', async () => {
486
481
  value: "Test string",
487
482
  }
488
483
  ],
489
- enablePrivatePathForGoogleCloudServices: true,
490
484
  ipv4Enabled: true,
491
485
  privateNetwork: "Test string",
492
486
  requireSsl: true,
@@ -715,7 +709,6 @@ gapi.load('client', async () => {
715
709
  value: "Test string",
716
710
  }
717
711
  ],
718
- enablePrivatePathForGoogleCloudServices: true,
719
712
  ipv4Enabled: true,
720
713
  privateNetwork: "Test string",
721
714
  requireSsl: true,
@@ -986,7 +979,6 @@ gapi.load('client', async () => {
986
979
  value: "Test string",
987
980
  }
988
981
  ],
989
- enablePrivatePathForGoogleCloudServices: true,
990
982
  ipv4Enabled: true,
991
983
  privateNetwork: "Test string",
992
984
  requireSsl: true,
@@ -1137,7 +1129,6 @@ gapi.load('client', async () => {
1137
1129
  });
1138
1130
  /** Retrieves a resource containing information about a user. */
1139
1131
  await gapi.client.sql.users.get({
1140
- host: "Test string",
1141
1132
  instance: "Test string",
1142
1133
  name: "Test string",
1143
1134
  project: "Test string",