@maxim_mazurok/gapi.client.spanner-v1 0.0.20220914 → 0.0.20220930

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 +17 -4
  2. package/package.json +1 -1
  3. package/tests.ts +1 -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://spanner.googleapis.com/$discovery/rest?version=v1
13
- // Revision: 20220914
12
+ // Revision: 20220930
14
13
 
15
14
  /// <reference types="gapi.client" />
16
15
 
@@ -275,7 +274,7 @@ declare namespace gapi.client {
275
274
  /** The target instance config end state. */
276
275
  instanceConfig?: InstanceConfig;
277
276
  /** The progress of the CreateInstanceConfig operation. */
278
- progress?: OperationProgress;
277
+ progress?: InstanceOperationProgress;
279
278
  }
280
279
  interface CreateInstanceConfigRequest {
281
280
  /**
@@ -627,6 +626,14 @@ declare namespace gapi.client {
627
626
  /** Output only. The current instance config state. */
628
627
  state?: string;
629
628
  }
629
+ interface InstanceOperationProgress {
630
+ /** If set, the time at which this operation failed or was completed successfully. */
631
+ endTime?: string;
632
+ /** Percent completion of the operation. Values are between 0 and 100 inclusive. */
633
+ progressPercent?: number;
634
+ /** Time the request was received. */
635
+ startTime?: string;
636
+ }
630
637
  interface KeyRange {
631
638
  /** If the end is closed, then the range includes all rows whose first `len(end_closed)` key columns exactly match `end_closed`. */
632
639
  endClosed?: any[];
@@ -1223,6 +1230,12 @@ declare namespace gapi.client {
1223
1230
  rowType?: StructType;
1224
1231
  /** If the read or SQL query began a transaction as a side-effect, the information about the new transaction is yielded here. */
1225
1232
  transaction?: Transaction;
1233
+ /**
1234
+ * A SQL query can be parameterized. In PLAN mode, these parameters can be undeclared. This indicates the field names and types for those undeclared parameters in the SQL query. For
1235
+ * example, a SQL query like `"SELECT * FROM Users where UserId = @userId and UserName = @userName "` could return a `undeclared_parameters` value like: "fields": [ { "name": "UserId",
1236
+ * "type": { "code": "INT64" } }, { "name": "UserName", "type": { "code": "STRING" } }, ]
1237
+ */
1238
+ undeclaredParameters?: StructType;
1226
1239
  }
1227
1240
  interface ResultSetStats {
1228
1241
  /** QueryPlan for the query associated with this result. */
@@ -1414,7 +1427,7 @@ declare namespace gapi.client {
1414
1427
  /** The desired instance config after updating. */
1415
1428
  instanceConfig?: InstanceConfig;
1416
1429
  /** The progress of the UpdateInstanceConfig operation. */
1417
- progress?: OperationProgress;
1430
+ progress?: InstanceOperationProgress;
1418
1431
  }
1419
1432
  interface UpdateInstanceConfigRequest {
1420
1433
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.spanner-v1",
3
- "version": "0.0.20220914",
3
+ "version": "0.0.20220930",
4
4
  "description": "TypeScript typings for Cloud Spanner 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: 20220914
6
+ // Revision: 20220930
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */