@google-cloud/spanner-api 0.1.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.
Files changed (49) hide show
  1. package/README.md +111 -0
  2. package/build/protos/google/spanner/admin/database/v1/backup.proto +773 -0
  3. package/build/protos/google/spanner/admin/database/v1/backup_schedule.proto +230 -0
  4. package/build/protos/google/spanner/admin/database/v1/common.proto +132 -0
  5. package/build/protos/google/spanner/admin/database/v1/spanner_database_admin.proto +1314 -0
  6. package/build/protos/google/spanner/admin/instance/v1/common.proto +64 -0
  7. package/build/protos/google/spanner/admin/instance/v1/spanner_instance_admin.proto +2184 -0
  8. package/build/protos/google/spanner/executor/v1/cloud_executor.proto +1610 -0
  9. package/build/protos/google/spanner/v1/change_stream.proto +451 -0
  10. package/build/protos/google/spanner/v1/commit_response.proto +80 -0
  11. package/build/protos/google/spanner/v1/keys.proto +163 -0
  12. package/build/protos/google/spanner/v1/location.proto +388 -0
  13. package/build/protos/google/spanner/v1/mutation.proto +156 -0
  14. package/build/protos/google/spanner/v1/query_plan.proto +156 -0
  15. package/build/protos/google/spanner/v1/result_set.proto +260 -0
  16. package/build/protos/google/spanner/v1/spanner.proto +1472 -0
  17. package/build/protos/google/spanner/v1/transaction.proto +329 -0
  18. package/build/protos/google/spanner/v1/type.proto +214 -0
  19. package/build/protos/protos.d.ts +42547 -0
  20. package/build/protos/protos.js +1 -0
  21. package/build/protos/protos.json +1 -0
  22. package/build/src/index.d.ts +20 -0
  23. package/build/src/index.js +34 -0
  24. package/build/src/index.js.map +1 -0
  25. package/build/src/v1/database_admin_client.d.ts +2433 -0
  26. package/build/src/v1/database_admin_client.js +2938 -0
  27. package/build/src/v1/database_admin_client.js.map +1 -0
  28. package/build/src/v1/database_admin_client_config.json +169 -0
  29. package/build/src/v1/database_admin_proto_list.json +6 -0
  30. package/build/src/v1/gapic_metadata.json +253 -0
  31. package/build/src/v1/index.d.ts +4 -0
  32. package/build/src/v1/index.js +29 -0
  33. package/build/src/v1/index.js.map +1 -0
  34. package/build/src/v1/instance_admin_client.d.ts +2162 -0
  35. package/build/src/v1/instance_admin_client.js +2411 -0
  36. package/build/src/v1/instance_admin_client.js.map +1 -0
  37. package/build/src/v1/instance_admin_client_config.json +129 -0
  38. package/build/src/v1/instance_admin_proto_list.json +4 -0
  39. package/build/src/v1/spanner_client.d.ts +1353 -0
  40. package/build/src/v1/spanner_client.js +1456 -0
  41. package/build/src/v1/spanner_client.js.map +1 -0
  42. package/build/src/v1/spanner_client_config.json +123 -0
  43. package/build/src/v1/spanner_executor_proxy_client.d.ts +419 -0
  44. package/build/src/v1/spanner_executor_proxy_client.js +730 -0
  45. package/build/src/v1/spanner_executor_proxy_client.js.map +1 -0
  46. package/build/src/v1/spanner_executor_proxy_client_config.json +30 -0
  47. package/build/src/v1/spanner_executor_proxy_proto_list.json +15 -0
  48. package/build/src/v1/spanner_proto_list.json +12 -0
  49. package/package.json +65 -0
