@replit/protocol 0.4.31 → 0.5.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/dist/api/jetplane/repl/repl.client.d.ts +126 -8
- package/dist/api/jetplane/repl/repl.client.js +85 -14
- package/dist/api/jetplane/repl/repl.d.ts +400 -1
- package/dist/api/jetplane/repl/repl.js +933 -53
- package/dist/api/lore/service.client.d.ts +52 -0
- package/dist/api/lore/service.client.js +62 -30
- package/dist/api/lore/service.d.ts +226 -28
- package/dist/api/lore/service.js +434 -41
- package/dist/api/lore/transfer/org_transfer.client.d.ts +246 -0
- package/dist/api/lore/transfer/org_transfer.client.js +168 -0
- package/dist/api/lore/transfer/org_transfer.d.ts +842 -0
- package/dist/api/lore/transfer/org_transfer.js +1815 -0
- package/dist/api/lore/transfer/transfer.client.d.ts +475 -0
- package/dist/api/lore/transfer/transfer.client.js +291 -0
- package/dist/api/lore/transfer/transfer.d.ts +1016 -0
- package/dist/api/lore/transfer/transfer.js +1952 -0
- package/dist/api/repl/repl.d.ts +30 -0
- package/dist/api/repl/repl.js +34 -3
- package/dist/api/signing.d.ts +21 -1
- package/dist/api/signing.js +25 -2
- package/dist/api/token/token.d.ts +6 -6
- package/dist/api/token/token.js +2 -2
- package/iotester/index.d.ts +12502 -2292
- package/iotester/index.js +30887 -6239
- package/main/index.d.ts +12502 -2292
- package/main/index.js +30887 -6239
- package/package.json +1 -1
|
@@ -6,20 +6,32 @@ import type { AddTombstoneResponse } from "./repl.js";
|
|
|
6
6
|
import type { AddTombstoneRequest } from "./repl.js";
|
|
7
7
|
import type { EvictReplResponse } from "./repl.js";
|
|
8
8
|
import type { EvictReplRequest } from "./repl.js";
|
|
9
|
+
import type { RestoreReplResponse } from "./repl.js";
|
|
10
|
+
import type { RestoreReplRequest } from "./repl.js";
|
|
9
11
|
import type { DeleteReplResponse } from "./repl.js";
|
|
10
12
|
import type { DeleteReplRequest } from "./repl.js";
|
|
11
13
|
import type { GetResourceGroupResponse } from "./repl.js";
|
|
12
14
|
import type { GetResourceGroupRequest } from "./repl.js";
|
|
13
15
|
import type { GetReplResponse } from "./repl.js";
|
|
14
16
|
import type { GetReplRequest } from "./repl.js";
|
|
17
|
+
import type { PurgeResourceGroupResponse } from "./repl.js";
|
|
18
|
+
import type { PurgeResourceGroupRequest } from "./repl.js";
|
|
19
|
+
import type { RestoreResourceGroupResponse } from "./repl.js";
|
|
20
|
+
import type { RestoreResourceGroupRequest } from "./repl.js";
|
|
15
21
|
import type { DeleteResourceGroupResponse } from "./repl.js";
|
|
16
22
|
import type { DeleteResourceGroupRequest } from "./repl.js";
|
|
23
|
+
import type { BackfillLegacyResourceGroupResponse } from "./repl.js";
|
|
24
|
+
import type { BackfillLegacyResourceGroupRequest } from "./repl.js";
|
|
17
25
|
import type { CreateResourceGroupResponse } from "./repl.js";
|
|
18
26
|
import type { CreateResourceGroupRequest } from "./repl.js";
|
|
19
27
|
import type { CreateReplResponse } from "./repl.js";
|
|
20
28
|
import type { CreateReplRequest } from "./repl.js";
|
|
29
|
+
import type { RestoreSandboxResponse } from "./repl.js";
|
|
30
|
+
import type { RestoreSandboxRequest } from "./repl.js";
|
|
21
31
|
import type { DeleteSandboxResponse } from "./repl.js";
|
|
22
32
|
import type { DeleteSandboxRequest } from "./repl.js";
|
|
33
|
+
import type { PatchSandboxResponse } from "./repl.js";
|
|
34
|
+
import type { PatchSandboxRequest } from "./repl.js";
|
|
23
35
|
import type { UpdateSandboxResponse } from "./repl.js";
|
|
24
36
|
import type { UpdateSandboxRequest } from "./repl.js";
|
|
25
37
|
import type { CreateSandboxResponse } from "./repl.js";
|
|
@@ -47,12 +59,29 @@ export interface IReplServiceClient {
|
|
|
47
59
|
* @generated from protobuf rpc: UpdateSandbox
|
|
48
60
|
*/
|
|
49
61
|
updateSandbox(input: UpdateSandboxRequest, options?: RpcOptions): UnaryCall<UpdateSandboxRequest, UpdateSandboxResponse>;
|
|
62
|
+
/**
|
|
63
|
+
* PatchSandbox applies only the fields selected by the request's
|
|
64
|
+
* update_mask (currently just use_repl_shield). The patch updates the
|
|
65
|
+
* running repl in place and never restarts or re-places it. It will
|
|
66
|
+
* absorb UpdateSandbox's extra mount handling before UpdateSandbox is
|
|
67
|
+
* deprecated.
|
|
68
|
+
*
|
|
69
|
+
* @generated from protobuf rpc: PatchSandbox
|
|
70
|
+
*/
|
|
71
|
+
patchSandbox(input: PatchSandboxRequest, options?: RpcOptions): UnaryCall<PatchSandboxRequest, PatchSandboxResponse>;
|
|
50
72
|
/**
|
|
51
73
|
* DeleteSandbox soft-deletes a sandbox and evicts its running workload.
|
|
52
74
|
*
|
|
53
75
|
* @generated from protobuf rpc: DeleteSandbox
|
|
54
76
|
*/
|
|
55
77
|
deleteSandbox(input: DeleteSandboxRequest, options?: RpcOptions): UnaryCall<DeleteSandboxRequest, DeleteSandboxResponse>;
|
|
78
|
+
/**
|
|
79
|
+
* RestoreSandbox has RestoreRepl semantics. The sandbox ID and
|
|
80
|
+
* resource-group ID are required.
|
|
81
|
+
*
|
|
82
|
+
* @generated from protobuf rpc: RestoreSandbox
|
|
83
|
+
*/
|
|
84
|
+
restoreSandbox(input: RestoreSandboxRequest, options?: RpcOptions): UnaryCall<RestoreSandboxRequest, RestoreSandboxResponse>;
|
|
56
85
|
/**
|
|
57
86
|
* CreateRepl registers a new repl and creates its margarine manifests.
|
|
58
87
|
* The source field determines how disks are initialized (empty, forked
|
|
@@ -67,12 +96,35 @@ export interface IReplServiceClient {
|
|
|
67
96
|
* @generated from protobuf rpc: CreateResourceGroup
|
|
68
97
|
*/
|
|
69
98
|
createResourceGroup(input: CreateResourceGroupRequest, options?: RpcOptions): UnaryCall<CreateResourceGroupRequest, CreateResourceGroupResponse>;
|
|
99
|
+
/**
|
|
100
|
+
* @generated from protobuf rpc: BackfillLegacyResourceGroup
|
|
101
|
+
*/
|
|
102
|
+
backfillLegacyResourceGroup(input: BackfillLegacyResourceGroupRequest, options?: RpcOptions): UnaryCall<BackfillLegacyResourceGroupRequest, BackfillLegacyResourceGroupResponse>;
|
|
70
103
|
/**
|
|
71
104
|
* DeleteResourceGroup soft-deletes a resource group and all its repls.
|
|
72
105
|
*
|
|
73
106
|
* @generated from protobuf rpc: DeleteResourceGroup
|
|
74
107
|
*/
|
|
75
108
|
deleteResourceGroup(input: DeleteResourceGroupRequest, options?: RpcOptions): UnaryCall<DeleteResourceGroupRequest, DeleteResourceGroupResponse>;
|
|
109
|
+
/**
|
|
110
|
+
* RestoreResourceGroup clears only the group's deletion marker. Members
|
|
111
|
+
* deleted individually remain deleted. Tombstones are unchanged.
|
|
112
|
+
* Idempotent; returns NOT_FOUND when the group metadata is absent.
|
|
113
|
+
* Metadata only: callers must verify storage is retained and exclude
|
|
114
|
+
* concurrent cleanup or purge. This RPC does not recover deleted storage.
|
|
115
|
+
*
|
|
116
|
+
* @generated from protobuf rpc: RestoreResourceGroup
|
|
117
|
+
*/
|
|
118
|
+
restoreResourceGroup(input: RestoreResourceGroupRequest, options?: RpcOptions): UnaryCall<RestoreResourceGroupRequest, RestoreResourceGroupResponse>;
|
|
119
|
+
/**
|
|
120
|
+
* PurgeResourceGroup hard-deletes a soft-deleted resource group's
|
|
121
|
+
* contents: the members' workload CRs, their manifest objects, and their
|
|
122
|
+
* database rows. The soft-deleted group row itself is kept; the caller's
|
|
123
|
+
* lifecycle owns it. Refuses live groups; idempotent.
|
|
124
|
+
*
|
|
125
|
+
* @generated from protobuf rpc: PurgeResourceGroup
|
|
126
|
+
*/
|
|
127
|
+
purgeResourceGroup(input: PurgeResourceGroupRequest, options?: RpcOptions): UnaryCall<PurgeResourceGroupRequest, PurgeResourceGroupResponse>;
|
|
76
128
|
/**
|
|
77
129
|
* GetRepl returns a repl and all its associated resource metadata.
|
|
78
130
|
*
|
|
@@ -94,14 +146,27 @@ export interface IReplServiceClient {
|
|
|
94
146
|
* removes them after its configured retention period. After this RPC returns
|
|
95
147
|
* the repl is no longer visible to GetRepl or other queries.
|
|
96
148
|
*
|
|
97
|
-
* Idempotency: returns OK when the repl is live
|
|
98
|
-
*
|
|
99
|
-
* including repls that were never registered or were permanently removed
|
|
100
|
-
* after the retention period.
|
|
149
|
+
* Idempotency: returns OK when the repl is live, is soft-deleted, or has
|
|
150
|
+
* no metadata row.
|
|
101
151
|
*
|
|
102
152
|
* @generated from protobuf rpc: DeleteRepl
|
|
103
153
|
*/
|
|
104
154
|
deleteRepl(input: DeleteReplRequest, options?: RpcOptions): UnaryCall<DeleteReplRequest, DeleteReplResponse>;
|
|
155
|
+
/**
|
|
156
|
+
* RestoreRepl clears the named repl's deletion marker and reactivates its
|
|
157
|
+
* group if deleted, including when the named repl is the main repl.
|
|
158
|
+
* Other repls, images, and image checkouts are unchanged. Members deleted
|
|
159
|
+
* only through the group become accessible again; individually deleted
|
|
160
|
+
* members remain deleted.
|
|
161
|
+
* Tombstones are unchanged and workloads are not started.
|
|
162
|
+
* Idempotent; returns NOT_FOUND when repl metadata is absent, or
|
|
163
|
+
* ALREADY_EXISTS if another live main repl occupies the group.
|
|
164
|
+
* Metadata only: callers must verify storage is retained and exclude
|
|
165
|
+
* concurrent cleanup or purge. This RPC does not recover deleted storage.
|
|
166
|
+
*
|
|
167
|
+
* @generated from protobuf rpc: RestoreRepl
|
|
168
|
+
*/
|
|
169
|
+
restoreRepl(input: RestoreReplRequest, options?: RpcOptions): UnaryCall<RestoreReplRequest, RestoreReplResponse>;
|
|
105
170
|
/**
|
|
106
171
|
* EvictRepl stops the currently running repl, if any, without tombstoning
|
|
107
172
|
* or soft-deleting Jetplane metadata. The repl can be placed again
|
|
@@ -161,12 +226,29 @@ export declare class ReplServiceClient implements IReplServiceClient, ServiceInf
|
|
|
161
226
|
* @generated from protobuf rpc: UpdateSandbox
|
|
162
227
|
*/
|
|
163
228
|
updateSandbox(input: UpdateSandboxRequest, options?: RpcOptions): UnaryCall<UpdateSandboxRequest, UpdateSandboxResponse>;
|
|
229
|
+
/**
|
|
230
|
+
* PatchSandbox applies only the fields selected by the request's
|
|
231
|
+
* update_mask (currently just use_repl_shield). The patch updates the
|
|
232
|
+
* running repl in place and never restarts or re-places it. It will
|
|
233
|
+
* absorb UpdateSandbox's extra mount handling before UpdateSandbox is
|
|
234
|
+
* deprecated.
|
|
235
|
+
*
|
|
236
|
+
* @generated from protobuf rpc: PatchSandbox
|
|
237
|
+
*/
|
|
238
|
+
patchSandbox(input: PatchSandboxRequest, options?: RpcOptions): UnaryCall<PatchSandboxRequest, PatchSandboxResponse>;
|
|
164
239
|
/**
|
|
165
240
|
* DeleteSandbox soft-deletes a sandbox and evicts its running workload.
|
|
166
241
|
*
|
|
167
242
|
* @generated from protobuf rpc: DeleteSandbox
|
|
168
243
|
*/
|
|
169
244
|
deleteSandbox(input: DeleteSandboxRequest, options?: RpcOptions): UnaryCall<DeleteSandboxRequest, DeleteSandboxResponse>;
|
|
245
|
+
/**
|
|
246
|
+
* RestoreSandbox has RestoreRepl semantics. The sandbox ID and
|
|
247
|
+
* resource-group ID are required.
|
|
248
|
+
*
|
|
249
|
+
* @generated from protobuf rpc: RestoreSandbox
|
|
250
|
+
*/
|
|
251
|
+
restoreSandbox(input: RestoreSandboxRequest, options?: RpcOptions): UnaryCall<RestoreSandboxRequest, RestoreSandboxResponse>;
|
|
170
252
|
/**
|
|
171
253
|
* CreateRepl registers a new repl and creates its margarine manifests.
|
|
172
254
|
* The source field determines how disks are initialized (empty, forked
|
|
@@ -181,12 +263,35 @@ export declare class ReplServiceClient implements IReplServiceClient, ServiceInf
|
|
|
181
263
|
* @generated from protobuf rpc: CreateResourceGroup
|
|
182
264
|
*/
|
|
183
265
|
createResourceGroup(input: CreateResourceGroupRequest, options?: RpcOptions): UnaryCall<CreateResourceGroupRequest, CreateResourceGroupResponse>;
|
|
266
|
+
/**
|
|
267
|
+
* @generated from protobuf rpc: BackfillLegacyResourceGroup
|
|
268
|
+
*/
|
|
269
|
+
backfillLegacyResourceGroup(input: BackfillLegacyResourceGroupRequest, options?: RpcOptions): UnaryCall<BackfillLegacyResourceGroupRequest, BackfillLegacyResourceGroupResponse>;
|
|
184
270
|
/**
|
|
185
271
|
* DeleteResourceGroup soft-deletes a resource group and all its repls.
|
|
186
272
|
*
|
|
187
273
|
* @generated from protobuf rpc: DeleteResourceGroup
|
|
188
274
|
*/
|
|
189
275
|
deleteResourceGroup(input: DeleteResourceGroupRequest, options?: RpcOptions): UnaryCall<DeleteResourceGroupRequest, DeleteResourceGroupResponse>;
|
|
276
|
+
/**
|
|
277
|
+
* RestoreResourceGroup clears only the group's deletion marker. Members
|
|
278
|
+
* deleted individually remain deleted. Tombstones are unchanged.
|
|
279
|
+
* Idempotent; returns NOT_FOUND when the group metadata is absent.
|
|
280
|
+
* Metadata only: callers must verify storage is retained and exclude
|
|
281
|
+
* concurrent cleanup or purge. This RPC does not recover deleted storage.
|
|
282
|
+
*
|
|
283
|
+
* @generated from protobuf rpc: RestoreResourceGroup
|
|
284
|
+
*/
|
|
285
|
+
restoreResourceGroup(input: RestoreResourceGroupRequest, options?: RpcOptions): UnaryCall<RestoreResourceGroupRequest, RestoreResourceGroupResponse>;
|
|
286
|
+
/**
|
|
287
|
+
* PurgeResourceGroup hard-deletes a soft-deleted resource group's
|
|
288
|
+
* contents: the members' workload CRs, their manifest objects, and their
|
|
289
|
+
* database rows. The soft-deleted group row itself is kept; the caller's
|
|
290
|
+
* lifecycle owns it. Refuses live groups; idempotent.
|
|
291
|
+
*
|
|
292
|
+
* @generated from protobuf rpc: PurgeResourceGroup
|
|
293
|
+
*/
|
|
294
|
+
purgeResourceGroup(input: PurgeResourceGroupRequest, options?: RpcOptions): UnaryCall<PurgeResourceGroupRequest, PurgeResourceGroupResponse>;
|
|
190
295
|
/**
|
|
191
296
|
* GetRepl returns a repl and all its associated resource metadata.
|
|
192
297
|
*
|
|
@@ -208,14 +313,27 @@ export declare class ReplServiceClient implements IReplServiceClient, ServiceInf
|
|
|
208
313
|
* removes them after its configured retention period. After this RPC returns
|
|
209
314
|
* the repl is no longer visible to GetRepl or other queries.
|
|
210
315
|
*
|
|
211
|
-
* Idempotency: returns OK when the repl is live
|
|
212
|
-
*
|
|
213
|
-
* including repls that were never registered or were permanently removed
|
|
214
|
-
* after the retention period.
|
|
316
|
+
* Idempotency: returns OK when the repl is live, is soft-deleted, or has
|
|
317
|
+
* no metadata row.
|
|
215
318
|
*
|
|
216
319
|
* @generated from protobuf rpc: DeleteRepl
|
|
217
320
|
*/
|
|
218
321
|
deleteRepl(input: DeleteReplRequest, options?: RpcOptions): UnaryCall<DeleteReplRequest, DeleteReplResponse>;
|
|
322
|
+
/**
|
|
323
|
+
* RestoreRepl clears the named repl's deletion marker and reactivates its
|
|
324
|
+
* group if deleted, including when the named repl is the main repl.
|
|
325
|
+
* Other repls, images, and image checkouts are unchanged. Members deleted
|
|
326
|
+
* only through the group become accessible again; individually deleted
|
|
327
|
+
* members remain deleted.
|
|
328
|
+
* Tombstones are unchanged and workloads are not started.
|
|
329
|
+
* Idempotent; returns NOT_FOUND when repl metadata is absent, or
|
|
330
|
+
* ALREADY_EXISTS if another live main repl occupies the group.
|
|
331
|
+
* Metadata only: callers must verify storage is retained and exclude
|
|
332
|
+
* concurrent cleanup or purge. This RPC does not recover deleted storage.
|
|
333
|
+
*
|
|
334
|
+
* @generated from protobuf rpc: RestoreRepl
|
|
335
|
+
*/
|
|
336
|
+
restoreRepl(input: RestoreReplRequest, options?: RpcOptions): UnaryCall<RestoreReplRequest, RestoreReplResponse>;
|
|
219
337
|
/**
|
|
220
338
|
* EvictRepl stops the currently running repl, if any, without tombstoning
|
|
221
339
|
* or soft-deleting Jetplane metadata. The repl can be placed again
|
|
@@ -33,13 +33,36 @@ export class ReplServiceClient {
|
|
|
33
33
|
const method = this.methods[1], opt = this._transport.mergeOptions(options);
|
|
34
34
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
35
35
|
}
|
|
36
|
+
/**
|
|
37
|
+
* PatchSandbox applies only the fields selected by the request's
|
|
38
|
+
* update_mask (currently just use_repl_shield). The patch updates the
|
|
39
|
+
* running repl in place and never restarts or re-places it. It will
|
|
40
|
+
* absorb UpdateSandbox's extra mount handling before UpdateSandbox is
|
|
41
|
+
* deprecated.
|
|
42
|
+
*
|
|
43
|
+
* @generated from protobuf rpc: PatchSandbox
|
|
44
|
+
*/
|
|
45
|
+
patchSandbox(input, options) {
|
|
46
|
+
const method = this.methods[2], opt = this._transport.mergeOptions(options);
|
|
47
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
48
|
+
}
|
|
36
49
|
/**
|
|
37
50
|
* DeleteSandbox soft-deletes a sandbox and evicts its running workload.
|
|
38
51
|
*
|
|
39
52
|
* @generated from protobuf rpc: DeleteSandbox
|
|
40
53
|
*/
|
|
41
54
|
deleteSandbox(input, options) {
|
|
42
|
-
const method = this.methods[
|
|
55
|
+
const method = this.methods[3], opt = this._transport.mergeOptions(options);
|
|
56
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* RestoreSandbox has RestoreRepl semantics. The sandbox ID and
|
|
60
|
+
* resource-group ID are required.
|
|
61
|
+
*
|
|
62
|
+
* @generated from protobuf rpc: RestoreSandbox
|
|
63
|
+
*/
|
|
64
|
+
restoreSandbox(input, options) {
|
|
65
|
+
const method = this.methods[4], opt = this._transport.mergeOptions(options);
|
|
43
66
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
44
67
|
}
|
|
45
68
|
/**
|
|
@@ -50,7 +73,7 @@ export class ReplServiceClient {
|
|
|
50
73
|
* @generated from protobuf rpc: CreateRepl
|
|
51
74
|
*/
|
|
52
75
|
createRepl(input, options) {
|
|
53
|
-
const method = this.methods[
|
|
76
|
+
const method = this.methods[5], opt = this._transport.mergeOptions(options);
|
|
54
77
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
55
78
|
}
|
|
56
79
|
/**
|
|
@@ -59,7 +82,14 @@ export class ReplServiceClient {
|
|
|
59
82
|
* @generated from protobuf rpc: CreateResourceGroup
|
|
60
83
|
*/
|
|
61
84
|
createResourceGroup(input, options) {
|
|
62
|
-
const method = this.methods[
|
|
85
|
+
const method = this.methods[6], opt = this._transport.mergeOptions(options);
|
|
86
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* @generated from protobuf rpc: BackfillLegacyResourceGroup
|
|
90
|
+
*/
|
|
91
|
+
backfillLegacyResourceGroup(input, options) {
|
|
92
|
+
const method = this.methods[7], opt = this._transport.mergeOptions(options);
|
|
63
93
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
64
94
|
}
|
|
65
95
|
/**
|
|
@@ -68,7 +98,32 @@ export class ReplServiceClient {
|
|
|
68
98
|
* @generated from protobuf rpc: DeleteResourceGroup
|
|
69
99
|
*/
|
|
70
100
|
deleteResourceGroup(input, options) {
|
|
71
|
-
const method = this.methods[
|
|
101
|
+
const method = this.methods[8], opt = this._transport.mergeOptions(options);
|
|
102
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* RestoreResourceGroup clears only the group's deletion marker. Members
|
|
106
|
+
* deleted individually remain deleted. Tombstones are unchanged.
|
|
107
|
+
* Idempotent; returns NOT_FOUND when the group metadata is absent.
|
|
108
|
+
* Metadata only: callers must verify storage is retained and exclude
|
|
109
|
+
* concurrent cleanup or purge. This RPC does not recover deleted storage.
|
|
110
|
+
*
|
|
111
|
+
* @generated from protobuf rpc: RestoreResourceGroup
|
|
112
|
+
*/
|
|
113
|
+
restoreResourceGroup(input, options) {
|
|
114
|
+
const method = this.methods[9], opt = this._transport.mergeOptions(options);
|
|
115
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* PurgeResourceGroup hard-deletes a soft-deleted resource group's
|
|
119
|
+
* contents: the members' workload CRs, their manifest objects, and their
|
|
120
|
+
* database rows. The soft-deleted group row itself is kept; the caller's
|
|
121
|
+
* lifecycle owns it. Refuses live groups; idempotent.
|
|
122
|
+
*
|
|
123
|
+
* @generated from protobuf rpc: PurgeResourceGroup
|
|
124
|
+
*/
|
|
125
|
+
purgeResourceGroup(input, options) {
|
|
126
|
+
const method = this.methods[10], opt = this._transport.mergeOptions(options);
|
|
72
127
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
73
128
|
}
|
|
74
129
|
/**
|
|
@@ -77,7 +132,7 @@ export class ReplServiceClient {
|
|
|
77
132
|
* @generated from protobuf rpc: GetRepl
|
|
78
133
|
*/
|
|
79
134
|
getRepl(input, options) {
|
|
80
|
-
const method = this.methods[
|
|
135
|
+
const method = this.methods[11], opt = this._transport.mergeOptions(options);
|
|
81
136
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
82
137
|
}
|
|
83
138
|
/**
|
|
@@ -89,7 +144,7 @@ export class ReplServiceClient {
|
|
|
89
144
|
* @generated from protobuf rpc: GetResourceGroup
|
|
90
145
|
*/
|
|
91
146
|
getResourceGroup(input, options) {
|
|
92
|
-
const method = this.methods[
|
|
147
|
+
const method = this.methods[12], opt = this._transport.mergeOptions(options);
|
|
93
148
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
94
149
|
}
|
|
95
150
|
/**
|
|
@@ -98,15 +153,31 @@ export class ReplServiceClient {
|
|
|
98
153
|
* removes them after its configured retention period. After this RPC returns
|
|
99
154
|
* the repl is no longer visible to GetRepl or other queries.
|
|
100
155
|
*
|
|
101
|
-
* Idempotency: returns OK when the repl is live
|
|
102
|
-
*
|
|
103
|
-
* including repls that were never registered or were permanently removed
|
|
104
|
-
* after the retention period.
|
|
156
|
+
* Idempotency: returns OK when the repl is live, is soft-deleted, or has
|
|
157
|
+
* no metadata row.
|
|
105
158
|
*
|
|
106
159
|
* @generated from protobuf rpc: DeleteRepl
|
|
107
160
|
*/
|
|
108
161
|
deleteRepl(input, options) {
|
|
109
|
-
const method = this.methods[
|
|
162
|
+
const method = this.methods[13], opt = this._transport.mergeOptions(options);
|
|
163
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
* RestoreRepl clears the named repl's deletion marker and reactivates its
|
|
167
|
+
* group if deleted, including when the named repl is the main repl.
|
|
168
|
+
* Other repls, images, and image checkouts are unchanged. Members deleted
|
|
169
|
+
* only through the group become accessible again; individually deleted
|
|
170
|
+
* members remain deleted.
|
|
171
|
+
* Tombstones are unchanged and workloads are not started.
|
|
172
|
+
* Idempotent; returns NOT_FOUND when repl metadata is absent, or
|
|
173
|
+
* ALREADY_EXISTS if another live main repl occupies the group.
|
|
174
|
+
* Metadata only: callers must verify storage is retained and exclude
|
|
175
|
+
* concurrent cleanup or purge. This RPC does not recover deleted storage.
|
|
176
|
+
*
|
|
177
|
+
* @generated from protobuf rpc: RestoreRepl
|
|
178
|
+
*/
|
|
179
|
+
restoreRepl(input, options) {
|
|
180
|
+
const method = this.methods[14], opt = this._transport.mergeOptions(options);
|
|
110
181
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
111
182
|
}
|
|
112
183
|
/**
|
|
@@ -117,7 +188,7 @@ export class ReplServiceClient {
|
|
|
117
188
|
* @generated from protobuf rpc: EvictRepl
|
|
118
189
|
*/
|
|
119
190
|
evictRepl(input, options) {
|
|
120
|
-
const method = this.methods[
|
|
191
|
+
const method = this.methods[15], opt = this._transport.mergeOptions(options);
|
|
121
192
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
122
193
|
}
|
|
123
194
|
/**
|
|
@@ -132,7 +203,7 @@ export class ReplServiceClient {
|
|
|
132
203
|
* @generated from protobuf rpc: AddTombstone
|
|
133
204
|
*/
|
|
134
205
|
addTombstone(input, options) {
|
|
135
|
-
const method = this.methods[
|
|
206
|
+
const method = this.methods[16], opt = this._transport.mergeOptions(options);
|
|
136
207
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
137
208
|
}
|
|
138
209
|
/**
|
|
@@ -145,7 +216,7 @@ export class ReplServiceClient {
|
|
|
145
216
|
* @generated from protobuf rpc: RemoveTombstone
|
|
146
217
|
*/
|
|
147
218
|
removeTombstone(input, options) {
|
|
148
|
-
const method = this.methods[
|
|
219
|
+
const method = this.methods[17], opt = this._transport.mergeOptions(options);
|
|
149
220
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
150
221
|
}
|
|
151
222
|
}
|