@maxim_mazurok/gapi.client.connectors-v2 0.0.20230806 → 0.0.20230812

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 +16 -1
  2. package/package.json +1 -1
  3. package/tests.ts +9 -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://connectors.googleapis.com/$discovery/rest?version=v2
12
- // Revision: 20230806
12
+ // Revision: 20230812
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -153,9 +153,24 @@ declare namespace gapi.client {
153
153
  string[];
154
154
  }
155
155
  interface Query {
156
+ /** Sets the limit for the maximum number of rows returned after the query execution. */
157
+ maxRows?:
158
+ string;
156
159
  /** Required. Sql query to execute. */
157
160
  query?:
158
161
  string;
162
+ /** In the struct, the value corresponds to the value of query parameter and date type corresponds to the date type of the query parameter. */
163
+ queryParameters?:
164
+ QueryParameter[];
165
+ /** Sets the number of seconds the driver will wait for a query to execute. */
166
+ timeout?:
167
+ string;
168
+ }
169
+ interface QueryParameter {
170
+ dataType?:
171
+ string;
172
+ value?:
173
+ string;
159
174
  }
160
175
  interface Reference {
161
176
  /** Name of the reference field. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.connectors-v2",
3
- "version": "0.0.20230806",
3
+ "version": "0.0.20230812",
4
4
  "description": "TypeScript typings for Connectors API v2",
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: 20230806
6
+ // Revision: 20230812
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -37,7 +37,15 @@ gapi.load('client', async () => {
37
37
  connection: "Test string",
38
38
  }, {
39
39
  query: {
40
+ maxRows: "Test string",
40
41
  query: "Test string",
42
+ queryParameters: [
43
+ {
44
+ dataType: "Test string",
45
+ value: "Test string",
46
+ }
47
+ ],
48
+ timeout: "Test string",
41
49
  },
42
50
  });
43
51
  /** Executes an action with the name specified in the request. The input parameters for executing the action are passed through the body of the ExecuteAction request. */