@maxim_mazurok/gapi.client.spanner-v1 0.0.20230530 → 0.0.20230705

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 +24 -8
  2. package/package.json +1 -1
  3. package/tests.ts +1 -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://spanner.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20230530
12
+ // Revision: 20230705
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -452,6 +452,20 @@ declare namespace gapi.client {
452
452
  name?:
453
453
  string;
454
454
  }
455
+ interface DdlStatementActionInfo {
456
+ /** The action for the DDL statement, e.g. CREATE, ALTER, DROP, GRANT, etc. This field is a non-empty string. */
457
+ action?:
458
+ string;
459
+ /**
460
+ * The entity name(s) being operated on the DDL statement. E.g. 1. For statement "CREATE TABLE t1(...)", `entity_names` = ["t1"]. 2. For statement "GRANT ROLE r1, r2 ...",
461
+ * `entity_names` = ["r1", "r2"]. 3. For statement "ANALYZE", `entity_names` = [].
462
+ */
463
+ entityNames?:
464
+ string[];
465
+ /** The entity type for the DDL statement, e.g. TABLE, INDEX, VIEW, etc. This field can be empty string for some DDL statement, e.g. for statement "ANALYZE", `entity_type` = "". */
466
+ entityType?:
467
+ string;
468
+ }
455
469
  interface Delete {
456
470
  /**
457
471
  * Required. The primary keys of the rows within table to delete. The primary keys must be specified in the order in which they appear in the `PRIMARY KEY()` clause of the table's
@@ -548,8 +562,8 @@ declare namespace gapi.client {
548
562
  }
549
563
  interface ExecuteSqlRequest {
550
564
  /**
551
- * If this is for a partitioned query and this field is set to `true`, the request will be executed via Spanner independent compute resources. If the field is set to `true` but the
552
- * request does not set `partition_token`, the API will return an `INVALID_ARGUMENT` error.
565
+ * If this is for a partitioned query and this field is set to `true`, the request is executed with Spanner Data Boost independent compute resources. If the field is set to `true` but
566
+ * the request does not set `partition_token`, the API returns an `INVALID_ARGUMENT` error.
553
567
  */
554
568
  dataBoostEnabled?:
555
569
  boolean;
@@ -1393,8 +1407,8 @@ declare namespace gapi.client {
1393
1407
  columns?:
1394
1408
  string[];
1395
1409
  /**
1396
- * If this is for a partitioned read and this field is set to `true`, the request will be executed via Spanner independent compute resources. If the field is set to `true` but the
1397
- * request does not set `partition_token`, the API will return an `INVALID_ARGUMENT` error.
1410
+ * If this is for a partitioned read and this field is set to `true`, the request is executed with Spanner Data Boost independent compute resources. If the field is set to `true` but
1411
+ * the request does not set `partition_token`, the API returns an `INVALID_ARGUMENT` error.
1398
1412
  */
1399
1413
  dataBoostEnabled?:
1400
1414
  boolean;
@@ -1777,6 +1791,9 @@ declare namespace gapi.client {
1777
1791
  string;
1778
1792
  }
1779
1793
  interface UpdateDatabaseDdlMetadata {
1794
+ /** The brief action info for the DDL statements. `actions[i]` is the brief info for `statements[i]`. */
1795
+ actions?:
1796
+ DdlStatementActionInfo[];
1780
1797
  /** Reports the commit timestamps of all statements that have succeeded so far, where `commit_timestamps[i]` is the commit timestamp for the statement `statements[i]`. */
1781
1798
  commitTimestamps?:
1782
1799
  string[];
@@ -1784,9 +1801,8 @@ declare namespace gapi.client {
1784
1801
  database?:
1785
1802
  string;
1786
1803
  /**
1787
- * The progress of the UpdateDatabaseDdl operations. Currently, only index creation statements will have a continuously updating progress. For non-index creation statements,
1788
- * `progress[i]` will have start time and end time populated with commit timestamp of operation, as well as a progress of 100% once the operation has completed. `progress[i]` is the
1789
- * operation progress for `statements[i]`.
1804
+ * The progress of the UpdateDatabaseDdl operations. All DDL statements will have continuously updating progress, and `progress[i]` is the operation progress for `statements[i]`. Also,
1805
+ * `progress[i]` will have start time and end time populated with commit timestamp of operation, as well as a progress of 100% once the operation has completed.
1790
1806
  */
1791
1807
  progress?:
1792
1808
  OperationProgress[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.spanner-v1",
3
- "version": "0.0.20230530",
3
+ "version": "0.0.20230705",
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: 20230530
6
+ // Revision: 20230705
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */