@maxim_mazurok/gapi.client.aiplatform-v1 0.0.20230908 → 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 +919 -11
- package/package.json +1 -1
- package/tests.ts +142 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://aiplatform.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230914
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -185,6 +185,25 @@ declare namespace gapi.client {
|
|
|
185
185
|
uri?:
|
|
186
186
|
string;
|
|
187
187
|
}
|
|
188
|
+
interface GoogleCloudAiplatformV1AssignNotebookRuntimeOperationMetadata {
|
|
189
|
+
/** The operation generic information. */
|
|
190
|
+
genericMetadata?:
|
|
191
|
+
GoogleCloudAiplatformV1GenericOperationMetadata;
|
|
192
|
+
/** A human-readable message that shows the intermediate progress details of NotebookRuntime. */
|
|
193
|
+
progressMessage?:
|
|
194
|
+
string;
|
|
195
|
+
}
|
|
196
|
+
interface GoogleCloudAiplatformV1AssignNotebookRuntimeRequest {
|
|
197
|
+
/** Required. Provide runtime specific information (e.g. runtime owner, notebook id) used for NotebookRuntime assignment. */
|
|
198
|
+
notebookRuntime?:
|
|
199
|
+
GoogleCloudAiplatformV1NotebookRuntime;
|
|
200
|
+
/** Optional. User specified ID for the notebook runtime. */
|
|
201
|
+
notebookRuntimeId?:
|
|
202
|
+
string;
|
|
203
|
+
/** Required. The resource name of the NotebookRuntimeTemplate based on which a NotebookRuntime will be assigned (reuse or create a new one). */
|
|
204
|
+
notebookRuntimeTemplate?:
|
|
205
|
+
string;
|
|
206
|
+
}
|
|
188
207
|
interface GoogleCloudAiplatformV1Attribution {
|
|
189
208
|
/**
|
|
190
209
|
* Output only. Error of feature_attributions caused by approximation used in the explanation method. Lower value means more precise attributions. * For Sampled Shapley attribution,
|
|
@@ -898,6 +917,11 @@ declare namespace gapi.client {
|
|
|
898
917
|
genericMetadata?:
|
|
899
918
|
GoogleCloudAiplatformV1GenericOperationMetadata;
|
|
900
919
|
}
|
|
920
|
+
interface GoogleCloudAiplatformV1CreateNotebookRuntimeTemplateOperationMetadata {
|
|
921
|
+
/** The operation generic information. */
|
|
922
|
+
genericMetadata?:
|
|
923
|
+
GoogleCloudAiplatformV1GenericOperationMetadata;
|
|
924
|
+
}
|
|
901
925
|
interface GoogleCloudAiplatformV1CreatePipelineJobRequest {
|
|
902
926
|
/** Required. The resource name of the Location to create the PipelineJob in. Format: `projects/{project}/locations/{location}` */
|
|
903
927
|
parent?:
|
|
@@ -907,7 +931,7 @@ declare namespace gapi.client {
|
|
|
907
931
|
GoogleCloudAiplatformV1PipelineJob;
|
|
908
932
|
/**
|
|
909
933
|
* The ID to use for the PipelineJob, which will become the final component of the PipelineJob name. If not provided, an ID will be automatically generated. This value should be less
|
|
910
|
-
* than 128 characters, and valid characters are
|
|
934
|
+
* than 128 characters, and valid characters are `/a-z-/`.
|
|
911
935
|
*/
|
|
912
936
|
pipelineJobId?:
|
|
913
937
|
string;
|
|
@@ -934,7 +958,7 @@ declare namespace gapi.client {
|
|
|
934
958
|
GoogleCloudAiplatformV1TensorboardRun;
|
|
935
959
|
/**
|
|
936
960
|
* Required. The ID to use for the Tensorboard run, which becomes the final component of the Tensorboard run's resource name. This value should be 1-128 characters, and valid
|
|
937
|
-
* characters are
|
|
961
|
+
* characters are `/a-z-/`.
|
|
938
962
|
*/
|
|
939
963
|
tensorboardRunId?:
|
|
940
964
|
string;
|
|
@@ -1420,7 +1444,8 @@ declare namespace gapi.client {
|
|
|
1420
1444
|
/**
|
|
1421
1445
|
* Optional. A list of reserved ip ranges under the VPC network that can be used for this DeployedIndex. If set, we will deploy the index within the provided ip ranges. Otherwise, the
|
|
1422
1446
|
* index might be deployed to any ip ranges under the provided VPC network. The value should be the name of the address
|
|
1423
|
-
* (https://cloud.google.com/compute/docs/reference/rest/v1/addresses) Example: 'vertex-ai-ip-range'.
|
|
1447
|
+
* (https://cloud.google.com/compute/docs/reference/rest/v1/addresses) Example: ['vertex-ai-ip-range']. For more information about subnets and network IP ranges, please see
|
|
1448
|
+
* https://cloud.google.com/vpc/docs/subnets#manually_created_subnet_ip_ranges.
|
|
1424
1449
|
*/
|
|
1425
1450
|
reservedIpRanges?:
|
|
1426
1451
|
string[];
|
|
@@ -1484,7 +1509,7 @@ declare namespace gapi.client {
|
|
|
1484
1509
|
GoogleCloudAiplatformV1ExplanationSpec;
|
|
1485
1510
|
/**
|
|
1486
1511
|
* Immutable. The ID of the DeployedModel. If not provided upon deployment, Vertex AI will generate a value for this ID. This value should be 1-10 characters, and valid characters are
|
|
1487
|
-
*
|
|
1512
|
+
* `/[0-9]/`.
|
|
1488
1513
|
*/
|
|
1489
1514
|
id?:
|
|
1490
1515
|
string;
|
|
@@ -3423,6 +3448,22 @@ declare namespace gapi.client {
|
|
|
3423
3448
|
nextPageToken?:
|
|
3424
3449
|
string;
|
|
3425
3450
|
}
|
|
3451
|
+
interface GoogleCloudAiplatformV1ListNotebookRuntimesResponse {
|
|
3452
|
+
/** A token to retrieve next page of results. Pass to ListNotebookRuntimesRequest.page_token to obtain that page. */
|
|
3453
|
+
nextPageToken?:
|
|
3454
|
+
string;
|
|
3455
|
+
/** List of NotebookRuntimes in the requested page. */
|
|
3456
|
+
notebookRuntimes?:
|
|
3457
|
+
GoogleCloudAiplatformV1NotebookRuntime[];
|
|
3458
|
+
}
|
|
3459
|
+
interface GoogleCloudAiplatformV1ListNotebookRuntimeTemplatesResponse {
|
|
3460
|
+
/** A token to retrieve next page of results. Pass to ListNotebookRuntimeTemplatesRequest.page_token to obtain that page. */
|
|
3461
|
+
nextPageToken?:
|
|
3462
|
+
string;
|
|
3463
|
+
/** List of NotebookRuntimeTemplates in the requested page. */
|
|
3464
|
+
notebookRuntimeTemplates?:
|
|
3465
|
+
GoogleCloudAiplatformV1NotebookRuntimeTemplate[];
|
|
3466
|
+
}
|
|
3426
3467
|
// tslint:disable-next-line:no-empty-interface
|
|
3427
3468
|
interface GoogleCloudAiplatformV1ListOptimalTrialsRequest {
|
|
3428
3469
|
}
|
|
@@ -4678,6 +4719,17 @@ declare namespace gapi.client {
|
|
|
4678
4719
|
neighborId?:
|
|
4679
4720
|
string;
|
|
4680
4721
|
}
|
|
4722
|
+
interface GoogleCloudAiplatformV1NetworkSpec {
|
|
4723
|
+
/** Whether to enable public internet access. Default false. */
|
|
4724
|
+
enableInternetAccess?:
|
|
4725
|
+
boolean;
|
|
4726
|
+
/** The full name of the Google Compute Engine [network](https://cloud.google.com//compute/docs/networks-and-firewalls#networks) */
|
|
4727
|
+
network?:
|
|
4728
|
+
string;
|
|
4729
|
+
/** The name of the subnet that this instance is in. Format: `projects/{project_id_or_number}/regions/{region}/subnetworks/{subnetwork_id}` */
|
|
4730
|
+
subnetwork?:
|
|
4731
|
+
string;
|
|
4732
|
+
}
|
|
4681
4733
|
interface GoogleCloudAiplatformV1NfsMount {
|
|
4682
4734
|
/** Required. Destination mount path. The NFS will be mounted for the user under /mnt/nfs/ */
|
|
4683
4735
|
mountPoint?:
|
|
@@ -4689,12 +4741,155 @@ declare namespace gapi.client {
|
|
|
4689
4741
|
server?:
|
|
4690
4742
|
string;
|
|
4691
4743
|
}
|
|
4744
|
+
interface GoogleCloudAiplatformV1NotebookEucConfig {
|
|
4745
|
+
/**
|
|
4746
|
+
* Output only. Whether ActAs check is bypassed for service account attached to the VM. If false, we need ActAs check for the default Compute Engine Service account. When a Runtime is
|
|
4747
|
+
* created, a VM is allocated using Default Compute Engine Service Account. Any user requesting to use this Runtime requires Service Account User (ActAs) permission over this SA. If
|
|
4748
|
+
* true, Runtime owner is using EUC and does not require the above permission as VM no longer use default Compute Engine SA, but a P4SA.
|
|
4749
|
+
*/
|
|
4750
|
+
bypassActasCheck?:
|
|
4751
|
+
boolean;
|
|
4752
|
+
/**
|
|
4753
|
+
* Input only. Whether EUC is disabled in this NotebookRuntimeTemplate. In proto3, the default value of a boolean is false. In this way, by default EUC will be enabled for
|
|
4754
|
+
* NotebookRuntimeTemplate.
|
|
4755
|
+
*/
|
|
4756
|
+
eucDisabled?:
|
|
4757
|
+
boolean;
|
|
4758
|
+
}
|
|
4759
|
+
interface GoogleCloudAiplatformV1NotebookIdleShutdownConfig {
|
|
4760
|
+
/** Whether Idle Shutdown is disabled in this NotebookRuntimeTemplate. */
|
|
4761
|
+
idleShutdownDisabled?:
|
|
4762
|
+
boolean;
|
|
4763
|
+
/** Required. Duration is accurate to the second. In Notebook, Idle Timeout is accurate to minute so the range of idle_timeout (second) is: 10 * 60 ~ 1440 * 60. */
|
|
4764
|
+
idleTimeout?:
|
|
4765
|
+
string;
|
|
4766
|
+
}
|
|
4767
|
+
interface GoogleCloudAiplatformV1NotebookRuntime {
|
|
4768
|
+
/** Output only. Timestamp when this NotebookRuntime was created. */
|
|
4769
|
+
createTime?:
|
|
4770
|
+
string;
|
|
4771
|
+
/** The description of the NotebookRuntime. */
|
|
4772
|
+
description?:
|
|
4773
|
+
string;
|
|
4774
|
+
/** Required. The display name of the NotebookRuntime. The name can be up to 128 characters long and can consist of any UTF-8 characters. */
|
|
4775
|
+
displayName?:
|
|
4776
|
+
string;
|
|
4777
|
+
/**
|
|
4778
|
+
* Output only. Timestamp when this NotebookRuntime will be expired: 1. System Predefined NotebookRuntime: 24 hours after creation. After expiration, system predifined runtime will be
|
|
4779
|
+
* deleted. 2. User created NotebookRuntime: 6 months after last upgrade. After expiration, user created runtime will be stopped and allowed for upgrade.
|
|
4780
|
+
*/
|
|
4781
|
+
expirationTime?:
|
|
4782
|
+
string;
|
|
4783
|
+
/** Output only. The health state of the NotebookRuntime. */
|
|
4784
|
+
healthState?:
|
|
4785
|
+
string;
|
|
4786
|
+
/**
|
|
4787
|
+
* The labels with user-defined metadata to organize your NotebookRuntime. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase
|
|
4788
|
+
* letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Dataset (System labels are
|
|
4789
|
+
* excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.
|
|
4790
|
+
* Following system labels exist for NotebookRuntime: * "aiplatform.googleapis.com/notebook_runtime_gce_instance_id": output only, its value is the Compute Engine instance id. *
|
|
4791
|
+
* "aiplatform.googleapis.com/colab_enterprise_entry_service": its value is either "BigQuery" or "Vertex"; if absent, it should be "Vertex". This is to describe the entry service,
|
|
4792
|
+
* either BigQuery or Vertex.
|
|
4793
|
+
*/
|
|
4794
|
+
labels?:
|
|
4795
|
+
{ [P in string]: string };
|
|
4796
|
+
/** Output only. The resource name of the NotebookRuntime. */
|
|
4797
|
+
name?:
|
|
4798
|
+
string;
|
|
4799
|
+
/** Output only. The pointer to NotebookRuntimeTemplate this NotebookRuntime is created from. */
|
|
4800
|
+
notebookRuntimeTemplateRef?:
|
|
4801
|
+
GoogleCloudAiplatformV1NotebookRuntimeTemplateRef;
|
|
4802
|
+
/** Output only. The proxy endpoint used to access the NotebookRuntime. */
|
|
4803
|
+
proxyUri?:
|
|
4804
|
+
string;
|
|
4805
|
+
/** Output only. The runtime (instance) state of the NotebookRuntime. */
|
|
4806
|
+
runtimeState?:
|
|
4807
|
+
string;
|
|
4808
|
+
/** Required. The user email of the NotebookRuntime. */
|
|
4809
|
+
runtimeUser?:
|
|
4810
|
+
string;
|
|
4811
|
+
/** Output only. The service account that the NotebookRuntime workload runs as. */
|
|
4812
|
+
serviceAccount?:
|
|
4813
|
+
string;
|
|
4814
|
+
/** Output only. Timestamp when this NotebookRuntime was most recently updated. */
|
|
4815
|
+
updateTime?:
|
|
4816
|
+
string;
|
|
4817
|
+
/** Output only. The VM os image version of NotebookRuntime. */
|
|
4818
|
+
version?:
|
|
4819
|
+
string;
|
|
4820
|
+
}
|
|
4821
|
+
interface GoogleCloudAiplatformV1NotebookRuntimeTemplate {
|
|
4822
|
+
/** Output only. Timestamp when this NotebookRuntimeTemplate was created. */
|
|
4823
|
+
createTime?:
|
|
4824
|
+
string;
|
|
4825
|
+
/** Optional. The specification of persistent disk attached to the runtime as data disk storage. */
|
|
4826
|
+
dataPersistentDiskSpec?:
|
|
4827
|
+
GoogleCloudAiplatformV1PersistentDiskSpec;
|
|
4828
|
+
/** The description of the NotebookRuntimeTemplate. */
|
|
4829
|
+
description?:
|
|
4830
|
+
string;
|
|
4831
|
+
/** Required. The display name of the NotebookRuntimeTemplate. The name can be up to 128 characters long and can consist of any UTF-8 characters. */
|
|
4832
|
+
displayName?:
|
|
4833
|
+
string;
|
|
4834
|
+
/** Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens. */
|
|
4835
|
+
etag?:
|
|
4836
|
+
string;
|
|
4837
|
+
/** EUC configuration of the NotebookRuntimeTemplate. */
|
|
4838
|
+
eucConfig?:
|
|
4839
|
+
GoogleCloudAiplatformV1NotebookEucConfig;
|
|
4840
|
+
/** The idle shutdown configuration of NotebookRuntimeTemplate. This config will only be set when idle shutdown is enabled. */
|
|
4841
|
+
idleShutdownConfig?:
|
|
4842
|
+
GoogleCloudAiplatformV1NotebookIdleShutdownConfig;
|
|
4843
|
+
/** Output only. The default template to use if not specified. */
|
|
4844
|
+
isDefault?:
|
|
4845
|
+
boolean;
|
|
4846
|
+
/**
|
|
4847
|
+
* The labels with user-defined metadata to organize the NotebookRuntimeTemplates. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain
|
|
4848
|
+
* lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels.
|
|
4849
|
+
*/
|
|
4850
|
+
labels?:
|
|
4851
|
+
{ [P in string]: string };
|
|
4852
|
+
/** Optional. Immutable. The specification of a single machine for the template. */
|
|
4853
|
+
machineSpec?:
|
|
4854
|
+
GoogleCloudAiplatformV1MachineSpec;
|
|
4855
|
+
/** Output only. The resource name of the NotebookRuntimeTemplate. */
|
|
4856
|
+
name?:
|
|
4857
|
+
string;
|
|
4858
|
+
/** Optional. Network spec. */
|
|
4859
|
+
networkSpec?:
|
|
4860
|
+
GoogleCloudAiplatformV1NetworkSpec;
|
|
4861
|
+
/**
|
|
4862
|
+
* The service account that the runtime workload runs as. You can use any service account within the same project, but you must have the service account user permission to use the
|
|
4863
|
+
* instance. If not specified, the [Compute Engine default service account](https://cloud.google.com/compute/docs/access/service-accounts#default_service_account) is used.
|
|
4864
|
+
*/
|
|
4865
|
+
serviceAccount?:
|
|
4866
|
+
string;
|
|
4867
|
+
/** Output only. Timestamp when this NotebookRuntimeTemplate was most recently updated. */
|
|
4868
|
+
updateTime?:
|
|
4869
|
+
string;
|
|
4870
|
+
}
|
|
4871
|
+
interface GoogleCloudAiplatformV1NotebookRuntimeTemplateRef {
|
|
4872
|
+
/** Immutable. A resource name of the NotebookRuntimeTemplate. */
|
|
4873
|
+
notebookRuntimeTemplate?:
|
|
4874
|
+
string;
|
|
4875
|
+
}
|
|
4692
4876
|
// tslint:disable-next-line:no-empty-interface
|
|
4693
4877
|
interface GoogleCloudAiplatformV1PauseModelDeploymentMonitoringJobRequest {
|
|
4694
4878
|
}
|
|
4695
4879
|
// tslint:disable-next-line:no-empty-interface
|
|
4696
4880
|
interface GoogleCloudAiplatformV1PauseScheduleRequest {
|
|
4697
4881
|
}
|
|
4882
|
+
interface GoogleCloudAiplatformV1PersistentDiskSpec {
|
|
4883
|
+
/** Size in GB of the disk (default is 100GB). */
|
|
4884
|
+
diskSizeGb?:
|
|
4885
|
+
string;
|
|
4886
|
+
/**
|
|
4887
|
+
* Type of the disk (default is "pd-standard"). Valid values: "pd-ssd" (Persistent Disk Solid State Drive) "pd-standard" (Persistent Disk Hard Disk Drive) "pd-balanced" (Balanced
|
|
4888
|
+
* Persistent Disk) "pd-extreme" (Extreme Persistent Disk)
|
|
4889
|
+
*/
|
|
4890
|
+
diskType?:
|
|
4891
|
+
string;
|
|
4892
|
+
}
|
|
4698
4893
|
interface GoogleCloudAiplatformV1PipelineJob {
|
|
4699
4894
|
/** Output only. Pipeline creation time. */
|
|
4700
4895
|
createTime?:
|
|
@@ -7832,6 +8027,17 @@ declare namespace gapi.client {
|
|
|
7832
8027
|
specialistWorkerEmails?:
|
|
7833
8028
|
string[];
|
|
7834
8029
|
}
|
|
8030
|
+
interface GoogleCloudAiplatformV1StartNotebookRuntimeOperationMetadata {
|
|
8031
|
+
/** The operation generic information. */
|
|
8032
|
+
genericMetadata?:
|
|
8033
|
+
GoogleCloudAiplatformV1GenericOperationMetadata;
|
|
8034
|
+
/** A human-readable message that shows the intermediate progress details of NotebookRuntime. */
|
|
8035
|
+
progressMessage?:
|
|
8036
|
+
string;
|
|
8037
|
+
}
|
|
8038
|
+
// tslint:disable-next-line:no-empty-interface
|
|
8039
|
+
interface GoogleCloudAiplatformV1StartNotebookRuntimeRequest {
|
|
8040
|
+
}
|
|
7835
8041
|
// tslint:disable-next-line:no-empty-interface
|
|
7836
8042
|
interface GoogleCloudAiplatformV1StopTrialRequest {
|
|
7837
8043
|
}
|
|
@@ -23995,6 +24201,704 @@ declare namespace gapi.client {
|
|
|
23995
24201
|
nasTrialDetails:
|
|
23996
24202
|
NasTrialDetailsResource;
|
|
23997
24203
|
}
|
|
24204
|
+
interface NotebookRuntimesResource {
|
|
24205
|
+
/** Assigns a NotebookRuntime to a user for a particular Notebook file. This method will either returns an existing assignment or generates a new one. */
|
|
24206
|
+
assign(request: {
|
|
24207
|
+
/** V1 error format. */
|
|
24208
|
+
"$.xgafv"?:
|
|
24209
|
+
string;
|
|
24210
|
+
/** OAuth access token. */
|
|
24211
|
+
access_token?:
|
|
24212
|
+
string;
|
|
24213
|
+
/** Data format for response. */
|
|
24214
|
+
alt?:
|
|
24215
|
+
string;
|
|
24216
|
+
/** JSONP */
|
|
24217
|
+
callback?:
|
|
24218
|
+
string;
|
|
24219
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
24220
|
+
fields?:
|
|
24221
|
+
string;
|
|
24222
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
24223
|
+
key?:
|
|
24224
|
+
string;
|
|
24225
|
+
/** OAuth 2.0 token for the current user. */
|
|
24226
|
+
oauth_token?:
|
|
24227
|
+
string;
|
|
24228
|
+
/** Required. The resource name of the Location to get the NotebookRuntime assignment. Format: `projects/{project}/locations/{location}` */
|
|
24229
|
+
parent:
|
|
24230
|
+
string;
|
|
24231
|
+
/** Returns response with indentations and line breaks. */
|
|
24232
|
+
prettyPrint?:
|
|
24233
|
+
boolean;
|
|
24234
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
24235
|
+
quotaUser?:
|
|
24236
|
+
string;
|
|
24237
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
24238
|
+
upload_protocol?:
|
|
24239
|
+
string;
|
|
24240
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
24241
|
+
uploadType?:
|
|
24242
|
+
string;
|
|
24243
|
+
/** Request body */
|
|
24244
|
+
resource:
|
|
24245
|
+
GoogleCloudAiplatformV1AssignNotebookRuntimeRequest;
|
|
24246
|
+
}): Request<GoogleLongrunningOperation>;
|
|
24247
|
+
assign(request: {
|
|
24248
|
+
/** V1 error format. */
|
|
24249
|
+
"$.xgafv"?:
|
|
24250
|
+
string;
|
|
24251
|
+
/** OAuth access token. */
|
|
24252
|
+
access_token?:
|
|
24253
|
+
string;
|
|
24254
|
+
/** Data format for response. */
|
|
24255
|
+
alt?:
|
|
24256
|
+
string;
|
|
24257
|
+
/** JSONP */
|
|
24258
|
+
callback?:
|
|
24259
|
+
string;
|
|
24260
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
24261
|
+
fields?:
|
|
24262
|
+
string;
|
|
24263
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
24264
|
+
key?:
|
|
24265
|
+
string;
|
|
24266
|
+
/** OAuth 2.0 token for the current user. */
|
|
24267
|
+
oauth_token?:
|
|
24268
|
+
string;
|
|
24269
|
+
/** Required. The resource name of the Location to get the NotebookRuntime assignment. Format: `projects/{project}/locations/{location}` */
|
|
24270
|
+
parent:
|
|
24271
|
+
string;
|
|
24272
|
+
/** Returns response with indentations and line breaks. */
|
|
24273
|
+
prettyPrint?:
|
|
24274
|
+
boolean;
|
|
24275
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
24276
|
+
quotaUser?:
|
|
24277
|
+
string;
|
|
24278
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
24279
|
+
upload_protocol?:
|
|
24280
|
+
string;
|
|
24281
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
24282
|
+
uploadType?:
|
|
24283
|
+
string;
|
|
24284
|
+
},
|
|
24285
|
+
body: GoogleCloudAiplatformV1AssignNotebookRuntimeRequest): Request<GoogleLongrunningOperation>;
|
|
24286
|
+
/** Deletes a NotebookRuntime. */
|
|
24287
|
+
delete(request?: {
|
|
24288
|
+
/** V1 error format. */
|
|
24289
|
+
"$.xgafv"?:
|
|
24290
|
+
string;
|
|
24291
|
+
/** OAuth access token. */
|
|
24292
|
+
access_token?:
|
|
24293
|
+
string;
|
|
24294
|
+
/** Data format for response. */
|
|
24295
|
+
alt?:
|
|
24296
|
+
string;
|
|
24297
|
+
/** JSONP */
|
|
24298
|
+
callback?:
|
|
24299
|
+
string;
|
|
24300
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
24301
|
+
fields?:
|
|
24302
|
+
string;
|
|
24303
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
24304
|
+
key?:
|
|
24305
|
+
string;
|
|
24306
|
+
/**
|
|
24307
|
+
* Required. The name of the NotebookRuntime resource to be deleted. Instead of checking whether the name is in valid NotebookRuntime resource name format, directly throw NotFound
|
|
24308
|
+
* exception if there is no such NotebookRuntime in spanner.
|
|
24309
|
+
*/
|
|
24310
|
+
name:
|
|
24311
|
+
string;
|
|
24312
|
+
/** OAuth 2.0 token for the current user. */
|
|
24313
|
+
oauth_token?:
|
|
24314
|
+
string;
|
|
24315
|
+
/** Returns response with indentations and line breaks. */
|
|
24316
|
+
prettyPrint?:
|
|
24317
|
+
boolean;
|
|
24318
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
24319
|
+
quotaUser?:
|
|
24320
|
+
string;
|
|
24321
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
24322
|
+
upload_protocol?:
|
|
24323
|
+
string;
|
|
24324
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
24325
|
+
uploadType?:
|
|
24326
|
+
string;
|
|
24327
|
+
}): Request<GoogleLongrunningOperation>;
|
|
24328
|
+
/** Gets a NotebookRuntime. */
|
|
24329
|
+
get(request?: {
|
|
24330
|
+
/** V1 error format. */
|
|
24331
|
+
"$.xgafv"?:
|
|
24332
|
+
string;
|
|
24333
|
+
/** OAuth access token. */
|
|
24334
|
+
access_token?:
|
|
24335
|
+
string;
|
|
24336
|
+
/** Data format for response. */
|
|
24337
|
+
alt?:
|
|
24338
|
+
string;
|
|
24339
|
+
/** JSONP */
|
|
24340
|
+
callback?:
|
|
24341
|
+
string;
|
|
24342
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
24343
|
+
fields?:
|
|
24344
|
+
string;
|
|
24345
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
24346
|
+
key?:
|
|
24347
|
+
string;
|
|
24348
|
+
/**
|
|
24349
|
+
* Required. The name of the NotebookRuntime resource. Instead of checking whether the name is in valid NotebookRuntime resource name format, directly throw NotFound exception if
|
|
24350
|
+
* there is no such NotebookRuntime in spanner.
|
|
24351
|
+
*/
|
|
24352
|
+
name:
|
|
24353
|
+
string;
|
|
24354
|
+
/** OAuth 2.0 token for the current user. */
|
|
24355
|
+
oauth_token?:
|
|
24356
|
+
string;
|
|
24357
|
+
/** Returns response with indentations and line breaks. */
|
|
24358
|
+
prettyPrint?:
|
|
24359
|
+
boolean;
|
|
24360
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
24361
|
+
quotaUser?:
|
|
24362
|
+
string;
|
|
24363
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
24364
|
+
upload_protocol?:
|
|
24365
|
+
string;
|
|
24366
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
24367
|
+
uploadType?:
|
|
24368
|
+
string;
|
|
24369
|
+
}): Request<GoogleCloudAiplatformV1NotebookRuntime>;
|
|
24370
|
+
/** Lists NotebookRuntimes in a Location. */
|
|
24371
|
+
list(request?: {
|
|
24372
|
+
/** V1 error format. */
|
|
24373
|
+
"$.xgafv"?:
|
|
24374
|
+
string;
|
|
24375
|
+
/** OAuth access token. */
|
|
24376
|
+
access_token?:
|
|
24377
|
+
string;
|
|
24378
|
+
/** Data format for response. */
|
|
24379
|
+
alt?:
|
|
24380
|
+
string;
|
|
24381
|
+
/** JSONP */
|
|
24382
|
+
callback?:
|
|
24383
|
+
string;
|
|
24384
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
24385
|
+
fields?:
|
|
24386
|
+
string;
|
|
24387
|
+
/**
|
|
24388
|
+
* Optional. An expression for filtering the results of the request. For field names both snake_case and camelCase are supported. * `notebookRuntime` supports = and !=.
|
|
24389
|
+
* `notebookRuntime` represents the NotebookRuntime ID, i.e. the last segment of the NotebookRuntime's resource name. * `displayName` supports = and != and regex. *
|
|
24390
|
+
* `notebookRuntimeTemplate` supports = and !=. `notebookRuntimeTemplate` represents the NotebookRuntimeTemplate ID, i.e. the last segment of the NotebookRuntimeTemplate's resource
|
|
24391
|
+
* name. * `healthState` supports = and !=. healthState enum: [HEALTHY, UNHEALTHY, HEALTH_STATE_UNSPECIFIED]. * `runtimeState` supports = and !=. runtimeState enum:
|
|
24392
|
+
* [RUNTIME_STATE_UNSPECIFIED, RUNNING, BEING_STARTED, BEING_STOPPED, STOPPED, BEING_UPGRADED]. * `runtimeUser` supports = and !=. * API version is UI only: `uiState` supports =
|
|
24393
|
+
* and !=. uiState enum: [UI_RESOURCE_STATE_UNSPECIFIED, UI_RESOURCE_STATE_BEING_CREATED, UI_RESOURCE_STATE_ACTIVE, UI_RESOURCE_STATE_BEING_DELETED,
|
|
24394
|
+
* UI_RESOURCE_STATE_CREATION_FAILED]. Some examples: * `notebookRuntime="notebookRuntime123"` * `displayName="myDisplayName"` and `displayName=~"myDisplayNameRegex"` *
|
|
24395
|
+
* `notebookRuntimeTemplate="notebookRuntimeTemplate321"` * `healthState=HEALTHY` * `runtimeState=RUNNING` * `runtimeUser="test@google.com"` *
|
|
24396
|
+
* `uiState=UI_RESOURCE_STATE_BEING_DELETED`
|
|
24397
|
+
*/
|
|
24398
|
+
filter?:
|
|
24399
|
+
string;
|
|
24400
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
24401
|
+
key?:
|
|
24402
|
+
string;
|
|
24403
|
+
/** OAuth 2.0 token for the current user. */
|
|
24404
|
+
oauth_token?:
|
|
24405
|
+
string;
|
|
24406
|
+
/**
|
|
24407
|
+
* Optional. A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported fields: * `display_name` *
|
|
24408
|
+
* `create_time` * `update_time` Example: `display_name, create_time desc`.
|
|
24409
|
+
*/
|
|
24410
|
+
orderBy?:
|
|
24411
|
+
string;
|
|
24412
|
+
/** Optional. The standard list page size. */
|
|
24413
|
+
pageSize?:
|
|
24414
|
+
number;
|
|
24415
|
+
/** Optional. The standard list page token. Typically obtained via ListNotebookRuntimesResponse.next_page_token of the previous NotebookService.ListNotebookRuntimes call. */
|
|
24416
|
+
pageToken?:
|
|
24417
|
+
string;
|
|
24418
|
+
/** Required. The resource name of the Location from which to list the NotebookRuntimes. Format: `projects/{project}/locations/{location}` */
|
|
24419
|
+
parent:
|
|
24420
|
+
string;
|
|
24421
|
+
/** Returns response with indentations and line breaks. */
|
|
24422
|
+
prettyPrint?:
|
|
24423
|
+
boolean;
|
|
24424
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
24425
|
+
quotaUser?:
|
|
24426
|
+
string;
|
|
24427
|
+
/** Optional. Mask specifying which fields to read. */
|
|
24428
|
+
readMask?:
|
|
24429
|
+
string;
|
|
24430
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
24431
|
+
upload_protocol?:
|
|
24432
|
+
string;
|
|
24433
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
24434
|
+
uploadType?:
|
|
24435
|
+
string;
|
|
24436
|
+
}): Request<GoogleCloudAiplatformV1ListNotebookRuntimesResponse>;
|
|
24437
|
+
/** Starts a NotebookRuntime. */
|
|
24438
|
+
start(request: {
|
|
24439
|
+
/** V1 error format. */
|
|
24440
|
+
"$.xgafv"?:
|
|
24441
|
+
string;
|
|
24442
|
+
/** OAuth access token. */
|
|
24443
|
+
access_token?:
|
|
24444
|
+
string;
|
|
24445
|
+
/** Data format for response. */
|
|
24446
|
+
alt?:
|
|
24447
|
+
string;
|
|
24448
|
+
/** JSONP */
|
|
24449
|
+
callback?:
|
|
24450
|
+
string;
|
|
24451
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
24452
|
+
fields?:
|
|
24453
|
+
string;
|
|
24454
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
24455
|
+
key?:
|
|
24456
|
+
string;
|
|
24457
|
+
/**
|
|
24458
|
+
* Required. The name of the NotebookRuntime resource to be started. Instead of checking whether the name is in valid NotebookRuntime resource name format, directly throw NotFound
|
|
24459
|
+
* exception if there is no such NotebookRuntime in spanner.
|
|
24460
|
+
*/
|
|
24461
|
+
name:
|
|
24462
|
+
string;
|
|
24463
|
+
/** OAuth 2.0 token for the current user. */
|
|
24464
|
+
oauth_token?:
|
|
24465
|
+
string;
|
|
24466
|
+
/** Returns response with indentations and line breaks. */
|
|
24467
|
+
prettyPrint?:
|
|
24468
|
+
boolean;
|
|
24469
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
24470
|
+
quotaUser?:
|
|
24471
|
+
string;
|
|
24472
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
24473
|
+
upload_protocol?:
|
|
24474
|
+
string;
|
|
24475
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
24476
|
+
uploadType?:
|
|
24477
|
+
string;
|
|
24478
|
+
/** Request body */
|
|
24479
|
+
resource:
|
|
24480
|
+
GoogleCloudAiplatformV1StartNotebookRuntimeRequest;
|
|
24481
|
+
}): Request<GoogleLongrunningOperation>;
|
|
24482
|
+
start(request: {
|
|
24483
|
+
/** V1 error format. */
|
|
24484
|
+
"$.xgafv"?:
|
|
24485
|
+
string;
|
|
24486
|
+
/** OAuth access token. */
|
|
24487
|
+
access_token?:
|
|
24488
|
+
string;
|
|
24489
|
+
/** Data format for response. */
|
|
24490
|
+
alt?:
|
|
24491
|
+
string;
|
|
24492
|
+
/** JSONP */
|
|
24493
|
+
callback?:
|
|
24494
|
+
string;
|
|
24495
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
24496
|
+
fields?:
|
|
24497
|
+
string;
|
|
24498
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
24499
|
+
key?:
|
|
24500
|
+
string;
|
|
24501
|
+
/**
|
|
24502
|
+
* Required. The name of the NotebookRuntime resource to be started. Instead of checking whether the name is in valid NotebookRuntime resource name format, directly throw NotFound
|
|
24503
|
+
* exception if there is no such NotebookRuntime in spanner.
|
|
24504
|
+
*/
|
|
24505
|
+
name:
|
|
24506
|
+
string;
|
|
24507
|
+
/** OAuth 2.0 token for the current user. */
|
|
24508
|
+
oauth_token?:
|
|
24509
|
+
string;
|
|
24510
|
+
/** Returns response with indentations and line breaks. */
|
|
24511
|
+
prettyPrint?:
|
|
24512
|
+
boolean;
|
|
24513
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
24514
|
+
quotaUser?:
|
|
24515
|
+
string;
|
|
24516
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
24517
|
+
upload_protocol?:
|
|
24518
|
+
string;
|
|
24519
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
24520
|
+
uploadType?:
|
|
24521
|
+
string;
|
|
24522
|
+
},
|
|
24523
|
+
body: GoogleCloudAiplatformV1StartNotebookRuntimeRequest): Request<GoogleLongrunningOperation>;
|
|
24524
|
+
}
|
|
24525
|
+
interface NotebookRuntimeTemplatesResource {
|
|
24526
|
+
/** Creates a NotebookRuntimeTemplate. */
|
|
24527
|
+
create(request: {
|
|
24528
|
+
/** V1 error format. */
|
|
24529
|
+
"$.xgafv"?:
|
|
24530
|
+
string;
|
|
24531
|
+
/** OAuth access token. */
|
|
24532
|
+
access_token?:
|
|
24533
|
+
string;
|
|
24534
|
+
/** Data format for response. */
|
|
24535
|
+
alt?:
|
|
24536
|
+
string;
|
|
24537
|
+
/** JSONP */
|
|
24538
|
+
callback?:
|
|
24539
|
+
string;
|
|
24540
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
24541
|
+
fields?:
|
|
24542
|
+
string;
|
|
24543
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
24544
|
+
key?:
|
|
24545
|
+
string;
|
|
24546
|
+
/** Optional. User specified ID for the notebook runtime template. */
|
|
24547
|
+
notebookRuntimeTemplateId?:
|
|
24548
|
+
string;
|
|
24549
|
+
/** OAuth 2.0 token for the current user. */
|
|
24550
|
+
oauth_token?:
|
|
24551
|
+
string;
|
|
24552
|
+
/** Required. The resource name of the Location to create the NotebookRuntimeTemplate. Format: `projects/{project}/locations/{location}` */
|
|
24553
|
+
parent:
|
|
24554
|
+
string;
|
|
24555
|
+
/** Returns response with indentations and line breaks. */
|
|
24556
|
+
prettyPrint?:
|
|
24557
|
+
boolean;
|
|
24558
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
24559
|
+
quotaUser?:
|
|
24560
|
+
string;
|
|
24561
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
24562
|
+
upload_protocol?:
|
|
24563
|
+
string;
|
|
24564
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
24565
|
+
uploadType?:
|
|
24566
|
+
string;
|
|
24567
|
+
/** Request body */
|
|
24568
|
+
resource:
|
|
24569
|
+
GoogleCloudAiplatformV1NotebookRuntimeTemplate;
|
|
24570
|
+
}): Request<GoogleLongrunningOperation>;
|
|
24571
|
+
create(request: {
|
|
24572
|
+
/** V1 error format. */
|
|
24573
|
+
"$.xgafv"?:
|
|
24574
|
+
string;
|
|
24575
|
+
/** OAuth access token. */
|
|
24576
|
+
access_token?:
|
|
24577
|
+
string;
|
|
24578
|
+
/** Data format for response. */
|
|
24579
|
+
alt?:
|
|
24580
|
+
string;
|
|
24581
|
+
/** JSONP */
|
|
24582
|
+
callback?:
|
|
24583
|
+
string;
|
|
24584
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
24585
|
+
fields?:
|
|
24586
|
+
string;
|
|
24587
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
24588
|
+
key?:
|
|
24589
|
+
string;
|
|
24590
|
+
/** Optional. User specified ID for the notebook runtime template. */
|
|
24591
|
+
notebookRuntimeTemplateId?:
|
|
24592
|
+
string;
|
|
24593
|
+
/** OAuth 2.0 token for the current user. */
|
|
24594
|
+
oauth_token?:
|
|
24595
|
+
string;
|
|
24596
|
+
/** Required. The resource name of the Location to create the NotebookRuntimeTemplate. Format: `projects/{project}/locations/{location}` */
|
|
24597
|
+
parent:
|
|
24598
|
+
string;
|
|
24599
|
+
/** Returns response with indentations and line breaks. */
|
|
24600
|
+
prettyPrint?:
|
|
24601
|
+
boolean;
|
|
24602
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
24603
|
+
quotaUser?:
|
|
24604
|
+
string;
|
|
24605
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
24606
|
+
upload_protocol?:
|
|
24607
|
+
string;
|
|
24608
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
24609
|
+
uploadType?:
|
|
24610
|
+
string;
|
|
24611
|
+
},
|
|
24612
|
+
body: GoogleCloudAiplatformV1NotebookRuntimeTemplate): Request<GoogleLongrunningOperation>;
|
|
24613
|
+
/** Deletes a NotebookRuntimeTemplate. */
|
|
24614
|
+
delete(request?: {
|
|
24615
|
+
/** V1 error format. */
|
|
24616
|
+
"$.xgafv"?:
|
|
24617
|
+
string;
|
|
24618
|
+
/** OAuth access token. */
|
|
24619
|
+
access_token?:
|
|
24620
|
+
string;
|
|
24621
|
+
/** Data format for response. */
|
|
24622
|
+
alt?:
|
|
24623
|
+
string;
|
|
24624
|
+
/** JSONP */
|
|
24625
|
+
callback?:
|
|
24626
|
+
string;
|
|
24627
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
24628
|
+
fields?:
|
|
24629
|
+
string;
|
|
24630
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
24631
|
+
key?:
|
|
24632
|
+
string;
|
|
24633
|
+
/** Required. The name of the NotebookRuntimeTemplate resource to be deleted. Format: `projects/{project}/locations/{location}/notebookRuntimeTemplates/{notebook_runtime_template}` */
|
|
24634
|
+
name:
|
|
24635
|
+
string;
|
|
24636
|
+
/** OAuth 2.0 token for the current user. */
|
|
24637
|
+
oauth_token?:
|
|
24638
|
+
string;
|
|
24639
|
+
/** Returns response with indentations and line breaks. */
|
|
24640
|
+
prettyPrint?:
|
|
24641
|
+
boolean;
|
|
24642
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
24643
|
+
quotaUser?:
|
|
24644
|
+
string;
|
|
24645
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
24646
|
+
upload_protocol?:
|
|
24647
|
+
string;
|
|
24648
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
24649
|
+
uploadType?:
|
|
24650
|
+
string;
|
|
24651
|
+
}): Request<GoogleLongrunningOperation>;
|
|
24652
|
+
/** Gets a NotebookRuntimeTemplate. */
|
|
24653
|
+
get(request?: {
|
|
24654
|
+
/** V1 error format. */
|
|
24655
|
+
"$.xgafv"?:
|
|
24656
|
+
string;
|
|
24657
|
+
/** OAuth access token. */
|
|
24658
|
+
access_token?:
|
|
24659
|
+
string;
|
|
24660
|
+
/** Data format for response. */
|
|
24661
|
+
alt?:
|
|
24662
|
+
string;
|
|
24663
|
+
/** JSONP */
|
|
24664
|
+
callback?:
|
|
24665
|
+
string;
|
|
24666
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
24667
|
+
fields?:
|
|
24668
|
+
string;
|
|
24669
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
24670
|
+
key?:
|
|
24671
|
+
string;
|
|
24672
|
+
/** Required. The name of the NotebookRuntimeTemplate resource. Format: `projects/{project}/locations/{location}/notebookRuntimeTemplates/{notebook_runtime_template}` */
|
|
24673
|
+
name:
|
|
24674
|
+
string;
|
|
24675
|
+
/** OAuth 2.0 token for the current user. */
|
|
24676
|
+
oauth_token?:
|
|
24677
|
+
string;
|
|
24678
|
+
/** Returns response with indentations and line breaks. */
|
|
24679
|
+
prettyPrint?:
|
|
24680
|
+
boolean;
|
|
24681
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
24682
|
+
quotaUser?:
|
|
24683
|
+
string;
|
|
24684
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
24685
|
+
upload_protocol?:
|
|
24686
|
+
string;
|
|
24687
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
24688
|
+
uploadType?:
|
|
24689
|
+
string;
|
|
24690
|
+
}): Request<GoogleCloudAiplatformV1NotebookRuntimeTemplate>;
|
|
24691
|
+
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
24692
|
+
getIamPolicy(request?: {
|
|
24693
|
+
/** V1 error format. */
|
|
24694
|
+
"$.xgafv"?:
|
|
24695
|
+
string;
|
|
24696
|
+
/** OAuth access token. */
|
|
24697
|
+
access_token?:
|
|
24698
|
+
string;
|
|
24699
|
+
/** Data format for response. */
|
|
24700
|
+
alt?:
|
|
24701
|
+
string;
|
|
24702
|
+
/** JSONP */
|
|
24703
|
+
callback?:
|
|
24704
|
+
string;
|
|
24705
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
24706
|
+
fields?:
|
|
24707
|
+
string;
|
|
24708
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
24709
|
+
key?:
|
|
24710
|
+
string;
|
|
24711
|
+
/** OAuth 2.0 token for the current user. */
|
|
24712
|
+
oauth_token?:
|
|
24713
|
+
string;
|
|
24714
|
+
/**
|
|
24715
|
+
* Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for
|
|
24716
|
+
* policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy
|
|
24717
|
+
* in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional
|
|
24718
|
+
* role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM
|
|
24719
|
+
* documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
24720
|
+
*/
|
|
24721
|
+
"options.requestedPolicyVersion"?:
|
|
24722
|
+
number;
|
|
24723
|
+
/** Returns response with indentations and line breaks. */
|
|
24724
|
+
prettyPrint?:
|
|
24725
|
+
boolean;
|
|
24726
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
24727
|
+
quotaUser?:
|
|
24728
|
+
string;
|
|
24729
|
+
/**
|
|
24730
|
+
* REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
|
|
24731
|
+
* field.
|
|
24732
|
+
*/
|
|
24733
|
+
resource:
|
|
24734
|
+
string;
|
|
24735
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
24736
|
+
upload_protocol?:
|
|
24737
|
+
string;
|
|
24738
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
24739
|
+
uploadType?:
|
|
24740
|
+
string;
|
|
24741
|
+
}): Request<GoogleIamV1Policy>;
|
|
24742
|
+
/** Lists NotebookRuntimeTemplates in a Location. */
|
|
24743
|
+
list(request?: {
|
|
24744
|
+
/** V1 error format. */
|
|
24745
|
+
"$.xgafv"?:
|
|
24746
|
+
string;
|
|
24747
|
+
/** OAuth access token. */
|
|
24748
|
+
access_token?:
|
|
24749
|
+
string;
|
|
24750
|
+
/** Data format for response. */
|
|
24751
|
+
alt?:
|
|
24752
|
+
string;
|
|
24753
|
+
/** JSONP */
|
|
24754
|
+
callback?:
|
|
24755
|
+
string;
|
|
24756
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
24757
|
+
fields?:
|
|
24758
|
+
string;
|
|
24759
|
+
/**
|
|
24760
|
+
* Optional. An expression for filtering the results of the request. For field names both snake_case and camelCase are supported. * `notebookRuntimeTemplate` supports = and !=.
|
|
24761
|
+
* `notebookRuntimeTemplate` represents the NotebookRuntimeTemplate ID, i.e. the last segment of the NotebookRuntimeTemplate's resource name. * `display_name` supports = and != *
|
|
24762
|
+
* `labels` supports general map functions that is: * `labels.key=value` - key:value equality * `labels.key:* or labels:key - key existence * A key including a space must be
|
|
24763
|
+
* quoted. `labels."a key"`. Some examples: * `notebookRuntimeTemplate=notebookRuntimeTemplate123` * `displayName="myDisplayName"` * `labels.myKey="myValue"`
|
|
24764
|
+
*/
|
|
24765
|
+
filter?:
|
|
24766
|
+
string;
|
|
24767
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
24768
|
+
key?:
|
|
24769
|
+
string;
|
|
24770
|
+
/** OAuth 2.0 token for the current user. */
|
|
24771
|
+
oauth_token?:
|
|
24772
|
+
string;
|
|
24773
|
+
/**
|
|
24774
|
+
* Optional. A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported fields: * `display_name` *
|
|
24775
|
+
* `create_time` * `update_time` Example: `display_name, create_time desc`.
|
|
24776
|
+
*/
|
|
24777
|
+
orderBy?:
|
|
24778
|
+
string;
|
|
24779
|
+
/** Optional. The standard list page size. */
|
|
24780
|
+
pageSize?:
|
|
24781
|
+
number;
|
|
24782
|
+
/**
|
|
24783
|
+
* Optional. The standard list page token. Typically obtained via ListNotebookRuntimeTemplatesResponse.next_page_token of the previous NotebookService.ListNotebookRuntimeTemplates
|
|
24784
|
+
* call.
|
|
24785
|
+
*/
|
|
24786
|
+
pageToken?:
|
|
24787
|
+
string;
|
|
24788
|
+
/** Required. The resource name of the Location from which to list the NotebookRuntimeTemplates. Format: `projects/{project}/locations/{location}` */
|
|
24789
|
+
parent:
|
|
24790
|
+
string;
|
|
24791
|
+
/** Returns response with indentations and line breaks. */
|
|
24792
|
+
prettyPrint?:
|
|
24793
|
+
boolean;
|
|
24794
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
24795
|
+
quotaUser?:
|
|
24796
|
+
string;
|
|
24797
|
+
/** Optional. Mask specifying which fields to read. */
|
|
24798
|
+
readMask?:
|
|
24799
|
+
string;
|
|
24800
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
24801
|
+
upload_protocol?:
|
|
24802
|
+
string;
|
|
24803
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
24804
|
+
uploadType?:
|
|
24805
|
+
string;
|
|
24806
|
+
}): Request<GoogleCloudAiplatformV1ListNotebookRuntimeTemplatesResponse>;
|
|
24807
|
+
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
24808
|
+
setIamPolicy(request: {
|
|
24809
|
+
/** V1 error format. */
|
|
24810
|
+
"$.xgafv"?:
|
|
24811
|
+
string;
|
|
24812
|
+
/** OAuth access token. */
|
|
24813
|
+
access_token?:
|
|
24814
|
+
string;
|
|
24815
|
+
/** Data format for response. */
|
|
24816
|
+
alt?:
|
|
24817
|
+
string;
|
|
24818
|
+
/** JSONP */
|
|
24819
|
+
callback?:
|
|
24820
|
+
string;
|
|
24821
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
24822
|
+
fields?:
|
|
24823
|
+
string;
|
|
24824
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
24825
|
+
key?:
|
|
24826
|
+
string;
|
|
24827
|
+
/** OAuth 2.0 token for the current user. */
|
|
24828
|
+
oauth_token?:
|
|
24829
|
+
string;
|
|
24830
|
+
/** Returns response with indentations and line breaks. */
|
|
24831
|
+
prettyPrint?:
|
|
24832
|
+
boolean;
|
|
24833
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
24834
|
+
quotaUser?:
|
|
24835
|
+
string;
|
|
24836
|
+
/**
|
|
24837
|
+
* REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
|
|
24838
|
+
* field.
|
|
24839
|
+
*/
|
|
24840
|
+
resource:
|
|
24841
|
+
string;
|
|
24842
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
24843
|
+
upload_protocol?:
|
|
24844
|
+
string;
|
|
24845
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
24846
|
+
uploadType?:
|
|
24847
|
+
string;
|
|
24848
|
+
},
|
|
24849
|
+
body: GoogleIamV1SetIamPolicyRequest): Request<GoogleIamV1Policy>;
|
|
24850
|
+
/**
|
|
24851
|
+
* 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
|
|
24852
|
+
* 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.
|
|
24853
|
+
*/
|
|
24854
|
+
testIamPermissions(request?: {
|
|
24855
|
+
/** V1 error format. */
|
|
24856
|
+
"$.xgafv"?:
|
|
24857
|
+
string;
|
|
24858
|
+
/** OAuth access token. */
|
|
24859
|
+
access_token?:
|
|
24860
|
+
string;
|
|
24861
|
+
/** Data format for response. */
|
|
24862
|
+
alt?:
|
|
24863
|
+
string;
|
|
24864
|
+
/** JSONP */
|
|
24865
|
+
callback?:
|
|
24866
|
+
string;
|
|
24867
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
24868
|
+
fields?:
|
|
24869
|
+
string;
|
|
24870
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
24871
|
+
key?:
|
|
24872
|
+
string;
|
|
24873
|
+
/** OAuth 2.0 token for the current user. */
|
|
24874
|
+
oauth_token?:
|
|
24875
|
+
string;
|
|
24876
|
+
/**
|
|
24877
|
+
* The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM
|
|
24878
|
+
* Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
|
24879
|
+
*/
|
|
24880
|
+
permissions?:
|
|
24881
|
+
string | string[];
|
|
24882
|
+
/** Returns response with indentations and line breaks. */
|
|
24883
|
+
prettyPrint?:
|
|
24884
|
+
boolean;
|
|
24885
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
24886
|
+
quotaUser?:
|
|
24887
|
+
string;
|
|
24888
|
+
/**
|
|
24889
|
+
* REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
|
|
24890
|
+
* this field.
|
|
24891
|
+
*/
|
|
24892
|
+
resource:
|
|
24893
|
+
string;
|
|
24894
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
24895
|
+
upload_protocol?:
|
|
24896
|
+
string;
|
|
24897
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
24898
|
+
uploadType?:
|
|
24899
|
+
string;
|
|
24900
|
+
}): Request<GoogleIamV1TestIamPermissionsResponse>;
|
|
24901
|
+
}
|
|
23998
24902
|
interface OperationsResource {
|
|
23999
24903
|
/**
|
|
24000
24904
|
* 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
|
|
@@ -24560,7 +25464,7 @@ declare namespace gapi.client {
|
|
|
24560
25464
|
string;
|
|
24561
25465
|
/**
|
|
24562
25466
|
* The ID to use for the PipelineJob, which will become the final component of the PipelineJob name. If not provided, an ID will be automatically generated. This value should be
|
|
24563
|
-
* less than 128 characters, and valid characters are
|
|
25467
|
+
* less than 128 characters, and valid characters are `/a-z-/`.
|
|
24564
25468
|
*/
|
|
24565
25469
|
pipelineJobId?:
|
|
24566
25470
|
string;
|
|
@@ -24607,7 +25511,7 @@ declare namespace gapi.client {
|
|
|
24607
25511
|
string;
|
|
24608
25512
|
/**
|
|
24609
25513
|
* The ID to use for the PipelineJob, which will become the final component of the PipelineJob name. If not provided, an ID will be automatically generated. This value should be
|
|
24610
|
-
* less than 128 characters, and valid characters are
|
|
25514
|
+
* less than 128 characters, and valid characters are `/a-z-/`.
|
|
24611
25515
|
*/
|
|
24612
25516
|
pipelineJobId?:
|
|
24613
25517
|
string;
|
|
@@ -29179,7 +30083,7 @@ declare namespace gapi.client {
|
|
|
29179
30083
|
string;
|
|
29180
30084
|
/**
|
|
29181
30085
|
* Required. The ID to use for the Tensorboard run, which becomes the final component of the Tensorboard run's resource name. This value should be 1-128 characters, and valid
|
|
29182
|
-
* characters are
|
|
30086
|
+
* characters are `/a-z-/`.
|
|
29183
30087
|
*/
|
|
29184
30088
|
tensorboardRunId?:
|
|
29185
30089
|
string;
|
|
@@ -29229,7 +30133,7 @@ declare namespace gapi.client {
|
|
|
29229
30133
|
string;
|
|
29230
30134
|
/**
|
|
29231
30135
|
* Required. The ID to use for the Tensorboard run, which becomes the final component of the Tensorboard run's resource name. This value should be 1-128 characters, and valid
|
|
29232
|
-
* characters are
|
|
30136
|
+
* characters are `/a-z-/`.
|
|
29233
30137
|
*/
|
|
29234
30138
|
tensorboardRunId?:
|
|
29235
30139
|
string;
|
|
@@ -29602,7 +30506,7 @@ declare namespace gapi.client {
|
|
|
29602
30506
|
string;
|
|
29603
30507
|
/**
|
|
29604
30508
|
* Required. The ID to use for the Tensorboard experiment, which becomes the final component of the Tensorboard experiment's resource name. This value should be 1-128 characters,
|
|
29605
|
-
* and valid characters are
|
|
30509
|
+
* and valid characters are `/a-z-/`.
|
|
29606
30510
|
*/
|
|
29607
30511
|
tensorboardExperimentId?:
|
|
29608
30512
|
string;
|
|
@@ -29649,7 +30553,7 @@ declare namespace gapi.client {
|
|
|
29649
30553
|
string;
|
|
29650
30554
|
/**
|
|
29651
30555
|
* Required. The ID to use for the Tensorboard experiment, which becomes the final component of the Tensorboard experiment's resource name. This value should be 1-128 characters,
|
|
29652
|
-
* and valid characters are
|
|
30556
|
+
* and valid characters are `/a-z-/`.
|
|
29653
30557
|
*/
|
|
29654
30558
|
tensorboardExperimentId?:
|
|
29655
30559
|
string;
|
|
@@ -31251,6 +32155,10 @@ declare namespace gapi.client {
|
|
|
31251
32155
|
ModelsResource;
|
|
31252
32156
|
nasJobs:
|
|
31253
32157
|
NasJobsResource;
|
|
32158
|
+
notebookRuntimes:
|
|
32159
|
+
NotebookRuntimesResource;
|
|
32160
|
+
notebookRuntimeTemplates:
|
|
32161
|
+
NotebookRuntimeTemplatesResource;
|
|
31254
32162
|
operations:
|
|
31255
32163
|
OperationsResource;
|
|
31256
32164
|
pipelineJobs:
|
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 */
|
|
@@ -5212,6 +5212,147 @@ gapi.load('client', async () => {
|
|
|
5212
5212
|
pageToken: "Test string",
|
|
5213
5213
|
parent: "Test string",
|
|
5214
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
|
+
});
|
|
5215
5356
|
/**
|
|
5216
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
|
|
5217
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
|