@@ -0,0 +1,20 @@
1
+ import * as v1 from './v1';
2
+ declare const DatabaseAdminClient: typeof v1.DatabaseAdminClient;
3
+ type DatabaseAdminClient = v1.DatabaseAdminClient;
4
+ declare const InstanceAdminClient: typeof v1.InstanceAdminClient;
5
+ type InstanceAdminClient = v1.InstanceAdminClient;
6
+ declare const SpannerClient: typeof v1.SpannerClient;
7
+ type SpannerClient = v1.SpannerClient;
8
+ declare const SpannerExecutorProxyClient: typeof v1.SpannerExecutorProxyClient;
9
+ type SpannerExecutorProxyClient = v1.SpannerExecutorProxyClient;
10
+ export { v1, DatabaseAdminClient, InstanceAdminClient, SpannerClient, SpannerExecutorProxyClient };
11
+ declare const _default: {
12
+ v1: typeof v1;
13
+ DatabaseAdminClient: typeof v1.DatabaseAdminClient;
14
+ InstanceAdminClient: typeof v1.InstanceAdminClient;
15
+ SpannerClient: typeof v1.SpannerClient;
16
+ SpannerExecutorProxyClient: typeof v1.SpannerExecutorProxyClient;
17
+ };
18
+ export default _default;
19
+ import * as protos from '../protos/protos';
20
+ export { protos };
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ // Copyright 2026 Google LLC
3
+ //
4
+ // Licensed under the Apache License, Version 2.0 (the "License");
5
+ // you may not use this file except in compliance with the License.
6
+ // You may obtain a copy of the License at
7
+ //
8
+ // https://www.apache.org/licenses/LICENSE-2.0
9
+ //
10
+ // Unless required by applicable law or agreed to in writing, software
11
+ // distributed under the License is distributed on an "AS IS" BASIS,
12
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ // See the License for the specific language governing permissions and
14
+ // limitations under the License.
15
+ //
16
+ // ** This file is automatically generated by synthtool. **
17
+ // ** https://github.com/googleapis/synthtool **
18
+ // ** All changes to this file may be overwritten. **
19
+ Object.defineProperty(exports, "__esModule", { value: true });
20
+ exports.protos = exports.SpannerExecutorProxyClient = exports.SpannerClient = exports.InstanceAdminClient = exports.DatabaseAdminClient = exports.v1 = void 0;
21
+ const v1 = require("./v1");
22
+ exports.v1 = v1;
23
+ const DatabaseAdminClient = v1.DatabaseAdminClient;
24
+ exports.DatabaseAdminClient = DatabaseAdminClient;
25
+ const InstanceAdminClient = v1.InstanceAdminClient;
26
+ exports.InstanceAdminClient = InstanceAdminClient;
27
+ const SpannerClient = v1.SpannerClient;
28
+ exports.SpannerClient = SpannerClient;
29
+ const SpannerExecutorProxyClient = v1.SpannerExecutorProxyClient;
30
+ exports.SpannerExecutorProxyClient = SpannerExecutorProxyClient;
31
+ exports.default = { v1, DatabaseAdminClient, InstanceAdminClient, SpannerClient, SpannerExecutorProxyClient };
32
+ const protos = require("../protos/protos");
33
+ exports.protos = protos;
34
+ //# sourceMappingURL=index.js.map
@@ -0,0 +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;AAUnB,gBAAE;AARV,MAAM,mBAAmB,GAAG,EAAE,CAAC,mBAAmB,CAAC;AAQvC,kDAAmB;AAN/B,MAAM,mBAAmB,GAAG,EAAE,CAAC,mBAAmB,CAAC;AAMlB,kDAAmB;AAJpD,MAAM,aAAa,GAAG,EAAE,CAAC,aAAa,CAAC;AAIe,sCAAa;AAFnE,MAAM,0BAA0B,GAAG,EAAE,CAAC,0BAA0B,CAAC;AAEI,gEAA0B;AAC/F,kBAAe,EAAC,EAAE,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,aAAa,EAAE,0BAA0B,EAAC,CAAC;AACzG,2CAA2C;AACnC,wBAAM"}