@maxim_mazurok/gapi.client.spanner-v1 0.0.20230530 → 0.0.20230614
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.
- package/index.d.ts +20 -4
- package/package.json +1 -1
- 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:
|
|
12
|
+
// Revision: 20230614
|
|
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
|
|
@@ -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.
|
|
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.
|
|
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
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:
|
|
6
|
+
// Revision: 20230614
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|