@maxim_mazurok/gapi.client.sqladmin-v1 0.0.20220905 → 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 +13 -5
  2. package/package.json +1 -1
  3. package/tests.ts +10 -1
package/index.d.ts CHANGED
@@ -4,13 +4,12 @@
4
4
  // Nick Amoscato <https://github.com/namoscato>
5
5
  // Declan Vong <https://github.com/declanvong>
6
6
  // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
7
- // TypeScript Version: 2.8
8
7
 
9
8
  // IMPORTANT
10
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
11
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
12
11
  // Generated from: https://sqladmin.googleapis.com/$discovery/rest?version=v1
13
- // Revision: 20220905
12
+ // Revision: 20221017
14
13
 
15
14
  /// <reference types="gapi.client" />
16
15
 
@@ -127,7 +126,7 @@ declare namespace gapi.client {
127
126
  }
128
127
  interface CloneContext {
129
128
  /**
130
- * The name of the allocated ip range for the private ip CloudSQL instance. For example: "google-managed-services-default". If set, the cloned instance ip will be created in the
129
+ * The name of the allocated ip range for the private ip Cloud SQL instance. For example: "google-managed-services-default". If set, the cloned instance ip will be created in the
131
130
  * allocated range. The range name must comply with [RFC 1035](https://tools.ietf.org/html/rfc1035). Specifically, the name must be 1-63 characters long and match the regular
132
131
  * expression [a-z]([-a-z0-9]*[a-z0-9])?. Reserved for future use.
133
132
  */
@@ -374,6 +373,10 @@ declare namespace gapi.client {
374
373
  kmsKeyVersionName?: string;
375
374
  }
376
375
  interface ExportContext {
376
+ bakExportOptions?: {
377
+ stripeCount?: number;
378
+ striped?: boolean;
379
+ };
377
380
  /** Options for exporting data as CSV. `MySQL` and `PostgreSQL` instances only. */
378
381
  csvExportOptions?: {
379
382
  /** Specifies the character that should appear before a data character that needs to be escaped. */
@@ -492,6 +495,7 @@ declare namespace gapi.client {
492
495
  */
493
496
  pvkPath?: string;
494
497
  };
498
+ striped?: boolean;
495
499
  };
496
500
  /** Options for importing data as CSV. */
497
501
  csvImportOptions?: {
@@ -599,13 +603,15 @@ declare namespace gapi.client {
599
603
  }
600
604
  interface IpConfiguration {
601
605
  /**
602
- * The name of the allocated ip range for the private ip CloudSQL instance. For example: "google-managed-services-default". If set, the instance ip will be created in the allocated
606
+ * The name of the allocated ip range for the private ip Cloud SQL instance. For example: "google-managed-services-default". If set, the instance ip will be created in the allocated
603
607
  * range. The range name must comply with [RFC 1035](https://tools.ietf.org/html/rfc1035). Specifically, the name must be 1-63 characters long and match the regular expression
604
608
  * `[a-z]([-a-z0-9]*[a-z0-9])?.`
605
609
  */
606
610
  allocatedIpRange?: string;
607
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`). */
608
612
  authorizedNetworks?: AclEntry[];
613
+ /** Controls connectivity to private IP instances from Google services, such as BigQuery. */
614
+ enablePrivatePathForGoogleCloudServices?: boolean;
609
615
  /** Whether the instance is assigned a public IP address or not. */
610
616
  ipv4Enabled?: boolean;
611
617
  /**
@@ -3189,11 +3195,13 @@ declare namespace gapi.client {
3189
3195
  callback?: string;
3190
3196
  /** Selector specifying which fields to include in a partial response. */
3191
3197
  fields?: string;
3198
+ /** Host of a user of the instance. */
3199
+ host?: string;
3192
3200
  /** Database instance ID. This does not include the project ID. */
3193
3201
  instance: string;
3194
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. */
3195
3203
  key?: string;
3196
- /** 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. */
3197
3205
  name: string;
3198
3206
  /** OAuth 2.0 token for the current user. */
3199
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.20220905",
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: 20220905
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",