@google-cloud/spanner 8.9.0 → 8.11.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 (64) hide show
  1. package/build/protos/status.json +243 -0
  2. package/build/src/backup.d.ts +2 -1
  3. package/build/src/batch-transaction.d.ts +2 -1
  4. package/build/src/codec.d.ts +2 -1
  5. package/build/src/codec.js +21 -20
  6. package/build/src/common.d.ts +3 -2
  7. package/build/src/database.d.ts +5 -2
  8. package/build/src/index.d.ts +3 -2
  9. package/build/src/index.js +7 -16
  10. package/build/src/instance-config.d.ts +2 -1
  11. package/build/src/instance.d.ts +4 -3
  12. package/build/src/instance.js +3 -2
  13. package/build/src/partial-result-stream.d.ts +2 -1
  14. package/build/src/partial-result-stream.js +5 -4
  15. package/build/src/protos.d.ts +21 -0
  16. package/build/src/protos.js +52 -0
  17. package/build/src/session.d.ts +2 -1
  18. package/build/src/spanner_grpc_config.json +1 -1
  19. package/build/src/table.d.ts +3 -2
  20. package/build/src/table.js +4 -3
  21. package/build/src/transaction-runner.d.ts +2 -1
  22. package/build/src/transaction-runner.js +6 -8
  23. package/build/src/transaction.d.ts +3 -2
  24. package/build/src/transaction.js +6 -5
  25. package/build/src/v1/index.d.ts +1 -4
  26. package/build/src/v1/index.js +5 -8
  27. package/package.json +8 -6
  28. package/build/protos/google/spanner/admin/database/v1/backup.proto +0 -773
  29. package/build/protos/google/spanner/admin/database/v1/backup_schedule.proto +0 -230
  30. package/build/protos/google/spanner/admin/database/v1/common.proto +0 -132
  31. package/build/protos/google/spanner/admin/database/v1/spanner_database_admin.proto +0 -1314
  32. package/build/protos/google/spanner/admin/instance/v1/common.proto +0 -64
  33. package/build/protos/google/spanner/admin/instance/v1/spanner_instance_admin.proto +0 -2184
  34. package/build/protos/google/spanner/executor/v1/cloud_executor.proto +0 -1604
  35. package/build/protos/google/spanner/v1/change_stream.proto +0 -451
  36. package/build/protos/google/spanner/v1/commit_response.proto +0 -80
  37. package/build/protos/google/spanner/v1/keys.proto +0 -163
  38. package/build/protos/google/spanner/v1/location.proto +0 -388
  39. package/build/protos/google/spanner/v1/mutation.proto +0 -156
  40. package/build/protos/google/spanner/v1/query_plan.proto +0 -156
  41. package/build/protos/google/spanner/v1/result_set.proto +0 -260
  42. package/build/protos/google/spanner/v1/spanner.proto +0 -1472
  43. package/build/protos/google/spanner/v1/transaction.proto +0 -329
  44. package/build/protos/google/spanner/v1/type.proto +0 -214
  45. package/build/protos/protos.d.ts +0 -44031
  46. package/build/protos/protos.js +0 -122630
  47. package/build/protos/protos.json +0 -11631
  48. package/build/src/v1/database_admin_client.d.ts +0 -2367
  49. package/build/src/v1/database_admin_client.js +0 -2914
  50. package/build/src/v1/database_admin_client_config.json +0 -169
  51. package/build/src/v1/database_admin_proto_list.json +0 -6
  52. package/build/src/v1/gapic_metadata.json +0 -27
  53. package/build/src/v1/instance_admin_client.d.ts +0 -2106
  54. package/build/src/v1/instance_admin_client.js +0 -2387
  55. package/build/src/v1/instance_admin_client_config.json +0 -129
  56. package/build/src/v1/instance_admin_proto_list.json +0 -4
  57. package/build/src/v1/spanner_client.d.ts +0 -1319
  58. package/build/src/v1/spanner_client.js +0 -1446
  59. package/build/src/v1/spanner_client_config.json +0 -123
  60. package/build/src/v1/spanner_executor_proxy_client.d.ts +0 -419
  61. package/build/src/v1/spanner_executor_proxy_client.js +0 -728
  62. package/build/src/v1/spanner_executor_proxy_client_config.json +0 -30
  63. package/build/src/v1/spanner_executor_proxy_proto_list.json +0 -15
  64. package/build/src/v1/spanner_proto_list.json +0 -12
@@ -1,64 +0,0 @@
1
- // Copyright 2025 Google LLC
2
- //
3
- // Licensed under the Apache License, Version 2.0 (the "License");
4
- // you may not use this file except in compliance with the License.
5
- // You may obtain a copy of the License at
6
- //
7
- // http://www.apache.org/licenses/LICENSE-2.0
8
- //
9
- // Unless required by applicable law or agreed to in writing, software
10
- // distributed under the License is distributed on an "AS IS" BASIS,
11
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- // See the License for the specific language governing permissions and
13
- // limitations under the License.
14
-
15
- syntax = "proto3";
16
-
17
- package google.spanner.admin.instance.v1;
18
-
19
- import "google/api/field_behavior.proto";
20
- import "google/api/resource.proto";
21
- import "google/protobuf/timestamp.proto";
22
-
23
- option csharp_namespace = "Google.Cloud.Spanner.Admin.Instance.V1";
24
- option go_package = "cloud.google.com/go/spanner/admin/instance/apiv1/instancepb;instancepb";
25
- option java_multiple_files = true;
26
- option java_outer_classname = "CommonProto";
27
- option java_package = "com.google.spanner.admin.instance.v1";
28
- option php_namespace = "Google\\Cloud\\Spanner\\Admin\\Instance\\V1";
29
- option ruby_package = "Google::Cloud::Spanner::Admin::Instance::V1";
30
-
31
- // Encapsulates progress related information for a Cloud Spanner long
32
- // running instance operations.
33
- message OperationProgress {
34
- // Percent completion of the operation.
35
- // Values are between 0 and 100 inclusive.
36
- int32 progress_percent = 1;
37
-
38
- // Time the request was received.
39
- google.protobuf.Timestamp start_time = 2;
40
-
41
- // If set, the time at which this operation failed or was completed
42
- // successfully.
43
- google.protobuf.Timestamp end_time = 3;
44
- }
45
-
46
- // Indicates the expected fulfillment period of an operation.
47
- enum FulfillmentPeriod {
48
- // Not specified.
49
- FULFILLMENT_PERIOD_UNSPECIFIED = 0;
50
-
51
- // Normal fulfillment period. The operation is expected to complete within
52
- // minutes.
53
- FULFILLMENT_PERIOD_NORMAL = 1;
54
-
55
- // Extended fulfillment period. It can take up to an hour for the operation
56
- // to complete.
57
- FULFILLMENT_PERIOD_EXTENDED = 2;
58
- }
59
-
60
- // ReplicaSelection identifies replicas with common properties.
61
- message ReplicaSelection {
62
- // Required. Name of the location of the replicas (e.g., "us-central1").
63
- string location = 1 [(google.api.field_behavior) = REQUIRED];
64
- }