@maxim_mazurok/gapi.client.aiplatform-v1beta1 0.0.20231024 → 0.0.20231107

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 +342 -6
  2. package/package.json +1 -1
  3. package/tests.ts +171 -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: 20231024
12
+ // Revision: 20231107
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -337,6 +337,14 @@ declare namespace gapi.client {
337
337
  startingReplicaCount?:
338
338
  number;
339
339
  }
340
+ interface GoogleCloudAiplatformV1beta1BatchDeletePipelineJobsRequest {
341
+ /**
342
+ * Required. The names of the PipelineJobs to delete. A maximum of 32 PipelineJobs can be deleted in a batch. Format:
343
+ * `projects/{project}/locations/{location}/pipelineJobs/{pipelineJob}`
344
+ */
345
+ names?:
346
+ string[];
347
+ }
340
348
  interface GoogleCloudAiplatformV1beta1BatchImportEvaluatedAnnotationsRequest {
341
349
  /** Required. Evaluated annotations resource to be imported. */
342
350
  evaluatedAnnotations?:
@@ -767,6 +775,22 @@ declare namespace gapi.client {
767
775
  successfulForecastPointCount?:
768
776
  string;
769
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
+ }
770
794
  interface GoogleCloudAiplatformV1beta1ContainerRegistryDestination {
771
795
  /**
772
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
@@ -1509,11 +1533,11 @@ declare namespace gapi.client {
1509
1533
  createTime?:
1510
1534
  string;
1511
1535
  /**
1512
- * 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
1513
- * 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
1514
- * 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
1515
- * 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
1516
- * 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.
1517
1541
  */
1518
1542
  dedicatedResources?:
1519
1543
  GoogleCloudAiplatformV1beta1DedicatedResources;
@@ -2067,6 +2091,12 @@ declare namespace gapi.client {
2067
2091
  string;
2068
2092
  }
2069
2093
  interface GoogleCloudAiplatformV1beta1ExplainRequest {
2094
+ /**
2095
+ * Optional. This field is the same as the one above, but supports multiple explanations to occur in parallel. The key can be any string. Each override will be run against the model,
2096
+ * then its explanations will be grouped together. Note - these explanations are run **In Addition** to the default Explanation in the deployed model.
2097
+ */
2098
+ concurrentExplanationSpecOverride?:
2099
+ { [P in string]: GoogleCloudAiplatformV1beta1ExplanationSpecOverride };
2070
2100
  /** If specified, this ExplainRequest will be served by the chosen DeployedModel, overriding Endpoint.traffic_split. */
2071
2101
  deployedModelId?:
2072
2102
  string;
@@ -2089,6 +2119,9 @@ declare namespace gapi.client {
2089
2119
  any;
2090
2120
  }
2091
2121
  interface GoogleCloudAiplatformV1beta1ExplainResponse {
2122
+ /** This field stores the results of the explanations run in parallel with The default explanation strategy/method. */
2123
+ concurrentExplanations?:
2124
+ { [P in string]: GoogleCloudAiplatformV1beta1ExplainResponseConcurrentExplanation };
2092
2125
  /** ID of the Endpoint's DeployedModel that served this explanation. */
2093
2126
  deployedModelId?:
2094
2127
  string;
@@ -2099,6 +2132,11 @@ declare namespace gapi.client {
2099
2132
  predictions?:
2100
2133
  any[];
2101
2134
  }
2135
+ interface GoogleCloudAiplatformV1beta1ExplainResponseConcurrentExplanation {
2136
+ /** The explanations of the Model's PredictResponse.predictions. It has the same number of elements as instances to be explained. */
2137
+ explanations?:
2138
+ GoogleCloudAiplatformV1beta1Explanation[];
2139
+ }
2102
2140
  interface GoogleCloudAiplatformV1beta1Explanation {
2103
2141
  /**
2104
2142
  * Output only. Feature attributions grouped by predicted outputs. For Models that predict only one output, such as regression Models that predict only one score, there is only one
@@ -2569,6 +2607,9 @@ declare namespace gapi.client {
2569
2607
  /** Immutable. Only applicable for Vertex AI Feature Store (Legacy). Type of Feature value. */
2570
2608
  valueType?:
2571
2609
  string;
2610
+ /** Only applicable for Vertex AI Feature Store. The name of the BigQuery Table/View columnn hosting data for this version. If no value is provided, will use feature_id. */
2611
+ versionColumnName?:
2612
+ string;
2572
2613
  }
2573
2614
  interface GoogleCloudAiplatformV1beta1FeatureGroup {
2574
2615
  /**
@@ -2660,6 +2701,12 @@ declare namespace gapi.client {
2660
2701
  /** Output only. Name of the FeatureOnlineStore. Format: `projects/{project}/locations/{location}/featureOnlineStores/{featureOnlineStore}` */
2661
2702
  name?:
2662
2703
  string;
2704
+ /**
2705
+ * Contains settings for the Optimized store that will be created to serve featureValues for all FeatureViews under this FeatureOnlineStore. When choose Optimized storage type, need to
2706
+ * set PrivateServiceConnectConfig.enable_private_service_connect to use private endpoint. Otherwise will use public endpoint by default.
2707
+ */
2708
+ optimized?:
2709
+ any;
2663
2710
  /** Output only. State of the featureOnlineStore. */
2664
2711
  state?:
2665
2712
  string;
@@ -2687,15 +2734,27 @@ declare namespace gapi.client {
2687
2734
  number;
2688
2735
  }
2689
2736
  interface GoogleCloudAiplatformV1beta1FeatureOnlineStoreDedicatedServingEndpoint {
2737
+ /**
2738
+ * Optional. Private service connect config. If PrivateServiceConnectConfig.enable_private_service_connect set to true, customers will use private service connection to send request.
2739
+ * Otherwise, the connection will set to public endpoint.
2740
+ */
2741
+ privateServiceConnectConfig?:
2742
+ GoogleCloudAiplatformV1beta1PrivateServiceConnectConfig;
2690
2743
  /** Output only. This field will be populated with the domain name to use for this FeatureOnlineStore */
2691
2744
  publicEndpointDomainName?:
2692
2745
  string;
2746
+ /** Output only. The name of the service attachment resource. Populated if private service connect is enabled and after FeatureViewSync is created. */
2747
+ serviceAttachment?:
2748
+ string;
2693
2749
  }
2694
2750
  interface GoogleCloudAiplatformV1beta1FeatureOnlineStoreEmbeddingManagement {
2695
2751
  /** Optional. Immutable. Whether to enable embedding management in this FeatureOnlineStore. It's immutable after creation to ensure the FeatureOnlineStore availability. */
2696
2752
  enabled?:
2697
2753
  boolean;
2698
2754
  }
2755
+ // tslint:disable-next-line:no-empty-interface
2756
+ interface GoogleCloudAiplatformV1beta1FeatureOnlineStoreOptimized {
2757
+ }
2699
2758
  interface GoogleCloudAiplatformV1beta1FeatureSelector {
2700
2759
  /** Required. Matches Features based on ID. */
2701
2760
  idMatcher?:
@@ -3500,6 +3559,12 @@ declare namespace gapi.client {
3500
3559
  /** Required. Feature embedding vector. An array of numbers with the length of [NearestNeighborSearchConfig.dimensions]. */
3501
3560
  featureVector?:
3502
3561
  number[];
3562
+ /**
3563
+ * Optional. List of Restrict of the datapoint, used to perform "restricted searches" where boolean rule are used to filter the subset of the database eligible for matching. This uses
3564
+ * numeric comparisons.
3565
+ */
3566
+ numericRestricts?:
3567
+ GoogleCloudAiplatformV1beta1IndexDatapointNumericRestriction[];
3503
3568
  /**
3504
3569
  * Optional. List of Restrict of the datapoint, used to perform "restricted searches" where boolean rule are used to filter the subset of the database eligible for matching. This uses
3505
3570
  * categorical tokens. See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
@@ -3515,6 +3580,23 @@ declare namespace gapi.client {
3515
3580
  crowdingAttribute?:
3516
3581
  string;
3517
3582
  }
3583
+ interface GoogleCloudAiplatformV1beta1IndexDatapointNumericRestriction {
3584
+ /** The namespace of this restriction. e.g.: cost. */
3585
+ namespace?:
3586
+ string;
3587
+ /** This MUST be specified for queries and must NOT be specified for datapoints. */
3588
+ op?:
3589
+ string;
3590
+ /** Represents 64 bit float. */
3591
+ valueDouble?:
3592
+ number;
3593
+ /** Represents 32 bit float. */
3594
+ valueFloat?:
3595
+ number;
3596
+ /** Represents 64 bit integer. */
3597
+ valueInt?:
3598
+ string;
3599
+ }
3518
3600
  interface GoogleCloudAiplatformV1beta1IndexDatapointRestriction {
3519
3601
  /** The attributes to allow in this namespace. e.g.: 'red' */
3520
3602
  allowList?:
@@ -6309,6 +6391,9 @@ declare namespace gapi.client {
6309
6391
  /** Required. The type of the event. */
6310
6392
  eventType?:
6311
6393
  string;
6394
+ /** Optional. The error details of the event. */
6395
+ status?:
6396
+ GoogleRpcStatus;
6312
6397
  /** Required. The VM identity token (a JWT) for authenticating the VM. https://cloud.google.com/compute/docs/instances/verifying-instance-identity */
6313
6398
  vmToken?:
6314
6399
  string;
@@ -9561,6 +9646,14 @@ declare namespace gapi.client {
9561
9646
  validationFraction?:
9562
9647
  number;
9563
9648
  }
9649
+ interface GoogleCloudAiplatformV1beta1TokensInfo {
9650
+ /** A list of token ids from the input. */
9651
+ tokenIds?:
9652
+ string[];
9653
+ /** A list of tokens from the input. */
9654
+ tokens?:
9655
+ string[];
9656
+ }
9564
9657
  interface GoogleCloudAiplatformV1beta1TrainingConfig {
9565
9658
  /** The timeout hours for the CMLE training job, expressed in milli hours i.e. 1,000 value in this field means 1 hour. */
9566
9659
  timeoutTrainingMilliHours?:
@@ -14735,6 +14828,87 @@ declare namespace gapi.client {
14735
14828
  }): Request<GoogleLongrunningOperation>;
14736
14829
  }
14737
14830
  interface EndpointsResource {
14831
+ /** Return a list of tokens based on the input text. */
14832
+ computeTokens(request: {
14833
+ /** V1 error format. */
14834
+ "$.xgafv"?:
14835
+ string;
14836
+ /** OAuth access token. */
14837
+ access_token?:
14838
+ string;
14839
+ /** Data format for response. */
14840
+ alt?:
14841
+ string;
14842
+ /** JSONP */
14843
+ callback?:
14844
+ string;
14845
+ /** Required. The name of the Endpoint requested to get lists of tokens and token ids. */
14846
+ endpoint:
14847
+ string;
14848
+ /** Selector specifying which fields to include in a partial response. */
14849
+ fields?:
14850
+ string;
14851
+ /** 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. */
14852
+ key?:
14853
+ string;
14854
+ /** OAuth 2.0 token for the current user. */
14855
+ oauth_token?:
14856
+ string;
14857
+ /** Returns response with indentations and line breaks. */
14858
+ prettyPrint?:
14859
+ boolean;
14860
+ /** 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. */
14861
+ quotaUser?:
14862
+ string;
14863
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
14864
+ upload_protocol?:
14865
+ string;
14866
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14867
+ uploadType?:
14868
+ string;
14869
+ /** Request body */
14870
+ resource:
14871
+ GoogleCloudAiplatformV1beta1ComputeTokensRequest;
14872
+ }): Request<GoogleCloudAiplatformV1beta1ComputeTokensResponse>;
14873
+ computeTokens(request: {
14874
+ /** V1 error format. */
14875
+ "$.xgafv"?:
14876
+ string;
14877
+ /** OAuth access token. */
14878
+ access_token?:
14879
+ string;
14880
+ /** Data format for response. */
14881
+ alt?:
14882
+ string;
14883
+ /** JSONP */
14884
+ callback?:
14885
+ string;
14886
+ /** Required. The name of the Endpoint requested to get lists of tokens and token ids. */
14887
+ endpoint:
14888
+ string;
14889
+ /** Selector specifying which fields to include in a partial response. */
14890
+ fields?:
14891
+ string;
14892
+ /** 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. */
14893
+ key?:
14894
+ string;
14895
+ /** OAuth 2.0 token for the current user. */
14896
+ oauth_token?:
14897
+ string;
14898
+ /** Returns response with indentations and line breaks. */
14899
+ prettyPrint?:
14900
+ boolean;
14901
+ /** 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. */
14902
+ quotaUser?:
14903
+ string;
14904
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
14905
+ upload_protocol?:
14906
+ string;
14907
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14908
+ uploadType?:
14909
+ string;
14910
+ },
14911
+ body: GoogleCloudAiplatformV1beta1ComputeTokensRequest): Request<GoogleCloudAiplatformV1beta1ComputeTokensResponse>;
14738
14912
  /** Perform a token counting. */
14739
14913
  countTokens(request: {
14740
14914
  /** V1 error format. */
@@ -31692,6 +31866,87 @@ declare namespace gapi.client {
31692
31866
  }): Request<GoogleLongrunningOperation>;
31693
31867
  }
31694
31868
  interface PipelineJobsResource {
31869
+ /** Batch deletes PipelineJobs The Operation is atomic. If it fails, none of the PipelineJobs are deleted. If it succeeds, all of the PipelineJobs are deleted. */
31870
+ batchDelete(request: {
31871
+ /** V1 error format. */
31872
+ "$.xgafv"?:
31873
+ string;
31874
+ /** OAuth access token. */
31875
+ access_token?:
31876
+ string;
31877
+ /** Data format for response. */
31878
+ alt?:
31879
+ string;
31880
+ /** JSONP */
31881
+ callback?:
31882
+ string;
31883
+ /** Selector specifying which fields to include in a partial response. */
31884
+ fields?:
31885
+ string;
31886
+ /** 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. */
31887
+ key?:
31888
+ string;
31889
+ /** OAuth 2.0 token for the current user. */
31890
+ oauth_token?:
31891
+ string;
31892
+ /** Required. The name of the PipelineJobs' parent resource. Format: `projects/{project}/locations/{location}` */
31893
+ parent:
31894
+ string;
31895
+ /** Returns response with indentations and line breaks. */
31896
+ prettyPrint?:
31897
+ boolean;
31898
+ /** 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. */
31899
+ quotaUser?:
31900
+ string;
31901
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
31902
+ upload_protocol?:
31903
+ string;
31904
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
31905
+ uploadType?:
31906
+ string;
31907
+ /** Request body */
31908
+ resource:
31909
+ GoogleCloudAiplatformV1beta1BatchDeletePipelineJobsRequest;
31910
+ }): Request<GoogleLongrunningOperation>;
31911
+ batchDelete(request: {
31912
+ /** V1 error format. */
31913
+ "$.xgafv"?:
31914
+ string;
31915
+ /** OAuth access token. */
31916
+ access_token?:
31917
+ string;
31918
+ /** Data format for response. */
31919
+ alt?:
31920
+ string;
31921
+ /** JSONP */
31922
+ callback?:
31923
+ string;
31924
+ /** Selector specifying which fields to include in a partial response. */
31925
+ fields?:
31926
+ string;
31927
+ /** 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. */
31928
+ key?:
31929
+ string;
31930
+ /** OAuth 2.0 token for the current user. */
31931
+ oauth_token?:
31932
+ string;
31933
+ /** Required. The name of the PipelineJobs' parent resource. Format: `projects/{project}/locations/{location}` */
31934
+ parent:
31935
+ string;
31936
+ /** Returns response with indentations and line breaks. */
31937
+ prettyPrint?:
31938
+ boolean;
31939
+ /** 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. */
31940
+ quotaUser?:
31941
+ string;
31942
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
31943
+ upload_protocol?:
31944
+ string;
31945
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
31946
+ uploadType?:
31947
+ string;
31948
+ },
31949
+ body: GoogleCloudAiplatformV1beta1BatchDeletePipelineJobsRequest): Request<GoogleLongrunningOperation>;
31695
31950
  /**
31696
31951
  * Cancels a PipelineJob. Starts asynchronous cancellation on the PipelineJob. The server makes a best effort to cancel the pipeline, but success is not guaranteed. Clients can use
31697
31952
  * PipelineService.GetPipelineJob or other methods to check whether the cancellation succeeded or whether the pipeline completed despite cancellation. On successful cancellation, the
@@ -32022,6 +32277,87 @@ declare namespace gapi.client {
32022
32277
  OperationsResource;
32023
32278
  }
32024
32279
  interface ModelsResource {
32280
+ /** Return a list of tokens based on the input text. */
32281
+ computeTokens(request: {
32282
+ /** V1 error format. */
32283
+ "$.xgafv"?:
32284
+ string;
32285
+ /** OAuth access token. */
32286
+ access_token?:
32287
+ string;
32288
+ /** Data format for response. */
32289
+ alt?:
32290
+ string;
32291
+ /** JSONP */
32292
+ callback?:
32293
+ string;
32294
+ /** Required. The name of the Endpoint requested to get lists of tokens and token ids. */
32295
+ endpoint:
32296
+ string;
32297
+ /** Selector specifying which fields to include in a partial response. */
32298
+ fields?:
32299
+ string;
32300
+ /** 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. */
32301
+ key?:
32302
+ string;
32303
+ /** OAuth 2.0 token for the current user. */
32304
+ oauth_token?:
32305
+ string;
32306
+ /** Returns response with indentations and line breaks. */
32307
+ prettyPrint?:
32308
+ boolean;
32309
+ /** 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. */
32310
+ quotaUser?:
32311
+ string;
32312
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
32313
+ upload_protocol?:
32314
+ string;
32315
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
32316
+ uploadType?:
32317
+ string;
32318
+ /** Request body */
32319
+ resource:
32320
+ GoogleCloudAiplatformV1beta1ComputeTokensRequest;
32321
+ }): Request<GoogleCloudAiplatformV1beta1ComputeTokensResponse>;
32322
+ computeTokens(request: {
32323
+ /** V1 error format. */
32324
+ "$.xgafv"?:
32325
+ string;
32326
+ /** OAuth access token. */
32327
+ access_token?:
32328
+ string;
32329
+ /** Data format for response. */
32330
+ alt?:
32331
+ string;
32332
+ /** JSONP */
32333
+ callback?:
32334
+ string;
32335
+ /** Required. The name of the Endpoint requested to get lists of tokens and token ids. */
32336
+ endpoint:
32337
+ string;
32338
+ /** Selector specifying which fields to include in a partial response. */
32339
+ fields?:
32340
+ string;
32341
+ /** 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. */
32342
+ key?:
32343
+ string;
32344
+ /** OAuth 2.0 token for the current user. */
32345
+ oauth_token?:
32346
+ string;
32347
+ /** Returns response with indentations and line breaks. */
32348
+ prettyPrint?:
32349
+ boolean;
32350
+ /** 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. */
32351
+ quotaUser?:
32352
+ string;
32353
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
32354
+ upload_protocol?:
32355
+ string;
32356
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
32357
+ uploadType?:
32358
+ string;
32359
+ },
32360
+ body: GoogleCloudAiplatformV1beta1ComputeTokensRequest): Request<GoogleCloudAiplatformV1beta1ComputeTokensResponse>;
32025
32361
  /** Perform a token counting. */
32026
32362
  countTokens(request: {
32027
32363
  /** 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.20231024",
3
+ "version": "0.0.20231107",
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: 20231024
6
+ // Revision: 20231107
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -1234,6 +1234,14 @@ gapi.load('client', async () => {
1234
1234
  name: "Test string",
1235
1235
  timeout: "Test string",
1236
1236
  });
1237
+ /** Return a list of tokens based on the input text. */
1238
+ await gapi.client.aiplatform.projects.locations.endpoints.computeTokens({
1239
+ endpoint: "Test string",
1240
+ }, {
1241
+ instances: [
1242
+ 42
1243
+ ],
1244
+ });
1237
1245
  /** Perform a token counting. */
1238
1246
  await gapi.client.aiplatform.projects.locations.endpoints.countTokens({
1239
1247
  endpoint: "Test string",
@@ -1596,6 +1604,102 @@ gapi.load('client', async () => {
1596
1604
  await gapi.client.aiplatform.projects.locations.endpoints.explain({
1597
1605
  endpoint: "Test string",
1598
1606
  }, {
1607
+ concurrentExplanationSpecOverride: {
1608
+ A: {
1609
+ examplesOverride: {
1610
+ crowdingCount: 42,
1611
+ dataFormat: "Test string",
1612
+ neighborCount: 42,
1613
+ restrictions: [
1614
+ {
1615
+ allow: [
1616
+ "Test string"
1617
+ ],
1618
+ deny: [
1619
+ "Test string"
1620
+ ],
1621
+ namespaceName: "Test string",
1622
+ }
1623
+ ],
1624
+ returnEmbeddings: true,
1625
+ },
1626
+ metadata: {
1627
+ inputs: {
1628
+ A: {
1629
+ inputBaselines: [
1630
+ 42
1631
+ ],
1632
+ }
1633
+ },
1634
+ },
1635
+ parameters: {
1636
+ examples: {
1637
+ exampleGcsSource: {
1638
+ dataFormat: "Test string",
1639
+ gcsSource: {
1640
+ uris: [
1641
+ "Test string"
1642
+ ],
1643
+ },
1644
+ },
1645
+ gcsSource: {
1646
+ uris: [
1647
+ "Test string"
1648
+ ],
1649
+ },
1650
+ nearestNeighborSearchConfig: 42,
1651
+ neighborCount: 42,
1652
+ presets: {
1653
+ modality: "Test string",
1654
+ query: "Test string",
1655
+ },
1656
+ },
1657
+ integratedGradientsAttribution: {
1658
+ blurBaselineConfig: {
1659
+ maxBlurSigma: 42,
1660
+ },
1661
+ smoothGradConfig: {
1662
+ featureNoiseSigma: {
1663
+ noiseSigma: [
1664
+ {
1665
+ name: "Test string",
1666
+ sigma: 42,
1667
+ }
1668
+ ],
1669
+ },
1670
+ noiseSigma: 42,
1671
+ noisySampleCount: 42,
1672
+ },
1673
+ stepCount: 42,
1674
+ },
1675
+ outputIndices: [
1676
+ 42
1677
+ ],
1678
+ sampledShapleyAttribution: {
1679
+ pathCount: 42,
1680
+ },
1681
+ topK: 42,
1682
+ xraiAttribution: {
1683
+ blurBaselineConfig: {
1684
+ maxBlurSigma: 42,
1685
+ },
1686
+ smoothGradConfig: {
1687
+ featureNoiseSigma: {
1688
+ noiseSigma: [
1689
+ {
1690
+ name: "Test string",
1691
+ sigma: 42,
1692
+ }
1693
+ ],
1694
+ },
1695
+ noiseSigma: 42,
1696
+ noisySampleCount: 42,
1697
+ },
1698
+ stepCount: 42,
1699
+ },
1700
+ },
1701
+ }
1702
+ },
1599
1703
  deployedModelId: "Test string",
1600
1704
  explanationSpecOverride: {
1601
1705
  examplesOverride: {
@@ -2469,6 +2573,7 @@ gapi.load('client', async () => {
2469
2573
  name: "Test string",
2470
2574
  updateTime: "Test string",
2471
2575
  valueType: "Test string",
2576
+ versionColumnName: "Test string",
2472
2577
  });
2473
2578
  /** Deletes a single Feature. */
2474
2579
  await gapi.client.aiplatform.projects.locations.featureGroups.features.delete({
@@ -2546,6 +2651,7 @@ gapi.load('client', async () => {
2546
2651
  name: "Test string",
2547
2652
  updateTime: "Test string",
2548
2653
  valueType: "Test string",
2654
+ versionColumnName: "Test string",
2549
2655
  });
2550
2656
  /**
2551
2657
  * Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support
@@ -2617,7 +2723,14 @@ gapi.load('client', async () => {
2617
2723
  },
2618
2724
  createTime: "Test string",
2619
2725
  dedicatedServingEndpoint: {
2726
+ privateServiceConnectConfig: {
2727
+ enablePrivateServiceConnect: true,
2728
+ projectAllowlist: [
2729
+ "Test string"
2730
+ ],
2731
+ },
2620
2732
  publicEndpointDomainName: "Test string",
2733
+ serviceAttachment: "Test string",
2621
2734
  },
2622
2735
  embeddingManagement: {
2623
2736
  enabled: true,
@@ -2627,6 +2740,8 @@ gapi.load('client', async () => {
2627
2740
  A: "Test string"
2628
2741
  },
2629
2742
  name: "Test string",
2743
+ optimized: {
2744
+ },
2630
2745
  state: "Test string",
2631
2746
  updateTime: "Test string",
2632
2747
  });
@@ -2661,7 +2776,14 @@ gapi.load('client', async () => {
2661
2776
  },
2662
2777
  createTime: "Test string",
2663
2778
  dedicatedServingEndpoint: {
2779
+ privateServiceConnectConfig: {
2780
+ enablePrivateServiceConnect: true,
2781
+ projectAllowlist: [
2782
+ "Test string"
2783
+ ],
2784
+ },
2664
2785
  publicEndpointDomainName: "Test string",
2786
+ serviceAttachment: "Test string",
2665
2787
  },
2666
2788
  embeddingManagement: {
2667
2789
  enabled: true,
@@ -2671,6 +2793,8 @@ gapi.load('client', async () => {
2671
2793
  A: "Test string"
2672
2794
  },
2673
2795
  name: "Test string",
2796
+ optimized: {
2797
+ },
2674
2798
  state: "Test string",
2675
2799
  updateTime: "Test string",
2676
2800
  });
@@ -3440,6 +3564,7 @@ gapi.load('client', async () => {
3440
3564
  name: "Test string",
3441
3565
  updateTime: "Test string",
3442
3566
  valueType: "Test string",
3567
+ versionColumnName: "Test string",
3443
3568
  },
3444
3569
  featureId: "Test string",
3445
3570
  parent: "Test string",
@@ -3504,6 +3629,7 @@ gapi.load('client', async () => {
3504
3629
  name: "Test string",
3505
3630
  updateTime: "Test string",
3506
3631
  valueType: "Test string",
3632
+ versionColumnName: "Test string",
3507
3633
  });
3508
3634
  /** Deletes a single Feature. */
3509
3635
  await gapi.client.aiplatform.projects.locations.featurestores.entityTypes.features.delete({
@@ -3581,6 +3707,7 @@ gapi.load('client', async () => {
3581
3707
  name: "Test string",
3582
3708
  updateTime: "Test string",
3583
3709
  valueType: "Test string",
3710
+ versionColumnName: "Test string",
3584
3711
  });
3585
3712
  /**
3586
3713
  * 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
@@ -4155,6 +4282,15 @@ gapi.load('client', async () => {
4155
4282
  featureVector: [
4156
4283
  42
4157
4284
  ],
4285
+ numericRestricts: [
4286
+ {
4287
+ namespace: "Test string",
4288
+ op: "Test string",
4289
+ valueDouble: 42,
4290
+ valueFloat: 42,
4291
+ valueInt: "Test string",
4292
+ }
4293
+ ],
4158
4294
  restricts: [
4159
4295
  {
4160
4296
  allowList: [
@@ -4461,6 +4597,15 @@ gapi.load('client', async () => {
4461
4597
  featureVector: [
4462
4598
  42
4463
4599
  ],
4600
+ numericRestricts: [
4601
+ {
4602
+ namespace: "Test string",
4603
+ op: "Test string",
4604
+ valueDouble: 42,
4605
+ valueFloat: 42,
4606
+ valueInt: "Test string",
4607
+ }
4608
+ ],
4464
4609
  restricts: [
4465
4610
  {
4466
4611
  allowList: [
@@ -6456,6 +6601,15 @@ gapi.load('client', async () => {
6456
6601
  name: "Test string",
6457
6602
  }, {
6458
6603
  eventType: "Test string",
6604
+ status: {
6605
+ code: 42,
6606
+ details: [
6607
+ {
6608
+ A: 42
6609
+ }
6610
+ ],
6611
+ message: "Test string",
6612
+ },
6459
6613
  vmToken: "Test string",
6460
6614
  });
6461
6615
  /** Assigns a NotebookRuntime to a user for a particular Notebook file. This method will either returns an existing assignment or generates a new one. */
@@ -6847,6 +7001,14 @@ gapi.load('client', async () => {
6847
7001
  name: "Test string",
6848
7002
  timeout: "Test string",
6849
7003
  });
7004
+ /** Batch deletes PipelineJobs The Operation is atomic. If it fails, none of the PipelineJobs are deleted. If it succeeds, all of the PipelineJobs are deleted. */
7005
+ await gapi.client.aiplatform.projects.locations.pipelineJobs.batchDelete({
7006
+ parent: "Test string",
7007
+ }, {
7008
+ names: [
7009
+ "Test string"
7010
+ ],
7011
+ });
6850
7012
  /**
6851
7013
  * Cancels a PipelineJob. Starts asynchronous cancellation on the PipelineJob. The server makes a best effort to cancel the pipeline, but success is not guaranteed. Clients can use
6852
7014
  * PipelineService.GetPipelineJob or other methods to check whether the cancellation succeeded or whether the pipeline completed despite cancellation. On successful cancellation, the
@@ -7129,6 +7291,14 @@ gapi.load('client', async () => {
7129
7291
  name: "Test string",
7130
7292
  timeout: "Test string",
7131
7293
  });
7294
+ /** Return a list of tokens based on the input text. */
7295
+ await gapi.client.aiplatform.projects.locations.publishers.models.computeTokens({
7296
+ endpoint: "Test string",
7297
+ }, {
7298
+ instances: [
7299
+ 42
7300
+ ],
7301
+ });
7132
7302
  /** Perform a token counting. */
7133
7303
  await gapi.client.aiplatform.projects.locations.publishers.models.countTokens({
7134
7304
  endpoint: "Test string",