@maxim_mazurok/gapi.client.aiplatform-v1 0.0.20230812 → 0.0.20230914
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/index.d.ts +969 -46
- package/package.json +1 -1
- package/tests.ts +165 -1
package/package.json
CHANGED
package/tests.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
4
4
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
5
5
|
|
|
6
|
-
// Revision:
|
|
6
|
+
// Revision: 20230914
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -2954,6 +2954,9 @@ gapi.load('client', async () => {
|
|
|
2954
2954
|
description: "Test string",
|
|
2955
2955
|
displayName: "Test string",
|
|
2956
2956
|
enablePrivateServiceConnect: true,
|
|
2957
|
+
encryptionSpec: {
|
|
2958
|
+
kmsKeyName: "Test string",
|
|
2959
|
+
},
|
|
2957
2960
|
etag: "Test string",
|
|
2958
2961
|
labels: {
|
|
2959
2962
|
A: "Test string"
|
|
@@ -3175,6 +3178,9 @@ gapi.load('client', async () => {
|
|
|
3175
3178
|
description: "Test string",
|
|
3176
3179
|
displayName: "Test string",
|
|
3177
3180
|
enablePrivateServiceConnect: true,
|
|
3181
|
+
encryptionSpec: {
|
|
3182
|
+
kmsKeyName: "Test string",
|
|
3183
|
+
},
|
|
3178
3184
|
etag: "Test string",
|
|
3179
3185
|
labels: {
|
|
3180
3186
|
A: "Test string"
|
|
@@ -3256,6 +3262,9 @@ gapi.load('client', async () => {
|
|
|
3256
3262
|
],
|
|
3257
3263
|
description: "Test string",
|
|
3258
3264
|
displayName: "Test string",
|
|
3265
|
+
encryptionSpec: {
|
|
3266
|
+
kmsKeyName: "Test string",
|
|
3267
|
+
},
|
|
3259
3268
|
etag: "Test string",
|
|
3260
3269
|
indexStats: {
|
|
3261
3270
|
shardsCount: 42,
|
|
@@ -3300,6 +3309,9 @@ gapi.load('client', async () => {
|
|
|
3300
3309
|
],
|
|
3301
3310
|
description: "Test string",
|
|
3302
3311
|
displayName: "Test string",
|
|
3312
|
+
encryptionSpec: {
|
|
3313
|
+
kmsKeyName: "Test string",
|
|
3314
|
+
},
|
|
3303
3315
|
etag: "Test string",
|
|
3304
3316
|
indexStats: {
|
|
3305
3317
|
shardsCount: 42,
|
|
@@ -5200,6 +5212,147 @@ gapi.load('client', async () => {
|
|
|
5200
5212
|
pageToken: "Test string",
|
|
5201
5213
|
parent: "Test string",
|
|
5202
5214
|
});
|
|
5215
|
+
/** Assigns a NotebookRuntime to a user for a particular Notebook file. This method will either returns an existing assignment or generates a new one. */
|
|
5216
|
+
await gapi.client.aiplatform.projects.locations.notebookRuntimes.assign({
|
|
5217
|
+
parent: "Test string",
|
|
5218
|
+
}, {
|
|
5219
|
+
notebookRuntime: {
|
|
5220
|
+
createTime: "Test string",
|
|
5221
|
+
description: "Test string",
|
|
5222
|
+
displayName: "Test string",
|
|
5223
|
+
expirationTime: "Test string",
|
|
5224
|
+
healthState: "Test string",
|
|
5225
|
+
labels: {
|
|
5226
|
+
A: "Test string"
|
|
5227
|
+
},
|
|
5228
|
+
name: "Test string",
|
|
5229
|
+
notebookRuntimeTemplateRef: {
|
|
5230
|
+
notebookRuntimeTemplate: "Test string",
|
|
5231
|
+
},
|
|
5232
|
+
proxyUri: "Test string",
|
|
5233
|
+
runtimeState: "Test string",
|
|
5234
|
+
runtimeUser: "Test string",
|
|
5235
|
+
serviceAccount: "Test string",
|
|
5236
|
+
updateTime: "Test string",
|
|
5237
|
+
version: "Test string",
|
|
5238
|
+
},
|
|
5239
|
+
notebookRuntimeId: "Test string",
|
|
5240
|
+
notebookRuntimeTemplate: "Test string",
|
|
5241
|
+
});
|
|
5242
|
+
/** Deletes a NotebookRuntime. */
|
|
5243
|
+
await gapi.client.aiplatform.projects.locations.notebookRuntimes.delete({
|
|
5244
|
+
name: "Test string",
|
|
5245
|
+
});
|
|
5246
|
+
/** Gets a NotebookRuntime. */
|
|
5247
|
+
await gapi.client.aiplatform.projects.locations.notebookRuntimes.get({
|
|
5248
|
+
name: "Test string",
|
|
5249
|
+
});
|
|
5250
|
+
/** Lists NotebookRuntimes in a Location. */
|
|
5251
|
+
await gapi.client.aiplatform.projects.locations.notebookRuntimes.list({
|
|
5252
|
+
filter: "Test string",
|
|
5253
|
+
orderBy: "Test string",
|
|
5254
|
+
pageSize: 42,
|
|
5255
|
+
pageToken: "Test string",
|
|
5256
|
+
parent: "Test string",
|
|
5257
|
+
readMask: "Test string",
|
|
5258
|
+
});
|
|
5259
|
+
/** Starts a NotebookRuntime. */
|
|
5260
|
+
await gapi.client.aiplatform.projects.locations.notebookRuntimes.start({
|
|
5261
|
+
name: "Test string",
|
|
5262
|
+
}, {
|
|
5263
|
+
});
|
|
5264
|
+
/** Creates a NotebookRuntimeTemplate. */
|
|
5265
|
+
await gapi.client.aiplatform.projects.locations.notebookRuntimeTemplates.create({
|
|
5266
|
+
notebookRuntimeTemplateId: "Test string",
|
|
5267
|
+
parent: "Test string",
|
|
5268
|
+
}, {
|
|
5269
|
+
createTime: "Test string",
|
|
5270
|
+
dataPersistentDiskSpec: {
|
|
5271
|
+
diskSizeGb: "Test string",
|
|
5272
|
+
diskType: "Test string",
|
|
5273
|
+
},
|
|
5274
|
+
description: "Test string",
|
|
5275
|
+
displayName: "Test string",
|
|
5276
|
+
etag: "Test string",
|
|
5277
|
+
eucConfig: {
|
|
5278
|
+
bypassActasCheck: true,
|
|
5279
|
+
eucDisabled: true,
|
|
5280
|
+
},
|
|
5281
|
+
idleShutdownConfig: {
|
|
5282
|
+
idleShutdownDisabled: true,
|
|
5283
|
+
idleTimeout: "Test string",
|
|
5284
|
+
},
|
|
5285
|
+
isDefault: true,
|
|
5286
|
+
labels: {
|
|
5287
|
+
A: "Test string"
|
|
5288
|
+
},
|
|
5289
|
+
machineSpec: {
|
|
5290
|
+
acceleratorCount: 42,
|
|
5291
|
+
acceleratorType: "Test string",
|
|
5292
|
+
machineType: "Test string",
|
|
5293
|
+
},
|
|
5294
|
+
name: "Test string",
|
|
5295
|
+
networkSpec: {
|
|
5296
|
+
enableInternetAccess: true,
|
|
5297
|
+
network: "Test string",
|
|
5298
|
+
subnetwork: "Test string",
|
|
5299
|
+
},
|
|
5300
|
+
serviceAccount: "Test string",
|
|
5301
|
+
updateTime: "Test string",
|
|
5302
|
+
});
|
|
5303
|
+
/** Deletes a NotebookRuntimeTemplate. */
|
|
5304
|
+
await gapi.client.aiplatform.projects.locations.notebookRuntimeTemplates.delete({
|
|
5305
|
+
name: "Test string",
|
|
5306
|
+
});
|
|
5307
|
+
/** Gets a NotebookRuntimeTemplate. */
|
|
5308
|
+
await gapi.client.aiplatform.projects.locations.notebookRuntimeTemplates.get({
|
|
5309
|
+
name: "Test string",
|
|
5310
|
+
});
|
|
5311
|
+
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
5312
|
+
await gapi.client.aiplatform.projects.locations.notebookRuntimeTemplates.getIamPolicy({
|
|
5313
|
+
"options.requestedPolicyVersion": 42,
|
|
5314
|
+
resource: "Test string",
|
|
5315
|
+
});
|
|
5316
|
+
/** Lists NotebookRuntimeTemplates in a Location. */
|
|
5317
|
+
await gapi.client.aiplatform.projects.locations.notebookRuntimeTemplates.list({
|
|
5318
|
+
filter: "Test string",
|
|
5319
|
+
orderBy: "Test string",
|
|
5320
|
+
pageSize: 42,
|
|
5321
|
+
pageToken: "Test string",
|
|
5322
|
+
parent: "Test string",
|
|
5323
|
+
readMask: "Test string",
|
|
5324
|
+
});
|
|
5325
|
+
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
5326
|
+
await gapi.client.aiplatform.projects.locations.notebookRuntimeTemplates.setIamPolicy({
|
|
5327
|
+
resource: "Test string",
|
|
5328
|
+
}, {
|
|
5329
|
+
policy: {
|
|
5330
|
+
bindings: [
|
|
5331
|
+
{
|
|
5332
|
+
condition: {
|
|
5333
|
+
description: "Test string",
|
|
5334
|
+
expression: "Test string",
|
|
5335
|
+
location: "Test string",
|
|
5336
|
+
title: "Test string",
|
|
5337
|
+
},
|
|
5338
|
+
members: [
|
|
5339
|
+
"Test string"
|
|
5340
|
+
],
|
|
5341
|
+
role: "Test string",
|
|
5342
|
+
}
|
|
5343
|
+
],
|
|
5344
|
+
etag: "Test string",
|
|
5345
|
+
version: 42,
|
|
5346
|
+
},
|
|
5347
|
+
});
|
|
5348
|
+
/**
|
|
5349
|
+
* Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This
|
|
5350
|
+
* operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
|
|
5351
|
+
*/
|
|
5352
|
+
await gapi.client.aiplatform.projects.locations.notebookRuntimeTemplates.testIamPermissions({
|
|
5353
|
+
permissions: "Test string",
|
|
5354
|
+
resource: "Test string",
|
|
5355
|
+
});
|
|
5203
5356
|
/**
|
|
5204
5357
|
* 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
|
|
5205
5358
|
* 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
|
|
@@ -6530,6 +6683,17 @@ gapi.load('client', async () => {
|
|
|
6530
6683
|
parent: "Test string",
|
|
6531
6684
|
}, {
|
|
6532
6685
|
clientId: "Test string",
|
|
6686
|
+
contexts: [
|
|
6687
|
+
{
|
|
6688
|
+
description: "Test string",
|
|
6689
|
+
parameters: [
|
|
6690
|
+
{
|
|
6691
|
+
parameterId: "Test string",
|
|
6692
|
+
value: 42,
|
|
6693
|
+
}
|
|
6694
|
+
],
|
|
6695
|
+
}
|
|
6696
|
+
],
|
|
6533
6697
|
suggestionCount: 42,
|
|
6534
6698
|
});
|
|
6535
6699
|
/**
|