@google-cloud/spanner 8.10.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 (63) 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/table.d.ts +3 -2
  19. package/build/src/table.js +4 -3
  20. package/build/src/transaction-runner.d.ts +2 -1
  21. package/build/src/transaction-runner.js +6 -8
  22. package/build/src/transaction.d.ts +3 -2
  23. package/build/src/transaction.js +6 -5
  24. package/build/src/v1/index.d.ts +1 -4
  25. package/build/src/v1/index.js +5 -8
  26. package/package.json +4 -4
  27. package/build/protos/google/spanner/admin/database/v1/backup.proto +0 -773
  28. package/build/protos/google/spanner/admin/database/v1/backup_schedule.proto +0 -230
  29. package/build/protos/google/spanner/admin/database/v1/common.proto +0 -132
  30. package/build/protos/google/spanner/admin/database/v1/spanner_database_admin.proto +0 -1314
  31. package/build/protos/google/spanner/admin/instance/v1/common.proto +0 -64
  32. package/build/protos/google/spanner/admin/instance/v1/spanner_instance_admin.proto +0 -2184
  33. package/build/protos/google/spanner/executor/v1/cloud_executor.proto +0 -1604
  34. package/build/protos/google/spanner/v1/change_stream.proto +0 -451
  35. package/build/protos/google/spanner/v1/commit_response.proto +0 -80
  36. package/build/protos/google/spanner/v1/keys.proto +0 -163
  37. package/build/protos/google/spanner/v1/location.proto +0 -388
  38. package/build/protos/google/spanner/v1/mutation.proto +0 -156
  39. package/build/protos/google/spanner/v1/query_plan.proto +0 -156
  40. package/build/protos/google/spanner/v1/result_set.proto +0 -260
  41. package/build/protos/google/spanner/v1/spanner.proto +0 -1472
  42. package/build/protos/google/spanner/v1/transaction.proto +0 -329
  43. package/build/protos/google/spanner/v1/type.proto +0 -214
  44. package/build/protos/protos.d.ts +0 -44031
  45. package/build/protos/protos.js +0 -122630
  46. package/build/protos/protos.json +0 -11631
  47. package/build/src/v1/database_admin_client.d.ts +0 -2367
  48. package/build/src/v1/database_admin_client.js +0 -2914
  49. package/build/src/v1/database_admin_client_config.json +0 -169
  50. package/build/src/v1/database_admin_proto_list.json +0 -6
  51. package/build/src/v1/gapic_metadata.json +0 -27
  52. package/build/src/v1/instance_admin_client.d.ts +0 -2106
  53. package/build/src/v1/instance_admin_client.js +0 -2387
  54. package/build/src/v1/instance_admin_client_config.json +0 -129
  55. package/build/src/v1/instance_admin_proto_list.json +0 -4
  56. package/build/src/v1/spanner_client.d.ts +0 -1319
  57. package/build/src/v1/spanner_client.js +0 -1446
  58. package/build/src/v1/spanner_client_config.json +0 -123
  59. package/build/src/v1/spanner_executor_proxy_client.d.ts +0 -419
  60. package/build/src/v1/spanner_executor_proxy_client.js +0 -728
  61. package/build/src/v1/spanner_executor_proxy_client_config.json +0 -30
  62. package/build/src/v1/spanner_executor_proxy_proto_list.json +0 -15
  63. package/build/src/v1/spanner_proto_list.json +0 -12
