@distilled.cloud/gcp 0.4.0 → 0.5.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/README.md +6 -1
- package/lib/services/saasservicemgmt-v1.d.ts +1269 -0
- package/lib/services/saasservicemgmt-v1.d.ts.map +1 -0
- package/lib/services/saasservicemgmt-v1.js +1267 -0
- package/lib/services/saasservicemgmt-v1.js.map +1 -0
- package/package.json +4 -4
- package/src/services/saasservicemgmt-v1.ts +3220 -0
|
@@ -0,0 +1,1267 @@
|
|
|
1
|
+
// ==========================================================================
|
|
2
|
+
// SaaS Runtime API (saasservicemgmt v1)
|
|
3
|
+
// DO NOT EDIT - Generated from GCP Discovery Document
|
|
4
|
+
// ==========================================================================
|
|
5
|
+
import * as Schema from "effect/Schema";
|
|
6
|
+
import * as API from "../client/api.js";
|
|
7
|
+
import * as T from "../traits";
|
|
8
|
+
// Service metadata
|
|
9
|
+
const svc = T.Service({
|
|
10
|
+
name: "saasservicemgmt",
|
|
11
|
+
version: "v1",
|
|
12
|
+
rootUrl: "https://saasservicemgmt.googleapis.com/",
|
|
13
|
+
servicePath: "",
|
|
14
|
+
});
|
|
15
|
+
export const GoogleCloudLocationLocation =
|
|
16
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
17
|
+
displayName: Schema.optional(Schema.String),
|
|
18
|
+
name: Schema.optional(Schema.String),
|
|
19
|
+
locationId: Schema.optional(Schema.String),
|
|
20
|
+
labels: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
21
|
+
metadata: Schema.optional(Schema.Record(Schema.String, Schema.Unknown)),
|
|
22
|
+
})).annotate({
|
|
23
|
+
identifier: "GoogleCloudLocationLocation",
|
|
24
|
+
});
|
|
25
|
+
export const UnitVariable =
|
|
26
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
27
|
+
type: Schema.optional(Schema.String),
|
|
28
|
+
variable: Schema.optional(Schema.String),
|
|
29
|
+
value: Schema.optional(Schema.String),
|
|
30
|
+
})).annotate({
|
|
31
|
+
identifier: "UnitVariable",
|
|
32
|
+
});
|
|
33
|
+
export const Upgrade =
|
|
34
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
35
|
+
release: Schema.optional(Schema.String),
|
|
36
|
+
inputVariables: Schema.optional(Schema.Array(UnitVariable)),
|
|
37
|
+
})).annotate({ identifier: "Upgrade" });
|
|
38
|
+
export const Provision =
|
|
39
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
40
|
+
release: Schema.optional(Schema.String),
|
|
41
|
+
inputVariables: Schema.optional(Schema.Array(UnitVariable)),
|
|
42
|
+
})).annotate({ identifier: "Provision" });
|
|
43
|
+
export const Deprovision =
|
|
44
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({})).annotate({
|
|
45
|
+
identifier: "Deprovision",
|
|
46
|
+
});
|
|
47
|
+
export const UnitOperationCondition =
|
|
48
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
49
|
+
message: Schema.optional(Schema.String),
|
|
50
|
+
lastTransitionTime: Schema.optional(Schema.String),
|
|
51
|
+
status: Schema.optional(Schema.String),
|
|
52
|
+
reason: Schema.optional(Schema.String),
|
|
53
|
+
type: Schema.optional(Schema.String),
|
|
54
|
+
})).annotate({
|
|
55
|
+
identifier: "UnitOperationCondition",
|
|
56
|
+
});
|
|
57
|
+
export const Schedule =
|
|
58
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
59
|
+
startTime: Schema.optional(Schema.String),
|
|
60
|
+
})).annotate({ identifier: "Schedule" });
|
|
61
|
+
export const UnitOperation =
|
|
62
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
63
|
+
annotations: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
64
|
+
upgrade: Schema.optional(Upgrade),
|
|
65
|
+
errorCategory: Schema.optional(Schema.String),
|
|
66
|
+
etag: Schema.optional(Schema.String),
|
|
67
|
+
engineState: Schema.optional(Schema.String),
|
|
68
|
+
uid: Schema.optional(Schema.String),
|
|
69
|
+
createTime: Schema.optional(Schema.String),
|
|
70
|
+
name: Schema.optional(Schema.String),
|
|
71
|
+
unit: Schema.optional(Schema.String),
|
|
72
|
+
provision: Schema.optional(Provision),
|
|
73
|
+
updateTime: Schema.optional(Schema.String),
|
|
74
|
+
cancel: Schema.optional(Schema.Boolean),
|
|
75
|
+
deprovision: Schema.optional(Deprovision),
|
|
76
|
+
state: Schema.optional(Schema.String),
|
|
77
|
+
parentUnitOperation: Schema.optional(Schema.String),
|
|
78
|
+
conditions: Schema.optional(Schema.Array(UnitOperationCondition)),
|
|
79
|
+
deleteTime: Schema.optional(Schema.String),
|
|
80
|
+
schedule: Schema.optional(Schedule),
|
|
81
|
+
labels: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
82
|
+
rollout: Schema.optional(Schema.String),
|
|
83
|
+
})).annotate({
|
|
84
|
+
identifier: "UnitOperation",
|
|
85
|
+
});
|
|
86
|
+
export const UnitCondition =
|
|
87
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
88
|
+
lastTransitionTime: Schema.optional(Schema.String),
|
|
89
|
+
message: Schema.optional(Schema.String),
|
|
90
|
+
status: Schema.optional(Schema.String),
|
|
91
|
+
reason: Schema.optional(Schema.String),
|
|
92
|
+
type: Schema.optional(Schema.String),
|
|
93
|
+
})).annotate({
|
|
94
|
+
identifier: "UnitCondition",
|
|
95
|
+
});
|
|
96
|
+
export const Status =
|
|
97
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
98
|
+
code: Schema.optional(Schema.Number),
|
|
99
|
+
details: Schema.optional(Schema.Array(Schema.Record(Schema.String, Schema.Unknown))),
|
|
100
|
+
message: Schema.optional(Schema.String),
|
|
101
|
+
})).annotate({ identifier: "Status" });
|
|
102
|
+
export const Location =
|
|
103
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
104
|
+
name: Schema.optional(Schema.String),
|
|
105
|
+
})).annotate({ identifier: "Location" });
|
|
106
|
+
export const Saas =
|
|
107
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
108
|
+
locations: Schema.optional(Schema.Array(Location)),
|
|
109
|
+
labels: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
110
|
+
etag: Schema.optional(Schema.String),
|
|
111
|
+
updateTime: Schema.optional(Schema.String),
|
|
112
|
+
createTime: Schema.optional(Schema.String),
|
|
113
|
+
uid: Schema.optional(Schema.String),
|
|
114
|
+
name: Schema.optional(Schema.String),
|
|
115
|
+
annotations: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
116
|
+
})).annotate({ identifier: "Saas" });
|
|
117
|
+
export const ReleaseRequirements =
|
|
118
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
119
|
+
upgradeableFromReleases: Schema.optional(Schema.Array(Schema.String)),
|
|
120
|
+
})).annotate({
|
|
121
|
+
identifier: "ReleaseRequirements",
|
|
122
|
+
});
|
|
123
|
+
export const ErrorBudget =
|
|
124
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
125
|
+
allowedCount: Schema.optional(Schema.Number),
|
|
126
|
+
allowedPercentage: Schema.optional(Schema.Number),
|
|
127
|
+
})).annotate({
|
|
128
|
+
identifier: "ErrorBudget",
|
|
129
|
+
});
|
|
130
|
+
export const RolloutKind =
|
|
131
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
132
|
+
maintenancePolicyEnforcement: Schema.optional(Schema.String),
|
|
133
|
+
etag: Schema.optional(Schema.String),
|
|
134
|
+
uid: Schema.optional(Schema.String),
|
|
135
|
+
updateTime: Schema.optional(Schema.String),
|
|
136
|
+
name: Schema.optional(Schema.String),
|
|
137
|
+
unitFilter: Schema.optional(Schema.String),
|
|
138
|
+
rolloutOrchestrationStrategy: Schema.optional(Schema.String),
|
|
139
|
+
createTime: Schema.optional(Schema.String),
|
|
140
|
+
unitKind: Schema.optional(Schema.String),
|
|
141
|
+
labels: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
142
|
+
errorBudget: Schema.optional(ErrorBudget),
|
|
143
|
+
annotations: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
144
|
+
updateUnitKindStrategy: Schema.optional(Schema.String),
|
|
145
|
+
})).annotate({
|
|
146
|
+
identifier: "RolloutKind",
|
|
147
|
+
});
|
|
148
|
+
export const Blueprint =
|
|
149
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
150
|
+
package: Schema.optional(Schema.String),
|
|
151
|
+
version: Schema.optional(Schema.String),
|
|
152
|
+
engine: Schema.optional(Schema.String),
|
|
153
|
+
})).annotate({ identifier: "Blueprint" });
|
|
154
|
+
export const Release =
|
|
155
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
156
|
+
releaseRequirements: Schema.optional(ReleaseRequirements),
|
|
157
|
+
annotations: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
158
|
+
outputVariables: Schema.optional(Schema.Array(UnitVariable)),
|
|
159
|
+
createTime: Schema.optional(Schema.String),
|
|
160
|
+
labels: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
161
|
+
blueprint: Schema.optional(Blueprint),
|
|
162
|
+
updateTime: Schema.optional(Schema.String),
|
|
163
|
+
unitKind: Schema.optional(Schema.String),
|
|
164
|
+
inputVariables: Schema.optional(Schema.Array(UnitVariable)),
|
|
165
|
+
etag: Schema.optional(Schema.String),
|
|
166
|
+
inputVariableDefaults: Schema.optional(Schema.Array(UnitVariable)),
|
|
167
|
+
uid: Schema.optional(Schema.String),
|
|
168
|
+
name: Schema.optional(Schema.String),
|
|
169
|
+
})).annotate({ identifier: "Release" });
|
|
170
|
+
export const UnitDependency =
|
|
171
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
172
|
+
unit: Schema.optional(Schema.String),
|
|
173
|
+
alias: Schema.optional(Schema.String),
|
|
174
|
+
})).annotate({
|
|
175
|
+
identifier: "UnitDependency",
|
|
176
|
+
});
|
|
177
|
+
export const ListSaasResponse =
|
|
178
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
179
|
+
unreachable: Schema.optional(Schema.Array(Schema.String)),
|
|
180
|
+
saas: Schema.optional(Schema.Array(Saas)),
|
|
181
|
+
nextPageToken: Schema.optional(Schema.String),
|
|
182
|
+
})).annotate({
|
|
183
|
+
identifier: "ListSaasResponse",
|
|
184
|
+
});
|
|
185
|
+
export const RunRolloutActionParams =
|
|
186
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
187
|
+
retryFailedOperations: Schema.optional(Schema.Boolean),
|
|
188
|
+
})).annotate({
|
|
189
|
+
identifier: "RunRolloutActionParams",
|
|
190
|
+
});
|
|
191
|
+
export const RolloutControl =
|
|
192
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
193
|
+
runParams: Schema.optional(RunRolloutActionParams),
|
|
194
|
+
action: Schema.optional(Schema.String),
|
|
195
|
+
})).annotate({
|
|
196
|
+
identifier: "RolloutControl",
|
|
197
|
+
});
|
|
198
|
+
export const Aggregate =
|
|
199
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
200
|
+
group: Schema.optional(Schema.String),
|
|
201
|
+
count: Schema.optional(Schema.Number),
|
|
202
|
+
})).annotate({ identifier: "Aggregate" });
|
|
203
|
+
export const RolloutStats =
|
|
204
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
205
|
+
operationsByState: Schema.optional(Schema.Array(Aggregate)),
|
|
206
|
+
})).annotate({
|
|
207
|
+
identifier: "RolloutStats",
|
|
208
|
+
});
|
|
209
|
+
export const Rollout =
|
|
210
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
211
|
+
unitFilter: Schema.optional(Schema.String),
|
|
212
|
+
stateTransitionTime: Schema.optional(Schema.String),
|
|
213
|
+
control: Schema.optional(RolloutControl),
|
|
214
|
+
labels: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
215
|
+
release: Schema.optional(Schema.String),
|
|
216
|
+
etag: Schema.optional(Schema.String),
|
|
217
|
+
effectiveUnitFilter: Schema.optional(Schema.String),
|
|
218
|
+
parentRollout: Schema.optional(Schema.String),
|
|
219
|
+
rolloutKind: Schema.optional(Schema.String),
|
|
220
|
+
endTime: Schema.optional(Schema.String),
|
|
221
|
+
createTime: Schema.optional(Schema.String),
|
|
222
|
+
stateMessage: Schema.optional(Schema.String),
|
|
223
|
+
annotations: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
224
|
+
startTime: Schema.optional(Schema.String),
|
|
225
|
+
updateTime: Schema.optional(Schema.String),
|
|
226
|
+
stats: Schema.optional(RolloutStats),
|
|
227
|
+
rootRollout: Schema.optional(Schema.String),
|
|
228
|
+
uid: Schema.optional(Schema.String),
|
|
229
|
+
name: Schema.optional(Schema.String),
|
|
230
|
+
deleteTime: Schema.optional(Schema.String),
|
|
231
|
+
state: Schema.optional(Schema.String),
|
|
232
|
+
rolloutOrchestrationStrategy: Schema.optional(Schema.String),
|
|
233
|
+
})).annotate({ identifier: "Rollout" });
|
|
234
|
+
export const ListRolloutsResponse =
|
|
235
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
236
|
+
nextPageToken: Schema.optional(Schema.String),
|
|
237
|
+
unreachable: Schema.optional(Schema.Array(Schema.String)),
|
|
238
|
+
rollouts: Schema.optional(Schema.Array(Rollout)),
|
|
239
|
+
})).annotate({
|
|
240
|
+
identifier: "ListRolloutsResponse",
|
|
241
|
+
});
|
|
242
|
+
export const Dependency =
|
|
243
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
244
|
+
unitKind: Schema.optional(Schema.String),
|
|
245
|
+
alias: Schema.optional(Schema.String),
|
|
246
|
+
})).annotate({ identifier: "Dependency" });
|
|
247
|
+
export const Empty =
|
|
248
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({})).annotate({
|
|
249
|
+
identifier: "Empty",
|
|
250
|
+
});
|
|
251
|
+
export const ToMapping =
|
|
252
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
253
|
+
inputVariable: Schema.optional(Schema.String),
|
|
254
|
+
dependency: Schema.optional(Schema.String),
|
|
255
|
+
ignoreForLookup: Schema.optional(Schema.Boolean),
|
|
256
|
+
})).annotate({ identifier: "ToMapping" });
|
|
257
|
+
export const FromMapping =
|
|
258
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
259
|
+
dependency: Schema.optional(Schema.String),
|
|
260
|
+
outputVariable: Schema.optional(Schema.String),
|
|
261
|
+
})).annotate({
|
|
262
|
+
identifier: "FromMapping",
|
|
263
|
+
});
|
|
264
|
+
export const VariableMapping =
|
|
265
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
266
|
+
variable: Schema.optional(Schema.String),
|
|
267
|
+
to: Schema.optional(ToMapping),
|
|
268
|
+
from: Schema.optional(FromMapping),
|
|
269
|
+
})).annotate({
|
|
270
|
+
identifier: "VariableMapping",
|
|
271
|
+
});
|
|
272
|
+
export const CancelOperationRequest =
|
|
273
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({})).annotate({
|
|
274
|
+
identifier: "CancelOperationRequest",
|
|
275
|
+
});
|
|
276
|
+
export const UnitKind =
|
|
277
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
278
|
+
defaultRelease: Schema.optional(Schema.String),
|
|
279
|
+
updateTime: Schema.optional(Schema.String),
|
|
280
|
+
dependencies: Schema.optional(Schema.Array(Dependency)),
|
|
281
|
+
name: Schema.optional(Schema.String),
|
|
282
|
+
uid: Schema.optional(Schema.String),
|
|
283
|
+
outputVariableMappings: Schema.optional(Schema.Array(VariableMapping)),
|
|
284
|
+
etag: Schema.optional(Schema.String),
|
|
285
|
+
inputVariableMappings: Schema.optional(Schema.Array(VariableMapping)),
|
|
286
|
+
saas: Schema.optional(Schema.String),
|
|
287
|
+
annotations: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
288
|
+
createTime: Schema.optional(Schema.String),
|
|
289
|
+
labels: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
290
|
+
})).annotate({ identifier: "UnitKind" });
|
|
291
|
+
export const ListUnitKindsResponse =
|
|
292
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
293
|
+
unreachable: Schema.optional(Schema.Array(Schema.String)),
|
|
294
|
+
unitKinds: Schema.optional(Schema.Array(UnitKind)),
|
|
295
|
+
nextPageToken: Schema.optional(Schema.String),
|
|
296
|
+
})).annotate({
|
|
297
|
+
identifier: "ListUnitKindsResponse",
|
|
298
|
+
});
|
|
299
|
+
export const ListLocationsResponse =
|
|
300
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
301
|
+
locations: Schema.optional(Schema.Array(GoogleCloudLocationLocation)),
|
|
302
|
+
nextPageToken: Schema.optional(Schema.String),
|
|
303
|
+
})).annotate({
|
|
304
|
+
identifier: "ListLocationsResponse",
|
|
305
|
+
});
|
|
306
|
+
export const MaintenanceSettings =
|
|
307
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
308
|
+
pinnedUntilTime: Schema.optional(Schema.String),
|
|
309
|
+
})).annotate({
|
|
310
|
+
identifier: "MaintenanceSettings",
|
|
311
|
+
});
|
|
312
|
+
export const Unit =
|
|
313
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
314
|
+
labels: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
315
|
+
createTime: Schema.optional(Schema.String),
|
|
316
|
+
inputVariables: Schema.optional(Schema.Array(UnitVariable)),
|
|
317
|
+
managementMode: Schema.optional(Schema.String),
|
|
318
|
+
systemCleanupAt: Schema.optional(Schema.String),
|
|
319
|
+
name: Schema.optional(Schema.String),
|
|
320
|
+
maintenance: Schema.optional(MaintenanceSettings),
|
|
321
|
+
systemManagedState: Schema.optional(Schema.String),
|
|
322
|
+
ongoingOperations: Schema.optional(Schema.Array(Schema.String)),
|
|
323
|
+
state: Schema.optional(Schema.String),
|
|
324
|
+
release: Schema.optional(Schema.String),
|
|
325
|
+
tenant: Schema.optional(Schema.String),
|
|
326
|
+
satisfiesPzs: Schema.optional(Schema.Boolean),
|
|
327
|
+
unitKind: Schema.optional(Schema.String),
|
|
328
|
+
dependencies: Schema.optional(Schema.Array(UnitDependency)),
|
|
329
|
+
scheduledOperations: Schema.optional(Schema.Array(Schema.String)),
|
|
330
|
+
satisfiesPzi: Schema.optional(Schema.Boolean),
|
|
331
|
+
etag: Schema.optional(Schema.String),
|
|
332
|
+
updateTime: Schema.optional(Schema.String),
|
|
333
|
+
uid: Schema.optional(Schema.String),
|
|
334
|
+
dependents: Schema.optional(Schema.Array(UnitDependency)),
|
|
335
|
+
pendingOperations: Schema.optional(Schema.Array(Schema.String)),
|
|
336
|
+
conditions: Schema.optional(Schema.Array(UnitCondition)),
|
|
337
|
+
annotations: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
338
|
+
outputVariables: Schema.optional(Schema.Array(UnitVariable)),
|
|
339
|
+
})).annotate({ identifier: "Unit" });
|
|
340
|
+
export const Operation =
|
|
341
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
342
|
+
done: Schema.optional(Schema.Boolean),
|
|
343
|
+
metadata: Schema.optional(Schema.Record(Schema.String, Schema.Unknown)),
|
|
344
|
+
error: Schema.optional(Status),
|
|
345
|
+
name: Schema.optional(Schema.String),
|
|
346
|
+
response: Schema.optional(Schema.Record(Schema.String, Schema.Unknown)),
|
|
347
|
+
})).annotate({ identifier: "Operation" });
|
|
348
|
+
export const Tenant =
|
|
349
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
350
|
+
name: Schema.optional(Schema.String),
|
|
351
|
+
saas: Schema.optional(Schema.String),
|
|
352
|
+
labels: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
353
|
+
annotations: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
354
|
+
createTime: Schema.optional(Schema.String),
|
|
355
|
+
consumerResource: Schema.optional(Schema.String),
|
|
356
|
+
updateTime: Schema.optional(Schema.String),
|
|
357
|
+
uid: Schema.optional(Schema.String),
|
|
358
|
+
etag: Schema.optional(Schema.String),
|
|
359
|
+
})).annotate({ identifier: "Tenant" });
|
|
360
|
+
export const ListTenantsResponse =
|
|
361
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
362
|
+
nextPageToken: Schema.optional(Schema.String),
|
|
363
|
+
unreachable: Schema.optional(Schema.Array(Schema.String)),
|
|
364
|
+
tenants: Schema.optional(Schema.Array(Tenant)),
|
|
365
|
+
})).annotate({
|
|
366
|
+
identifier: "ListTenantsResponse",
|
|
367
|
+
});
|
|
368
|
+
export const ListOperationsResponse =
|
|
369
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
370
|
+
nextPageToken: Schema.optional(Schema.String),
|
|
371
|
+
operations: Schema.optional(Schema.Array(Operation)),
|
|
372
|
+
unreachable: Schema.optional(Schema.Array(Schema.String)),
|
|
373
|
+
})).annotate({
|
|
374
|
+
identifier: "ListOperationsResponse",
|
|
375
|
+
});
|
|
376
|
+
export const ListRolloutKindsResponse =
|
|
377
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
378
|
+
rolloutKinds: Schema.optional(Schema.Array(RolloutKind)),
|
|
379
|
+
nextPageToken: Schema.optional(Schema.String),
|
|
380
|
+
unreachable: Schema.optional(Schema.Array(Schema.String)),
|
|
381
|
+
})).annotate({
|
|
382
|
+
identifier: "ListRolloutKindsResponse",
|
|
383
|
+
});
|
|
384
|
+
export const ListUnitsResponse =
|
|
385
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
386
|
+
nextPageToken: Schema.optional(Schema.String),
|
|
387
|
+
units: Schema.optional(Schema.Array(Unit)),
|
|
388
|
+
unreachable: Schema.optional(Schema.Array(Schema.String)),
|
|
389
|
+
})).annotate({
|
|
390
|
+
identifier: "ListUnitsResponse",
|
|
391
|
+
});
|
|
392
|
+
export const ListUnitOperationsResponse =
|
|
393
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
394
|
+
nextPageToken: Schema.optional(Schema.String),
|
|
395
|
+
unreachable: Schema.optional(Schema.Array(Schema.String)),
|
|
396
|
+
unitOperations: Schema.optional(Schema.Array(UnitOperation)),
|
|
397
|
+
})).annotate({
|
|
398
|
+
identifier: "ListUnitOperationsResponse",
|
|
399
|
+
});
|
|
400
|
+
export const ListReleasesResponse =
|
|
401
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
402
|
+
releases: Schema.optional(Schema.Array(Release)),
|
|
403
|
+
nextPageToken: Schema.optional(Schema.String),
|
|
404
|
+
unreachable: Schema.optional(Schema.Array(Schema.String)),
|
|
405
|
+
})).annotate({
|
|
406
|
+
identifier: "ListReleasesResponse",
|
|
407
|
+
});
|
|
408
|
+
export const GetOperationsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
409
|
+
name: Schema.String.pipe(T.HttpPath("name")),
|
|
410
|
+
}).pipe(T.Http({ method: "GET", path: "v1/operations/{operationsId}" }), svc);
|
|
411
|
+
export const GetOperationsResponse = /*@__PURE__*/ /*#__PURE__*/ Operation;
|
|
412
|
+
/** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
|
|
413
|
+
export const getOperations = API.make(() => ({
|
|
414
|
+
input: GetOperationsRequest,
|
|
415
|
+
output: GetOperationsResponse,
|
|
416
|
+
errors: [],
|
|
417
|
+
}));
|
|
418
|
+
export const CancelOperationsRequest =
|
|
419
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
420
|
+
name: Schema.String.pipe(T.HttpPath("name")),
|
|
421
|
+
body: Schema.optional(CancelOperationRequest).pipe(T.HttpBody()),
|
|
422
|
+
}).pipe(T.Http({
|
|
423
|
+
method: "POST",
|
|
424
|
+
path: "v1/operations/{operationsId}:cancel",
|
|
425
|
+
hasBody: true,
|
|
426
|
+
}), svc);
|
|
427
|
+
export const CancelOperationsResponse = /*@__PURE__*/ /*#__PURE__*/ Empty;
|
|
428
|
+
/** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */
|
|
429
|
+
export const cancelOperations = API.make(() => ({
|
|
430
|
+
input: CancelOperationsRequest,
|
|
431
|
+
output: CancelOperationsResponse,
|
|
432
|
+
errors: [],
|
|
433
|
+
}));
|
|
434
|
+
export const DeleteOperationsRequest =
|
|
435
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
436
|
+
name: Schema.String.pipe(T.HttpPath("name")),
|
|
437
|
+
}).pipe(T.Http({ method: "DELETE", path: "v1/operations/{operationsId}" }), svc);
|
|
438
|
+
export const DeleteOperationsResponse = /*@__PURE__*/ /*#__PURE__*/ Empty;
|
|
439
|
+
/** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */
|
|
440
|
+
export const deleteOperations = API.make(() => ({
|
|
441
|
+
input: DeleteOperationsRequest,
|
|
442
|
+
output: DeleteOperationsResponse,
|
|
443
|
+
errors: [],
|
|
444
|
+
}));
|
|
445
|
+
export const ListOperationsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
446
|
+
pageSize: Schema.optional(Schema.Number).pipe(T.HttpQuery("pageSize")),
|
|
447
|
+
returnPartialSuccess: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("returnPartialSuccess")),
|
|
448
|
+
name: Schema.String.pipe(T.HttpPath("name")),
|
|
449
|
+
pageToken: Schema.optional(Schema.String).pipe(T.HttpQuery("pageToken")),
|
|
450
|
+
filter: Schema.optional(Schema.String).pipe(T.HttpQuery("filter")),
|
|
451
|
+
}).pipe(T.Http({ method: "GET", path: "v1/operations" }), svc);
|
|
452
|
+
export const ListOperationsResponse_Op =
|
|
453
|
+
/*@__PURE__*/ /*#__PURE__*/ ListOperationsResponse;
|
|
454
|
+
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
455
|
+
export const listOperations = API.makePaginated(() => ({
|
|
456
|
+
input: ListOperationsRequest,
|
|
457
|
+
output: ListOperationsResponse_Op,
|
|
458
|
+
errors: [],
|
|
459
|
+
pagination: {
|
|
460
|
+
inputToken: "pageToken",
|
|
461
|
+
outputToken: "nextPageToken",
|
|
462
|
+
},
|
|
463
|
+
}));
|
|
464
|
+
export const ListProjectsLocationsRequest =
|
|
465
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
466
|
+
filter: Schema.optional(Schema.String).pipe(T.HttpQuery("filter")),
|
|
467
|
+
pageSize: Schema.optional(Schema.Number).pipe(T.HttpQuery("pageSize")),
|
|
468
|
+
pageToken: Schema.optional(Schema.String).pipe(T.HttpQuery("pageToken")),
|
|
469
|
+
name: Schema.String.pipe(T.HttpPath("name")),
|
|
470
|
+
extraLocationTypes: Schema.optional(Schema.Array(Schema.String)).pipe(T.HttpQuery("extraLocationTypes")),
|
|
471
|
+
}).pipe(T.Http({ method: "GET", path: "v1/projects/{projectsId}/locations" }), svc);
|
|
472
|
+
export const ListProjectsLocationsResponse =
|
|
473
|
+
/*@__PURE__*/ /*#__PURE__*/ ListLocationsResponse;
|
|
474
|
+
/** Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project. */
|
|
475
|
+
export const listProjectsLocations = API.makePaginated(() => ({
|
|
476
|
+
input: ListProjectsLocationsRequest,
|
|
477
|
+
output: ListProjectsLocationsResponse,
|
|
478
|
+
errors: [],
|
|
479
|
+
pagination: {
|
|
480
|
+
inputToken: "pageToken",
|
|
481
|
+
outputToken: "nextPageToken",
|
|
482
|
+
},
|
|
483
|
+
}));
|
|
484
|
+
export const GetProjectsLocationsRequest =
|
|
485
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
486
|
+
name: Schema.String.pipe(T.HttpPath("name")),
|
|
487
|
+
}).pipe(T.Http({
|
|
488
|
+
method: "GET",
|
|
489
|
+
path: "v1/projects/{projectsId}/locations/{locationsId}",
|
|
490
|
+
}), svc);
|
|
491
|
+
export const GetProjectsLocationsResponse =
|
|
492
|
+
/*@__PURE__*/ /*#__PURE__*/ GoogleCloudLocationLocation;
|
|
493
|
+
/** Gets information about a location. */
|
|
494
|
+
export const getProjectsLocations = API.make(() => ({
|
|
495
|
+
input: GetProjectsLocationsRequest,
|
|
496
|
+
output: GetProjectsLocationsResponse,
|
|
497
|
+
errors: [],
|
|
498
|
+
}));
|
|
499
|
+
export const PatchProjectsLocationsRolloutKindsRequest =
|
|
500
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
501
|
+
name: Schema.String.pipe(T.HttpPath("name")),
|
|
502
|
+
validateOnly: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("validateOnly")),
|
|
503
|
+
requestId: Schema.optional(Schema.String).pipe(T.HttpQuery("requestId")),
|
|
504
|
+
updateMask: Schema.optional(Schema.String).pipe(T.HttpQuery("updateMask")),
|
|
505
|
+
body: Schema.optional(RolloutKind).pipe(T.HttpBody()),
|
|
506
|
+
}).pipe(T.Http({
|
|
507
|
+
method: "PATCH",
|
|
508
|
+
path: "v1/projects/{projectsId}/locations/{locationsId}/rolloutKinds/{rolloutKindsId}",
|
|
509
|
+
hasBody: true,
|
|
510
|
+
}), svc);
|
|
511
|
+
export const PatchProjectsLocationsRolloutKindsResponse =
|
|
512
|
+
/*@__PURE__*/ /*#__PURE__*/ RolloutKind;
|
|
513
|
+
/** Update a single rollout kind. */
|
|
514
|
+
export const patchProjectsLocationsRolloutKinds = API.make(() => ({
|
|
515
|
+
input: PatchProjectsLocationsRolloutKindsRequest,
|
|
516
|
+
output: PatchProjectsLocationsRolloutKindsResponse,
|
|
517
|
+
errors: [],
|
|
518
|
+
}));
|
|
519
|
+
export const ListProjectsLocationsRolloutKindsRequest =
|
|
520
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
521
|
+
orderBy: Schema.optional(Schema.String).pipe(T.HttpQuery("orderBy")),
|
|
522
|
+
parent: Schema.String.pipe(T.HttpPath("parent")),
|
|
523
|
+
filter: Schema.optional(Schema.String).pipe(T.HttpQuery("filter")),
|
|
524
|
+
pageToken: Schema.optional(Schema.String).pipe(T.HttpQuery("pageToken")),
|
|
525
|
+
pageSize: Schema.optional(Schema.Number).pipe(T.HttpQuery("pageSize")),
|
|
526
|
+
}).pipe(T.Http({
|
|
527
|
+
method: "GET",
|
|
528
|
+
path: "v1/projects/{projectsId}/locations/{locationsId}/rolloutKinds",
|
|
529
|
+
}), svc);
|
|
530
|
+
export const ListProjectsLocationsRolloutKindsResponse =
|
|
531
|
+
/*@__PURE__*/ /*#__PURE__*/ ListRolloutKindsResponse;
|
|
532
|
+
/** Retrieve a collection of rollout kinds. */
|
|
533
|
+
export const listProjectsLocationsRolloutKinds = API.makePaginated(() => ({
|
|
534
|
+
input: ListProjectsLocationsRolloutKindsRequest,
|
|
535
|
+
output: ListProjectsLocationsRolloutKindsResponse,
|
|
536
|
+
errors: [],
|
|
537
|
+
pagination: {
|
|
538
|
+
inputToken: "pageToken",
|
|
539
|
+
outputToken: "nextPageToken",
|
|
540
|
+
},
|
|
541
|
+
}));
|
|
542
|
+
export const GetProjectsLocationsRolloutKindsRequest =
|
|
543
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
544
|
+
name: Schema.String.pipe(T.HttpPath("name")),
|
|
545
|
+
}).pipe(T.Http({
|
|
546
|
+
method: "GET",
|
|
547
|
+
path: "v1/projects/{projectsId}/locations/{locationsId}/rolloutKinds/{rolloutKindsId}",
|
|
548
|
+
}), svc);
|
|
549
|
+
export const GetProjectsLocationsRolloutKindsResponse =
|
|
550
|
+
/*@__PURE__*/ /*#__PURE__*/ RolloutKind;
|
|
551
|
+
/** Retrieve a single rollout kind. */
|
|
552
|
+
export const getProjectsLocationsRolloutKinds = API.make(() => ({
|
|
553
|
+
input: GetProjectsLocationsRolloutKindsRequest,
|
|
554
|
+
output: GetProjectsLocationsRolloutKindsResponse,
|
|
555
|
+
errors: [],
|
|
556
|
+
}));
|
|
557
|
+
export const CreateProjectsLocationsRolloutKindsRequest =
|
|
558
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
559
|
+
rolloutKindId: Schema.optional(Schema.String).pipe(T.HttpQuery("rolloutKindId")),
|
|
560
|
+
requestId: Schema.optional(Schema.String).pipe(T.HttpQuery("requestId")),
|
|
561
|
+
parent: Schema.String.pipe(T.HttpPath("parent")),
|
|
562
|
+
validateOnly: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("validateOnly")),
|
|
563
|
+
body: Schema.optional(RolloutKind).pipe(T.HttpBody()),
|
|
564
|
+
}).pipe(T.Http({
|
|
565
|
+
method: "POST",
|
|
566
|
+
path: "v1/projects/{projectsId}/locations/{locationsId}/rolloutKinds",
|
|
567
|
+
hasBody: true,
|
|
568
|
+
}), svc);
|
|
569
|
+
export const CreateProjectsLocationsRolloutKindsResponse =
|
|
570
|
+
/*@__PURE__*/ /*#__PURE__*/ RolloutKind;
|
|
571
|
+
/** Create a new rollout kind. */
|
|
572
|
+
export const createProjectsLocationsRolloutKinds = API.make(() => ({
|
|
573
|
+
input: CreateProjectsLocationsRolloutKindsRequest,
|
|
574
|
+
output: CreateProjectsLocationsRolloutKindsResponse,
|
|
575
|
+
errors: [],
|
|
576
|
+
}));
|
|
577
|
+
export const DeleteProjectsLocationsRolloutKindsRequest =
|
|
578
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
579
|
+
etag: Schema.optional(Schema.String).pipe(T.HttpQuery("etag")),
|
|
580
|
+
requestId: Schema.optional(Schema.String).pipe(T.HttpQuery("requestId")),
|
|
581
|
+
validateOnly: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("validateOnly")),
|
|
582
|
+
name: Schema.String.pipe(T.HttpPath("name")),
|
|
583
|
+
}).pipe(T.Http({
|
|
584
|
+
method: "DELETE",
|
|
585
|
+
path: "v1/projects/{projectsId}/locations/{locationsId}/rolloutKinds/{rolloutKindsId}",
|
|
586
|
+
}), svc);
|
|
587
|
+
export const DeleteProjectsLocationsRolloutKindsResponse =
|
|
588
|
+
/*@__PURE__*/ /*#__PURE__*/ Empty;
|
|
589
|
+
/** Delete a single rollout kind. */
|
|
590
|
+
export const deleteProjectsLocationsRolloutKinds = API.make(() => ({
|
|
591
|
+
input: DeleteProjectsLocationsRolloutKindsRequest,
|
|
592
|
+
output: DeleteProjectsLocationsRolloutKindsResponse,
|
|
593
|
+
errors: [],
|
|
594
|
+
}));
|
|
595
|
+
export const PatchProjectsLocationsUnitsRequest =
|
|
596
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
597
|
+
requestId: Schema.optional(Schema.String).pipe(T.HttpQuery("requestId")),
|
|
598
|
+
updateMask: Schema.optional(Schema.String).pipe(T.HttpQuery("updateMask")),
|
|
599
|
+
validateOnly: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("validateOnly")),
|
|
600
|
+
name: Schema.String.pipe(T.HttpPath("name")),
|
|
601
|
+
body: Schema.optional(Unit).pipe(T.HttpBody()),
|
|
602
|
+
}).pipe(T.Http({
|
|
603
|
+
method: "PATCH",
|
|
604
|
+
path: "v1/projects/{projectsId}/locations/{locationsId}/units/{unitsId}",
|
|
605
|
+
hasBody: true,
|
|
606
|
+
}), svc);
|
|
607
|
+
export const PatchProjectsLocationsUnitsResponse =
|
|
608
|
+
/*@__PURE__*/ /*#__PURE__*/ Unit;
|
|
609
|
+
/** Update a single unit. */
|
|
610
|
+
export const patchProjectsLocationsUnits = API.make(() => ({
|
|
611
|
+
input: PatchProjectsLocationsUnitsRequest,
|
|
612
|
+
output: PatchProjectsLocationsUnitsResponse,
|
|
613
|
+
errors: [],
|
|
614
|
+
}));
|
|
615
|
+
export const DeleteProjectsLocationsUnitsRequest =
|
|
616
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
617
|
+
name: Schema.String.pipe(T.HttpPath("name")),
|
|
618
|
+
validateOnly: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("validateOnly")),
|
|
619
|
+
requestId: Schema.optional(Schema.String).pipe(T.HttpQuery("requestId")),
|
|
620
|
+
etag: Schema.optional(Schema.String).pipe(T.HttpQuery("etag")),
|
|
621
|
+
}).pipe(T.Http({
|
|
622
|
+
method: "DELETE",
|
|
623
|
+
path: "v1/projects/{projectsId}/locations/{locationsId}/units/{unitsId}",
|
|
624
|
+
}), svc);
|
|
625
|
+
export const DeleteProjectsLocationsUnitsResponse =
|
|
626
|
+
/*@__PURE__*/ /*#__PURE__*/ Empty;
|
|
627
|
+
/** Delete a single unit. */
|
|
628
|
+
export const deleteProjectsLocationsUnits = API.make(() => ({
|
|
629
|
+
input: DeleteProjectsLocationsUnitsRequest,
|
|
630
|
+
output: DeleteProjectsLocationsUnitsResponse,
|
|
631
|
+
errors: [],
|
|
632
|
+
}));
|
|
633
|
+
export const GetProjectsLocationsUnitsRequest =
|
|
634
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
635
|
+
name: Schema.String.pipe(T.HttpPath("name")),
|
|
636
|
+
}).pipe(T.Http({
|
|
637
|
+
method: "GET",
|
|
638
|
+
path: "v1/projects/{projectsId}/locations/{locationsId}/units/{unitsId}",
|
|
639
|
+
}), svc);
|
|
640
|
+
export const GetProjectsLocationsUnitsResponse =
|
|
641
|
+
/*@__PURE__*/ /*#__PURE__*/ Unit;
|
|
642
|
+
/** Retrieve a single unit. */
|
|
643
|
+
export const getProjectsLocationsUnits = API.make(() => ({
|
|
644
|
+
input: GetProjectsLocationsUnitsRequest,
|
|
645
|
+
output: GetProjectsLocationsUnitsResponse,
|
|
646
|
+
errors: [],
|
|
647
|
+
}));
|
|
648
|
+
export const ListProjectsLocationsUnitsRequest =
|
|
649
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
650
|
+
filter: Schema.optional(Schema.String).pipe(T.HttpQuery("filter")),
|
|
651
|
+
pageSize: Schema.optional(Schema.Number).pipe(T.HttpQuery("pageSize")),
|
|
652
|
+
parent: Schema.String.pipe(T.HttpPath("parent")),
|
|
653
|
+
orderBy: Schema.optional(Schema.String).pipe(T.HttpQuery("orderBy")),
|
|
654
|
+
pageToken: Schema.optional(Schema.String).pipe(T.HttpQuery("pageToken")),
|
|
655
|
+
}).pipe(T.Http({
|
|
656
|
+
method: "GET",
|
|
657
|
+
path: "v1/projects/{projectsId}/locations/{locationsId}/units",
|
|
658
|
+
}), svc);
|
|
659
|
+
export const ListProjectsLocationsUnitsResponse =
|
|
660
|
+
/*@__PURE__*/ /*#__PURE__*/ ListUnitsResponse;
|
|
661
|
+
/** Retrieve a collection of units. */
|
|
662
|
+
export const listProjectsLocationsUnits = API.makePaginated(() => ({
|
|
663
|
+
input: ListProjectsLocationsUnitsRequest,
|
|
664
|
+
output: ListProjectsLocationsUnitsResponse,
|
|
665
|
+
errors: [],
|
|
666
|
+
pagination: {
|
|
667
|
+
inputToken: "pageToken",
|
|
668
|
+
outputToken: "nextPageToken",
|
|
669
|
+
},
|
|
670
|
+
}));
|
|
671
|
+
export const CreateProjectsLocationsUnitsRequest =
|
|
672
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
673
|
+
unitId: Schema.optional(Schema.String).pipe(T.HttpQuery("unitId")),
|
|
674
|
+
parent: Schema.String.pipe(T.HttpPath("parent")),
|
|
675
|
+
validateOnly: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("validateOnly")),
|
|
676
|
+
requestId: Schema.optional(Schema.String).pipe(T.HttpQuery("requestId")),
|
|
677
|
+
body: Schema.optional(Unit).pipe(T.HttpBody()),
|
|
678
|
+
}).pipe(T.Http({
|
|
679
|
+
method: "POST",
|
|
680
|
+
path: "v1/projects/{projectsId}/locations/{locationsId}/units",
|
|
681
|
+
hasBody: true,
|
|
682
|
+
}), svc);
|
|
683
|
+
export const CreateProjectsLocationsUnitsResponse =
|
|
684
|
+
/*@__PURE__*/ /*#__PURE__*/ Unit;
|
|
685
|
+
/** Create a new unit. */
|
|
686
|
+
export const createProjectsLocationsUnits = API.make(() => ({
|
|
687
|
+
input: CreateProjectsLocationsUnitsRequest,
|
|
688
|
+
output: CreateProjectsLocationsUnitsResponse,
|
|
689
|
+
errors: [],
|
|
690
|
+
}));
|
|
691
|
+
export const GetProjectsLocationsUnitOperationsRequest =
|
|
692
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
693
|
+
name: Schema.String.pipe(T.HttpPath("name")),
|
|
694
|
+
}).pipe(T.Http({
|
|
695
|
+
method: "GET",
|
|
696
|
+
path: "v1/projects/{projectsId}/locations/{locationsId}/unitOperations/{unitOperationsId}",
|
|
697
|
+
}), svc);
|
|
698
|
+
export const GetProjectsLocationsUnitOperationsResponse =
|
|
699
|
+
/*@__PURE__*/ /*#__PURE__*/ UnitOperation;
|
|
700
|
+
/** Retrieve a single unit operation. */
|
|
701
|
+
export const getProjectsLocationsUnitOperations = API.make(() => ({
|
|
702
|
+
input: GetProjectsLocationsUnitOperationsRequest,
|
|
703
|
+
output: GetProjectsLocationsUnitOperationsResponse,
|
|
704
|
+
errors: [],
|
|
705
|
+
}));
|
|
706
|
+
export const PatchProjectsLocationsUnitOperationsRequest =
|
|
707
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
708
|
+
validateOnly: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("validateOnly")),
|
|
709
|
+
requestId: Schema.optional(Schema.String).pipe(T.HttpQuery("requestId")),
|
|
710
|
+
updateMask: Schema.optional(Schema.String).pipe(T.HttpQuery("updateMask")),
|
|
711
|
+
name: Schema.String.pipe(T.HttpPath("name")),
|
|
712
|
+
body: Schema.optional(UnitOperation).pipe(T.HttpBody()),
|
|
713
|
+
}).pipe(T.Http({
|
|
714
|
+
method: "PATCH",
|
|
715
|
+
path: "v1/projects/{projectsId}/locations/{locationsId}/unitOperations/{unitOperationsId}",
|
|
716
|
+
hasBody: true,
|
|
717
|
+
}), svc);
|
|
718
|
+
export const PatchProjectsLocationsUnitOperationsResponse =
|
|
719
|
+
/*@__PURE__*/ /*#__PURE__*/ UnitOperation;
|
|
720
|
+
/** Update a single unit operation. */
|
|
721
|
+
export const patchProjectsLocationsUnitOperations = API.make(() => ({
|
|
722
|
+
input: PatchProjectsLocationsUnitOperationsRequest,
|
|
723
|
+
output: PatchProjectsLocationsUnitOperationsResponse,
|
|
724
|
+
errors: [],
|
|
725
|
+
}));
|
|
726
|
+
export const CreateProjectsLocationsUnitOperationsRequest =
|
|
727
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
728
|
+
validateOnly: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("validateOnly")),
|
|
729
|
+
requestId: Schema.optional(Schema.String).pipe(T.HttpQuery("requestId")),
|
|
730
|
+
parent: Schema.String.pipe(T.HttpPath("parent")),
|
|
731
|
+
unitOperationId: Schema.optional(Schema.String).pipe(T.HttpQuery("unitOperationId")),
|
|
732
|
+
body: Schema.optional(UnitOperation).pipe(T.HttpBody()),
|
|
733
|
+
}).pipe(T.Http({
|
|
734
|
+
method: "POST",
|
|
735
|
+
path: "v1/projects/{projectsId}/locations/{locationsId}/unitOperations",
|
|
736
|
+
hasBody: true,
|
|
737
|
+
}), svc);
|
|
738
|
+
export const CreateProjectsLocationsUnitOperationsResponse =
|
|
739
|
+
/*@__PURE__*/ /*#__PURE__*/ UnitOperation;
|
|
740
|
+
/** Create a new unit operation. */
|
|
741
|
+
export const createProjectsLocationsUnitOperations = API.make(() => ({
|
|
742
|
+
input: CreateProjectsLocationsUnitOperationsRequest,
|
|
743
|
+
output: CreateProjectsLocationsUnitOperationsResponse,
|
|
744
|
+
errors: [],
|
|
745
|
+
}));
|
|
746
|
+
export const ListProjectsLocationsUnitOperationsRequest =
|
|
747
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
748
|
+
parent: Schema.String.pipe(T.HttpPath("parent")),
|
|
749
|
+
pageSize: Schema.optional(Schema.Number).pipe(T.HttpQuery("pageSize")),
|
|
750
|
+
orderBy: Schema.optional(Schema.String).pipe(T.HttpQuery("orderBy")),
|
|
751
|
+
pageToken: Schema.optional(Schema.String).pipe(T.HttpQuery("pageToken")),
|
|
752
|
+
filter: Schema.optional(Schema.String).pipe(T.HttpQuery("filter")),
|
|
753
|
+
}).pipe(T.Http({
|
|
754
|
+
method: "GET",
|
|
755
|
+
path: "v1/projects/{projectsId}/locations/{locationsId}/unitOperations",
|
|
756
|
+
}), svc);
|
|
757
|
+
export const ListProjectsLocationsUnitOperationsResponse =
|
|
758
|
+
/*@__PURE__*/ /*#__PURE__*/ ListUnitOperationsResponse;
|
|
759
|
+
/** Retrieve a collection of unit operations. */
|
|
760
|
+
export const listProjectsLocationsUnitOperations = API.makePaginated(() => ({
|
|
761
|
+
input: ListProjectsLocationsUnitOperationsRequest,
|
|
762
|
+
output: ListProjectsLocationsUnitOperationsResponse,
|
|
763
|
+
errors: [],
|
|
764
|
+
pagination: {
|
|
765
|
+
inputToken: "pageToken",
|
|
766
|
+
outputToken: "nextPageToken",
|
|
767
|
+
},
|
|
768
|
+
}));
|
|
769
|
+
export const DeleteProjectsLocationsUnitOperationsRequest =
|
|
770
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
771
|
+
requestId: Schema.optional(Schema.String).pipe(T.HttpQuery("requestId")),
|
|
772
|
+
etag: Schema.optional(Schema.String).pipe(T.HttpQuery("etag")),
|
|
773
|
+
validateOnly: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("validateOnly")),
|
|
774
|
+
name: Schema.String.pipe(T.HttpPath("name")),
|
|
775
|
+
}).pipe(T.Http({
|
|
776
|
+
method: "DELETE",
|
|
777
|
+
path: "v1/projects/{projectsId}/locations/{locationsId}/unitOperations/{unitOperationsId}",
|
|
778
|
+
}), svc);
|
|
779
|
+
export const DeleteProjectsLocationsUnitOperationsResponse =
|
|
780
|
+
/*@__PURE__*/ /*#__PURE__*/ Empty;
|
|
781
|
+
/** Delete a single unit operation. */
|
|
782
|
+
export const deleteProjectsLocationsUnitOperations = API.make(() => ({
|
|
783
|
+
input: DeleteProjectsLocationsUnitOperationsRequest,
|
|
784
|
+
output: DeleteProjectsLocationsUnitOperationsResponse,
|
|
785
|
+
errors: [],
|
|
786
|
+
}));
|
|
787
|
+
export const CreateProjectsLocationsReleasesRequest =
|
|
788
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
789
|
+
releaseId: Schema.optional(Schema.String).pipe(T.HttpQuery("releaseId")),
|
|
790
|
+
requestId: Schema.optional(Schema.String).pipe(T.HttpQuery("requestId")),
|
|
791
|
+
validateOnly: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("validateOnly")),
|
|
792
|
+
parent: Schema.String.pipe(T.HttpPath("parent")),
|
|
793
|
+
body: Schema.optional(Release).pipe(T.HttpBody()),
|
|
794
|
+
}).pipe(T.Http({
|
|
795
|
+
method: "POST",
|
|
796
|
+
path: "v1/projects/{projectsId}/locations/{locationsId}/releases",
|
|
797
|
+
hasBody: true,
|
|
798
|
+
}), svc);
|
|
799
|
+
export const CreateProjectsLocationsReleasesResponse =
|
|
800
|
+
/*@__PURE__*/ /*#__PURE__*/ Release;
|
|
801
|
+
/** Create a new release. */
|
|
802
|
+
export const createProjectsLocationsReleases = API.make(() => ({
|
|
803
|
+
input: CreateProjectsLocationsReleasesRequest,
|
|
804
|
+
output: CreateProjectsLocationsReleasesResponse,
|
|
805
|
+
errors: [],
|
|
806
|
+
}));
|
|
807
|
+
export const ListProjectsLocationsReleasesRequest =
|
|
808
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
809
|
+
pageToken: Schema.optional(Schema.String).pipe(T.HttpQuery("pageToken")),
|
|
810
|
+
pageSize: Schema.optional(Schema.Number).pipe(T.HttpQuery("pageSize")),
|
|
811
|
+
filter: Schema.optional(Schema.String).pipe(T.HttpQuery("filter")),
|
|
812
|
+
parent: Schema.String.pipe(T.HttpPath("parent")),
|
|
813
|
+
orderBy: Schema.optional(Schema.String).pipe(T.HttpQuery("orderBy")),
|
|
814
|
+
}).pipe(T.Http({
|
|
815
|
+
method: "GET",
|
|
816
|
+
path: "v1/projects/{projectsId}/locations/{locationsId}/releases",
|
|
817
|
+
}), svc);
|
|
818
|
+
export const ListProjectsLocationsReleasesResponse =
|
|
819
|
+
/*@__PURE__*/ /*#__PURE__*/ ListReleasesResponse;
|
|
820
|
+
/** Retrieve a collection of releases. */
|
|
821
|
+
export const listProjectsLocationsReleases = API.makePaginated(() => ({
|
|
822
|
+
input: ListProjectsLocationsReleasesRequest,
|
|
823
|
+
output: ListProjectsLocationsReleasesResponse,
|
|
824
|
+
errors: [],
|
|
825
|
+
pagination: {
|
|
826
|
+
inputToken: "pageToken",
|
|
827
|
+
outputToken: "nextPageToken",
|
|
828
|
+
},
|
|
829
|
+
}));
|
|
830
|
+
export const GetProjectsLocationsReleasesRequest =
|
|
831
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
832
|
+
name: Schema.String.pipe(T.HttpPath("name")),
|
|
833
|
+
}).pipe(T.Http({
|
|
834
|
+
method: "GET",
|
|
835
|
+
path: "v1/projects/{projectsId}/locations/{locationsId}/releases/{releasesId}",
|
|
836
|
+
}), svc);
|
|
837
|
+
export const GetProjectsLocationsReleasesResponse =
|
|
838
|
+
/*@__PURE__*/ /*#__PURE__*/ Release;
|
|
839
|
+
/** Retrieve a single release. */
|
|
840
|
+
export const getProjectsLocationsReleases = API.make(() => ({
|
|
841
|
+
input: GetProjectsLocationsReleasesRequest,
|
|
842
|
+
output: GetProjectsLocationsReleasesResponse,
|
|
843
|
+
errors: [],
|
|
844
|
+
}));
|
|
845
|
+
export const DeleteProjectsLocationsReleasesRequest =
|
|
846
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
847
|
+
etag: Schema.optional(Schema.String).pipe(T.HttpQuery("etag")),
|
|
848
|
+
requestId: Schema.optional(Schema.String).pipe(T.HttpQuery("requestId")),
|
|
849
|
+
name: Schema.String.pipe(T.HttpPath("name")),
|
|
850
|
+
validateOnly: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("validateOnly")),
|
|
851
|
+
}).pipe(T.Http({
|
|
852
|
+
method: "DELETE",
|
|
853
|
+
path: "v1/projects/{projectsId}/locations/{locationsId}/releases/{releasesId}",
|
|
854
|
+
}), svc);
|
|
855
|
+
export const DeleteProjectsLocationsReleasesResponse =
|
|
856
|
+
/*@__PURE__*/ /*#__PURE__*/ Empty;
|
|
857
|
+
/** Delete a single release. */
|
|
858
|
+
export const deleteProjectsLocationsReleases = API.make(() => ({
|
|
859
|
+
input: DeleteProjectsLocationsReleasesRequest,
|
|
860
|
+
output: DeleteProjectsLocationsReleasesResponse,
|
|
861
|
+
errors: [],
|
|
862
|
+
}));
|
|
863
|
+
export const PatchProjectsLocationsReleasesRequest =
|
|
864
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
865
|
+
requestId: Schema.optional(Schema.String).pipe(T.HttpQuery("requestId")),
|
|
866
|
+
updateMask: Schema.optional(Schema.String).pipe(T.HttpQuery("updateMask")),
|
|
867
|
+
validateOnly: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("validateOnly")),
|
|
868
|
+
name: Schema.String.pipe(T.HttpPath("name")),
|
|
869
|
+
body: Schema.optional(Release).pipe(T.HttpBody()),
|
|
870
|
+
}).pipe(T.Http({
|
|
871
|
+
method: "PATCH",
|
|
872
|
+
path: "v1/projects/{projectsId}/locations/{locationsId}/releases/{releasesId}",
|
|
873
|
+
hasBody: true,
|
|
874
|
+
}), svc);
|
|
875
|
+
export const PatchProjectsLocationsReleasesResponse =
|
|
876
|
+
/*@__PURE__*/ /*#__PURE__*/ Release;
|
|
877
|
+
/** Update a single release. */
|
|
878
|
+
export const patchProjectsLocationsReleases = API.make(() => ({
|
|
879
|
+
input: PatchProjectsLocationsReleasesRequest,
|
|
880
|
+
output: PatchProjectsLocationsReleasesResponse,
|
|
881
|
+
errors: [],
|
|
882
|
+
}));
|
|
883
|
+
export const ListProjectsLocationsUnitKindsRequest =
|
|
884
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
885
|
+
filter: Schema.optional(Schema.String).pipe(T.HttpQuery("filter")),
|
|
886
|
+
orderBy: Schema.optional(Schema.String).pipe(T.HttpQuery("orderBy")),
|
|
887
|
+
pageSize: Schema.optional(Schema.Number).pipe(T.HttpQuery("pageSize")),
|
|
888
|
+
parent: Schema.String.pipe(T.HttpPath("parent")),
|
|
889
|
+
pageToken: Schema.optional(Schema.String).pipe(T.HttpQuery("pageToken")),
|
|
890
|
+
}).pipe(T.Http({
|
|
891
|
+
method: "GET",
|
|
892
|
+
path: "v1/projects/{projectsId}/locations/{locationsId}/unitKinds",
|
|
893
|
+
}), svc);
|
|
894
|
+
export const ListProjectsLocationsUnitKindsResponse =
|
|
895
|
+
/*@__PURE__*/ /*#__PURE__*/ ListUnitKindsResponse;
|
|
896
|
+
/** Retrieve a collection of unit kinds. */
|
|
897
|
+
export const listProjectsLocationsUnitKinds = API.makePaginated(() => ({
|
|
898
|
+
input: ListProjectsLocationsUnitKindsRequest,
|
|
899
|
+
output: ListProjectsLocationsUnitKindsResponse,
|
|
900
|
+
errors: [],
|
|
901
|
+
pagination: {
|
|
902
|
+
inputToken: "pageToken",
|
|
903
|
+
outputToken: "nextPageToken",
|
|
904
|
+
},
|
|
905
|
+
}));
|
|
906
|
+
export const DeleteProjectsLocationsUnitKindsRequest =
|
|
907
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
908
|
+
name: Schema.String.pipe(T.HttpPath("name")),
|
|
909
|
+
etag: Schema.optional(Schema.String).pipe(T.HttpQuery("etag")),
|
|
910
|
+
requestId: Schema.optional(Schema.String).pipe(T.HttpQuery("requestId")),
|
|
911
|
+
validateOnly: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("validateOnly")),
|
|
912
|
+
}).pipe(T.Http({
|
|
913
|
+
method: "DELETE",
|
|
914
|
+
path: "v1/projects/{projectsId}/locations/{locationsId}/unitKinds/{unitKindsId}",
|
|
915
|
+
}), svc);
|
|
916
|
+
export const DeleteProjectsLocationsUnitKindsResponse =
|
|
917
|
+
/*@__PURE__*/ /*#__PURE__*/ Empty;
|
|
918
|
+
/** Delete a single unit kind. */
|
|
919
|
+
export const deleteProjectsLocationsUnitKinds = API.make(() => ({
|
|
920
|
+
input: DeleteProjectsLocationsUnitKindsRequest,
|
|
921
|
+
output: DeleteProjectsLocationsUnitKindsResponse,
|
|
922
|
+
errors: [],
|
|
923
|
+
}));
|
|
924
|
+
export const CreateProjectsLocationsUnitKindsRequest =
|
|
925
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
926
|
+
unitKindId: Schema.optional(Schema.String).pipe(T.HttpQuery("unitKindId")),
|
|
927
|
+
parent: Schema.String.pipe(T.HttpPath("parent")),
|
|
928
|
+
validateOnly: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("validateOnly")),
|
|
929
|
+
requestId: Schema.optional(Schema.String).pipe(T.HttpQuery("requestId")),
|
|
930
|
+
body: Schema.optional(UnitKind).pipe(T.HttpBody()),
|
|
931
|
+
}).pipe(T.Http({
|
|
932
|
+
method: "POST",
|
|
933
|
+
path: "v1/projects/{projectsId}/locations/{locationsId}/unitKinds",
|
|
934
|
+
hasBody: true,
|
|
935
|
+
}), svc);
|
|
936
|
+
export const CreateProjectsLocationsUnitKindsResponse =
|
|
937
|
+
/*@__PURE__*/ /*#__PURE__*/ UnitKind;
|
|
938
|
+
/** Create a new unit kind. */
|
|
939
|
+
export const createProjectsLocationsUnitKinds = API.make(() => ({
|
|
940
|
+
input: CreateProjectsLocationsUnitKindsRequest,
|
|
941
|
+
output: CreateProjectsLocationsUnitKindsResponse,
|
|
942
|
+
errors: [],
|
|
943
|
+
}));
|
|
944
|
+
export const PatchProjectsLocationsUnitKindsRequest =
|
|
945
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
946
|
+
requestId: Schema.optional(Schema.String).pipe(T.HttpQuery("requestId")),
|
|
947
|
+
name: Schema.String.pipe(T.HttpPath("name")),
|
|
948
|
+
validateOnly: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("validateOnly")),
|
|
949
|
+
updateMask: Schema.optional(Schema.String).pipe(T.HttpQuery("updateMask")),
|
|
950
|
+
body: Schema.optional(UnitKind).pipe(T.HttpBody()),
|
|
951
|
+
}).pipe(T.Http({
|
|
952
|
+
method: "PATCH",
|
|
953
|
+
path: "v1/projects/{projectsId}/locations/{locationsId}/unitKinds/{unitKindsId}",
|
|
954
|
+
hasBody: true,
|
|
955
|
+
}), svc);
|
|
956
|
+
export const PatchProjectsLocationsUnitKindsResponse =
|
|
957
|
+
/*@__PURE__*/ /*#__PURE__*/ UnitKind;
|
|
958
|
+
/** Update a single unit kind. */
|
|
959
|
+
export const patchProjectsLocationsUnitKinds = API.make(() => ({
|
|
960
|
+
input: PatchProjectsLocationsUnitKindsRequest,
|
|
961
|
+
output: PatchProjectsLocationsUnitKindsResponse,
|
|
962
|
+
errors: [],
|
|
963
|
+
}));
|
|
964
|
+
export const GetProjectsLocationsUnitKindsRequest =
|
|
965
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
966
|
+
name: Schema.String.pipe(T.HttpPath("name")),
|
|
967
|
+
}).pipe(T.Http({
|
|
968
|
+
method: "GET",
|
|
969
|
+
path: "v1/projects/{projectsId}/locations/{locationsId}/unitKinds/{unitKindsId}",
|
|
970
|
+
}), svc);
|
|
971
|
+
export const GetProjectsLocationsUnitKindsResponse =
|
|
972
|
+
/*@__PURE__*/ /*#__PURE__*/ UnitKind;
|
|
973
|
+
/** Retrieve a single unit kind. */
|
|
974
|
+
export const getProjectsLocationsUnitKinds = API.make(() => ({
|
|
975
|
+
input: GetProjectsLocationsUnitKindsRequest,
|
|
976
|
+
output: GetProjectsLocationsUnitKindsResponse,
|
|
977
|
+
errors: [],
|
|
978
|
+
}));
|
|
979
|
+
export const CreateProjectsLocationsTenantsRequest =
|
|
980
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
981
|
+
requestId: Schema.optional(Schema.String).pipe(T.HttpQuery("requestId")),
|
|
982
|
+
tenantId: Schema.optional(Schema.String).pipe(T.HttpQuery("tenantId")),
|
|
983
|
+
validateOnly: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("validateOnly")),
|
|
984
|
+
parent: Schema.String.pipe(T.HttpPath("parent")),
|
|
985
|
+
body: Schema.optional(Tenant).pipe(T.HttpBody()),
|
|
986
|
+
}).pipe(T.Http({
|
|
987
|
+
method: "POST",
|
|
988
|
+
path: "v1/projects/{projectsId}/locations/{locationsId}/tenants",
|
|
989
|
+
hasBody: true,
|
|
990
|
+
}), svc);
|
|
991
|
+
export const CreateProjectsLocationsTenantsResponse =
|
|
992
|
+
/*@__PURE__*/ /*#__PURE__*/ Tenant;
|
|
993
|
+
/** Create a new tenant. */
|
|
994
|
+
export const createProjectsLocationsTenants = API.make(() => ({
|
|
995
|
+
input: CreateProjectsLocationsTenantsRequest,
|
|
996
|
+
output: CreateProjectsLocationsTenantsResponse,
|
|
997
|
+
errors: [],
|
|
998
|
+
}));
|
|
999
|
+
export const DeleteProjectsLocationsTenantsRequest =
|
|
1000
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1001
|
+
requestId: Schema.optional(Schema.String).pipe(T.HttpQuery("requestId")),
|
|
1002
|
+
validateOnly: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("validateOnly")),
|
|
1003
|
+
etag: Schema.optional(Schema.String).pipe(T.HttpQuery("etag")),
|
|
1004
|
+
name: Schema.String.pipe(T.HttpPath("name")),
|
|
1005
|
+
}).pipe(T.Http({
|
|
1006
|
+
method: "DELETE",
|
|
1007
|
+
path: "v1/projects/{projectsId}/locations/{locationsId}/tenants/{tenantsId}",
|
|
1008
|
+
}), svc);
|
|
1009
|
+
export const DeleteProjectsLocationsTenantsResponse =
|
|
1010
|
+
/*@__PURE__*/ /*#__PURE__*/ Empty;
|
|
1011
|
+
/** Delete a single tenant. */
|
|
1012
|
+
export const deleteProjectsLocationsTenants = API.make(() => ({
|
|
1013
|
+
input: DeleteProjectsLocationsTenantsRequest,
|
|
1014
|
+
output: DeleteProjectsLocationsTenantsResponse,
|
|
1015
|
+
errors: [],
|
|
1016
|
+
}));
|
|
1017
|
+
export const ListProjectsLocationsTenantsRequest =
|
|
1018
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1019
|
+
pageSize: Schema.optional(Schema.Number).pipe(T.HttpQuery("pageSize")),
|
|
1020
|
+
pageToken: Schema.optional(Schema.String).pipe(T.HttpQuery("pageToken")),
|
|
1021
|
+
orderBy: Schema.optional(Schema.String).pipe(T.HttpQuery("orderBy")),
|
|
1022
|
+
filter: Schema.optional(Schema.String).pipe(T.HttpQuery("filter")),
|
|
1023
|
+
parent: Schema.String.pipe(T.HttpPath("parent")),
|
|
1024
|
+
}).pipe(T.Http({
|
|
1025
|
+
method: "GET",
|
|
1026
|
+
path: "v1/projects/{projectsId}/locations/{locationsId}/tenants",
|
|
1027
|
+
}), svc);
|
|
1028
|
+
export const ListProjectsLocationsTenantsResponse =
|
|
1029
|
+
/*@__PURE__*/ /*#__PURE__*/ ListTenantsResponse;
|
|
1030
|
+
/** Retrieve a collection of tenants. */
|
|
1031
|
+
export const listProjectsLocationsTenants = API.makePaginated(() => ({
|
|
1032
|
+
input: ListProjectsLocationsTenantsRequest,
|
|
1033
|
+
output: ListProjectsLocationsTenantsResponse,
|
|
1034
|
+
errors: [],
|
|
1035
|
+
pagination: {
|
|
1036
|
+
inputToken: "pageToken",
|
|
1037
|
+
outputToken: "nextPageToken",
|
|
1038
|
+
},
|
|
1039
|
+
}));
|
|
1040
|
+
export const GetProjectsLocationsTenantsRequest =
|
|
1041
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1042
|
+
name: Schema.String.pipe(T.HttpPath("name")),
|
|
1043
|
+
}).pipe(T.Http({
|
|
1044
|
+
method: "GET",
|
|
1045
|
+
path: "v1/projects/{projectsId}/locations/{locationsId}/tenants/{tenantsId}",
|
|
1046
|
+
}), svc);
|
|
1047
|
+
export const GetProjectsLocationsTenantsResponse =
|
|
1048
|
+
/*@__PURE__*/ /*#__PURE__*/ Tenant;
|
|
1049
|
+
/** Retrieve a single tenant. */
|
|
1050
|
+
export const getProjectsLocationsTenants = API.make(() => ({
|
|
1051
|
+
input: GetProjectsLocationsTenantsRequest,
|
|
1052
|
+
output: GetProjectsLocationsTenantsResponse,
|
|
1053
|
+
errors: [],
|
|
1054
|
+
}));
|
|
1055
|
+
export const PatchProjectsLocationsTenantsRequest =
|
|
1056
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1057
|
+
updateMask: Schema.optional(Schema.String).pipe(T.HttpQuery("updateMask")),
|
|
1058
|
+
validateOnly: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("validateOnly")),
|
|
1059
|
+
requestId: Schema.optional(Schema.String).pipe(T.HttpQuery("requestId")),
|
|
1060
|
+
name: Schema.String.pipe(T.HttpPath("name")),
|
|
1061
|
+
body: Schema.optional(Tenant).pipe(T.HttpBody()),
|
|
1062
|
+
}).pipe(T.Http({
|
|
1063
|
+
method: "PATCH",
|
|
1064
|
+
path: "v1/projects/{projectsId}/locations/{locationsId}/tenants/{tenantsId}",
|
|
1065
|
+
hasBody: true,
|
|
1066
|
+
}), svc);
|
|
1067
|
+
export const PatchProjectsLocationsTenantsResponse =
|
|
1068
|
+
/*@__PURE__*/ /*#__PURE__*/ Tenant;
|
|
1069
|
+
/** Update a single tenant. */
|
|
1070
|
+
export const patchProjectsLocationsTenants = API.make(() => ({
|
|
1071
|
+
input: PatchProjectsLocationsTenantsRequest,
|
|
1072
|
+
output: PatchProjectsLocationsTenantsResponse,
|
|
1073
|
+
errors: [],
|
|
1074
|
+
}));
|
|
1075
|
+
export const CreateProjectsLocationsSaasRequest =
|
|
1076
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1077
|
+
requestId: Schema.optional(Schema.String).pipe(T.HttpQuery("requestId")),
|
|
1078
|
+
validateOnly: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("validateOnly")),
|
|
1079
|
+
saasId: Schema.optional(Schema.String).pipe(T.HttpQuery("saasId")),
|
|
1080
|
+
parent: Schema.String.pipe(T.HttpPath("parent")),
|
|
1081
|
+
body: Schema.optional(Saas).pipe(T.HttpBody()),
|
|
1082
|
+
}).pipe(T.Http({
|
|
1083
|
+
method: "POST",
|
|
1084
|
+
path: "v1/projects/{projectsId}/locations/{locationsId}/saas",
|
|
1085
|
+
hasBody: true,
|
|
1086
|
+
}), svc);
|
|
1087
|
+
export const CreateProjectsLocationsSaasResponse =
|
|
1088
|
+
/*@__PURE__*/ /*#__PURE__*/ Saas;
|
|
1089
|
+
/** Create a new saas. */
|
|
1090
|
+
export const createProjectsLocationsSaas = API.make(() => ({
|
|
1091
|
+
input: CreateProjectsLocationsSaasRequest,
|
|
1092
|
+
output: CreateProjectsLocationsSaasResponse,
|
|
1093
|
+
errors: [],
|
|
1094
|
+
}));
|
|
1095
|
+
export const ListProjectsLocationsSaasRequest =
|
|
1096
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1097
|
+
pageSize: Schema.optional(Schema.Number).pipe(T.HttpQuery("pageSize")),
|
|
1098
|
+
orderBy: Schema.optional(Schema.String).pipe(T.HttpQuery("orderBy")),
|
|
1099
|
+
parent: Schema.String.pipe(T.HttpPath("parent")),
|
|
1100
|
+
filter: Schema.optional(Schema.String).pipe(T.HttpQuery("filter")),
|
|
1101
|
+
pageToken: Schema.optional(Schema.String).pipe(T.HttpQuery("pageToken")),
|
|
1102
|
+
}).pipe(T.Http({
|
|
1103
|
+
method: "GET",
|
|
1104
|
+
path: "v1/projects/{projectsId}/locations/{locationsId}/saas",
|
|
1105
|
+
}), svc);
|
|
1106
|
+
export const ListProjectsLocationsSaasResponse =
|
|
1107
|
+
/*@__PURE__*/ /*#__PURE__*/ ListSaasResponse;
|
|
1108
|
+
/** Retrieve a collection of saas. */
|
|
1109
|
+
export const listProjectsLocationsSaas = API.makePaginated(() => ({
|
|
1110
|
+
input: ListProjectsLocationsSaasRequest,
|
|
1111
|
+
output: ListProjectsLocationsSaasResponse,
|
|
1112
|
+
errors: [],
|
|
1113
|
+
pagination: {
|
|
1114
|
+
inputToken: "pageToken",
|
|
1115
|
+
outputToken: "nextPageToken",
|
|
1116
|
+
},
|
|
1117
|
+
}));
|
|
1118
|
+
export const PatchProjectsLocationsSaasRequest =
|
|
1119
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1120
|
+
validateOnly: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("validateOnly")),
|
|
1121
|
+
requestId: Schema.optional(Schema.String).pipe(T.HttpQuery("requestId")),
|
|
1122
|
+
updateMask: Schema.optional(Schema.String).pipe(T.HttpQuery("updateMask")),
|
|
1123
|
+
name: Schema.String.pipe(T.HttpPath("name")),
|
|
1124
|
+
body: Schema.optional(Saas).pipe(T.HttpBody()),
|
|
1125
|
+
}).pipe(T.Http({
|
|
1126
|
+
method: "PATCH",
|
|
1127
|
+
path: "v1/projects/{projectsId}/locations/{locationsId}/saas/{saasId}",
|
|
1128
|
+
hasBody: true,
|
|
1129
|
+
}), svc);
|
|
1130
|
+
export const PatchProjectsLocationsSaasResponse =
|
|
1131
|
+
/*@__PURE__*/ /*#__PURE__*/ Saas;
|
|
1132
|
+
/** Update a single saas. */
|
|
1133
|
+
export const patchProjectsLocationsSaas = API.make(() => ({
|
|
1134
|
+
input: PatchProjectsLocationsSaasRequest,
|
|
1135
|
+
output: PatchProjectsLocationsSaasResponse,
|
|
1136
|
+
errors: [],
|
|
1137
|
+
}));
|
|
1138
|
+
export const DeleteProjectsLocationsSaasRequest =
|
|
1139
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1140
|
+
requestId: Schema.optional(Schema.String).pipe(T.HttpQuery("requestId")),
|
|
1141
|
+
name: Schema.String.pipe(T.HttpPath("name")),
|
|
1142
|
+
etag: Schema.optional(Schema.String).pipe(T.HttpQuery("etag")),
|
|
1143
|
+
validateOnly: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("validateOnly")),
|
|
1144
|
+
}).pipe(T.Http({
|
|
1145
|
+
method: "DELETE",
|
|
1146
|
+
path: "v1/projects/{projectsId}/locations/{locationsId}/saas/{saasId}",
|
|
1147
|
+
}), svc);
|
|
1148
|
+
export const DeleteProjectsLocationsSaasResponse =
|
|
1149
|
+
/*@__PURE__*/ /*#__PURE__*/ Empty;
|
|
1150
|
+
/** Delete a single saas. */
|
|
1151
|
+
export const deleteProjectsLocationsSaas = API.make(() => ({
|
|
1152
|
+
input: DeleteProjectsLocationsSaasRequest,
|
|
1153
|
+
output: DeleteProjectsLocationsSaasResponse,
|
|
1154
|
+
errors: [],
|
|
1155
|
+
}));
|
|
1156
|
+
export const GetProjectsLocationsSaasRequest =
|
|
1157
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1158
|
+
name: Schema.String.pipe(T.HttpPath("name")),
|
|
1159
|
+
}).pipe(T.Http({
|
|
1160
|
+
method: "GET",
|
|
1161
|
+
path: "v1/projects/{projectsId}/locations/{locationsId}/saas/{saasId}",
|
|
1162
|
+
}), svc);
|
|
1163
|
+
export const GetProjectsLocationsSaasResponse =
|
|
1164
|
+
/*@__PURE__*/ /*#__PURE__*/ Saas;
|
|
1165
|
+
/** Retrieve a single saas. */
|
|
1166
|
+
export const getProjectsLocationsSaas = API.make(() => ({
|
|
1167
|
+
input: GetProjectsLocationsSaasRequest,
|
|
1168
|
+
output: GetProjectsLocationsSaasResponse,
|
|
1169
|
+
errors: [],
|
|
1170
|
+
}));
|
|
1171
|
+
export const DeleteProjectsLocationsRolloutsRequest =
|
|
1172
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1173
|
+
name: Schema.String.pipe(T.HttpPath("name")),
|
|
1174
|
+
validateOnly: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("validateOnly")),
|
|
1175
|
+
requestId: Schema.optional(Schema.String).pipe(T.HttpQuery("requestId")),
|
|
1176
|
+
etag: Schema.optional(Schema.String).pipe(T.HttpQuery("etag")),
|
|
1177
|
+
}).pipe(T.Http({
|
|
1178
|
+
method: "DELETE",
|
|
1179
|
+
path: "v1/projects/{projectsId}/locations/{locationsId}/rollouts/{rolloutsId}",
|
|
1180
|
+
}), svc);
|
|
1181
|
+
export const DeleteProjectsLocationsRolloutsResponse =
|
|
1182
|
+
/*@__PURE__*/ /*#__PURE__*/ Empty;
|
|
1183
|
+
/** Delete a single rollout. */
|
|
1184
|
+
export const deleteProjectsLocationsRollouts = API.make(() => ({
|
|
1185
|
+
input: DeleteProjectsLocationsRolloutsRequest,
|
|
1186
|
+
output: DeleteProjectsLocationsRolloutsResponse,
|
|
1187
|
+
errors: [],
|
|
1188
|
+
}));
|
|
1189
|
+
export const ListProjectsLocationsRolloutsRequest =
|
|
1190
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1191
|
+
pageSize: Schema.optional(Schema.Number).pipe(T.HttpQuery("pageSize")),
|
|
1192
|
+
parent: Schema.String.pipe(T.HttpPath("parent")),
|
|
1193
|
+
filter: Schema.optional(Schema.String).pipe(T.HttpQuery("filter")),
|
|
1194
|
+
pageToken: Schema.optional(Schema.String).pipe(T.HttpQuery("pageToken")),
|
|
1195
|
+
orderBy: Schema.optional(Schema.String).pipe(T.HttpQuery("orderBy")),
|
|
1196
|
+
}).pipe(T.Http({
|
|
1197
|
+
method: "GET",
|
|
1198
|
+
path: "v1/projects/{projectsId}/locations/{locationsId}/rollouts",
|
|
1199
|
+
}), svc);
|
|
1200
|
+
export const ListProjectsLocationsRolloutsResponse =
|
|
1201
|
+
/*@__PURE__*/ /*#__PURE__*/ ListRolloutsResponse;
|
|
1202
|
+
/** Retrieve a collection of rollouts. */
|
|
1203
|
+
export const listProjectsLocationsRollouts = API.makePaginated(() => ({
|
|
1204
|
+
input: ListProjectsLocationsRolloutsRequest,
|
|
1205
|
+
output: ListProjectsLocationsRolloutsResponse,
|
|
1206
|
+
errors: [],
|
|
1207
|
+
pagination: {
|
|
1208
|
+
inputToken: "pageToken",
|
|
1209
|
+
outputToken: "nextPageToken",
|
|
1210
|
+
},
|
|
1211
|
+
}));
|
|
1212
|
+
export const CreateProjectsLocationsRolloutsRequest =
|
|
1213
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1214
|
+
rolloutId: Schema.optional(Schema.String).pipe(T.HttpQuery("rolloutId")),
|
|
1215
|
+
parent: Schema.String.pipe(T.HttpPath("parent")),
|
|
1216
|
+
validateOnly: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("validateOnly")),
|
|
1217
|
+
requestId: Schema.optional(Schema.String).pipe(T.HttpQuery("requestId")),
|
|
1218
|
+
body: Schema.optional(Rollout).pipe(T.HttpBody()),
|
|
1219
|
+
}).pipe(T.Http({
|
|
1220
|
+
method: "POST",
|
|
1221
|
+
path: "v1/projects/{projectsId}/locations/{locationsId}/rollouts",
|
|
1222
|
+
hasBody: true,
|
|
1223
|
+
}), svc);
|
|
1224
|
+
export const CreateProjectsLocationsRolloutsResponse =
|
|
1225
|
+
/*@__PURE__*/ /*#__PURE__*/ Rollout;
|
|
1226
|
+
/** Create a new rollout. */
|
|
1227
|
+
export const createProjectsLocationsRollouts = API.make(() => ({
|
|
1228
|
+
input: CreateProjectsLocationsRolloutsRequest,
|
|
1229
|
+
output: CreateProjectsLocationsRolloutsResponse,
|
|
1230
|
+
errors: [],
|
|
1231
|
+
}));
|
|
1232
|
+
export const PatchProjectsLocationsRolloutsRequest =
|
|
1233
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1234
|
+
name: Schema.String.pipe(T.HttpPath("name")),
|
|
1235
|
+
requestId: Schema.optional(Schema.String).pipe(T.HttpQuery("requestId")),
|
|
1236
|
+
validateOnly: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("validateOnly")),
|
|
1237
|
+
updateMask: Schema.optional(Schema.String).pipe(T.HttpQuery("updateMask")),
|
|
1238
|
+
body: Schema.optional(Rollout).pipe(T.HttpBody()),
|
|
1239
|
+
}).pipe(T.Http({
|
|
1240
|
+
method: "PATCH",
|
|
1241
|
+
path: "v1/projects/{projectsId}/locations/{locationsId}/rollouts/{rolloutsId}",
|
|
1242
|
+
hasBody: true,
|
|
1243
|
+
}), svc);
|
|
1244
|
+
export const PatchProjectsLocationsRolloutsResponse =
|
|
1245
|
+
/*@__PURE__*/ /*#__PURE__*/ Rollout;
|
|
1246
|
+
/** Update a single rollout. */
|
|
1247
|
+
export const patchProjectsLocationsRollouts = API.make(() => ({
|
|
1248
|
+
input: PatchProjectsLocationsRolloutsRequest,
|
|
1249
|
+
output: PatchProjectsLocationsRolloutsResponse,
|
|
1250
|
+
errors: [],
|
|
1251
|
+
}));
|
|
1252
|
+
export const GetProjectsLocationsRolloutsRequest =
|
|
1253
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1254
|
+
name: Schema.String.pipe(T.HttpPath("name")),
|
|
1255
|
+
}).pipe(T.Http({
|
|
1256
|
+
method: "GET",
|
|
1257
|
+
path: "v1/projects/{projectsId}/locations/{locationsId}/rollouts/{rolloutsId}",
|
|
1258
|
+
}), svc);
|
|
1259
|
+
export const GetProjectsLocationsRolloutsResponse =
|
|
1260
|
+
/*@__PURE__*/ /*#__PURE__*/ Rollout;
|
|
1261
|
+
/** Retrieve a single rollout. */
|
|
1262
|
+
export const getProjectsLocationsRollouts = API.make(() => ({
|
|
1263
|
+
input: GetProjectsLocationsRolloutsRequest,
|
|
1264
|
+
output: GetProjectsLocationsRolloutsResponse,
|
|
1265
|
+
errors: [],
|
|
1266
|
+
}));
|
|
1267
|
+
//# sourceMappingURL=saasservicemgmt-v1.js.map
|