@google-cloud/spanner-api 0.2.0 → 0.3.0
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/build/protos/protos.d.ts +500 -1
- package/build/protos/protos.js +1 -1
- package/build/protos/protos.json +1 -1
- package/build/src/index.js.map +1 -1
- package/build/src/v1/gapic_metadata.json +68 -144
- package/build/src/v1/index.js +2 -2
- package/build/src/v1/index.js.map +1 -1
- package/package.json +7 -7
package/build/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,kDAAkD;AAClD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AACjC,EAAE;AACF,2DAA2D;AAC3D,gDAAgD;AAChD,qDAAqD;;;AAErD,2BAA2B;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,kDAAkD;AAClD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AACjC,EAAE;AACF,2DAA2D;AAC3D,gDAAgD;AAChD,qDAAqD;;;AAErD,2BAA2B;AAWnB,gBAAE;AATV,MAAM,mBAAmB,GAAG,EAAE,CAAC,mBAAmB,CAAC;AASvC,kDAAmB;AAP/B,MAAM,mBAAmB,GAAG,EAAE,CAAC,mBAAmB,CAAC;AAOlB,kDAAmB;AALpD,MAAM,aAAa,GAAG,EAAE,CAAC,aAAa,CAAC;AAKe,sCAAa;AAHnE,MAAM,0BAA0B,GAAG,EAAE,CAAC,0BAA0B,CAAC;AAGI,gEAA0B;AAC/F,kBAAe,EAAC,EAAE,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,aAAa,EAAE,0BAA0B,EAAC,CAAC;AACzG,2CAA2C;AACnC,wBAAM"}
|
|
@@ -2,247 +2,171 @@
|
|
|
2
2
|
"schema": "1.0",
|
|
3
3
|
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
|
|
4
4
|
"language": "typescript",
|
|
5
|
-
"protoPackage": "google.spanner.
|
|
5
|
+
"protoPackage": "google.spanner.v1",
|
|
6
6
|
"libraryPackage": "@google-cloud/spanner-api",
|
|
7
7
|
"services": {
|
|
8
|
-
"
|
|
8
|
+
"Spanner": {
|
|
9
9
|
"clients": {
|
|
10
10
|
"grpc": {
|
|
11
|
-
"libraryClient": "
|
|
11
|
+
"libraryClient": "SpannerClient",
|
|
12
12
|
"rpcs": {
|
|
13
|
-
"
|
|
13
|
+
"CreateSession": {
|
|
14
14
|
"methods": [
|
|
15
|
-
"
|
|
15
|
+
"createSession"
|
|
16
16
|
]
|
|
17
17
|
},
|
|
18
|
-
"
|
|
18
|
+
"BatchCreateSessions": {
|
|
19
19
|
"methods": [
|
|
20
|
-
"
|
|
20
|
+
"batchCreateSessions"
|
|
21
21
|
]
|
|
22
22
|
},
|
|
23
|
-
"
|
|
23
|
+
"GetSession": {
|
|
24
24
|
"methods": [
|
|
25
|
-
"
|
|
25
|
+
"getSession"
|
|
26
26
|
]
|
|
27
27
|
},
|
|
28
|
-
"
|
|
28
|
+
"DeleteSession": {
|
|
29
29
|
"methods": [
|
|
30
|
-
"
|
|
30
|
+
"deleteSession"
|
|
31
31
|
]
|
|
32
32
|
},
|
|
33
|
-
"
|
|
33
|
+
"ExecuteSql": {
|
|
34
34
|
"methods": [
|
|
35
|
-
"
|
|
35
|
+
"executeSql"
|
|
36
36
|
]
|
|
37
37
|
},
|
|
38
|
-
"
|
|
38
|
+
"ExecuteBatchDml": {
|
|
39
39
|
"methods": [
|
|
40
|
-
"
|
|
40
|
+
"executeBatchDml"
|
|
41
41
|
]
|
|
42
42
|
},
|
|
43
|
-
"
|
|
43
|
+
"Read": {
|
|
44
44
|
"methods": [
|
|
45
|
-
"
|
|
45
|
+
"read"
|
|
46
46
|
]
|
|
47
47
|
},
|
|
48
|
-
"
|
|
48
|
+
"BeginTransaction": {
|
|
49
49
|
"methods": [
|
|
50
|
-
"
|
|
50
|
+
"beginTransaction"
|
|
51
51
|
]
|
|
52
52
|
},
|
|
53
|
-
"
|
|
53
|
+
"Commit": {
|
|
54
54
|
"methods": [
|
|
55
|
-
"
|
|
55
|
+
"commit"
|
|
56
56
|
]
|
|
57
57
|
},
|
|
58
|
-
"
|
|
58
|
+
"Rollback": {
|
|
59
59
|
"methods": [
|
|
60
|
-
"
|
|
60
|
+
"rollback"
|
|
61
61
|
]
|
|
62
62
|
},
|
|
63
|
-
"
|
|
63
|
+
"PartitionQuery": {
|
|
64
64
|
"methods": [
|
|
65
|
-
"
|
|
65
|
+
"partitionQuery"
|
|
66
66
|
]
|
|
67
67
|
},
|
|
68
|
-
"
|
|
68
|
+
"PartitionRead": {
|
|
69
69
|
"methods": [
|
|
70
|
-
"
|
|
70
|
+
"partitionRead"
|
|
71
71
|
]
|
|
72
72
|
},
|
|
73
|
-
"
|
|
73
|
+
"ExecuteStreamingSql": {
|
|
74
74
|
"methods": [
|
|
75
|
-
"
|
|
75
|
+
"executeStreamingSql"
|
|
76
76
|
]
|
|
77
77
|
},
|
|
78
|
-
"
|
|
78
|
+
"StreamingRead": {
|
|
79
79
|
"methods": [
|
|
80
|
-
"
|
|
80
|
+
"streamingRead"
|
|
81
81
|
]
|
|
82
82
|
},
|
|
83
|
-
"
|
|
83
|
+
"BatchWrite": {
|
|
84
84
|
"methods": [
|
|
85
|
-
"
|
|
85
|
+
"batchWrite"
|
|
86
86
|
]
|
|
87
87
|
},
|
|
88
|
-
"
|
|
88
|
+
"FetchCacheUpdate": {
|
|
89
89
|
"methods": [
|
|
90
|
-
"
|
|
90
|
+
"fetchCacheUpdate"
|
|
91
91
|
]
|
|
92
92
|
},
|
|
93
|
-
"
|
|
93
|
+
"ListSessions": {
|
|
94
94
|
"methods": [
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
"
|
|
98
|
-
]
|
|
99
|
-
},
|
|
100
|
-
"ListInstanceConfigOperations": {
|
|
101
|
-
"methods": [
|
|
102
|
-
"listInstanceConfigOperations",
|
|
103
|
-
"listInstanceConfigOperationsStream",
|
|
104
|
-
"listInstanceConfigOperationsAsync"
|
|
105
|
-
]
|
|
106
|
-
},
|
|
107
|
-
"ListInstances": {
|
|
108
|
-
"methods": [
|
|
109
|
-
"listInstances",
|
|
110
|
-
"listInstancesStream",
|
|
111
|
-
"listInstancesAsync"
|
|
112
|
-
]
|
|
113
|
-
},
|
|
114
|
-
"ListInstancePartitions": {
|
|
115
|
-
"methods": [
|
|
116
|
-
"listInstancePartitions",
|
|
117
|
-
"listInstancePartitionsStream",
|
|
118
|
-
"listInstancePartitionsAsync"
|
|
119
|
-
]
|
|
120
|
-
},
|
|
121
|
-
"ListInstancePartitionOperations": {
|
|
122
|
-
"methods": [
|
|
123
|
-
"listInstancePartitionOperations",
|
|
124
|
-
"listInstancePartitionOperationsStream",
|
|
125
|
-
"listInstancePartitionOperationsAsync"
|
|
95
|
+
"listSessions",
|
|
96
|
+
"listSessionsStream",
|
|
97
|
+
"listSessionsAsync"
|
|
126
98
|
]
|
|
127
99
|
}
|
|
128
100
|
}
|
|
129
101
|
},
|
|
130
102
|
"grpc-fallback": {
|
|
131
|
-
"libraryClient": "
|
|
103
|
+
"libraryClient": "SpannerClient",
|
|
132
104
|
"rpcs": {
|
|
133
|
-
"
|
|
134
|
-
"methods": [
|
|
135
|
-
"getInstanceConfig"
|
|
136
|
-
]
|
|
137
|
-
},
|
|
138
|
-
"DeleteInstanceConfig": {
|
|
139
|
-
"methods": [
|
|
140
|
-
"deleteInstanceConfig"
|
|
141
|
-
]
|
|
142
|
-
},
|
|
143
|
-
"GetInstance": {
|
|
144
|
-
"methods": [
|
|
145
|
-
"getInstance"
|
|
146
|
-
]
|
|
147
|
-
},
|
|
148
|
-
"DeleteInstance": {
|
|
149
|
-
"methods": [
|
|
150
|
-
"deleteInstance"
|
|
151
|
-
]
|
|
152
|
-
},
|
|
153
|
-
"SetIamPolicy": {
|
|
154
|
-
"methods": [
|
|
155
|
-
"setIamPolicy"
|
|
156
|
-
]
|
|
157
|
-
},
|
|
158
|
-
"GetIamPolicy": {
|
|
159
|
-
"methods": [
|
|
160
|
-
"getIamPolicy"
|
|
161
|
-
]
|
|
162
|
-
},
|
|
163
|
-
"TestIamPermissions": {
|
|
164
|
-
"methods": [
|
|
165
|
-
"testIamPermissions"
|
|
166
|
-
]
|
|
167
|
-
},
|
|
168
|
-
"GetInstancePartition": {
|
|
169
|
-
"methods": [
|
|
170
|
-
"getInstancePartition"
|
|
171
|
-
]
|
|
172
|
-
},
|
|
173
|
-
"DeleteInstancePartition": {
|
|
105
|
+
"CreateSession": {
|
|
174
106
|
"methods": [
|
|
175
|
-
"
|
|
107
|
+
"createSession"
|
|
176
108
|
]
|
|
177
109
|
},
|
|
178
|
-
"
|
|
110
|
+
"BatchCreateSessions": {
|
|
179
111
|
"methods": [
|
|
180
|
-
"
|
|
112
|
+
"batchCreateSessions"
|
|
181
113
|
]
|
|
182
114
|
},
|
|
183
|
-
"
|
|
115
|
+
"GetSession": {
|
|
184
116
|
"methods": [
|
|
185
|
-
"
|
|
117
|
+
"getSession"
|
|
186
118
|
]
|
|
187
119
|
},
|
|
188
|
-
"
|
|
120
|
+
"DeleteSession": {
|
|
189
121
|
"methods": [
|
|
190
|
-
"
|
|
122
|
+
"deleteSession"
|
|
191
123
|
]
|
|
192
124
|
},
|
|
193
|
-
"
|
|
125
|
+
"ExecuteSql": {
|
|
194
126
|
"methods": [
|
|
195
|
-
"
|
|
127
|
+
"executeSql"
|
|
196
128
|
]
|
|
197
129
|
},
|
|
198
|
-
"
|
|
130
|
+
"ExecuteBatchDml": {
|
|
199
131
|
"methods": [
|
|
200
|
-
"
|
|
132
|
+
"executeBatchDml"
|
|
201
133
|
]
|
|
202
134
|
},
|
|
203
|
-
"
|
|
135
|
+
"Read": {
|
|
204
136
|
"methods": [
|
|
205
|
-
"
|
|
137
|
+
"read"
|
|
206
138
|
]
|
|
207
139
|
},
|
|
208
|
-
"
|
|
140
|
+
"BeginTransaction": {
|
|
209
141
|
"methods": [
|
|
210
|
-
"
|
|
142
|
+
"beginTransaction"
|
|
211
143
|
]
|
|
212
144
|
},
|
|
213
|
-
"
|
|
145
|
+
"Commit": {
|
|
214
146
|
"methods": [
|
|
215
|
-
"
|
|
216
|
-
"listInstanceConfigsStream",
|
|
217
|
-
"listInstanceConfigsAsync"
|
|
147
|
+
"commit"
|
|
218
148
|
]
|
|
219
149
|
},
|
|
220
|
-
"
|
|
150
|
+
"Rollback": {
|
|
221
151
|
"methods": [
|
|
222
|
-
"
|
|
223
|
-
"listInstanceConfigOperationsStream",
|
|
224
|
-
"listInstanceConfigOperationsAsync"
|
|
152
|
+
"rollback"
|
|
225
153
|
]
|
|
226
154
|
},
|
|
227
|
-
"
|
|
155
|
+
"PartitionQuery": {
|
|
228
156
|
"methods": [
|
|
229
|
-
"
|
|
230
|
-
"listInstancesStream",
|
|
231
|
-
"listInstancesAsync"
|
|
157
|
+
"partitionQuery"
|
|
232
158
|
]
|
|
233
159
|
},
|
|
234
|
-
"
|
|
160
|
+
"PartitionRead": {
|
|
235
161
|
"methods": [
|
|
236
|
-
"
|
|
237
|
-
"listInstancePartitionsStream",
|
|
238
|
-
"listInstancePartitionsAsync"
|
|
162
|
+
"partitionRead"
|
|
239
163
|
]
|
|
240
164
|
},
|
|
241
|
-
"
|
|
165
|
+
"ListSessions": {
|
|
242
166
|
"methods": [
|
|
243
|
-
"
|
|
244
|
-
"
|
|
245
|
-
"
|
|
167
|
+
"listSessions",
|
|
168
|
+
"listSessionsStream",
|
|
169
|
+
"listSessionsAsync"
|
|
246
170
|
]
|
|
247
171
|
}
|
|
248
172
|
}
|
package/build/src/v1/index.js
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SpannerExecutorProxyClient = exports.SpannerClient = exports.InstanceAdminClient = exports.DatabaseAdminClient = void 0;
|
|
2
4
|
// Copyright 2026 Google LLC
|
|
3
5
|
//
|
|
4
6
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -16,8 +18,6 @@
|
|
|
16
18
|
// ** This file is automatically generated by gapic-generator-typescript. **
|
|
17
19
|
// ** https://github.com/googleapis/gapic-generator-typescript **
|
|
18
20
|
// ** All changes to this file may be overwritten. **
|
|
19
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
|
-
exports.SpannerExecutorProxyClient = exports.SpannerClient = exports.InstanceAdminClient = exports.DatabaseAdminClient = void 0;
|
|
21
21
|
var database_admin_client_1 = require("./database_admin_client");
|
|
22
22
|
Object.defineProperty(exports, "DatabaseAdminClient", { enumerable: true, get: function () { return database_admin_client_1.DatabaseAdminClient; } });
|
|
23
23
|
var instance_admin_client_1 = require("./instance_admin_client");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/v1/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/v1/index.ts"],"names":[],"mappings":";;;AAAA,4BAA4B;AAC5B,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,kDAAkD;AAClD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AACjC,EAAE;AACF,4EAA4E;AAC5E,iEAAiE;AACjE,qDAAqD;AACrD,iEAA4D;AAApD,4HAAA,mBAAmB,OAAA;AAC3B,iEAA4D;AAApD,4HAAA,mBAAmB,OAAA;AAC3B,mDAA+C;AAAvC,+GAAA,aAAa,OAAA;AACrB,iFAA2E;AAAnE,2IAAA,0BAA0B,OAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@google-cloud/spanner-api",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "Cloud Spanner API client for Node.js",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -40,26 +40,26 @@
|
|
|
40
40
|
"test": "c8 mocha --config ../../.mocharc.cjs build/test"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"google-gax": "^
|
|
43
|
+
"google-gax": "^6.0.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@types/mocha": "^10.0.10",
|
|
47
47
|
"@types/node": "^22.18.12",
|
|
48
48
|
"@types/sinon": "^20.0.0",
|
|
49
49
|
"c8": "^10.1.3",
|
|
50
|
-
"gapic-tools": "^
|
|
50
|
+
"gapic-tools": "^2.0.0",
|
|
51
51
|
"gts": "^6.0.2",
|
|
52
52
|
"jsdoc": "^4.0.5",
|
|
53
|
-
"jsdoc-fresh": "^
|
|
54
|
-
"jsdoc-region-tag": "^
|
|
53
|
+
"jsdoc-fresh": "^6.0.0",
|
|
54
|
+
"jsdoc-region-tag": "^5.0.0",
|
|
55
55
|
"long": "^5.3.2",
|
|
56
56
|
"mocha": "^11.7.4",
|
|
57
|
-
"pack-n-play": "^
|
|
57
|
+
"pack-n-play": "^5.0.0",
|
|
58
58
|
"typescript": "5.8.3",
|
|
59
59
|
"sinon": "^20.0.0"
|
|
60
60
|
},
|
|
61
61
|
"engines": {
|
|
62
|
-
"node": ">=
|
|
62
|
+
"node": ">=22"
|
|
63
63
|
},
|
|
64
64
|
"types": "build/src/index.d.ts"
|
|
65
65
|
}
|