@maxim_mazurok/gapi.client.aiplatform-v1 0.0.20231107 → 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 +368 -9
  2. package/package.json +1 -1
  3. package/tests.ts +131 -3
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: 20231107
12
+ // Revision: 20231111
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -894,6 +894,22 @@ declare namespace gapi.client {
894
894
  genericMetadata?:
895
895
  GoogleCloudAiplatformV1GenericOperationMetadata;
896
896
  }
897
+ interface GoogleCloudAiplatformV1CreateDeploymentResourcePoolOperationMetadata {
898
+ /** The operation generic information. */
899
+ genericMetadata?:
900
+ GoogleCloudAiplatformV1GenericOperationMetadata;
901
+ }
902
+ interface GoogleCloudAiplatformV1CreateDeploymentResourcePoolRequest {
903
+ /** Required. The DeploymentResourcePool to create. */
904
+ deploymentResourcePool?:
905
+ GoogleCloudAiplatformV1DeploymentResourcePool;
906
+ /**
907
+ * Required. The ID to use for the DeploymentResourcePool, which will become the final component of the DeploymentResourcePool's resource name. The maximum length is 63 characters, and
908
+ * valid characters are `/^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$/`.
909
+ */
910
+ deploymentResourcePoolId?:
911
+ string;
912
+ }
897
913
  interface GoogleCloudAiplatformV1CreateEndpointOperationMetadata {
898
914
  /** The operation generic information. */
899
915
  genericMetadata?:
@@ -1638,6 +1654,17 @@ declare namespace gapi.client {
1638
1654
  deployedIndex?:
1639
1655
  GoogleCloudAiplatformV1DeployedIndex;
1640
1656
  }
1657
+ interface GoogleCloudAiplatformV1DeploymentResourcePool {
1658
+ /** Output only. Timestamp when this DeploymentResourcePool was created. */
1659
+ createTime?:
1660
+ string;
1661
+ /** Required. The underlying DedicatedResources that the DeploymentResourcePool uses. */
1662
+ dedicatedResources?:
1663
+ GoogleCloudAiplatformV1DedicatedResources;
1664
+ /** Immutable. The resource name of the DeploymentResourcePool. Format: `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}` */
1665
+ name?:
1666
+ string;
1667
+ }
1641
1668
  interface GoogleCloudAiplatformV1DeployModelOperationMetadata {
1642
1669
  /** The operation generic information. */
1643
1670
  genericMetadata?:
@@ -2857,6 +2884,11 @@ declare namespace gapi.client {
2857
2884
  uri?:
2858
2885
  string;
2859
2886
  }
2887
+ interface GoogleCloudAiplatformV1FeatureViewDataKey {
2888
+ /** String key to use for lookup. */
2889
+ key?:
2890
+ string;
2891
+ }
2860
2892
  interface GoogleCloudAiplatformV1FeatureViewFeatureRegistrySource {
2861
2893
  /** Required. List of features that need to be synced to Online Store. */
2862
2894
  featureGroups?:
@@ -2900,12 +2932,12 @@ declare namespace gapi.client {
2900
2932
  string;
2901
2933
  }
2902
2934
  interface GoogleCloudAiplatformV1FetchFeatureValuesRequest {
2903
- /** Specify response data format. If not set, KeyValue format will be used. */
2904
- format?:
2905
- string;
2906
- /** Simple ID. The whole string will be used as is to identify Entity to fetch feature values for. */
2907
- id?:
2935
+ /** Optional. Response data format. If not set, FeatureViewDataFormat.KEY_VALUE will be used. */
2936
+ dataFormat?:
2908
2937
  string;
2938
+ /** Optional. The request key to fetch feature values for. */
2939
+ dataKey?:
2940
+ GoogleCloudAiplatformV1FeatureViewDataKey;
2909
2941
  }
2910
2942
  interface GoogleCloudAiplatformV1FetchFeatureValuesResponse {
2911
2943
  /** Feature values in KeyValue format. */
@@ -3621,6 +3653,14 @@ declare namespace gapi.client {
3621
3653
  nextPageToken?:
3622
3654
  string;
3623
3655
  }
3656
+ interface GoogleCloudAiplatformV1ListDeploymentResourcePoolsResponse {
3657
+ /** The DeploymentResourcePools from the specified location. */
3658
+ deploymentResourcePools?:
3659
+ GoogleCloudAiplatformV1DeploymentResourcePool[];
3660
+ /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
3661
+ nextPageToken?:
3662
+ string;
3663
+ }
3624
3664
  interface GoogleCloudAiplatformV1ListEndpointsResponse {
3625
3665
  /** List of Endpoints in the requested page. */
3626
3666
  endpoints?:
@@ -4324,6 +4364,9 @@ declare namespace gapi.client {
4324
4364
  */
4325
4365
  command?:
4326
4366
  string[];
4367
+ /** Immutable. Deployment timeout. TODO (b/306244185): Revise documentation before exposing. */
4368
+ deploymentTimeout?:
4369
+ string;
4327
4370
  /**
4328
4371
  * 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.
4329
4372
  * 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
@@ -4333,6 +4376,9 @@ declare namespace gapi.client {
4333
4376
  */
4334
4377
  env?:
4335
4378
  GoogleCloudAiplatformV1EnvVar[];
4379
+ /** Immutable. Specification for Kubernetes readiness probe. TODO (b/306244185): Revise documentation before exposing. */
4380
+ healthProbe?:
4381
+ GoogleCloudAiplatformV1Probe;
4336
4382
  /**
4337
4383
  * 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
4338
4384
  * 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
@@ -4376,6 +4422,12 @@ declare namespace gapi.client {
4376
4422
  */
4377
4423
  predictRoute?:
4378
4424
  string;
4425
+ /** 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. */
4426
+ sharedMemorySizeMb?:
4427
+ string;
4428
+ /** Immutable. Specification for Kubernetes startup probe. TODO (b/306244185): Revise documentation before exposing. */
4429
+ startupProbe?:
4430
+ GoogleCloudAiplatformV1Probe;
4379
4431
  }
4380
4432
  interface GoogleCloudAiplatformV1ModelDeploymentMonitoringBigQueryTable {
4381
4433
  /** The created BigQuery table to store logs. Customer could do their own query & analysis. Format: `bq://.model_deployment_monitoring_._` */
@@ -5597,6 +5649,29 @@ declare namespace gapi.client {
5597
5649
  projectAllowlist?:
5598
5650
  string[];
5599
5651
  }
5652
+ interface GoogleCloudAiplatformV1Probe {
5653
+ /** Exec specifies the action to take. */
5654
+ exec?:
5655
+ GoogleCloudAiplatformV1ProbeExecAction;
5656
+ /** 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'. */
5657
+ periodSeconds?:
5658
+ number;
5659
+ /**
5660
+ * 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
5661
+ * 'timeoutSeconds'.
5662
+ */
5663
+ timeoutSeconds?:
5664
+ number;
5665
+ }
5666
+ interface GoogleCloudAiplatformV1ProbeExecAction {
5667
+ /**
5668
+ * 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
5669
+ * 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
5670
+ * live/healthy and non-zero is unhealthy.
5671
+ */
5672
+ command?:
5673
+ string[];
5674
+ }
5600
5675
  interface GoogleCloudAiplatformV1PublisherModel {
5601
5676
  /** Optional. Additional information about the model's Frameworks. */
5602
5677
  frameworks?:
@@ -5800,6 +5875,23 @@ declare namespace gapi.client {
5800
5875
  pythonModule?:
5801
5876
  string;
5802
5877
  }
5878
+ interface GoogleCloudAiplatformV1QueryDeployedModelsResponse {
5879
+ /** References to the DeployedModels that share the specified deploymentResourcePool. */
5880
+ deployedModelRefs?:
5881
+ GoogleCloudAiplatformV1DeployedModelRef[];
5882
+ /** DEPRECATED Use deployed_model_refs instead. */
5883
+ deployedModels?:
5884
+ GoogleCloudAiplatformV1DeployedModel[];
5885
+ /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
5886
+ nextPageToken?:
5887
+ string;
5888
+ /** The total number of DeployedModels on this DeploymentResourcePool. */
5889
+ totalDeployedModelCount?:
5890
+ number;
5891
+ /** The total number of Endpoints that have DeployedModels on this DeploymentResourcePool. */
5892
+ totalEndpointCount?:
5893
+ number;
5894
+ }
5803
5895
  interface GoogleCloudAiplatformV1RawPredictRequest {
5804
5896
  /**
5805
5897
  * The prediction input. Supports HTTP headers and arbitrary data payload. A DeployedModel may have an upper limit on the number of instances it supports per request. When this limit
@@ -6756,17 +6848,23 @@ declare namespace gapi.client {
6756
6848
  string;
6757
6849
  }
6758
6850
  interface GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfig {
6851
+ /** If set, skip finding claim attributions (i.e not generate grounding citation). */
6852
+ disableAttribution?:
6853
+ boolean;
6759
6854
  /** The sources for the grounding checking. */
6760
6855
  sources?:
6761
6856
  GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry[];
6762
6857
  }
6763
6858
  interface GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry {
6764
- /** The uri of the Enterprise Search data source. */
6859
+ /** The uri of the Vertex AI Search data source. Deprecated. Use vertex_ai_search_datastore instead. */
6765
6860
  enterpriseDatastore?:
6766
6861
  string;
6767
6862
  /** The type of the grounding checking source. */
6768
6863
  type?:
6769
6864
  string;
6865
+ /** The uri of the Vertex AI Search data source. */
6866
+ vertexAiSearchDatastore?:
6867
+ string;
6770
6868
  }
6771
6869
  interface GoogleCloudAiplatformV1SchemaPredictParamsImageClassificationPredictionParams {
6772
6870
  /** The Model only returns predictions with at least this confidence score. Default value is 0.0 */
@@ -9283,6 +9381,11 @@ declare namespace gapi.client {
9283
9381
  predictSchemata?:
9284
9382
  GoogleCloudAiplatformV1PredictSchemata;
9285
9383
  }
9384
+ interface GoogleCloudAiplatformV1UpdateDeploymentResourcePoolOperationMetadata {
9385
+ /** The operation generic information. */
9386
+ genericMetadata?:
9387
+ GoogleCloudAiplatformV1GenericOperationMetadata;
9388
+ }
9286
9389
  interface GoogleCloudAiplatformV1UpdateExplanationDatasetOperationMetadata {
9287
9390
  /** The common part of the operation metadata. */
9288
9391
  genericMetadata?:
@@ -9367,8 +9470,9 @@ declare namespace gapi.client {
9367
9470
  string;
9368
9471
  /**
9369
9472
  * Optional. The user-provided custom service account to use to do the model upload. If empty, [Vertex AI Service
9370
- * 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
9371
- * this service account. Also, this account must belong to the project specified in the `parent` field and have all necessary read permissions.
9473
+ * 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
9474
+ * 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,
9475
+ * Artifact Registry, etc.).
9372
9476
  */
9373
9477
  serviceAccount?:
9374
9478
  string;
@@ -13507,6 +13611,261 @@ declare namespace gapi.client {
13507
13611
  }): Request<GoogleLongrunningOperation>;
13508
13612
  }
13509
13613
  interface DeploymentResourcePoolsResource {
13614
+ /** Create a DeploymentResourcePool. */
13615
+ create(request: {
13616
+ /** V1 error format. */
13617
+ "$.xgafv"?:
13618
+ string;
13619
+ /** OAuth access token. */
13620
+ access_token?:
13621
+ string;
13622
+ /** Data format for response. */
13623
+ alt?:
13624
+ string;
13625
+ /** JSONP */
13626
+ callback?:
13627
+ string;
13628
+ /** Selector specifying which fields to include in a partial response. */
13629
+ fields?:
13630
+ string;
13631
+ /** 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. */
13632
+ key?:
13633
+ string;
13634
+ /** OAuth 2.0 token for the current user. */
13635
+ oauth_token?:
13636
+ string;
13637
+ /** Required. The parent location resource where this DeploymentResourcePool will be created. Format: `projects/{project}/locations/{location}` */
13638
+ parent:
13639
+ string;
13640
+ /** Returns response with indentations and line breaks. */
13641
+ prettyPrint?:
13642
+ boolean;
13643
+ /** 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. */
13644
+ quotaUser?:
13645
+ string;
13646
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
13647
+ upload_protocol?:
13648
+ string;
13649
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13650
+ uploadType?:
13651
+ string;
13652
+ /** Request body */
13653
+ resource:
13654
+ GoogleCloudAiplatformV1CreateDeploymentResourcePoolRequest;
13655
+ }): Request<GoogleLongrunningOperation>;
13656
+ create(request: {
13657
+ /** V1 error format. */
13658
+ "$.xgafv"?:
13659
+ string;
13660
+ /** OAuth access token. */
13661
+ access_token?:
13662
+ string;
13663
+ /** Data format for response. */
13664
+ alt?:
13665
+ string;
13666
+ /** JSONP */
13667
+ callback?:
13668
+ string;
13669
+ /** Selector specifying which fields to include in a partial response. */
13670
+ fields?:
13671
+ string;
13672
+ /** 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. */
13673
+ key?:
13674
+ string;
13675
+ /** OAuth 2.0 token for the current user. */
13676
+ oauth_token?:
13677
+ string;
13678
+ /** Required. The parent location resource where this DeploymentResourcePool will be created. Format: `projects/{project}/locations/{location}` */
13679
+ parent:
13680
+ string;
13681
+ /** Returns response with indentations and line breaks. */
13682
+ prettyPrint?:
13683
+ boolean;
13684
+ /** 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. */
13685
+ quotaUser?:
13686
+ string;
13687
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
13688
+ upload_protocol?:
13689
+ string;
13690
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13691
+ uploadType?:
13692
+ string;
13693
+ },
13694
+ body: GoogleCloudAiplatformV1CreateDeploymentResourcePoolRequest): Request<GoogleLongrunningOperation>;
13695
+ /** Delete a DeploymentResourcePool. */
13696
+ delete(request?: {
13697
+ /** V1 error format. */
13698
+ "$.xgafv"?:
13699
+ string;
13700
+ /** OAuth access token. */
13701
+ access_token?:
13702
+ string;
13703
+ /** Data format for response. */
13704
+ alt?:
13705
+ string;
13706
+ /** JSONP */
13707
+ callback?:
13708
+ string;
13709
+ /** Selector specifying which fields to include in a partial response. */
13710
+ fields?:
13711
+ string;
13712
+ /** 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. */
13713
+ key?:
13714
+ string;
13715
+ /** Required. The name of the DeploymentResourcePool to delete. Format: `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}` */
13716
+ name:
13717
+ string;
13718
+ /** OAuth 2.0 token for the current user. */
13719
+ oauth_token?:
13720
+ string;
13721
+ /** Returns response with indentations and line breaks. */
13722
+ prettyPrint?:
13723
+ boolean;
13724
+ /** 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. */
13725
+ quotaUser?:
13726
+ string;
13727
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
13728
+ upload_protocol?:
13729
+ string;
13730
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13731
+ uploadType?:
13732
+ string;
13733
+ }): Request<GoogleLongrunningOperation>;
13734
+ /** Get a DeploymentResourcePool. */
13735
+ get(request?: {
13736
+ /** V1 error format. */
13737
+ "$.xgafv"?:
13738
+ string;
13739
+ /** OAuth access token. */
13740
+ access_token?:
13741
+ string;
13742
+ /** Data format for response. */
13743
+ alt?:
13744
+ string;
13745
+ /** JSONP */
13746
+ callback?:
13747
+ string;
13748
+ /** Selector specifying which fields to include in a partial response. */
13749
+ fields?:
13750
+ string;
13751
+ /** 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. */
13752
+ key?:
13753
+ string;
13754
+ /** Required. The name of the DeploymentResourcePool to retrieve. Format: `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}` */
13755
+ name:
13756
+ string;
13757
+ /** OAuth 2.0 token for the current user. */
13758
+ oauth_token?:
13759
+ string;
13760
+ /** Returns response with indentations and line breaks. */
13761
+ prettyPrint?:
13762
+ boolean;
13763
+ /** 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. */
13764
+ quotaUser?:
13765
+ string;
13766
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
13767
+ upload_protocol?:
13768
+ string;
13769
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13770
+ uploadType?:
13771
+ string;
13772
+ }): Request<GoogleCloudAiplatformV1DeploymentResourcePool>;
13773
+ /** List DeploymentResourcePools in a location. */
13774
+ list(request?: {
13775
+ /** V1 error format. */
13776
+ "$.xgafv"?:
13777
+ string;
13778
+ /** OAuth access token. */
13779
+ access_token?:
13780
+ string;
13781
+ /** Data format for response. */
13782
+ alt?:
13783
+ string;
13784
+ /** JSONP */
13785
+ callback?:
13786
+ string;
13787
+ /** Selector specifying which fields to include in a partial response. */
13788
+ fields?:
13789
+ string;
13790
+ /** 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. */
13791
+ key?:
13792
+ string;
13793
+ /** OAuth 2.0 token for the current user. */
13794
+ oauth_token?:
13795
+ string;
13796
+ /** The maximum number of DeploymentResourcePools to return. The service may return fewer than this value. */
13797
+ pageSize?:
13798
+ number;
13799
+ /**
13800
+ * A page token, received from a previous `ListDeploymentResourcePools` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to
13801
+ * `ListDeploymentResourcePools` must match the call that provided the page token.
13802
+ */
13803
+ pageToken?:
13804
+ string;
13805
+ /** Required. The parent Location which owns this collection of DeploymentResourcePools. Format: `projects/{project}/locations/{location}` */
13806
+ parent:
13807
+ string;
13808
+ /** Returns response with indentations and line breaks. */
13809
+ prettyPrint?:
13810
+ boolean;
13811
+ /** 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. */
13812
+ quotaUser?:
13813
+ string;
13814
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
13815
+ upload_protocol?:
13816
+ string;
13817
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13818
+ uploadType?:
13819
+ string;
13820
+ }): Request<GoogleCloudAiplatformV1ListDeploymentResourcePoolsResponse>;
13821
+ /** List DeployedModels that have been deployed on this DeploymentResourcePool. */
13822
+ queryDeployedModels(request?: {
13823
+ /** V1 error format. */
13824
+ "$.xgafv"?:
13825
+ string;
13826
+ /** OAuth access token. */
13827
+ access_token?:
13828
+ string;
13829
+ /** Data format for response. */
13830
+ alt?:
13831
+ string;
13832
+ /** JSONP */
13833
+ callback?:
13834
+ string;
13835
+ /** Required. The name of the target DeploymentResourcePool to query. Format: `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}` */
13836
+ deploymentResourcePool:
13837
+ string;
13838
+ /** Selector specifying which fields to include in a partial response. */
13839
+ fields?:
13840
+ string;
13841
+ /** 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. */
13842
+ key?:
13843
+ string;
13844
+ /** OAuth 2.0 token for the current user. */
13845
+ oauth_token?:
13846
+ string;
13847
+ /** The maximum number of DeployedModels to return. The service may return fewer than this value. */
13848
+ pageSize?:
13849
+ number;
13850
+ /**
13851
+ * A page token, received from a previous `QueryDeployedModels` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to
13852
+ * `QueryDeployedModels` must match the call that provided the page token.
13853
+ */
13854
+ pageToken?:
13855
+ string;
13856
+ /** Returns response with indentations and line breaks. */
13857
+ prettyPrint?:
13858
+ boolean;
13859
+ /** 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. */
13860
+ quotaUser?:
13861
+ string;
13862
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
13863
+ upload_protocol?:
13864
+ string;
13865
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13866
+ uploadType?:
13867
+ string;
13868
+ }): Request<GoogleCloudAiplatformV1QueryDeployedModelsResponse>;
13510
13869
  operations:
13511
13870
  OperationsResource;
13512
13871
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.aiplatform-v1",
3
- "version": "0.0.20231107",
3
+ "version": "0.0.20231111",
4
4
  "description": "TypeScript typings for Vertex AI API v1",
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: 20231107
6
+ // Revision: 20231111
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -267,12 +267,22 @@ gapi.load('client', async () => {
267
267
  command: [
268
268
  "Test string"
269
269
  ],
270
+ deploymentTimeout: "Test string",
270
271
  env: [
271
272
  {
272
273
  name: "Test string",
273
274
  value: "Test string",
274
275
  }
275
276
  ],
277
+ healthProbe: {
278
+ exec: {
279
+ command: [
280
+ "Test string"
281
+ ],
282
+ },
283
+ periodSeconds: 42,
284
+ timeoutSeconds: 42,
285
+ },
276
286
  healthRoute: "Test string",
277
287
  imageUri: "Test string",
278
288
  ports: [
@@ -281,6 +291,16 @@ gapi.load('client', async () => {
281
291
  }
282
292
  ],
283
293
  predictRoute: "Test string",
294
+ sharedMemorySizeMb: "Test string",
295
+ startupProbe: {
296
+ exec: {
297
+ command: [
298
+ "Test string"
299
+ ],
300
+ },
301
+ periodSeconds: 42,
302
+ timeoutSeconds: 42,
303
+ },
284
304
  },
285
305
  predictSchemata: {
286
306
  instanceSchemaUri: "Test string",
@@ -983,6 +1003,52 @@ gapi.load('client', async () => {
983
1003
  name: "Test string",
984
1004
  timeout: "Test string",
985
1005
  });
1006
+ /** Create a DeploymentResourcePool. */
1007
+ await gapi.client.aiplatform.projects.locations.deploymentResourcePools.create({
1008
+ parent: "Test string",
1009
+ }, {
1010
+ deploymentResourcePool: {
1011
+ createTime: "Test string",
1012
+ dedicatedResources: {
1013
+ autoscalingMetricSpecs: [
1014
+ {
1015
+ metricName: "Test string",
1016
+ target: 42,
1017
+ }
1018
+ ],
1019
+ machineSpec: {
1020
+ acceleratorCount: 42,
1021
+ acceleratorType: "Test string",
1022
+ machineType: "Test string",
1023
+ tpuTopology: "Test string",
1024
+ },
1025
+ maxReplicaCount: 42,
1026
+ minReplicaCount: 42,
1027
+ },
1028
+ name: "Test string",
1029
+ },
1030
+ deploymentResourcePoolId: "Test string",
1031
+ });
1032
+ /** Delete a DeploymentResourcePool. */
1033
+ await gapi.client.aiplatform.projects.locations.deploymentResourcePools.delete({
1034
+ name: "Test string",
1035
+ });
1036
+ /** Get a DeploymentResourcePool. */
1037
+ await gapi.client.aiplatform.projects.locations.deploymentResourcePools.get({
1038
+ name: "Test string",
1039
+ });
1040
+ /** List DeploymentResourcePools in a location. */
1041
+ await gapi.client.aiplatform.projects.locations.deploymentResourcePools.list({
1042
+ pageSize: 42,
1043
+ pageToken: "Test string",
1044
+ parent: "Test string",
1045
+ });
1046
+ /** List DeployedModels that have been deployed on this DeploymentResourcePool. */
1047
+ await gapi.client.aiplatform.projects.locations.deploymentResourcePools.queryDeployedModels({
1048
+ deploymentResourcePool: "Test string",
1049
+ pageSize: 42,
1050
+ pageToken: "Test string",
1051
+ });
986
1052
  /**
987
1053
  * 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
988
1054
  * 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
@@ -2262,8 +2328,10 @@ gapi.load('client', async () => {
2262
2328
  await gapi.client.aiplatform.projects.locations.featureOnlineStores.featureViews.fetchFeatureValues({
2263
2329
  featureView: "Test string",
2264
2330
  }, {
2265
- format: "Test string",
2266
- id: "Test string",
2331
+ dataFormat: "Test string",
2332
+ dataKey: {
2333
+ key: "Test string",
2334
+ },
2267
2335
  });
2268
2336
  /** Gets details of a single FeatureView. */
2269
2337
  await gapi.client.aiplatform.projects.locations.featureOnlineStores.featureViews.get({
@@ -4760,12 +4828,22 @@ gapi.load('client', async () => {
4760
4828
  command: [
4761
4829
  "Test string"
4762
4830
  ],
4831
+ deploymentTimeout: "Test string",
4763
4832
  env: [
4764
4833
  {
4765
4834
  name: "Test string",
4766
4835
  value: "Test string",
4767
4836
  }
4768
4837
  ],
4838
+ healthProbe: {
4839
+ exec: {
4840
+ command: [
4841
+ "Test string"
4842
+ ],
4843
+ },
4844
+ periodSeconds: 42,
4845
+ timeoutSeconds: 42,
4846
+ },
4769
4847
  healthRoute: "Test string",
4770
4848
  imageUri: "Test string",
4771
4849
  ports: [
@@ -4774,6 +4852,16 @@ gapi.load('client', async () => {
4774
4852
  }
4775
4853
  ],
4776
4854
  predictRoute: "Test string",
4855
+ sharedMemorySizeMb: "Test string",
4856
+ startupProbe: {
4857
+ exec: {
4858
+ command: [
4859
+ "Test string"
4860
+ ],
4861
+ },
4862
+ periodSeconds: 42,
4863
+ timeoutSeconds: 42,
4864
+ },
4777
4865
  },
4778
4866
  createTime: "Test string",
4779
4867
  deployedModels: [
@@ -4977,12 +5065,22 @@ gapi.load('client', async () => {
4977
5065
  command: [
4978
5066
  "Test string"
4979
5067
  ],
5068
+ deploymentTimeout: "Test string",
4980
5069
  env: [
4981
5070
  {
4982
5071
  name: "Test string",
4983
5072
  value: "Test string",
4984
5073
  }
4985
5074
  ],
5075
+ healthProbe: {
5076
+ exec: {
5077
+ command: [
5078
+ "Test string"
5079
+ ],
5080
+ },
5081
+ periodSeconds: 42,
5082
+ timeoutSeconds: 42,
5083
+ },
4986
5084
  healthRoute: "Test string",
4987
5085
  imageUri: "Test string",
4988
5086
  ports: [
@@ -4991,6 +5089,16 @@ gapi.load('client', async () => {
4991
5089
  }
4992
5090
  ],
4993
5091
  predictRoute: "Test string",
5092
+ sharedMemorySizeMb: "Test string",
5093
+ startupProbe: {
5094
+ exec: {
5095
+ command: [
5096
+ "Test string"
5097
+ ],
5098
+ },
5099
+ periodSeconds: 42,
5100
+ timeoutSeconds: 42,
5101
+ },
4994
5102
  },
4995
5103
  createTime: "Test string",
4996
5104
  deployedModels: [
@@ -7891,12 +7999,22 @@ gapi.load('client', async () => {
7891
7999
  command: [
7892
8000
  "Test string"
7893
8001
  ],
8002
+ deploymentTimeout: "Test string",
7894
8003
  env: [
7895
8004
  {
7896
8005
  name: "Test string",
7897
8006
  value: "Test string",
7898
8007
  }
7899
8008
  ],
8009
+ healthProbe: {
8010
+ exec: {
8011
+ command: [
8012
+ "Test string"
8013
+ ],
8014
+ },
8015
+ periodSeconds: 42,
8016
+ timeoutSeconds: 42,
8017
+ },
7900
8018
  healthRoute: "Test string",
7901
8019
  imageUri: "Test string",
7902
8020
  ports: [
@@ -7905,6 +8023,16 @@ gapi.load('client', async () => {
7905
8023
  }
7906
8024
  ],
7907
8025
  predictRoute: "Test string",
8026
+ sharedMemorySizeMb: "Test string",
8027
+ startupProbe: {
8028
+ exec: {
8029
+ command: [
8030
+ "Test string"
8031
+ ],
8032
+ },
8033
+ periodSeconds: 42,
8034
+ timeoutSeconds: 42,
8035
+ },
7908
8036
  },
7909
8037
  createTime: "Test string",
7910
8038
  deployedModels: [