@maxim_mazurok/gapi.client.aiplatform-v1beta1 0.0.20231101 → 0.0.20231111

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.
Files changed (3) hide show
  1. package/index.d.ts +250 -9
  2. package/package.json +1 -1
  3. package/tests.ts +110 -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=v1beta1
12
- // Revision: 20231101
12
+ // Revision: 20231111
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -775,6 +775,22 @@ declare namespace gapi.client {
775
775
  successfulForecastPointCount?:
776
776
  string;
777
777
  }
778
+ interface GoogleCloudAiplatformV1beta1ComputeTokensRequest {
779
+ /**
780
+ * Required. The instances that are the input to token computing API call. Schema is identical to the prediction schema of the text model, even for the non-text models, like chat
781
+ * models, or Codey models.
782
+ */
783
+ instances?:
784
+ any[];
785
+ }
786
+ interface GoogleCloudAiplatformV1beta1ComputeTokensResponse {
787
+ /**
788
+ * Lists of tokens info from the input. A ComputeTokensRequest could have multiple instances with a prompt in each instance. We also need to return lists of tokens info for the request
789
+ * with multiple instances.
790
+ */
791
+ tokensInfo?:
792
+ GoogleCloudAiplatformV1beta1TokensInfo[];
793
+ }
778
794
  interface GoogleCloudAiplatformV1beta1ContainerRegistryDestination {
779
795
  /**
780
796
  * Required. Container Registry URI of a container image. Only Google Container Registry and Artifact Registry are supported now. Accepted forms: * Google Container Registry path. For
@@ -1517,11 +1533,11 @@ declare namespace gapi.client {
1517
1533
  createTime?:
1518
1534
  string;
1519
1535
  /**
1520
- * Optional. A description of resources that are dedicated to the DeployedIndex, and that need a higher degree of manual configuration. If min_replica_count is not set, the default
1521
- * value is 2 (we don't provide SLA when min_replica_count=1). If max_replica_count is not set, the default value is min_replica_count. The max allowed replica count is 1000. Available
1522
- * machine types for SMALL shard: e2-standard-2 and all machine types available for MEDIUM and LARGE shard. Available machine types for MEDIUM shard: e2-standard-16 and all machine
1523
- * types available for LARGE shard. Available machine types for LARGE shard: e2-highmem-16, n2d-standard-32. n1-standard-16 and n1-standard-32 are still available, but we recommend
1524
- * e2-standard-16 and e2-highmem-16 for cost efficiency.
1536
+ * Optional. A description of resources that are dedicated to the DeployedIndex, and that need a higher degree of manual configuration. The field min_replica_count must be set to a
1537
+ * value strictly greater than 0, or else validation will fail. We don't provide SLA when min_replica_count=1. If max_replica_count is not set, the default value is min_replica_count.
1538
+ * The max allowed replica count is 1000. Available machine types for SMALL shard: e2-standard-2 and all machine types available for MEDIUM and LARGE shard. Available machine types for
1539
+ * MEDIUM shard: e2-standard-16 and all machine types available for LARGE shard. Available machine types for LARGE shard: e2-highmem-16, n2d-standard-32. n1-standard-16 and
1540
+ * n1-standard-32 are still available, but we recommend e2-standard-16 and e2-highmem-16 for cost efficiency.
1525
1541
  */
1526
1542
  dedicatedResources?:
1527
1543
  GoogleCloudAiplatformV1beta1DedicatedResources;
@@ -3020,6 +3036,11 @@ declare namespace gapi.client {
3020
3036
  uri?:
3021
3037
  string;
3022
3038
  }
3039
+ interface GoogleCloudAiplatformV1beta1FeatureViewDataKey {
3040
+ /** String key to use for lookup. */
3041
+ key?:
3042
+ string;
3043
+ }
3023
3044
  interface GoogleCloudAiplatformV1beta1FeatureViewFeatureRegistrySource {
3024
3045
  /** Required. List of features that need to be synced to Online Store. */
3025
3046
  featureGroups?:
@@ -3100,7 +3121,13 @@ declare namespace gapi.client {
3100
3121
  string;
3101
3122
  }
3102
3123
  interface GoogleCloudAiplatformV1beta1FetchFeatureValuesRequest {
3103
- /** Specify response data format. If not set, KeyValue format will be used. */
3124
+ /** Optional. Response data format. If not set, FeatureViewDataFormat.KEY_VALUE will be used. */
3125
+ dataFormat?:
3126
+ string;
3127
+ /** Optional. The request key to fetch feature values for. */
3128
+ dataKey?:
3129
+ GoogleCloudAiplatformV1beta1FeatureViewDataKey;
3130
+ /** Specify response data format. If not set, KeyValue format will be used. Deprecated. Use FetchFeatureValuesRequest.data_format. */
3104
3131
  format?:
3105
3132
  string;
3106
3133
  /** Simple ID. The whole string will be used as is to identify Entity to fetch feature values for. */
@@ -4568,6 +4595,9 @@ declare namespace gapi.client {
4568
4595
  */
4569
4596
  command?:
4570
4597
  string[];
4598
+ /** Immutable. Deployment timeout. TODO (b/306244185): Revise documentation before exposing. */
4599
+ deploymentTimeout?:
4600
+ string;
4571
4601
  /**
4572
4602
  * Immutable. List of environment variables to set in the container. After the container starts running, code running in the container can read these environment variables.
4573
4603
  * Additionally, the command and args fields can reference these variables. Later entries in this list can also reference earlier entries. For example, the following example sets the
@@ -4577,6 +4607,9 @@ declare namespace gapi.client {
4577
4607
  */
4578
4608
  env?:
4579
4609
  GoogleCloudAiplatformV1beta1EnvVar[];
4610
+ /** Immutable. Specification for Kubernetes readiness probe. TODO (b/306244185): Revise documentation before exposing. */
4611
+ healthProbe?:
4612
+ GoogleCloudAiplatformV1beta1Probe;
4580
4613
  /**
4581
4614
  * Immutable. HTTP path on the container to send health checks to. Vertex AI intermittently sends GET requests to this path on the container's IP address and port to check that the
4582
4615
  * container is healthy. Read more about [health checks](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#health). For example, if you set this field
@@ -4620,6 +4653,12 @@ declare namespace gapi.client {
4620
4653
  */
4621
4654
  predictRoute?:
4622
4655
  string;
4656
+ /** Immutable. The amount of the VM memory to reserve as the shared memory for the model in megabytes. TODO (b/306244185): Revise documentation before exposing. */
4657
+ sharedMemorySizeMb?:
4658
+ string;
4659
+ /** Immutable. Specification for Kubernetes startup probe. TODO (b/306244185): Revise documentation before exposing. */
4660
+ startupProbe?:
4661
+ GoogleCloudAiplatformV1beta1Probe;
4623
4662
  }
4624
4663
  interface GoogleCloudAiplatformV1beta1ModelDeploymentMonitoringBigQueryTable {
4625
4664
  /** The created BigQuery table to store logs. Customer could do their own query & analysis. Format: `bq://.model_deployment_monitoring_._` */
@@ -5993,6 +6032,29 @@ declare namespace gapi.client {
5993
6032
  projectAllowlist?:
5994
6033
  string[];
5995
6034
  }
6035
+ interface GoogleCloudAiplatformV1beta1Probe {
6036
+ /** Exec specifies the action to take. */
6037
+ exec?:
6038
+ GoogleCloudAiplatformV1beta1ProbeExecAction;
6039
+ /** How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Must be less than timeout_seconds. Maps to Kubernetes probe argument 'periodSeconds'. */
6040
+ periodSeconds?:
6041
+ number;
6042
+ /**
6043
+ * Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Must be greater or equal to period_seconds. Maps to Kubernetes probe argument
6044
+ * 'timeoutSeconds'.
6045
+ */
6046
+ timeoutSeconds?:
6047
+ number;
6048
+ }
6049
+ interface GoogleCloudAiplatformV1beta1ProbeExecAction {
6050
+ /**
6051
+ * Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is
6052
+ * not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as
6053
+ * live/healthy and non-zero is unhealthy.
6054
+ */
6055
+ command?:
6056
+ string[];
6057
+ }
5996
6058
  interface GoogleCloudAiplatformV1beta1PublisherModel {
5997
6059
  /** Optional. Additional information about the model's Frameworks. */
5998
6060
  frameworks?:
@@ -6355,6 +6417,11 @@ declare namespace gapi.client {
6355
6417
  viewCount?:
6356
6418
  string;
6357
6419
  }
6420
+ interface GoogleCloudAiplatformV1beta1RebootPersistentResourceOperationMetadata {
6421
+ /** Operation metadata for PersistentResource. */
6422
+ genericMetadata?:
6423
+ GoogleCloudAiplatformV1beta1GenericOperationMetadata;
6424
+ }
6358
6425
  interface GoogleCloudAiplatformV1beta1RemoveContextChildrenRequest {
6359
6426
  /** The resource names of the child Contexts. */
6360
6427
  childContexts?:
@@ -6375,6 +6442,9 @@ declare namespace gapi.client {
6375
6442
  /** Required. The type of the event. */
6376
6443
  eventType?:
6377
6444
  string;
6445
+ /** Optional. The error details of the event. */
6446
+ status?:
6447
+ GoogleRpcStatus;
6378
6448
  /** Required. The VM identity token (a JWT) for authenticating the VM. https://cloud.google.com/compute/docs/instances/verifying-instance-identity */
6379
6449
  vmToken?:
6380
6450
  string;
@@ -9627,6 +9697,14 @@ declare namespace gapi.client {
9627
9697
  validationFraction?:
9628
9698
  number;
9629
9699
  }
9700
+ interface GoogleCloudAiplatformV1beta1TokensInfo {
9701
+ /** A list of token ids from the input. */
9702
+ tokenIds?:
9703
+ string[];
9704
+ /** A list of tokens from the input. */
9705
+ tokens?:
9706
+ string[];
9707
+ }
9630
9708
  interface GoogleCloudAiplatformV1beta1TrainingConfig {
9631
9709
  /** The timeout hours for the CMLE training job, expressed in milli hours i.e. 1,000 value in this field means 1 hour. */
9632
9710
  timeoutTrainingMilliHours?:
@@ -9924,8 +10002,9 @@ declare namespace gapi.client {
9924
10002
  string;
9925
10003
  /**
9926
10004
  * Optional. The user-provided custom service account to use to do the model upload. If empty, [Vertex AI Service
9927
- * Agent](https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) will be used. Users uploading the Model must have the `iam.serviceAccounts.actAs` permission on
9928
- * this service account. Also, this account must belong to the project specified in the `parent` field and have all necessary read permissions.
10005
+ * Agent](https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) will be used to access resources needed to upload the model. This account must belong to the
10006
+ * target project where the model is uploaded to, i.e., the project specified in the `parent` field of this request and have necessary read permissions (to Google Cloud Storage,
10007
+ * Artifact Registry, etc.).
9929
10008
  */
9930
10009
  serviceAccount?:
9931
10010
  string;
@@ -14801,6 +14880,87 @@ declare namespace gapi.client {
14801
14880
  }): Request<GoogleLongrunningOperation>;
14802
14881
  }
14803
14882
  interface EndpointsResource {
14883
+ /** Return a list of tokens based on the input text. */
14884
+ computeTokens(request: {
14885
+ /** V1 error format. */
14886
+ "$.xgafv"?:
14887
+ string;
14888
+ /** OAuth access token. */
14889
+ access_token?:
14890
+ string;
14891
+ /** Data format for response. */
14892
+ alt?:
14893
+ string;
14894
+ /** JSONP */
14895
+ callback?:
14896
+ string;
14897
+ /** Required. The name of the Endpoint requested to get lists of tokens and token ids. */
14898
+ endpoint:
14899
+ string;
14900
+ /** Selector specifying which fields to include in a partial response. */
14901
+ fields?:
14902
+ string;
14903
+ /** 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. */
14904
+ key?:
14905
+ string;
14906
+ /** OAuth 2.0 token for the current user. */
14907
+ oauth_token?:
14908
+ string;
14909
+ /** Returns response with indentations and line breaks. */
14910
+ prettyPrint?:
14911
+ boolean;
14912
+ /** 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. */
14913
+ quotaUser?:
14914
+ string;
14915
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
14916
+ upload_protocol?:
14917
+ string;
14918
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14919
+ uploadType?:
14920
+ string;
14921
+ /** Request body */
14922
+ resource:
14923
+ GoogleCloudAiplatformV1beta1ComputeTokensRequest;
14924
+ }): Request<GoogleCloudAiplatformV1beta1ComputeTokensResponse>;
14925
+ computeTokens(request: {
14926
+ /** V1 error format. */
14927
+ "$.xgafv"?:
14928
+ string;
14929
+ /** OAuth access token. */
14930
+ access_token?:
14931
+ string;
14932
+ /** Data format for response. */
14933
+ alt?:
14934
+ string;
14935
+ /** JSONP */
14936
+ callback?:
14937
+ string;
14938
+ /** Required. The name of the Endpoint requested to get lists of tokens and token ids. */
14939
+ endpoint:
14940
+ string;
14941
+ /** Selector specifying which fields to include in a partial response. */
14942
+ fields?:
14943
+ string;
14944
+ /** 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. */
14945
+ key?:
14946
+ string;
14947
+ /** OAuth 2.0 token for the current user. */
14948
+ oauth_token?:
14949
+ string;
14950
+ /** Returns response with indentations and line breaks. */
14951
+ prettyPrint?:
14952
+ boolean;
14953
+ /** 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. */
14954
+ quotaUser?:
14955
+ string;
14956
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
14957
+ upload_protocol?:
14958
+ string;
14959
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14960
+ uploadType?:
14961
+ string;
14962
+ },
14963
+ body: GoogleCloudAiplatformV1beta1ComputeTokensRequest): Request<GoogleCloudAiplatformV1beta1ComputeTokensResponse>;
14804
14964
  /** Perform a token counting. */
14805
14965
  countTokens(request: {
14806
14966
  /** V1 error format. */
@@ -32169,6 +32329,87 @@ declare namespace gapi.client {
32169
32329
  OperationsResource;
32170
32330
  }
32171
32331
  interface ModelsResource {
32332
+ /** Return a list of tokens based on the input text. */
32333
+ computeTokens(request: {
32334
+ /** V1 error format. */
32335
+ "$.xgafv"?:
32336
+ string;
32337
+ /** OAuth access token. */
32338
+ access_token?:
32339
+ string;
32340
+ /** Data format for response. */
32341
+ alt?:
32342
+ string;
32343
+ /** JSONP */
32344
+ callback?:
32345
+ string;
32346
+ /** Required. The name of the Endpoint requested to get lists of tokens and token ids. */
32347
+ endpoint:
32348
+ string;
32349
+ /** Selector specifying which fields to include in a partial response. */
32350
+ fields?:
32351
+ string;
32352
+ /** 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. */
32353
+ key?:
32354
+ string;
32355
+ /** OAuth 2.0 token for the current user. */
32356
+ oauth_token?:
32357
+ string;
32358
+ /** Returns response with indentations and line breaks. */
32359
+ prettyPrint?:
32360
+ boolean;
32361
+ /** 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. */
32362
+ quotaUser?:
32363
+ string;
32364
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
32365
+ upload_protocol?:
32366
+ string;
32367
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
32368
+ uploadType?:
32369
+ string;
32370
+ /** Request body */
32371
+ resource:
32372
+ GoogleCloudAiplatformV1beta1ComputeTokensRequest;
32373
+ }): Request<GoogleCloudAiplatformV1beta1ComputeTokensResponse>;
32374
+ computeTokens(request: {
32375
+ /** V1 error format. */
32376
+ "$.xgafv"?:
32377
+ string;
32378
+ /** OAuth access token. */
32379
+ access_token?:
32380
+ string;
32381
+ /** Data format for response. */
32382
+ alt?:
32383
+ string;
32384
+ /** JSONP */
32385
+ callback?:
32386
+ string;
32387
+ /** Required. The name of the Endpoint requested to get lists of tokens and token ids. */
32388
+ endpoint:
32389
+ string;
32390
+ /** Selector specifying which fields to include in a partial response. */
32391
+ fields?:
32392
+ string;
32393
+ /** 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. */
32394
+ key?:
32395
+ string;
32396
+ /** OAuth 2.0 token for the current user. */
32397
+ oauth_token?:
32398
+ string;
32399
+ /** Returns response with indentations and line breaks. */
32400
+ prettyPrint?:
32401
+ boolean;
32402
+ /** 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. */
32403
+ quotaUser?:
32404
+ string;
32405
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
32406
+ upload_protocol?:
32407
+ string;
32408
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
32409
+ uploadType?:
32410
+ string;
32411
+ },
32412
+ body: GoogleCloudAiplatformV1beta1ComputeTokensRequest): Request<GoogleCloudAiplatformV1beta1ComputeTokensResponse>;
32172
32413
  /** Perform a token counting. */
32173
32414
  countTokens(request: {
32174
32415
  /** V1 error format. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.aiplatform-v1beta1",
3
- "version": "0.0.20231101",
3
+ "version": "0.0.20231111",
4
4
  "description": "TypeScript typings for Vertex AI API v1beta1",
5
5
  "license": "MIT",
6
6
  "author": {
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: 20231101
6
+ // Revision: 20231111
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -397,12 +397,22 @@ gapi.load('client', async () => {
397
397
  command: [
398
398
  "Test string"
399
399
  ],
400
+ deploymentTimeout: "Test string",
400
401
  env: [
401
402
  {
402
403
  name: "Test string",
403
404
  value: "Test string",
404
405
  }
405
406
  ],
407
+ healthProbe: {
408
+ exec: {
409
+ command: [
410
+ "Test string"
411
+ ],
412
+ },
413
+ periodSeconds: 42,
414
+ timeoutSeconds: 42,
415
+ },
406
416
  healthRoute: "Test string",
407
417
  imageUri: "Test string",
408
418
  ports: [
@@ -411,6 +421,16 @@ gapi.load('client', async () => {
411
421
  }
412
422
  ],
413
423
  predictRoute: "Test string",
424
+ sharedMemorySizeMb: "Test string",
425
+ startupProbe: {
426
+ exec: {
427
+ command: [
428
+ "Test string"
429
+ ],
430
+ },
431
+ periodSeconds: 42,
432
+ timeoutSeconds: 42,
433
+ },
414
434
  },
415
435
  predictSchemata: {
416
436
  instanceSchemaUri: "Test string",
@@ -1234,6 +1254,14 @@ gapi.load('client', async () => {
1234
1254
  name: "Test string",
1235
1255
  timeout: "Test string",
1236
1256
  });
1257
+ /** Return a list of tokens based on the input text. */
1258
+ await gapi.client.aiplatform.projects.locations.endpoints.computeTokens({
1259
+ endpoint: "Test string",
1260
+ }, {
1261
+ instances: [
1262
+ 42
1263
+ ],
1264
+ });
1237
1265
  /** Perform a token counting. */
1238
1266
  await gapi.client.aiplatform.projects.locations.endpoints.countTokens({
1239
1267
  endpoint: "Test string",
@@ -2845,6 +2873,10 @@ gapi.load('client', async () => {
2845
2873
  await gapi.client.aiplatform.projects.locations.featureOnlineStores.featureViews.fetchFeatureValues({
2846
2874
  featureView: "Test string",
2847
2875
  }, {
2876
+ dataFormat: "Test string",
2877
+ dataKey: {
2878
+ key: "Test string",
2879
+ },
2848
2880
  format: "Test string",
2849
2881
  id: "Test string",
2850
2882
  });
@@ -5538,12 +5570,22 @@ gapi.load('client', async () => {
5538
5570
  command: [
5539
5571
  "Test string"
5540
5572
  ],
5573
+ deploymentTimeout: "Test string",
5541
5574
  env: [
5542
5575
  {
5543
5576
  name: "Test string",
5544
5577
  value: "Test string",
5545
5578
  }
5546
5579
  ],
5580
+ healthProbe: {
5581
+ exec: {
5582
+ command: [
5583
+ "Test string"
5584
+ ],
5585
+ },
5586
+ periodSeconds: 42,
5587
+ timeoutSeconds: 42,
5588
+ },
5547
5589
  healthRoute: "Test string",
5548
5590
  imageUri: "Test string",
5549
5591
  ports: [
@@ -5552,6 +5594,16 @@ gapi.load('client', async () => {
5552
5594
  }
5553
5595
  ],
5554
5596
  predictRoute: "Test string",
5597
+ sharedMemorySizeMb: "Test string",
5598
+ startupProbe: {
5599
+ exec: {
5600
+ command: [
5601
+ "Test string"
5602
+ ],
5603
+ },
5604
+ periodSeconds: 42,
5605
+ timeoutSeconds: 42,
5606
+ },
5555
5607
  },
5556
5608
  createTime: "Test string",
5557
5609
  deployedModels: [
@@ -5795,12 +5847,22 @@ gapi.load('client', async () => {
5795
5847
  command: [
5796
5848
  "Test string"
5797
5849
  ],
5850
+ deploymentTimeout: "Test string",
5798
5851
  env: [
5799
5852
  {
5800
5853
  name: "Test string",
5801
5854
  value: "Test string",
5802
5855
  }
5803
5856
  ],
5857
+ healthProbe: {
5858
+ exec: {
5859
+ command: [
5860
+ "Test string"
5861
+ ],
5862
+ },
5863
+ periodSeconds: 42,
5864
+ timeoutSeconds: 42,
5865
+ },
5804
5866
  healthRoute: "Test string",
5805
5867
  imageUri: "Test string",
5806
5868
  ports: [
@@ -5809,6 +5871,16 @@ gapi.load('client', async () => {
5809
5871
  }
5810
5872
  ],
5811
5873
  predictRoute: "Test string",
5874
+ sharedMemorySizeMb: "Test string",
5875
+ startupProbe: {
5876
+ exec: {
5877
+ command: [
5878
+ "Test string"
5879
+ ],
5880
+ },
5881
+ periodSeconds: 42,
5882
+ timeoutSeconds: 42,
5883
+ },
5812
5884
  },
5813
5885
  createTime: "Test string",
5814
5886
  deployedModels: [
@@ -6593,6 +6665,15 @@ gapi.load('client', async () => {
6593
6665
  name: "Test string",
6594
6666
  }, {
6595
6667
  eventType: "Test string",
6668
+ status: {
6669
+ code: 42,
6670
+ details: [
6671
+ {
6672
+ A: 42
6673
+ }
6674
+ ],
6675
+ message: "Test string",
6676
+ },
6596
6677
  vmToken: "Test string",
6597
6678
  });
6598
6679
  /** Assigns a NotebookRuntime to a user for a particular Notebook file. This method will either returns an existing assignment or generates a new one. */
@@ -7274,6 +7355,14 @@ gapi.load('client', async () => {
7274
7355
  name: "Test string",
7275
7356
  timeout: "Test string",
7276
7357
  });
7358
+ /** Return a list of tokens based on the input text. */
7359
+ await gapi.client.aiplatform.projects.locations.publishers.models.computeTokens({
7360
+ endpoint: "Test string",
7361
+ }, {
7362
+ instances: [
7363
+ 42
7364
+ ],
7365
+ });
7277
7366
  /** Perform a token counting. */
7278
7367
  await gapi.client.aiplatform.projects.locations.publishers.models.countTokens({
7279
7368
  endpoint: "Test string",
@@ -8989,12 +9078,22 @@ gapi.load('client', async () => {
8989
9078
  command: [
8990
9079
  "Test string"
8991
9080
  ],
9081
+ deploymentTimeout: "Test string",
8992
9082
  env: [
8993
9083
  {
8994
9084
  name: "Test string",
8995
9085
  value: "Test string",
8996
9086
  }
8997
9087
  ],
9088
+ healthProbe: {
9089
+ exec: {
9090
+ command: [
9091
+ "Test string"
9092
+ ],
9093
+ },
9094
+ periodSeconds: 42,
9095
+ timeoutSeconds: 42,
9096
+ },
8998
9097
  healthRoute: "Test string",
8999
9098
  imageUri: "Test string",
9000
9099
  ports: [
@@ -9003,6 +9102,16 @@ gapi.load('client', async () => {
9003
9102
  }
9004
9103
  ],
9005
9104
  predictRoute: "Test string",
9105
+ sharedMemorySizeMb: "Test string",
9106
+ startupProbe: {
9107
+ exec: {
9108
+ command: [
9109
+ "Test string"
9110
+ ],
9111
+ },
9112
+ periodSeconds: 42,
9113
+ timeoutSeconds: 42,
9114
+ },
9006
9115
  },
9007
9116
  createTime: "Test string",
9008
9117
  deployedModels: [