@sylphx/sdk 0.28.0 → 0.31.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/LICENSE +21 -0
- package/README.md +42 -114
- package/dist/access.d.ts +670 -0
- package/dist/access.js +640 -0
- package/dist/access.js.map +1 -0
- package/dist/ai.d.ts +176 -0
- package/dist/ai.js +112 -0
- package/dist/ai.js.map +1 -0
- package/dist/artifacts.d.ts +165 -0
- package/dist/artifacts.js +129 -0
- package/dist/artifacts.js.map +1 -0
- package/dist/auth/verify.d.ts +57 -0
- package/dist/auth/verify.js +157 -0
- package/dist/auth/verify.js.map +1 -0
- package/dist/auth.d.ts +896 -0
- package/dist/auth.js +828 -0
- package/dist/auth.js.map +1 -0
- package/dist/billing.d.ts +854 -0
- package/dist/billing.js +593 -0
- package/dist/billing.js.map +1 -0
- package/dist/broker.d.ts +226 -0
- package/dist/broker.js +187 -0
- package/dist/broker.js.map +1 -0
- package/dist/build.d.ts +313 -0
- package/dist/build.js +271 -0
- package/dist/build.js.map +1 -0
- package/dist/common.d.ts +162 -0
- package/dist/common.js +41 -0
- package/dist/common.js.map +1 -0
- package/dist/config.d.ts +198 -0
- package/dist/config.js +168 -0
- package/dist/config.js.map +1 -0
- package/dist/connections.d.ts +354 -0
- package/dist/connections.js +313 -0
- package/dist/connections.js.map +1 -0
- package/dist/data.d.ts +1141 -0
- package/dist/data.js +1082 -0
- package/dist/data.js.map +1 -0
- package/dist/entitlement.d.ts +179 -0
- package/dist/entitlement.js +117 -0
- package/dist/entitlement.js.map +1 -0
- package/dist/events.d.ts +1324 -0
- package/dist/events.js +1227 -0
- package/dist/events.js.map +1 -0
- package/dist/hosting.d.ts +709 -0
- package/dist/hosting.js +611 -0
- package/dist/hosting.js.map +1 -0
- package/dist/index.d.ts +79 -33656
- package/dist/index.js +113 -0
- package/dist/index.js.map +1 -0
- package/dist/keys.d.ts +438 -0
- package/dist/keys.js +406 -0
- package/dist/keys.js.map +1 -0
- package/dist/methods.d.ts +2 -0
- package/dist/methods.js +4200 -0
- package/dist/methods.js.map +1 -0
- package/dist/network.d.ts +733 -0
- package/dist/network.js +711 -0
- package/dist/network.js.map +1 -0
- package/dist/notify.d.ts +1753 -0
- package/dist/notify.js +1551 -0
- package/dist/notify.js.map +1 -0
- package/dist/observability.d.ts +509 -0
- package/dist/observability.js +437 -0
- package/dist/observability.js.map +1 -0
- package/dist/release.d.ts +303 -0
- package/dist/release.js +214 -0
- package/dist/release.js.map +1 -0
- package/dist/runners.d.ts +262 -0
- package/dist/runners.js +238 -0
- package/dist/runners.js.map +1 -0
- package/dist/runtime.d.ts +121 -0
- package/dist/runtime.js +305 -0
- package/dist/runtime.js.map +1 -0
- package/dist/sandboxes.d.ts +1705 -0
- package/dist/sandboxes.js +1226 -0
- package/dist/sandboxes.js.map +1 -0
- package/dist/secrets.d.ts +508 -0
- package/dist/secrets.js +474 -0
- package/dist/secrets.js.map +1 -0
- package/dist/workflows.d.ts +678 -0
- package/dist/workflows.js +595 -0
- package/dist/workflows.js.map +1 -0
- package/package.json +33 -112
- package/dist/connect.d.ts +0 -2838
- package/dist/connect.mjs +0 -220
- package/dist/connect.mjs.map +0 -1
- package/dist/health/index.d.ts +0 -1394
- package/dist/health/index.mjs +0 -1394
- package/dist/health/index.mjs.map +0 -1
- package/dist/index.mjs +0 -38429
- package/dist/index.mjs.map +0 -1
- package/dist/nextjs/index.d.ts +0 -724
- package/dist/nextjs/index.mjs +0 -3332
- package/dist/nextjs/index.mjs.map +0 -1
- package/dist/react/index.d.ts +0 -13066
- package/dist/react/index.mjs +0 -35329
- package/dist/react/index.mjs.map +0 -1
- package/dist/server/index.d.ts +0 -2000
- package/dist/server/index.mjs +0 -3446
- package/dist/server/index.mjs.map +0 -1
- package/dist/web-analytics.d.ts +0 -90
- package/dist/web-analytics.mjs +0 -225
- package/dist/web-analytics.mjs.map +0 -1
|
@@ -0,0 +1,709 @@
|
|
|
1
|
+
import * as runtime from './runtime.js';
|
|
2
|
+
import './common.js';
|
|
3
|
+
import type * as common from './common.js';
|
|
4
|
+
/** The request of AbortRollout. */
|
|
5
|
+
export interface AbortRolloutRequest {
|
|
6
|
+
/** The name of the rollout. */
|
|
7
|
+
name: string;
|
|
8
|
+
/** Act only if the current etag matches. */
|
|
9
|
+
etag?: string;
|
|
10
|
+
/** Validate without acting. */
|
|
11
|
+
validateOnly?: boolean;
|
|
12
|
+
}
|
|
13
|
+
/** The request of CreatePreview. */
|
|
14
|
+
export interface CreatePreviewRequest {
|
|
15
|
+
/** The parent to create in. */
|
|
16
|
+
parent: string;
|
|
17
|
+
/** The preview to create; only spec and caller-writable metadata are read. */
|
|
18
|
+
preview: Preview;
|
|
19
|
+
/** The id segment of the name; the server assigns one when unset. */
|
|
20
|
+
previewId?: string;
|
|
21
|
+
/** Validate and return the result without writing anything. */
|
|
22
|
+
validateOnly?: boolean;
|
|
23
|
+
}
|
|
24
|
+
/** The request of CreateRollout. */
|
|
25
|
+
export interface CreateRolloutRequest {
|
|
26
|
+
/** The parent to create in. */
|
|
27
|
+
parent: string;
|
|
28
|
+
/** The rollout to create; only spec and caller-writable metadata are read. */
|
|
29
|
+
rollout: Rollout;
|
|
30
|
+
/** The id segment of the name; the server assigns one when unset. */
|
|
31
|
+
rolloutId?: string;
|
|
32
|
+
/** Validate and return the result without writing anything. */
|
|
33
|
+
validateOnly?: boolean;
|
|
34
|
+
}
|
|
35
|
+
/** The request of CreateService. */
|
|
36
|
+
export interface CreateServiceRequest {
|
|
37
|
+
/** The parent to create in. */
|
|
38
|
+
parent: string;
|
|
39
|
+
/** The service to create; only spec and caller-writable metadata are read. */
|
|
40
|
+
service: Service;
|
|
41
|
+
/** The id segment of the name; the server assigns one when unset. */
|
|
42
|
+
serviceId?: string;
|
|
43
|
+
/** Validate and return the result without writing anything. */
|
|
44
|
+
validateOnly?: boolean;
|
|
45
|
+
}
|
|
46
|
+
/** The request of CreateSourceLink. */
|
|
47
|
+
export interface CreateSourceLinkRequest {
|
|
48
|
+
/** The parent to create in. */
|
|
49
|
+
parent: string;
|
|
50
|
+
/**
|
|
51
|
+
* The source link to create; only spec and caller-writable metadata are
|
|
52
|
+
* read.
|
|
53
|
+
*/
|
|
54
|
+
sourceLink: SourceLink;
|
|
55
|
+
/** The id segment of the name; the server assigns one when unset. */
|
|
56
|
+
sourceLinkId?: string;
|
|
57
|
+
/** Validate and return the result without writing anything. */
|
|
58
|
+
validateOnly?: boolean;
|
|
59
|
+
}
|
|
60
|
+
/** The request of DeletePreview. */
|
|
61
|
+
export interface DeletePreviewRequest {
|
|
62
|
+
/** The name of the preview to delete. */
|
|
63
|
+
name: string;
|
|
64
|
+
/** Delete only if the current etag matches. */
|
|
65
|
+
etag?: string;
|
|
66
|
+
/** Succeed when the Resource does not exist. */
|
|
67
|
+
allowMissing?: boolean;
|
|
68
|
+
/** Validate without deleting anything. */
|
|
69
|
+
validateOnly?: boolean;
|
|
70
|
+
}
|
|
71
|
+
/** The request of DeleteService. */
|
|
72
|
+
export interface DeleteServiceRequest {
|
|
73
|
+
/** The name of the service to delete. */
|
|
74
|
+
name: string;
|
|
75
|
+
/** Delete only if the current etag matches. */
|
|
76
|
+
etag?: string;
|
|
77
|
+
/** Succeed when the Resource does not exist. */
|
|
78
|
+
allowMissing?: boolean;
|
|
79
|
+
/** Validate without deleting anything. */
|
|
80
|
+
validateOnly?: boolean;
|
|
81
|
+
/**
|
|
82
|
+
* Also delete every child Resource; without it a parent with children fails
|
|
83
|
+
* with FAILED_PRECONDITION.
|
|
84
|
+
*/
|
|
85
|
+
force?: boolean;
|
|
86
|
+
}
|
|
87
|
+
/** The request of DeleteSourceLink. */
|
|
88
|
+
export interface DeleteSourceLinkRequest {
|
|
89
|
+
/** The name of the source link to delete. */
|
|
90
|
+
name: string;
|
|
91
|
+
/** Delete only if the current etag matches. */
|
|
92
|
+
etag?: string;
|
|
93
|
+
/** Succeed when the Resource does not exist. */
|
|
94
|
+
allowMissing?: boolean;
|
|
95
|
+
/** Validate without deleting anything. */
|
|
96
|
+
validateOnly?: boolean;
|
|
97
|
+
}
|
|
98
|
+
/** The request of GetPreview. */
|
|
99
|
+
export interface GetPreviewRequest {
|
|
100
|
+
/** The name of the preview to get. */
|
|
101
|
+
name: string;
|
|
102
|
+
}
|
|
103
|
+
/** The request of GetRollout. */
|
|
104
|
+
export interface GetRolloutRequest {
|
|
105
|
+
/** The name of the rollout to get. */
|
|
106
|
+
name: string;
|
|
107
|
+
}
|
|
108
|
+
/** The request of GetService. */
|
|
109
|
+
export interface GetServiceRequest {
|
|
110
|
+
/** The name of the service to get. */
|
|
111
|
+
name: string;
|
|
112
|
+
}
|
|
113
|
+
/** The request of GetSourceLink. */
|
|
114
|
+
export interface GetSourceLinkRequest {
|
|
115
|
+
/** The name of the source link to get. */
|
|
116
|
+
name: string;
|
|
117
|
+
}
|
|
118
|
+
/** The request of ListPreviews. */
|
|
119
|
+
export interface ListPreviewsRequest {
|
|
120
|
+
/** The parent to list in. */
|
|
121
|
+
parent: string;
|
|
122
|
+
/** At most this many; default 50, clamped to 1000. */
|
|
123
|
+
pageSize?: number;
|
|
124
|
+
/** `next_page_token` of the previous page. */
|
|
125
|
+
pageToken?: string;
|
|
126
|
+
/** AIP-160 filter over labels, filterable fields, and Ready. */
|
|
127
|
+
filter?: string;
|
|
128
|
+
/** AIP-132 ordering over filterable fields. */
|
|
129
|
+
orderBy?: string;
|
|
130
|
+
}
|
|
131
|
+
/** The response of ListPreviews. */
|
|
132
|
+
export interface ListPreviewsResponse {
|
|
133
|
+
/** The page. */
|
|
134
|
+
previews?: Preview[];
|
|
135
|
+
/** The token of the next page; empty on the last page. */
|
|
136
|
+
nextPageToken?: string;
|
|
137
|
+
}
|
|
138
|
+
/** The request of ListServiceRollouts. */
|
|
139
|
+
export interface ListServiceRolloutsRequest {
|
|
140
|
+
/** The parent to list in. */
|
|
141
|
+
parent: string;
|
|
142
|
+
/** At most this many; default 50, clamped to 1000. */
|
|
143
|
+
pageSize?: number;
|
|
144
|
+
/** `next_page_token` of the previous page. */
|
|
145
|
+
pageToken?: string;
|
|
146
|
+
/** AIP-160 filter over labels, filterable fields, and Ready. */
|
|
147
|
+
filter?: string;
|
|
148
|
+
/** AIP-132 ordering over filterable fields. */
|
|
149
|
+
orderBy?: string;
|
|
150
|
+
}
|
|
151
|
+
/** The response of ListServiceRollouts. */
|
|
152
|
+
export interface ListServiceRolloutsResponse {
|
|
153
|
+
/** The page. */
|
|
154
|
+
serviceRollouts?: Rollout[];
|
|
155
|
+
/** The token of the next page; empty on the last page. */
|
|
156
|
+
nextPageToken?: string;
|
|
157
|
+
}
|
|
158
|
+
/** The request of ListServices. */
|
|
159
|
+
export interface ListServicesRequest {
|
|
160
|
+
/** The parent to list in. */
|
|
161
|
+
parent: string;
|
|
162
|
+
/** At most this many; default 50, clamped to 1000. */
|
|
163
|
+
pageSize?: number;
|
|
164
|
+
/** `next_page_token` of the previous page. */
|
|
165
|
+
pageToken?: string;
|
|
166
|
+
/** AIP-160 filter over labels, filterable fields, and Ready. */
|
|
167
|
+
filter?: string;
|
|
168
|
+
/** AIP-132 ordering over filterable fields. */
|
|
169
|
+
orderBy?: string;
|
|
170
|
+
}
|
|
171
|
+
/** The response of ListServices. */
|
|
172
|
+
export interface ListServicesResponse {
|
|
173
|
+
/** The page. */
|
|
174
|
+
services?: Service[];
|
|
175
|
+
/** The token of the next page; empty on the last page. */
|
|
176
|
+
nextPageToken?: string;
|
|
177
|
+
}
|
|
178
|
+
/** The request of ListSourceLinks. */
|
|
179
|
+
export interface ListSourceLinksRequest {
|
|
180
|
+
/** The parent to list in. */
|
|
181
|
+
parent: string;
|
|
182
|
+
/** At most this many; default 50, clamped to 1000. */
|
|
183
|
+
pageSize?: number;
|
|
184
|
+
/** `next_page_token` of the previous page. */
|
|
185
|
+
pageToken?: string;
|
|
186
|
+
/** AIP-160 filter over labels, filterable fields, and Ready. */
|
|
187
|
+
filter?: string;
|
|
188
|
+
/** AIP-132 ordering over filterable fields. */
|
|
189
|
+
orderBy?: string;
|
|
190
|
+
}
|
|
191
|
+
/** The response of ListSourceLinks. */
|
|
192
|
+
export interface ListSourceLinksResponse {
|
|
193
|
+
/** The page. */
|
|
194
|
+
sourceLinks?: SourceLink[];
|
|
195
|
+
/** The token of the next page; empty on the last page. */
|
|
196
|
+
nextPageToken?: string;
|
|
197
|
+
}
|
|
198
|
+
/** The request of PauseRollout. */
|
|
199
|
+
export interface PauseRolloutRequest {
|
|
200
|
+
/** The name of the rollout. */
|
|
201
|
+
name: string;
|
|
202
|
+
/** Act only if the current etag matches. */
|
|
203
|
+
etag?: string;
|
|
204
|
+
/** Validate without acting. */
|
|
205
|
+
validateOnly?: boolean;
|
|
206
|
+
}
|
|
207
|
+
/**
|
|
208
|
+
* A Preview is a pull request's own deployment of a Service, built and torn
|
|
209
|
+
* down by the same Git flow.
|
|
210
|
+
*/
|
|
211
|
+
export interface Preview {
|
|
212
|
+
/** `orgs/{org}/projects/{project}/envs/{env}/previews/{preview}`. */
|
|
213
|
+
name?: string;
|
|
214
|
+
/** `prv_<cell><ulid>`; never reused. */
|
|
215
|
+
readonly uid?: string;
|
|
216
|
+
/** Resource metadata. */
|
|
217
|
+
meta?: common.ResourceMeta;
|
|
218
|
+
/** Desired state. */
|
|
219
|
+
spec?: PreviewSpec;
|
|
220
|
+
/** Observed state. */
|
|
221
|
+
readonly status?: PreviewStatus;
|
|
222
|
+
}
|
|
223
|
+
/** PreviewSpec is the caller-writable state of a Preview. */
|
|
224
|
+
export interface PreviewSpec {
|
|
225
|
+
/** The Service previewed. */
|
|
226
|
+
service?: string;
|
|
227
|
+
/** The pull request number in the Service's SourceLink repository. */
|
|
228
|
+
pullRequest?: number;
|
|
229
|
+
}
|
|
230
|
+
/** PreviewStatus is the observed state of a Preview. */
|
|
231
|
+
export interface PreviewStatus {
|
|
232
|
+
/** The generation this status was computed from. */
|
|
233
|
+
readonly observedGeneration?: string;
|
|
234
|
+
/** Ready, Reconciling, Stalled. */
|
|
235
|
+
readonly conditions?: common.Condition[];
|
|
236
|
+
/** The lifecycle state. */
|
|
237
|
+
readonly state?: PreviewState;
|
|
238
|
+
/** The Preview's URL. */
|
|
239
|
+
readonly uri?: string;
|
|
240
|
+
/** The head commit now serving. */
|
|
241
|
+
readonly commit?: string;
|
|
242
|
+
/** When an idle Preview is torn down. */
|
|
243
|
+
readonly expireTime?: string;
|
|
244
|
+
}
|
|
245
|
+
/** The request of ResumeRollout. */
|
|
246
|
+
export interface ResumeRolloutRequest {
|
|
247
|
+
/** The name of the rollout. */
|
|
248
|
+
name: string;
|
|
249
|
+
/** Act only if the current etag matches. */
|
|
250
|
+
etag?: string;
|
|
251
|
+
/** Validate without acting. */
|
|
252
|
+
validateOnly?: boolean;
|
|
253
|
+
}
|
|
254
|
+
/**
|
|
255
|
+
* A Rollout moves one Service generation to its Release in waves (canary Cell,
|
|
256
|
+
* one Cell, one region, all); every step is fenced by the Service generation
|
|
257
|
+
* at the moment of write, and no wave advances without fresh recorded
|
|
258
|
+
* evidence.
|
|
259
|
+
*/
|
|
260
|
+
export interface Rollout {
|
|
261
|
+
/**
|
|
262
|
+
* `orgs/{org}/projects/{project}/envs/{env}/services/{service}/service_rollo
|
|
263
|
+
* uts/{rollout}`.
|
|
264
|
+
*/
|
|
265
|
+
name?: string;
|
|
266
|
+
/** `rol_<cell><ulid>`; never reused. */
|
|
267
|
+
readonly uid?: string;
|
|
268
|
+
/** Resource metadata. */
|
|
269
|
+
meta?: common.ResourceMeta;
|
|
270
|
+
/** Desired state. */
|
|
271
|
+
spec?: RolloutSpec;
|
|
272
|
+
/** Observed state. */
|
|
273
|
+
readonly status?: RolloutStatus;
|
|
274
|
+
}
|
|
275
|
+
/** RolloutSpec is the caller-writable state of a Rollout. */
|
|
276
|
+
export interface RolloutSpec {
|
|
277
|
+
/**
|
|
278
|
+
* The Release to roll out. Unset rolls out the Service's current generation;
|
|
279
|
+
* a previous Release rolls back.
|
|
280
|
+
*/
|
|
281
|
+
release?: string;
|
|
282
|
+
/**
|
|
283
|
+
* The Service generation this Rollout ships; a write from an older
|
|
284
|
+
* generation is rejected.
|
|
285
|
+
*/
|
|
286
|
+
readonly serviceGeneration?: string;
|
|
287
|
+
}
|
|
288
|
+
/** RolloutStatus is the observed state of a Rollout. */
|
|
289
|
+
export interface RolloutStatus {
|
|
290
|
+
/** The generation this status was computed from. */
|
|
291
|
+
readonly observedGeneration?: string;
|
|
292
|
+
/** Ready, Reconciling, Stalled. */
|
|
293
|
+
readonly conditions?: common.Condition[];
|
|
294
|
+
/** Where the Rollout is. */
|
|
295
|
+
readonly state?: RolloutState;
|
|
296
|
+
/** The wave now serving the new Release. */
|
|
297
|
+
readonly wave?: RolloutWave;
|
|
298
|
+
/** Cells serving the new Release. */
|
|
299
|
+
readonly cells?: string[];
|
|
300
|
+
/** When the first wave started. */
|
|
301
|
+
readonly startTime?: string;
|
|
302
|
+
/** When the Rollout reached a final state. */
|
|
303
|
+
readonly endTime?: string;
|
|
304
|
+
}
|
|
305
|
+
/**
|
|
306
|
+
* A Service is one deployable workload: pushed code builds, ships as a Release
|
|
307
|
+
* in waves, serves on its routes, and idles to zero when unused.
|
|
308
|
+
*/
|
|
309
|
+
export interface Service {
|
|
310
|
+
/** `orgs/{org}/projects/{project}/envs/{env}/services/{service}`. */
|
|
311
|
+
name?: string;
|
|
312
|
+
/** `svc_<cell><ulid>`; never reused. */
|
|
313
|
+
readonly uid?: string;
|
|
314
|
+
/** Resource metadata. */
|
|
315
|
+
meta?: common.ResourceMeta;
|
|
316
|
+
/** Desired state. */
|
|
317
|
+
spec?: ServiceSpec;
|
|
318
|
+
/** Observed state. */
|
|
319
|
+
readonly status?: ServiceStatus;
|
|
320
|
+
}
|
|
321
|
+
/** ServiceBuild is the build recipe of a Service built from source. */
|
|
322
|
+
export interface ServiceBuild {
|
|
323
|
+
/** The directory inside the repository to build; default the root. */
|
|
324
|
+
rootDirectory?: string;
|
|
325
|
+
/**
|
|
326
|
+
* A Dockerfile path relative to `root_directory`; unset lets the zero-config
|
|
327
|
+
* frontend detect the stack.
|
|
328
|
+
*/
|
|
329
|
+
dockerfile?: string;
|
|
330
|
+
/** The Build class, `sylphx-<os>-<size>`; default `sylphx-linux-standard`. */
|
|
331
|
+
buildClass?: string;
|
|
332
|
+
}
|
|
333
|
+
/** ServiceHealth is how Hosting decides an instance is serving. */
|
|
334
|
+
export interface ServiceHealth {
|
|
335
|
+
/** How to probe. */
|
|
336
|
+
protocol?: HealthProtocol;
|
|
337
|
+
/** The HTTP path to probe when `protocol` is HTTP. */
|
|
338
|
+
path?: string;
|
|
339
|
+
/** How long a new instance may take to pass its first probe. */
|
|
340
|
+
startupTimeout?: string;
|
|
341
|
+
}
|
|
342
|
+
/**
|
|
343
|
+
* ServiceScaling bounds a Service's instances. A Service idles to zero unless
|
|
344
|
+
* `min_instances` is set.
|
|
345
|
+
*/
|
|
346
|
+
export interface ServiceScaling {
|
|
347
|
+
/**
|
|
348
|
+
* Instances kept running with no traffic; 0 idles to zero and wakes on
|
|
349
|
+
* request.
|
|
350
|
+
*/
|
|
351
|
+
minInstances?: number;
|
|
352
|
+
/** Instances at most; 0 means the plan's limit. */
|
|
353
|
+
maxInstances?: number;
|
|
354
|
+
}
|
|
355
|
+
/**
|
|
356
|
+
* ServiceSource is what a Service runs: a repository built by Build, or an
|
|
357
|
+
* existing Artifact.
|
|
358
|
+
*/
|
|
359
|
+
export interface ServiceSource {
|
|
360
|
+
/** Build from this SourceLink's repository on every push to `branch`. */
|
|
361
|
+
sourceLink?: string;
|
|
362
|
+
/** Run this Artifact, by digest: `registry.sylphx.net/<path>@sha256:<hex>`. */
|
|
363
|
+
image?: string;
|
|
364
|
+
/**
|
|
365
|
+
* The branch that ships to this Service; default the SourceLink's production
|
|
366
|
+
* branch. Ignored for `image`.
|
|
367
|
+
*/
|
|
368
|
+
branch?: string;
|
|
369
|
+
/** How Build turns the source into an image. Ignored for `image`. */
|
|
370
|
+
build?: ServiceBuild;
|
|
371
|
+
}
|
|
372
|
+
/** ServiceSpec is the caller-writable state of a Service. */
|
|
373
|
+
export interface ServiceSpec {
|
|
374
|
+
/** What the Service runs. */
|
|
375
|
+
source?: ServiceSource;
|
|
376
|
+
/** Overrides the image's command. */
|
|
377
|
+
command?: string;
|
|
378
|
+
/** The port the application listens on; the public edge stays 443. */
|
|
379
|
+
port?: number;
|
|
380
|
+
/** Who can reach the Service; default PUBLIC. */
|
|
381
|
+
exposure?: ServiceExposure;
|
|
382
|
+
/** The size of each instance; default the plan's. */
|
|
383
|
+
size?: InstanceSize;
|
|
384
|
+
/** Instance bounds. */
|
|
385
|
+
scaling?: ServiceScaling;
|
|
386
|
+
/** How instances are probed. */
|
|
387
|
+
health?: ServiceHealth;
|
|
388
|
+
/**
|
|
389
|
+
* Plain environment variables. Secret values bind through `secret_env`,
|
|
390
|
+
* never here.
|
|
391
|
+
*/
|
|
392
|
+
env?: Record<string, string>;
|
|
393
|
+
/**
|
|
394
|
+
* Environment variables bound to Kernel Secrets: variable name to Secret
|
|
395
|
+
* name. The value never enters the spec.
|
|
396
|
+
*/
|
|
397
|
+
secretEnv?: Record<string, string>;
|
|
398
|
+
/** Regions to run in; default the project's home region. */
|
|
399
|
+
regions?: string[];
|
|
400
|
+
}
|
|
401
|
+
/** ServiceStatus is the observed state of a Service. */
|
|
402
|
+
export interface ServiceStatus {
|
|
403
|
+
/** The generation this status was computed from. */
|
|
404
|
+
readonly observedGeneration?: string;
|
|
405
|
+
/** Ready, Reconciling, Stalled. */
|
|
406
|
+
readonly conditions?: common.Condition[];
|
|
407
|
+
/**
|
|
408
|
+
* The default URL: `https://<ref>.sylphx.app`, or `*.unclaimed.sylphx.app`
|
|
409
|
+
* for an unclaimed project.
|
|
410
|
+
*/
|
|
411
|
+
readonly uri?: string;
|
|
412
|
+
/** The Kernel Release now serving. */
|
|
413
|
+
readonly release?: string;
|
|
414
|
+
/** The image digest now serving. */
|
|
415
|
+
readonly image?: string;
|
|
416
|
+
/** The Rollout in progress, if any. */
|
|
417
|
+
readonly rollout?: string;
|
|
418
|
+
/** Instances passing health, summed over Cells. */
|
|
419
|
+
readonly readyInstances?: number;
|
|
420
|
+
}
|
|
421
|
+
/**
|
|
422
|
+
* A SourceLink links a project to one repository through a Kernel Connection.
|
|
423
|
+
* Source is read at an exact commit with a Broker-minted token narrowed to
|
|
424
|
+
* that repository; a webhook is only a latency hint.
|
|
425
|
+
*/
|
|
426
|
+
export interface SourceLink {
|
|
427
|
+
/** `orgs/{org}/projects/{project}/source_links/{source_link}`. */
|
|
428
|
+
name?: string;
|
|
429
|
+
/** `src_<cell><ulid>`; never reused. */
|
|
430
|
+
readonly uid?: string;
|
|
431
|
+
/** Resource metadata. */
|
|
432
|
+
meta?: common.ResourceMeta;
|
|
433
|
+
/** Desired state. */
|
|
434
|
+
spec?: SourceLinkSpec;
|
|
435
|
+
/** Observed state. */
|
|
436
|
+
readonly status?: SourceLinkStatus;
|
|
437
|
+
}
|
|
438
|
+
/** SourceLinkSpec is the caller-writable state of a SourceLink. */
|
|
439
|
+
export interface SourceLinkSpec {
|
|
440
|
+
/** The forge Connection (the Sylphx App installation). */
|
|
441
|
+
connection?: string;
|
|
442
|
+
/** The repository, `<owner>/<name>`. */
|
|
443
|
+
repository?: string;
|
|
444
|
+
/**
|
|
445
|
+
* The branch production Services ship from; default the repository's default
|
|
446
|
+
* branch.
|
|
447
|
+
*/
|
|
448
|
+
productionBranch?: string;
|
|
449
|
+
/** Build a Preview for every pull request. */
|
|
450
|
+
previewsEnabled?: boolean;
|
|
451
|
+
}
|
|
452
|
+
/** SourceLinkStatus is the observed state of a SourceLink. */
|
|
453
|
+
export interface SourceLinkStatus {
|
|
454
|
+
/** The generation this status was computed from. */
|
|
455
|
+
readonly observedGeneration?: string;
|
|
456
|
+
/** Ready, Reconciling, Stalled. */
|
|
457
|
+
readonly conditions?: common.Condition[];
|
|
458
|
+
/** The repository's default branch. */
|
|
459
|
+
readonly defaultBranch?: string;
|
|
460
|
+
/** The last seen head of `production_branch`. */
|
|
461
|
+
readonly headCommit?: string;
|
|
462
|
+
/** When the inbox or reconciler last recorded a change. */
|
|
463
|
+
readonly lastDeliveryTime?: string;
|
|
464
|
+
}
|
|
465
|
+
/** The request of UpdateService. */
|
|
466
|
+
export interface UpdateServiceRequest {
|
|
467
|
+
/** The service to update; `name` identifies it. */
|
|
468
|
+
service: Service;
|
|
469
|
+
/** The fields to write; unset writes every populated field. */
|
|
470
|
+
updateMask?: string;
|
|
471
|
+
/** Create the Resource when it does not exist (declarative upsert). */
|
|
472
|
+
allowMissing?: boolean;
|
|
473
|
+
/** Validate and return the result without writing anything. */
|
|
474
|
+
validateOnly?: boolean;
|
|
475
|
+
}
|
|
476
|
+
/** The request of UpdateSourceLink. */
|
|
477
|
+
export interface UpdateSourceLinkRequest {
|
|
478
|
+
/** The source link to update; `name` identifies it. */
|
|
479
|
+
sourceLink: SourceLink;
|
|
480
|
+
/** The fields to write; unset writes every populated field. */
|
|
481
|
+
updateMask?: string;
|
|
482
|
+
/** Create the Resource when it does not exist (declarative upsert). */
|
|
483
|
+
allowMissing?: boolean;
|
|
484
|
+
/** Validate and return the result without writing anything. */
|
|
485
|
+
validateOnly?: boolean;
|
|
486
|
+
}
|
|
487
|
+
/** HealthProtocol is how a Service is probed. */
|
|
488
|
+
export type HealthProtocol = 'http' | 'tcp' | (string & {});
|
|
489
|
+
/** InstanceSize is the machine size of each instance. */
|
|
490
|
+
export type InstanceSize = 'nano' | 'micro' | 'small' | 'standard' | 'large' | 'xlarge' | 'xxlarge' | (string & {});
|
|
491
|
+
/** PreviewState is the lifecycle of a Preview. */
|
|
492
|
+
export type PreviewState = 'building' | 'serving' | 'failed' | 'closed' | (string & {});
|
|
493
|
+
/** RolloutState is where a Rollout is in its waves. */
|
|
494
|
+
export type RolloutState = 'pending' | 'progressing' | 'paused' | 'succeeded' | 'aborted' | 'failed' | 'superseded' | (string & {});
|
|
495
|
+
/**
|
|
496
|
+
* RolloutWave is one step of a rollout: canary Cell, one Cell, one region,
|
|
497
|
+
* all.
|
|
498
|
+
*/
|
|
499
|
+
export type RolloutWave = 'canary' | 'cell' | 'region' | 'all' | (string & {});
|
|
500
|
+
/** ServiceExposure is who can reach a Service. */
|
|
501
|
+
export type ServiceExposure = 'public' | 'internal' | (string & {});
|
|
502
|
+
/**
|
|
503
|
+
* HostingService is Sylphx Hosting: Services that build from source or run an
|
|
504
|
+
* existing Artifact, ship as Releases in waves, get a Preview per pull
|
|
505
|
+
* request, and read their source through a SourceLink
|
|
506
|
+
* (docs/services/hosting/vision.md).
|
|
507
|
+
*
|
|
508
|
+
* Namespace of Sylphx Hosting on `Sylphx`.
|
|
509
|
+
*/
|
|
510
|
+
export declare class HostingApi {
|
|
511
|
+
/** The `services` collection. */
|
|
512
|
+
readonly services: ServicesCollection;
|
|
513
|
+
/** The `service_rollouts` collection. */
|
|
514
|
+
readonly serviceRollouts: ServiceRolloutsCollection;
|
|
515
|
+
/** The `previews` collection. */
|
|
516
|
+
readonly previews: PreviewsCollection;
|
|
517
|
+
/** The `source_links` collection. */
|
|
518
|
+
readonly sourceLinks: SourceLinksCollection;
|
|
519
|
+
constructor(client: runtime.Client);
|
|
520
|
+
}
|
|
521
|
+
/** `services` of Sylphx Hosting: Resource type `hosting.sylphx.com/Service`. */
|
|
522
|
+
export declare class ServicesCollection {
|
|
523
|
+
private readonly client;
|
|
524
|
+
constructor(client: runtime.Client);
|
|
525
|
+
/**
|
|
526
|
+
* Gets a service.
|
|
527
|
+
*
|
|
528
|
+
* `GET /v1/{name=orgs/*\/projects/*\/envs/*\/services/*}` · permission `hosting:read` · effect `read`
|
|
529
|
+
*
|
|
530
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`.
|
|
531
|
+
*/
|
|
532
|
+
get(request: GetServiceRequest): Promise<Service>;
|
|
533
|
+
/**
|
|
534
|
+
* Lists services in a environment.
|
|
535
|
+
*
|
|
536
|
+
* `GET /v1/{parent=orgs/*\/projects/*\/envs/*}/services` · permission `hosting:read` · effect `read`
|
|
537
|
+
*
|
|
538
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `PAGE_TOKEN_MISMATCH`.
|
|
539
|
+
*/
|
|
540
|
+
list(request: ListServicesRequest): Promise<ListServicesResponse>;
|
|
541
|
+
/** Every item of every page of `list`. */
|
|
542
|
+
listAll(request: ListServicesRequest): AsyncGenerator<Service>;
|
|
543
|
+
/**
|
|
544
|
+
* Creates a service. The Operation is done when the controller settles it.
|
|
545
|
+
*
|
|
546
|
+
* `POST /v1/{parent=orgs/*\/projects/*\/envs/*}/services` · permission `hosting:write` · effect `write`
|
|
547
|
+
*
|
|
548
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `UNKNOWN_FIELD`, `INVALID_FIELD`, `RESOURCE_ALREADY_EXISTS`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`, `PLAN_LIMIT_REACHED`, `SPEND_LIMIT_REACHED`.
|
|
549
|
+
*/
|
|
550
|
+
create(request: CreateServiceRequest): Promise<runtime.Operation<Service>>;
|
|
551
|
+
/**
|
|
552
|
+
* Updates a service.
|
|
553
|
+
*
|
|
554
|
+
* `PATCH /v1/{service.name=orgs/*\/projects/*\/envs/*\/services/*}` · permission `hosting:write` · effect `write`
|
|
555
|
+
*
|
|
556
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`, `UNKNOWN_FIELD`, `INVALID_FIELD`, `ETAG_MISMATCH`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
|
|
557
|
+
*/
|
|
558
|
+
update(request: UpdateServiceRequest): Promise<runtime.Operation<Service>>;
|
|
559
|
+
/**
|
|
560
|
+
* Deletes a service.
|
|
561
|
+
*
|
|
562
|
+
* `DELETE /v1/{name=orgs/*\/projects/*\/envs/*\/services/*}` · permission `hosting:write` · effect `destructive`
|
|
563
|
+
*
|
|
564
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
|
|
565
|
+
*/
|
|
566
|
+
delete(request: DeleteServiceRequest): Promise<runtime.Operation<Record<string, never>>>;
|
|
567
|
+
}
|
|
568
|
+
/** `service_rollouts` of Sylphx Hosting: Resource type `hosting.sylphx.com/Rollout`. */
|
|
569
|
+
export declare class ServiceRolloutsCollection {
|
|
570
|
+
private readonly client;
|
|
571
|
+
constructor(client: runtime.Client);
|
|
572
|
+
/**
|
|
573
|
+
* Gets a rollout.
|
|
574
|
+
*
|
|
575
|
+
* `GET /v1/{name=orgs/*\/projects/*\/envs/*\/services/*\/service_rollouts/*}` · permission `hosting:read` · effect `read`
|
|
576
|
+
*
|
|
577
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`.
|
|
578
|
+
*/
|
|
579
|
+
get(request: GetRolloutRequest): Promise<Rollout>;
|
|
580
|
+
/**
|
|
581
|
+
* Lists rollouts in a service.
|
|
582
|
+
*
|
|
583
|
+
* `GET /v1/{parent=orgs/*\/projects/*\/envs/*\/services/*}/service_rollouts` · permission `hosting:read` · effect `read`
|
|
584
|
+
*
|
|
585
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `PAGE_TOKEN_MISMATCH`.
|
|
586
|
+
*/
|
|
587
|
+
list(request: ListServiceRolloutsRequest): Promise<ListServiceRolloutsResponse>;
|
|
588
|
+
/** Every item of every page of `list`. */
|
|
589
|
+
listAll(request: ListServiceRolloutsRequest): AsyncGenerator<Rollout>;
|
|
590
|
+
/**
|
|
591
|
+
* Creates a rollout.
|
|
592
|
+
*
|
|
593
|
+
* `POST /v1/{parent=orgs/*\/projects/*\/envs/*\/services/*}/service_rollouts` · permission `hosting:write` · effect `write`
|
|
594
|
+
*
|
|
595
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `UNKNOWN_FIELD`, `INVALID_FIELD`, `RESOURCE_ALREADY_EXISTS`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`, `PLAN_LIMIT_REACHED`, `SPEND_LIMIT_REACHED`.
|
|
596
|
+
*/
|
|
597
|
+
create(request: CreateRolloutRequest): Promise<Rollout>;
|
|
598
|
+
/**
|
|
599
|
+
* Holds a Rollout at its current wave.
|
|
600
|
+
*
|
|
601
|
+
* `POST /v1/{name=orgs/*\/projects/*\/envs/*\/services/*\/service_rollouts/*}:pause` · permission `hosting:write` · effect `write`
|
|
602
|
+
*
|
|
603
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
|
|
604
|
+
*/
|
|
605
|
+
pause(request: PauseRolloutRequest): Promise<Rollout>;
|
|
606
|
+
/**
|
|
607
|
+
* Resumes a paused Rollout.
|
|
608
|
+
*
|
|
609
|
+
* `POST /v1/{name=orgs/*\/projects/*\/envs/*\/services/*\/service_rollouts/*}:resume` · permission `hosting:write` · effect `write`
|
|
610
|
+
*
|
|
611
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
|
|
612
|
+
*/
|
|
613
|
+
resume(request: ResumeRolloutRequest): Promise<Rollout>;
|
|
614
|
+
/**
|
|
615
|
+
* Stops a Rollout; Cells it reached return to the previous Release.
|
|
616
|
+
*
|
|
617
|
+
* `POST /v1/{name=orgs/*\/projects/*\/envs/*\/services/*\/service_rollouts/*}:abort` · permission `hosting:write` · effect `destructive`
|
|
618
|
+
*
|
|
619
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
|
|
620
|
+
*/
|
|
621
|
+
abort(request: AbortRolloutRequest): Promise<Rollout>;
|
|
622
|
+
}
|
|
623
|
+
/** `previews` of Sylphx Hosting: Resource type `hosting.sylphx.com/Preview`. */
|
|
624
|
+
export declare class PreviewsCollection {
|
|
625
|
+
private readonly client;
|
|
626
|
+
constructor(client: runtime.Client);
|
|
627
|
+
/**
|
|
628
|
+
* Gets a preview.
|
|
629
|
+
*
|
|
630
|
+
* `GET /v1/{name=orgs/*\/projects/*\/envs/*\/previews/*}` · permission `hosting:read` · effect `read`
|
|
631
|
+
*
|
|
632
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`.
|
|
633
|
+
*/
|
|
634
|
+
get(request: GetPreviewRequest): Promise<Preview>;
|
|
635
|
+
/**
|
|
636
|
+
* Lists previews in a environment.
|
|
637
|
+
*
|
|
638
|
+
* `GET /v1/{parent=orgs/*\/projects/*\/envs/*}/previews` · permission `hosting:read` · effect `read`
|
|
639
|
+
*
|
|
640
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `PAGE_TOKEN_MISMATCH`.
|
|
641
|
+
*/
|
|
642
|
+
list(request: ListPreviewsRequest): Promise<ListPreviewsResponse>;
|
|
643
|
+
/** Every item of every page of `list`. */
|
|
644
|
+
listAll(request: ListPreviewsRequest): AsyncGenerator<Preview>;
|
|
645
|
+
/**
|
|
646
|
+
* Creates a preview. The Operation is done when the controller settles it.
|
|
647
|
+
*
|
|
648
|
+
* `POST /v1/{parent=orgs/*\/projects/*\/envs/*}/previews` · permission `hosting:write` · effect `write`
|
|
649
|
+
*
|
|
650
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `UNKNOWN_FIELD`, `INVALID_FIELD`, `RESOURCE_ALREADY_EXISTS`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`, `PLAN_LIMIT_REACHED`, `SPEND_LIMIT_REACHED`.
|
|
651
|
+
*/
|
|
652
|
+
create(request: CreatePreviewRequest): Promise<runtime.Operation<Preview>>;
|
|
653
|
+
/**
|
|
654
|
+
* Deletes a preview.
|
|
655
|
+
*
|
|
656
|
+
* `DELETE /v1/{name=orgs/*\/projects/*\/envs/*\/previews/*}` · permission `hosting:write` · effect `destructive`
|
|
657
|
+
*
|
|
658
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
|
|
659
|
+
*/
|
|
660
|
+
delete(request: DeletePreviewRequest): Promise<runtime.Operation<Record<string, never>>>;
|
|
661
|
+
}
|
|
662
|
+
/** `source_links` of Sylphx Hosting: Resource type `hosting.sylphx.com/SourceLink`. */
|
|
663
|
+
export declare class SourceLinksCollection {
|
|
664
|
+
private readonly client;
|
|
665
|
+
constructor(client: runtime.Client);
|
|
666
|
+
/**
|
|
667
|
+
* Gets a source link.
|
|
668
|
+
*
|
|
669
|
+
* `GET /v1/{name=orgs/*\/projects/*\/source_links/*}` · permission `hosting:read` · effect `read`
|
|
670
|
+
*
|
|
671
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`.
|
|
672
|
+
*/
|
|
673
|
+
get(request: GetSourceLinkRequest): Promise<SourceLink>;
|
|
674
|
+
/**
|
|
675
|
+
* Lists source links in a project.
|
|
676
|
+
*
|
|
677
|
+
* `GET /v1/{parent=orgs/*\/projects/*}/source_links` · permission `hosting:read` · effect `read`
|
|
678
|
+
*
|
|
679
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `PAGE_TOKEN_MISMATCH`.
|
|
680
|
+
*/
|
|
681
|
+
list(request: ListSourceLinksRequest): Promise<ListSourceLinksResponse>;
|
|
682
|
+
/** Every item of every page of `list`. */
|
|
683
|
+
listAll(request: ListSourceLinksRequest): AsyncGenerator<SourceLink>;
|
|
684
|
+
/**
|
|
685
|
+
* Creates a source link. The Operation is done when the controller settles
|
|
686
|
+
* it.
|
|
687
|
+
*
|
|
688
|
+
* `POST /v1/{parent=orgs/*\/projects/*}/source_links` · permission `hosting:write` · effect `write`
|
|
689
|
+
*
|
|
690
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `UNKNOWN_FIELD`, `INVALID_FIELD`, `RESOURCE_ALREADY_EXISTS`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`, `PLAN_LIMIT_REACHED`, `SPEND_LIMIT_REACHED`.
|
|
691
|
+
*/
|
|
692
|
+
create(request: CreateSourceLinkRequest): Promise<runtime.Operation<SourceLink>>;
|
|
693
|
+
/**
|
|
694
|
+
* Updates a source link.
|
|
695
|
+
*
|
|
696
|
+
* `PATCH /v1/{source_link.name=orgs/*\/projects/*\/source_links/*}` · permission `hosting:write` · effect `write`
|
|
697
|
+
*
|
|
698
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`, `UNKNOWN_FIELD`, `INVALID_FIELD`, `ETAG_MISMATCH`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
|
|
699
|
+
*/
|
|
700
|
+
update(request: UpdateSourceLinkRequest): Promise<runtime.Operation<SourceLink>>;
|
|
701
|
+
/**
|
|
702
|
+
* Deletes a source link.
|
|
703
|
+
*
|
|
704
|
+
* `DELETE /v1/{name=orgs/*\/projects/*\/source_links/*}` · permission `hosting:write` · effect `destructive`
|
|
705
|
+
*
|
|
706
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
|
|
707
|
+
*/
|
|
708
|
+
delete(request: DeleteSourceLinkRequest): Promise<runtime.Operation<Record<string, never>>>;
|
|
709
|
+
}
|