@@ -1,169 +0,0 @@
1
- {
2
- "interfaces": {
3
- "google.spanner.admin.database.v1.DatabaseAdmin": {
4
- "retry_codes": {
5
- "non_idempotent": [],
6
- "idempotent": [
7
- "DEADLINE_EXCEEDED",
8
- "UNAVAILABLE"
9
- ]
10
- },
11
- "retry_params": {
12
- "default": {
13
- "initial_retry_delay_millis": 100,
14
- "retry_delay_multiplier": 1.3,
15
- "max_retry_delay_millis": 60000,
16
- "initial_rpc_timeout_millis": 60000,
17
- "rpc_timeout_multiplier": 1,
18
- "max_rpc_timeout_millis": 60000,
19
- "total_timeout_millis": 600000
20
- },
21
- "e9fafda332ce8a1702dc1575de3ca81c4feb4799": {
22
- "initial_retry_delay_millis": 1000,
23
- "retry_delay_multiplier": 1.3,
24
- "max_retry_delay_millis": 32000,
25
- "initial_rpc_timeout_millis": 60000,
26
- "rpc_timeout_multiplier": 1,
27
- "max_rpc_timeout_millis": 60000,
28
- "total_timeout_millis": 600000
29
- }
30
- },
31
- "methods": {
32
- "ListDatabases": {
33
- "timeout_millis": 3600000,
34
- "retry_codes_name": "idempotent",
35
- "retry_params_name": "e9fafda332ce8a1702dc1575de3ca81c4feb4799"
36
- },
37
- "CreateDatabase": {
38
- "timeout_millis": 3600000,
39
- "retry_codes_name": "non_idempotent",
40
- "retry_params_name": "default"
41
- },
42
- "GetDatabase": {
43
- "timeout_millis": 3600000,
44
- "retry_codes_name": "idempotent",
45
- "retry_params_name": "e9fafda332ce8a1702dc1575de3ca81c4feb4799"
46
- },
47
- "UpdateDatabase": {
48
- "timeout_millis": 3600000,
49
- "retry_codes_name": "idempotent",
50
- "retry_params_name": "e9fafda332ce8a1702dc1575de3ca81c4feb4799"
51
- },
52
- "UpdateDatabaseDdl": {
53
- "timeout_millis": 3600000,
54
- "retry_codes_name": "idempotent",
55
- "retry_params_name": "e9fafda332ce8a1702dc1575de3ca81c4feb4799"
56
- },
57
- "DropDatabase": {
58
- "timeout_millis": 3600000,
59
- "retry_codes_name": "idempotent",
60
- "retry_params_name": "e9fafda332ce8a1702dc1575de3ca81c4feb4799"
61
- },
62
- "GetDatabaseDdl": {
63
- "timeout_millis": 3600000,
64
- "retry_codes_name": "idempotent",
65
- "retry_params_name": "e9fafda332ce8a1702dc1575de3ca81c4feb4799"
66
- },
67
- "SetIamPolicy": {
68
- "timeout_millis": 30000,
69
- "retry_codes_name": "non_idempotent",
70
- "retry_params_name": "default"
71
- },
72
- "GetIamPolicy": {
73
- "timeout_millis": 30000,
74
- "retry_codes_name": "idempotent",
75
- "retry_params_name": "e9fafda332ce8a1702dc1575de3ca81c4feb4799"
76
- },
77
- "TestIamPermissions": {
78
- "timeout_millis": 30000,
79
- "retry_codes_name": "non_idempotent",
80
- "retry_params_name": "default"
81
- },
82
- "CreateBackup": {
83
- "timeout_millis": 3600000,
84
- "retry_codes_name": "non_idempotent",
85
- "retry_params_name": "default"
86
- },
87
- "CopyBackup": {
88
- "timeout_millis": 3600000,
89
- "retry_codes_name": "non_idempotent",
90
- "retry_params_name": "default"
91
- },
92
- "GetBackup": {
93
- "timeout_millis": 3600000,
94
- "retry_codes_name": "idempotent",
95
- "retry_params_name": "e9fafda332ce8a1702dc1575de3ca81c4feb4799"
96
- },
97
- "UpdateBackup": {
98
- "timeout_millis": 3600000,
99
- "retry_codes_name": "idempotent",
100
- "retry_params_name": "e9fafda332ce8a1702dc1575de3ca81c4feb4799"
101
- },
102
- "DeleteBackup": {
103
- "timeout_millis": 3600000,
104
- "retry_codes_name": "idempotent",
105
- "retry_params_name": "e9fafda332ce8a1702dc1575de3ca81c4feb4799"
106
- },
107
- "ListBackups": {
108
- "timeout_millis": 3600000,
109
- "retry_codes_name": "idempotent",
110
- "retry_params_name": "e9fafda332ce8a1702dc1575de3ca81c4feb4799"
111
- },
112
- "RestoreDatabase": {
113
- "timeout_millis": 3600000,
114
- "retry_codes_name": "non_idempotent",
115
- "retry_params_name": "default"
116
- },
117
- "ListDatabaseOperations": {
118
- "timeout_millis": 3600000,
119
- "retry_codes_name": "idempotent",
120
- "retry_params_name": "e9fafda332ce8a1702dc1575de3ca81c4feb4799"
121
- },
122
- "ListBackupOperations": {
123
- "timeout_millis": 3600000,
124
- "retry_codes_name": "idempotent",
125
- "retry_params_name": "e9fafda332ce8a1702dc1575de3ca81c4feb4799"
126
- },
127
- "ListDatabaseRoles": {
128
- "timeout_millis": 3600000,
129
- "retry_codes_name": "idempotent",
130
- "retry_params_name": "e9fafda332ce8a1702dc1575de3ca81c4feb4799"
131
- },
132
- "AddSplitPoints": {
133
- "timeout_millis": 3600000,
134
- "retry_codes_name": "idempotent",
135
- "retry_params_name": "e9fafda332ce8a1702dc1575de3ca81c4feb4799"
136
- },
137
- "CreateBackupSchedule": {
138
- "timeout_millis": 3600000,
139
- "retry_codes_name": "idempotent",
140
- "retry_params_name": "e9fafda332ce8a1702dc1575de3ca81c4feb4799"
141
- },
142
- "GetBackupSchedule": {
143
- "timeout_millis": 3600000,
144
- "retry_codes_name": "idempotent",
145
- "retry_params_name": "e9fafda332ce8a1702dc1575de3ca81c4feb4799"
146
- },
147
- "UpdateBackupSchedule": {
148
- "timeout_millis": 3600000,
149
- "retry_codes_name": "idempotent",
150
- "retry_params_name": "e9fafda332ce8a1702dc1575de3ca81c4feb4799"
151
- },
152
- "DeleteBackupSchedule": {
153
- "timeout_millis": 3600000,
154
- "retry_codes_name": "idempotent",
155
- "retry_params_name": "e9fafda332ce8a1702dc1575de3ca81c4feb4799"
156
- },
157
- "ListBackupSchedules": {
158
- "timeout_millis": 3600000,
159
- "retry_codes_name": "idempotent",
160
- "retry_params_name": "e9fafda332ce8a1702dc1575de3ca81c4feb4799"
161
- },
162
- "InternalUpdateGraphOperation": {
163
- "retry_codes_name": "non_idempotent",
164
- "retry_params_name": "default"
165
- }
166
- }
167
- }
168
- }
169
- }
@@ -1,6 +0,0 @@
1
- [
2
- "../../protos/google/spanner/admin/database/v1/backup.proto",
3
- "../../protos/google/spanner/admin/database/v1/backup_schedule.proto",
4
- "../../protos/google/spanner/admin/database/v1/common.proto",
5
- "../../protos/google/spanner/admin/database/v1/spanner_database_admin.proto"
6
- ]
@@ -1,27 +0,0 @@
1
- {
2
- "schema": "1.0",
3
- "comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
4
- "language": "typescript",
5
- "protoPackage": "google.spanner.executor.v1",
6
- "libraryPackage": "@google-cloud/executor",
7
- "services": {
8
- "SpannerExecutorProxy": {
9
- "clients": {
10
- "grpc": {
11
- "libraryClient": "SpannerExecutorProxyClient",
12
- "rpcs": {
13
- "ExecuteActionAsync": {
14
- "methods": [
15
- "executeActionAsync"
16
- ]
17
- }
18
- }
19
- },
20
- "grpc-fallback": {
21
- "libraryClient": "SpannerExecutorProxyClient",
22
- "rpcs": {}
23
- }
24
- }
25
- }
26
- }
27
- }