@google-cloud/spanner 7.18.0 → 7.18.1
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/CHANGELOG.md +7 -0
- package/README.md +1 -0
- package/build/protos/google/spanner/admin/database/v1/backup.proto +757 -0
- package/build/protos/google/spanner/admin/database/v1/backup_schedule.proto +230 -0
- package/build/protos/google/spanner/admin/database/v1/common.proto +132 -0
- package/build/protos/google/spanner/admin/database/v1/spanner_database_admin.proto +1209 -0
- package/build/protos/google/spanner/admin/instance/v1/common.proto +64 -0
- package/build/protos/google/spanner/admin/instance/v1/spanner_instance_admin.proto +2110 -0
- package/build/protos/google/spanner/executor/v1/cloud_executor.proto +1520 -0
- package/build/protos/google/spanner/v1/commit_response.proto +59 -0
- package/build/protos/google/spanner/v1/keys.proto +163 -0
- package/build/protos/google/spanner/v1/mutation.proto +107 -0
- package/build/protos/google/spanner/v1/query_plan.proto +128 -0
- package/build/protos/google/spanner/v1/result_set.proto +237 -0
- package/build/protos/google/spanner/v1/spanner.proto +1389 -0
- package/build/protos/google/spanner/v1/transaction.proto +575 -0
- package/build/protos/google/spanner/v1/type.proto +214 -0
- package/build/protos/protos.d.ts +39317 -0
- package/build/protos/protos.js +100360 -0
- package/build/protos/protos.json +10271 -0
- package/build/src/backup.d.ts +349 -0
- package/build/src/backup.js +246 -0
- package/build/src/batch-transaction.d.ts +247 -0
- package/build/src/batch-transaction.js +384 -0
- package/build/src/codec.d.ts +362 -0
- package/build/src/codec.js +791 -0
- package/build/src/common-grpc/service-object.d.ts +80 -0
- package/build/src/common-grpc/service-object.js +101 -0
- package/build/src/common-grpc/service.d.ts +445 -0
- package/build/src/common-grpc/service.js +826 -0
- package/build/src/common.d.ts +66 -0
- package/build/src/common.js +54 -0
- package/build/src/database.d.ts +2103 -0
- package/build/src/database.js +1655 -0
- package/build/src/extra_proto_list.json +1 -0
- package/build/src/helper.d.ts +45 -0
- package/build/src/helper.js +71 -0
- package/build/src/index.d.ts +1195 -0
- package/build/src/index.js +1059 -0
- package/build/src/instance-config.d.ts +294 -0
- package/build/src/instance-config.js +216 -0
- package/build/src/instance.d.ts +832 -0
- package/build/src/instance.js +781 -0
- package/build/src/instrument.d.ts +85 -0
- package/build/src/instrument.js +215 -0
- package/build/src/multiplexed-session.d.ts +136 -0
- package/build/src/multiplexed-session.js +197 -0
- package/build/src/partial-result-stream.d.ts +253 -0
- package/build/src/partial-result-stream.js +400 -0
- package/build/src/session-factory.d.ts +100 -0
- package/build/src/session-factory.js +93 -0
- package/build/src/session-pool.d.ts +471 -0
- package/build/src/session-pool.js +754 -0
- package/build/src/session.d.ts +258 -0
- package/build/src/session.js +348 -0
- package/build/src/spanner_grpc_config.json +92 -0
- package/build/src/table.d.ts +831 -0
- package/build/src/table.js +277 -0
- package/build/src/transaction-runner.d.ts +185 -0
- package/build/src/transaction-runner.js +282 -0
- package/build/src/transaction.d.ts +1691 -0
- package/build/src/transaction.js +2004 -0
- package/build/src/v1/database_admin_client.d.ts +2301 -0
- package/build/src/v1/database_admin_client.js +2286 -0
- package/build/src/v1/database_admin_client_config.json +160 -0
- package/build/src/v1/database_admin_proto_list.json +6 -0
- package/build/src/v1/gapic_metadata.json +27 -0
- package/build/src/v1/index.d.ts +4 -0
- package/build/src/v1/index.js +29 -0
- package/build/src/v1/instance_admin_client.d.ts +1985 -0
- package/build/src/v1/instance_admin_client.js +1768 -0
- package/build/src/v1/instance_admin_client_config.json +129 -0
- package/build/src/v1/instance_admin_proto_list.json +4 -0
- package/build/src/v1/spanner_client.d.ts +1250 -0
- package/build/src/v1/spanner_client.js +1086 -0
- package/build/src/v1/spanner_client_config.json +119 -0
- package/build/src/v1/spanner_executor_proxy_client.d.ts +418 -0
- package/build/src/v1/spanner_executor_proxy_client.js +706 -0
- package/build/src/v1/spanner_executor_proxy_client_config.json +30 -0
- package/build/src/v1/spanner_executor_proxy_proto_list.json +14 -0
- package/build/src/v1/spanner_proto_list.json +10 -0
- package/package.json +1 -1
|
@@ -0,0 +1,160 @@
|
|
|
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
|
+
"CreateBackupSchedule": {
|
|
133
|
+
"timeout_millis": 3600000,
|
|
134
|
+
"retry_codes_name": "idempotent",
|
|
135
|
+
"retry_params_name": "e9fafda332ce8a1702dc1575de3ca81c4feb4799"
|
|
136
|
+
},
|
|
137
|
+
"GetBackupSchedule": {
|
|
138
|
+
"timeout_millis": 3600000,
|
|
139
|
+
"retry_codes_name": "idempotent",
|
|
140
|
+
"retry_params_name": "e9fafda332ce8a1702dc1575de3ca81c4feb4799"
|
|
141
|
+
},
|
|
142
|
+
"UpdateBackupSchedule": {
|
|
143
|
+
"timeout_millis": 3600000,
|
|
144
|
+
"retry_codes_name": "idempotent",
|
|
145
|
+
"retry_params_name": "e9fafda332ce8a1702dc1575de3ca81c4feb4799"
|
|
146
|
+
},
|
|
147
|
+
"DeleteBackupSchedule": {
|
|
148
|
+
"timeout_millis": 3600000,
|
|
149
|
+
"retry_codes_name": "idempotent",
|
|
150
|
+
"retry_params_name": "e9fafda332ce8a1702dc1575de3ca81c4feb4799"
|
|
151
|
+
},
|
|
152
|
+
"ListBackupSchedules": {
|
|
153
|
+
"timeout_millis": 3600000,
|
|
154
|
+
"retry_codes_name": "idempotent",
|
|
155
|
+
"retry_params_name": "e9fafda332ce8a1702dc1575de3ca81c4feb4799"
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
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
|
+
]
|
|
@@ -0,0 +1,27 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright 2020 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 gapic-generator-typescript. **
|
|
17
|
+
// ** https://github.com/googleapis/gapic-generator-typescript **
|
|
18
|
+
// ** All changes to this file may be overwritten. **
|
|
19
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
|
+
exports.SpannerExecutorProxyClient = exports.InstanceAdminClient = exports.DatabaseAdminClient = exports.SpannerClient = void 0;
|
|
21
|
+
var spanner_client_1 = require("./spanner_client");
|
|
22
|
+
Object.defineProperty(exports, "SpannerClient", { enumerable: true, get: function () { return spanner_client_1.SpannerClient; } });
|
|
23
|
+
var database_admin_client_1 = require("./database_admin_client");
|
|
24
|
+
Object.defineProperty(exports, "DatabaseAdminClient", { enumerable: true, get: function () { return database_admin_client_1.DatabaseAdminClient; } });
|
|
25
|
+
var instance_admin_client_1 = require("./instance_admin_client");
|
|
26
|
+
Object.defineProperty(exports, "InstanceAdminClient", { enumerable: true, get: function () { return instance_admin_client_1.InstanceAdminClient; } });
|
|
27
|
+
var spanner_executor_proxy_client_1 = require("./spanner_executor_proxy_client");
|
|
28
|
+
Object.defineProperty(exports, "SpannerExecutorProxyClient", { enumerable: true, get: function () { return spanner_executor_proxy_client_1.SpannerExecutorProxyClient; } });
|
|
29
|
+
//# sourceMappingURL=index.js.map
|