@maxim_mazurok/gapi.client.aiplatform-v1 0.0.20240618 → 0.0.20240703

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 (2) hide show
  1. package/index.d.ts +853 -13
  2. package/package.json +1 -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: 20240618
12
+ // Revision: 20240703
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -483,6 +483,30 @@ declare namespace gapi.client {
483
483
  /** Required. BigQuery URI to a table, up to 2000 characters long. Accepted forms: * BigQuery path. For example: `bq://projectId.bqDatasetId.bqTableId`. */
484
484
  inputUri?: string;
485
485
  }
486
+ interface GoogleCloudAiplatformV1BleuInput {
487
+ /** Required. Repeated bleu instances. */
488
+ instances?: GoogleCloudAiplatformV1BleuInstance[];
489
+ /** Required. Spec for bleu score metric. */
490
+ metricSpec?: GoogleCloudAiplatformV1BleuSpec;
491
+ }
492
+ interface GoogleCloudAiplatformV1BleuInstance {
493
+ /** Required. Output of the evaluated model. */
494
+ prediction?: string;
495
+ /** Required. Ground truth used to compare against the prediction. */
496
+ reference?: string;
497
+ }
498
+ interface GoogleCloudAiplatformV1BleuMetricValue {
499
+ /** Output only. Bleu score. */
500
+ score?: number;
501
+ }
502
+ interface GoogleCloudAiplatformV1BleuResults {
503
+ /** Output only. Bleu metric values. */
504
+ bleuMetricValues?: GoogleCloudAiplatformV1BleuMetricValue[];
505
+ }
506
+ interface GoogleCloudAiplatformV1BleuSpec {
507
+ /** Optional. Whether to use_effective_order to compute bleu score. */
508
+ useEffectiveOrder?: boolean;
509
+ }
486
510
  interface GoogleCloudAiplatformV1Blob {
487
511
  /** Required. Raw bytes. */
488
512
  data?: string;
@@ -552,6 +576,28 @@ declare namespace gapi.client {
552
576
  /** Output only. List of citations. */
553
577
  citations?: GoogleCloudAiplatformV1Citation[];
554
578
  }
579
+ interface GoogleCloudAiplatformV1CoherenceInput {
580
+ /** Required. Coherence instance. */
581
+ instance?: GoogleCloudAiplatformV1CoherenceInstance;
582
+ /** Required. Spec for coherence score metric. */
583
+ metricSpec?: GoogleCloudAiplatformV1CoherenceSpec;
584
+ }
585
+ interface GoogleCloudAiplatformV1CoherenceInstance {
586
+ /** Required. Output of the evaluated model. */
587
+ prediction?: string;
588
+ }
589
+ interface GoogleCloudAiplatformV1CoherenceResult {
590
+ /** Output only. Confidence for coherence score. */
591
+ confidence?: number;
592
+ /** Output only. Explanation for coherence score. */
593
+ explanation?: string;
594
+ /** Output only. Coherence score. */
595
+ score?: number;
596
+ }
597
+ interface GoogleCloudAiplatformV1CoherenceSpec {
598
+ /** Optional. Which version to use for evaluation. */
599
+ version?: number;
600
+ }
555
601
  interface GoogleCloudAiplatformV1CompleteTrialRequest {
556
602
  /** Optional. If provided, it will be used as the completed Trial's final_measurement; Otherwise, the service will auto-select a previously reported measurement as the final-measurement */
557
603
  finalMeasurement?: GoogleCloudAiplatformV1Measurement;
@@ -571,8 +617,12 @@ declare namespace gapi.client {
571
617
  successfulForecastPointCount?: string;
572
618
  }
573
619
  interface GoogleCloudAiplatformV1ComputeTokensRequest {
620
+ /** Required. Input content. */
621
+ contents?: GoogleCloudAiplatformV1Content[];
574
622
  /** 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 models, or Codey models. */
575
623
  instances?: any[];
624
+ /** Required. The name of the publisher model requested to serve the prediction. Format: projects/{project}/locations/{location}/publishers/*‍/models/* */
625
+ model?: string;
576
626
  }
577
627
  interface GoogleCloudAiplatformV1ComputeTokensResponse {
578
628
  /** 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 with multiple instances. */
@@ -1266,6 +1316,94 @@ declare namespace gapi.client {
1266
1316
  /** Explanation type. For AutoML Image Classification models, possible values are: * `image-integrated-gradients` * `image-xrai` */
1267
1317
  explanationType?: string;
1268
1318
  }
1319
+ interface GoogleCloudAiplatformV1EvaluateInstancesRequest {
1320
+ /** Instances and metric spec for bleu metric. */
1321
+ bleuInput?: GoogleCloudAiplatformV1BleuInput;
1322
+ /** Input for coherence metric. */
1323
+ coherenceInput?: GoogleCloudAiplatformV1CoherenceInput;
1324
+ /** Auto metric instances. Instances and metric spec for exact match metric. */
1325
+ exactMatchInput?: GoogleCloudAiplatformV1ExactMatchInput;
1326
+ /** LLM-based metric instance. General text generation metrics, applicable to other categories. Input for fluency metric. */
1327
+ fluencyInput?: GoogleCloudAiplatformV1FluencyInput;
1328
+ /** Input for fulfillment metric. */
1329
+ fulfillmentInput?: GoogleCloudAiplatformV1FulfillmentInput;
1330
+ /** Input for groundedness metric. */
1331
+ groundednessInput?: GoogleCloudAiplatformV1GroundednessInput;
1332
+ /** Input for pairwise question answering quality metric. */
1333
+ pairwiseQuestionAnsweringQualityInput?: GoogleCloudAiplatformV1PairwiseQuestionAnsweringQualityInput;
1334
+ /** Input for pairwise summarization quality metric. */
1335
+ pairwiseSummarizationQualityInput?: GoogleCloudAiplatformV1PairwiseSummarizationQualityInput;
1336
+ /** Input for question answering correctness metric. */
1337
+ questionAnsweringCorrectnessInput?: GoogleCloudAiplatformV1QuestionAnsweringCorrectnessInput;
1338
+ /** Input for question answering helpfulness metric. */
1339
+ questionAnsweringHelpfulnessInput?: GoogleCloudAiplatformV1QuestionAnsweringHelpfulnessInput;
1340
+ /** Input for question answering quality metric. */
1341
+ questionAnsweringQualityInput?: GoogleCloudAiplatformV1QuestionAnsweringQualityInput;
1342
+ /** Input for question answering relevance metric. */
1343
+ questionAnsweringRelevanceInput?: GoogleCloudAiplatformV1QuestionAnsweringRelevanceInput;
1344
+ /** Instances and metric spec for rouge metric. */
1345
+ rougeInput?: GoogleCloudAiplatformV1RougeInput;
1346
+ /** Input for safety metric. */
1347
+ safetyInput?: GoogleCloudAiplatformV1SafetyInput;
1348
+ /** Input for summarization helpfulness metric. */
1349
+ summarizationHelpfulnessInput?: GoogleCloudAiplatformV1SummarizationHelpfulnessInput;
1350
+ /** Input for summarization quality metric. */
1351
+ summarizationQualityInput?: GoogleCloudAiplatformV1SummarizationQualityInput;
1352
+ /** Input for summarization verbosity metric. */
1353
+ summarizationVerbosityInput?: GoogleCloudAiplatformV1SummarizationVerbosityInput;
1354
+ /** Tool call metric instances. Input for tool call valid metric. */
1355
+ toolCallValidInput?: GoogleCloudAiplatformV1ToolCallValidInput;
1356
+ /** Input for tool name match metric. */
1357
+ toolNameMatchInput?: GoogleCloudAiplatformV1ToolNameMatchInput;
1358
+ /** Input for tool parameter key match metric. */
1359
+ toolParameterKeyMatchInput?: GoogleCloudAiplatformV1ToolParameterKeyMatchInput;
1360
+ /** Input for tool parameter key value match metric. */
1361
+ toolParameterKvMatchInput?: GoogleCloudAiplatformV1ToolParameterKVMatchInput;
1362
+ }
1363
+ interface GoogleCloudAiplatformV1EvaluateInstancesResponse {
1364
+ /** Results for bleu metric. */
1365
+ bleuResults?: GoogleCloudAiplatformV1BleuResults;
1366
+ /** Result for coherence metric. */
1367
+ coherenceResult?: GoogleCloudAiplatformV1CoherenceResult;
1368
+ /** Auto metric evaluation results. Results for exact match metric. */
1369
+ exactMatchResults?: GoogleCloudAiplatformV1ExactMatchResults;
1370
+ /** LLM-based metric evaluation result. General text generation metrics, applicable to other categories. Result for fluency metric. */
1371
+ fluencyResult?: GoogleCloudAiplatformV1FluencyResult;
1372
+ /** Result for fulfillment metric. */
1373
+ fulfillmentResult?: GoogleCloudAiplatformV1FulfillmentResult;
1374
+ /** Result for groundedness metric. */
1375
+ groundednessResult?: GoogleCloudAiplatformV1GroundednessResult;
1376
+ /** Result for pairwise question answering quality metric. */
1377
+ pairwiseQuestionAnsweringQualityResult?: GoogleCloudAiplatformV1PairwiseQuestionAnsweringQualityResult;
1378
+ /** Result for pairwise summarization quality metric. */
1379
+ pairwiseSummarizationQualityResult?: GoogleCloudAiplatformV1PairwiseSummarizationQualityResult;
1380
+ /** Result for question answering correctness metric. */
1381
+ questionAnsweringCorrectnessResult?: GoogleCloudAiplatformV1QuestionAnsweringCorrectnessResult;
1382
+ /** Result for question answering helpfulness metric. */
1383
+ questionAnsweringHelpfulnessResult?: GoogleCloudAiplatformV1QuestionAnsweringHelpfulnessResult;
1384
+ /** Question answering only metrics. Result for question answering quality metric. */
1385
+ questionAnsweringQualityResult?: GoogleCloudAiplatformV1QuestionAnsweringQualityResult;
1386
+ /** Result for question answering relevance metric. */
1387
+ questionAnsweringRelevanceResult?: GoogleCloudAiplatformV1QuestionAnsweringRelevanceResult;
1388
+ /** Results for rouge metric. */
1389
+ rougeResults?: GoogleCloudAiplatformV1RougeResults;
1390
+ /** Result for safety metric. */
1391
+ safetyResult?: GoogleCloudAiplatformV1SafetyResult;
1392
+ /** Result for summarization helpfulness metric. */
1393
+ summarizationHelpfulnessResult?: GoogleCloudAiplatformV1SummarizationHelpfulnessResult;
1394
+ /** Summarization only metrics. Result for summarization quality metric. */
1395
+ summarizationQualityResult?: GoogleCloudAiplatformV1SummarizationQualityResult;
1396
+ /** Result for summarization verbosity metric. */
1397
+ summarizationVerbosityResult?: GoogleCloudAiplatformV1SummarizationVerbosityResult;
1398
+ /** Tool call metrics. Results for tool call valid metric. */
1399
+ toolCallValidResults?: GoogleCloudAiplatformV1ToolCallValidResults;
1400
+ /** Results for tool name match metric. */
1401
+ toolNameMatchResults?: GoogleCloudAiplatformV1ToolNameMatchResults;
1402
+ /** Results for tool parameter key match metric. */
1403
+ toolParameterKeyMatchResults?: GoogleCloudAiplatformV1ToolParameterKeyMatchResults;
1404
+ /** Results for tool parameter key value match metric. */
1405
+ toolParameterKvMatchResults?: GoogleCloudAiplatformV1ToolParameterKVMatchResults;
1406
+ }
1269
1407
  interface GoogleCloudAiplatformV1Event {
1270
1408
  /** Required. The relative resource name of the Artifact in the Event. */
1271
1409
  artifact?: string;
@@ -1278,6 +1416,27 @@ declare namespace gapi.client {
1278
1416
  /** Required. The type of the Event. */
1279
1417
  type?: string;
1280
1418
  }
1419
+ interface GoogleCloudAiplatformV1ExactMatchInput {
1420
+ /** Required. Repeated exact match instances. */
1421
+ instances?: GoogleCloudAiplatformV1ExactMatchInstance[];
1422
+ /** Required. Spec for exact match metric. */
1423
+ metricSpec?: any;
1424
+ }
1425
+ interface GoogleCloudAiplatformV1ExactMatchInstance {
1426
+ /** Required. Output of the evaluated model. */
1427
+ prediction?: string;
1428
+ /** Required. Ground truth used to compare against the prediction. */
1429
+ reference?: string;
1430
+ }
1431
+ interface GoogleCloudAiplatformV1ExactMatchMetricValue {
1432
+ /** Output only. Exact match score. */
1433
+ score?: number;
1434
+ }
1435
+ interface GoogleCloudAiplatformV1ExactMatchResults {
1436
+ /** Output only. Exact match metric values. */
1437
+ exactMatchMetricValues?: GoogleCloudAiplatformV1ExactMatchMetricValue[];
1438
+ }
1439
+ interface GoogleCloudAiplatformV1ExactMatchSpec {}
1281
1440
  interface GoogleCloudAiplatformV1Examples {
1282
1441
  /** The Cloud Storage input instances. */
1283
1442
  exampleGcsSource?: GoogleCloudAiplatformV1ExamplesExampleGcsSource;
@@ -1687,8 +1846,12 @@ declare namespace gapi.client {
1687
1846
  minNodeCount?: number;
1688
1847
  }
1689
1848
  interface GoogleCloudAiplatformV1FeatureOnlineStoreDedicatedServingEndpoint {
1849
+ /** Optional. Private service connect config. The private service connection is available only for Optimized storage type, not for embedding management now. If PrivateServiceConnectConfig.enable_private_service_connect set to true, customers will use private service connection to send request. Otherwise, the connection will set to public endpoint. */
1850
+ privateServiceConnectConfig?: GoogleCloudAiplatformV1PrivateServiceConnectConfig;
1690
1851
  /** Output only. This field will be populated with the domain name to use for this FeatureOnlineStore */
1691
1852
  publicEndpointDomainName?: string;
1853
+ /** Output only. The name of the service attachment resource. Populated if private service connect is enabled and after FeatureViewSync is created. */
1854
+ serviceAttachment?: string;
1692
1855
  }
1693
1856
  interface GoogleCloudAiplatformV1FeatureOnlineStoreOptimized {}
1694
1857
  interface GoogleCloudAiplatformV1FeatureSelector {
@@ -1986,6 +2149,28 @@ declare namespace gapi.client {
1986
2149
  /** The distance between the neighbor and the query sparse_embedding. */
1987
2150
  sparseDistance?: number;
1988
2151
  }
2152
+ interface GoogleCloudAiplatformV1FluencyInput {
2153
+ /** Required. Fluency instance. */
2154
+ instance?: GoogleCloudAiplatformV1FluencyInstance;
2155
+ /** Required. Spec for fluency score metric. */
2156
+ metricSpec?: GoogleCloudAiplatformV1FluencySpec;
2157
+ }
2158
+ interface GoogleCloudAiplatformV1FluencyInstance {
2159
+ /** Required. Output of the evaluated model. */
2160
+ prediction?: string;
2161
+ }
2162
+ interface GoogleCloudAiplatformV1FluencyResult {
2163
+ /** Output only. Confidence for fluency score. */
2164
+ confidence?: number;
2165
+ /** Output only. Explanation for fluency score. */
2166
+ explanation?: string;
2167
+ /** Output only. Fluency score. */
2168
+ score?: number;
2169
+ }
2170
+ interface GoogleCloudAiplatformV1FluencySpec {
2171
+ /** Optional. Which version to use for evaluation. */
2172
+ version?: number;
2173
+ }
1989
2174
  interface GoogleCloudAiplatformV1FractionSplit {
1990
2175
  /** The fraction of the input data that is to be used to evaluate the Model. */
1991
2176
  testFraction?: number;
@@ -1994,6 +2179,30 @@ declare namespace gapi.client {
1994
2179
  /** The fraction of the input data that is to be used to validate the Model. */
1995
2180
  validationFraction?: number;
1996
2181
  }
2182
+ interface GoogleCloudAiplatformV1FulfillmentInput {
2183
+ /** Required. Fulfillment instance. */
2184
+ instance?: GoogleCloudAiplatformV1FulfillmentInstance;
2185
+ /** Required. Spec for fulfillment score metric. */
2186
+ metricSpec?: GoogleCloudAiplatformV1FulfillmentSpec;
2187
+ }
2188
+ interface GoogleCloudAiplatformV1FulfillmentInstance {
2189
+ /** Required. Inference instruction prompt to compare prediction with. */
2190
+ instruction?: string;
2191
+ /** Required. Output of the evaluated model. */
2192
+ prediction?: string;
2193
+ }
2194
+ interface GoogleCloudAiplatformV1FulfillmentResult {
2195
+ /** Output only. Confidence for fulfillment score. */
2196
+ confidence?: number;
2197
+ /** Output only. Explanation for fulfillment score. */
2198
+ explanation?: string;
2199
+ /** Output only. Fulfillment score. */
2200
+ score?: number;
2201
+ }
2202
+ interface GoogleCloudAiplatformV1FulfillmentSpec {
2203
+ /** Optional. Which version to use for evaluation. */
2204
+ version?: number;
2205
+ }
1997
2206
  interface GoogleCloudAiplatformV1FunctionCall {
1998
2207
  /** Optional. Required. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details. */
1999
2208
  args?: {[P in string]: any};
@@ -2100,12 +2309,82 @@ declare namespace gapi.client {
2100
2309
  baseModelUri?: string;
2101
2310
  }
2102
2311
  interface GoogleCloudAiplatformV1GoogleSearchRetrieval {}
2312
+ interface GoogleCloudAiplatformV1GroundednessInput {
2313
+ /** Required. Groundedness instance. */
2314
+ instance?: GoogleCloudAiplatformV1GroundednessInstance;
2315
+ /** Required. Spec for groundedness metric. */
2316
+ metricSpec?: GoogleCloudAiplatformV1GroundednessSpec;
2317
+ }
2318
+ interface GoogleCloudAiplatformV1GroundednessInstance {
2319
+ /** Required. Background information provided in context used to compare against the prediction. */
2320
+ context?: string;
2321
+ /** Required. Output of the evaluated model. */
2322
+ prediction?: string;
2323
+ }
2324
+ interface GoogleCloudAiplatformV1GroundednessResult {
2325
+ /** Output only. Confidence for groundedness score. */
2326
+ confidence?: number;
2327
+ /** Output only. Explanation for groundedness score. */
2328
+ explanation?: string;
2329
+ /** Output only. Groundedness score. */
2330
+ score?: number;
2331
+ }
2332
+ interface GoogleCloudAiplatformV1GroundednessSpec {
2333
+ /** Optional. Which version to use for evaluation. */
2334
+ version?: number;
2335
+ }
2336
+ interface GoogleCloudAiplatformV1GroundingAttribution {
2337
+ /** Optional. Output only. Confidence score of the attribution. Ranges from 0 to 1. 1 is the most confident. */
2338
+ confidenceScore?: number;
2339
+ /** Output only. Segment of the content this attribution belongs to. */
2340
+ segment?: GoogleCloudAiplatformV1Segment;
2341
+ /** Optional. Attribution from the web. */
2342
+ web?: GoogleCloudAiplatformV1GroundingAttributionWeb;
2343
+ }
2344
+ interface GoogleCloudAiplatformV1GroundingAttributionWeb {
2345
+ /** Output only. Title of the attribution. */
2346
+ title?: string;
2347
+ /** Output only. URI reference of the attribution. */
2348
+ uri?: string;
2349
+ }
2350
+ interface GoogleCloudAiplatformV1GroundingChunk {
2351
+ /** Grounding chunk from context retrieved by the retrieval tools. */
2352
+ retrievedContext?: GoogleCloudAiplatformV1GroundingChunkRetrievedContext;
2353
+ /** Grounding chunk from the web. */
2354
+ web?: GoogleCloudAiplatformV1GroundingChunkWeb;
2355
+ }
2356
+ interface GoogleCloudAiplatformV1GroundingChunkRetrievedContext {
2357
+ /** Title of the attribution. */
2358
+ title?: string;
2359
+ /** URI reference of the attribution. */
2360
+ uri?: string;
2361
+ }
2362
+ interface GoogleCloudAiplatformV1GroundingChunkWeb {
2363
+ /** Title of the chunk. */
2364
+ title?: string;
2365
+ /** URI reference of the chunk. */
2366
+ uri?: string;
2367
+ }
2103
2368
  interface GoogleCloudAiplatformV1GroundingMetadata {
2369
+ /** Optional. List of grounding attributions. */
2370
+ groundingAttributions?: GoogleCloudAiplatformV1GroundingAttribution[];
2371
+ /** List of supporting references retrieved from specified grounding source. */
2372
+ groundingChunks?: GoogleCloudAiplatformV1GroundingChunk[];
2373
+ /** Optional. List of grounding support. */
2374
+ groundingSupports?: GoogleCloudAiplatformV1GroundingSupport[];
2104
2375
  /** Optional. Google search entry for the following-up web searches. */
2105
2376
  searchEntryPoint?: GoogleCloudAiplatformV1SearchEntryPoint;
2106
2377
  /** Optional. Web search queries for the following-up web search. */
2107
2378
  webSearchQueries?: string[];
2108
2379
  }
2380
+ interface GoogleCloudAiplatformV1GroundingSupport {
2381
+ /** Confidence score of the support references. Ranges from 0 to 1. 1 is the most confident. This list must have the same size as the grounding_chunk_indices. */
2382
+ confidenceScores?: number[];
2383
+ /** A list of indices (into 'grounding_chunk') specifying the citations associated with the claim. For instance [1,3,4] means that grounding_chunk[1], grounding_chunk[3], grounding_chunk[4] are the retrieved content attributed to the claim. */
2384
+ groundingChunkIndices?: number[];
2385
+ /** Segment of the content this support belongs to. */
2386
+ segment?: GoogleCloudAiplatformV1Segment;
2387
+ }
2109
2388
  interface GoogleCloudAiplatformV1HyperparameterTuningJob {
2110
2389
  /** Output only. Time when the HyperparameterTuningJob was created. */
2111
2390
  createTime?: string;
@@ -2877,6 +3156,10 @@ declare namespace gapi.client {
2877
3156
  pipelineJob?: string;
2878
3157
  /** The schemata that describe formats of the Model's predictions and explanations as given and returned via PredictionService.Predict and PredictionService.Explain. */
2879
3158
  predictSchemata?: GoogleCloudAiplatformV1PredictSchemata;
3159
+ /** Output only. Reserved for future use. */
3160
+ satisfiesPzi?: boolean;
3161
+ /** Output only. Reserved for future use. */
3162
+ satisfiesPzs?: boolean;
2880
3163
  /** Output only. When this Model is deployed, its prediction resources are described by the `prediction_resources` field of the Endpoint.deployed_models object. Because not all Models support all resource configuration types, the configuration types this Model supports are listed here. If no configuration types are listed, the Model cannot be deployed to an Endpoint and does not support online predictions (PredictionService.Predict or PredictionService.Explain). Such a Model can serve predictions by using a BatchPredictionJob, if it has at least one entry each in supported_input_storage_formats and supported_output_storage_formats. */
2881
3164
  supportedDeploymentResourcesTypes?: string[];
2882
3165
  /** Output only. The formats in which this Model may be exported. If empty, this Model is not available for export. */
@@ -3536,6 +3819,70 @@ declare namespace gapi.client {
3536
3819
  /** Immutable. A resource name of the NotebookRuntimeTemplate. */
3537
3820
  notebookRuntimeTemplate?: string;
3538
3821
  }
3822
+ interface GoogleCloudAiplatformV1PairwiseQuestionAnsweringQualityInput {
3823
+ /** Required. Pairwise question answering quality instance. */
3824
+ instance?: GoogleCloudAiplatformV1PairwiseQuestionAnsweringQualityInstance;
3825
+ /** Required. Spec for pairwise question answering quality score metric. */
3826
+ metricSpec?: GoogleCloudAiplatformV1PairwiseQuestionAnsweringQualitySpec;
3827
+ }
3828
+ interface GoogleCloudAiplatformV1PairwiseQuestionAnsweringQualityInstance {
3829
+ /** Required. Output of the baseline model. */
3830
+ baselinePrediction?: string;
3831
+ /** Required. Text to answer the question. */
3832
+ context?: string;
3833
+ /** Required. Question Answering prompt for LLM. */
3834
+ instruction?: string;
3835
+ /** Required. Output of the candidate model. */
3836
+ prediction?: string;
3837
+ /** Optional. Ground truth used to compare against the prediction. */
3838
+ reference?: string;
3839
+ }
3840
+ interface GoogleCloudAiplatformV1PairwiseQuestionAnsweringQualityResult {
3841
+ /** Output only. Confidence for question answering quality score. */
3842
+ confidence?: number;
3843
+ /** Output only. Explanation for question answering quality score. */
3844
+ explanation?: string;
3845
+ /** Output only. Pairwise question answering prediction choice. */
3846
+ pairwiseChoice?: string;
3847
+ }
3848
+ interface GoogleCloudAiplatformV1PairwiseQuestionAnsweringQualitySpec {
3849
+ /** Optional. Whether to use instance.reference to compute question answering quality. */
3850
+ useReference?: boolean;
3851
+ /** Optional. Which version to use for evaluation. */
3852
+ version?: number;
3853
+ }
3854
+ interface GoogleCloudAiplatformV1PairwiseSummarizationQualityInput {
3855
+ /** Required. Pairwise summarization quality instance. */
3856
+ instance?: GoogleCloudAiplatformV1PairwiseSummarizationQualityInstance;
3857
+ /** Required. Spec for pairwise summarization quality score metric. */
3858
+ metricSpec?: GoogleCloudAiplatformV1PairwiseSummarizationQualitySpec;
3859
+ }
3860
+ interface GoogleCloudAiplatformV1PairwiseSummarizationQualityInstance {
3861
+ /** Required. Output of the baseline model. */
3862
+ baselinePrediction?: string;
3863
+ /** Required. Text to be summarized. */
3864
+ context?: string;
3865
+ /** Required. Summarization prompt for LLM. */
3866
+ instruction?: string;
3867
+ /** Required. Output of the candidate model. */
3868
+ prediction?: string;
3869
+ /** Optional. Ground truth used to compare against the prediction. */
3870
+ reference?: string;
3871
+ }
3872
+ interface GoogleCloudAiplatformV1PairwiseSummarizationQualityResult {
3873
+ /** Output only. Confidence for summarization quality score. */
3874
+ confidence?: number;
3875
+ /** Output only. Explanation for summarization quality score. */
3876
+ explanation?: string;
3877
+ /** Output only. Pairwise summarization prediction choice. */
3878
+ pairwiseChoice?: string;
3879
+ }
3880
+ interface GoogleCloudAiplatformV1PairwiseSummarizationQualitySpec {
3881
+ /** Optional. Whether to use instance.reference to compute pairwise summarization quality. */
3882
+ useReference?: boolean;
3883
+ /** Optional. Which version to use for evaluation. */
3884
+ version?: number;
3885
+ }
3539
3886
  interface GoogleCloudAiplatformV1Part {
3540
3887
  /** Optional. URI based data. */
3541
3888
  fileData?: GoogleCloudAiplatformV1FileData;
@@ -3869,6 +4216,8 @@ declare namespace gapi.client {
3869
4216
  containerSpec?: GoogleCloudAiplatformV1ModelContainerSpec;
3870
4217
  /** A description of resources that are dedicated to the DeployedModel, and that need a higher degree of manual configuration. */
3871
4218
  dedicatedResources?: GoogleCloudAiplatformV1DedicatedResources;
4219
+ /** Optional. Metadata information about this deployment config. */
4220
+ deployMetadata?: GoogleCloudAiplatformV1PublisherModelCallToActionDeployDeployMetadata;
3872
4221
  /** Optional. The name of the deploy task (e.g., "text to image generation"). */
3873
4222
  deployTaskName?: string;
3874
4223
  /** Optional. Large model reference. When this is set, model_artifact_spec is not needed. */
@@ -3882,6 +4231,10 @@ declare namespace gapi.client {
3882
4231
  /** Required. The title of the regional resource reference. */
3883
4232
  title?: string;
3884
4233
  }
4234
+ interface GoogleCloudAiplatformV1PublisherModelCallToActionDeployDeployMetadata {
4235
+ /** Optional. Labels for the deployment. For managing deployment config like verifying, source of deployment config, etc. */
4236
+ labels?: {[P in string]: string};
4237
+ }
3885
4238
  interface GoogleCloudAiplatformV1PublisherModelCallToActionDeployGke {
3886
4239
  /** Optional. GKE deployment configuration in yaml format. */
3887
4240
  gkeYamlConfigs?: string[];
@@ -4002,6 +4355,126 @@ declare namespace gapi.client {
4002
4355
  /** The total number of Endpoints that have DeployedModels on this DeploymentResourcePool. */
4003
4356
  totalEndpointCount?: number;
4004
4357
  }
4358
+ interface GoogleCloudAiplatformV1QuestionAnsweringCorrectnessInput {
4359
+ /** Required. Question answering correctness instance. */
4360
+ instance?: GoogleCloudAiplatformV1QuestionAnsweringCorrectnessInstance;
4361
+ /** Required. Spec for question answering correctness score metric. */
4362
+ metricSpec?: GoogleCloudAiplatformV1QuestionAnsweringCorrectnessSpec;
4363
+ }
4364
+ interface GoogleCloudAiplatformV1QuestionAnsweringCorrectnessInstance {
4365
+ /** Optional. Text provided as context to answer the question. */
4366
+ context?: string;
4367
+ /** Required. The question asked and other instruction in the inference prompt. */
4368
+ instruction?: string;
4369
+ /** Required. Output of the evaluated model. */
4370
+ prediction?: string;
4371
+ /** Optional. Ground truth used to compare against the prediction. */
4372
+ reference?: string;
4373
+ }
4374
+ interface GoogleCloudAiplatformV1QuestionAnsweringCorrectnessResult {
4375
+ /** Output only. Confidence for question answering correctness score. */
4376
+ confidence?: number;
4377
+ /** Output only. Explanation for question answering correctness score. */
4378
+ explanation?: string;
4379
+ /** Output only. Question Answering Correctness score. */
4380
+ score?: number;
4381
+ }
4382
+ interface GoogleCloudAiplatformV1QuestionAnsweringCorrectnessSpec {
4383
+ /** Optional. Whether to use instance.reference to compute question answering correctness. */
4384
+ useReference?: boolean;
4385
+ /** Optional. Which version to use for evaluation. */
4386
+ version?: number;
4387
+ }
4388
+ interface GoogleCloudAiplatformV1QuestionAnsweringHelpfulnessInput {
4389
+ /** Required. Question answering helpfulness instance. */
4390
+ instance?: GoogleCloudAiplatformV1QuestionAnsweringHelpfulnessInstance;
4391
+ /** Required. Spec for question answering helpfulness score metric. */
4392
+ metricSpec?: GoogleCloudAiplatformV1QuestionAnsweringHelpfulnessSpec;
4393
+ }
4394
+ interface GoogleCloudAiplatformV1QuestionAnsweringHelpfulnessInstance {
4395
+ /** Optional. Text provided as context to answer the question. */
4396
+ context?: string;
4397
+ /** Required. The question asked and other instruction in the inference prompt. */
4398
+ instruction?: string;
4399
+ /** Required. Output of the evaluated model. */
4400
+ prediction?: string;
4401
+ /** Optional. Ground truth used to compare against the prediction. */
4402
+ reference?: string;
4403
+ }
4404
+ interface GoogleCloudAiplatformV1QuestionAnsweringHelpfulnessResult {
4405
+ /** Output only. Confidence for question answering helpfulness score. */
4406
+ confidence?: number;
4407
+ /** Output only. Explanation for question answering helpfulness score. */
4408
+ explanation?: string;
4409
+ /** Output only. Question Answering Helpfulness score. */
4410
+ score?: number;
4411
+ }
4412
+ interface GoogleCloudAiplatformV1QuestionAnsweringHelpfulnessSpec {
4413
+ /** Optional. Whether to use instance.reference to compute question answering helpfulness. */
4414
+ useReference?: boolean;
4415
+ /** Optional. Which version to use for evaluation. */
4416
+ version?: number;
4417
+ }
4418
+ interface GoogleCloudAiplatformV1QuestionAnsweringQualityInput {
4419
+ /** Required. Question answering quality instance. */
4420
+ instance?: GoogleCloudAiplatformV1QuestionAnsweringQualityInstance;
4421
+ /** Required. Spec for question answering quality score metric. */
4422
+ metricSpec?: GoogleCloudAiplatformV1QuestionAnsweringQualitySpec;
4423
+ }
4424
+ interface GoogleCloudAiplatformV1QuestionAnsweringQualityInstance {
4425
+ /** Required. Text to answer the question. */
4426
+ context?: string;
4427
+ /** Required. Question Answering prompt for LLM. */
4428
+ instruction?: string;
4429
+ /** Required. Output of the evaluated model. */
4430
+ prediction?: string;
4431
+ /** Optional. Ground truth used to compare against the prediction. */
4432
+ reference?: string;
4433
+ }
4434
+ interface GoogleCloudAiplatformV1QuestionAnsweringQualityResult {
4435
+ /** Output only. Confidence for question answering quality score. */
4436
+ confidence?: number;
4437
+ /** Output only. Explanation for question answering quality score. */
4438
+ explanation?: string;
4439
+ /** Output only. Question Answering Quality score. */
4440
+ score?: number;
4441
+ }
4442
+ interface GoogleCloudAiplatformV1QuestionAnsweringQualitySpec {
4443
+ /** Optional. Whether to use instance.reference to compute question answering quality. */
4444
+ useReference?: boolean;
4445
+ /** Optional. Which version to use for evaluation. */
4446
+ version?: number;
4447
+ }
4448
+ interface GoogleCloudAiplatformV1QuestionAnsweringRelevanceInput {
4449
+ /** Required. Question answering relevance instance. */
4450
+ instance?: GoogleCloudAiplatformV1QuestionAnsweringRelevanceInstance;
4451
+ /** Required. Spec for question answering relevance score metric. */
4452
+ metricSpec?: GoogleCloudAiplatformV1QuestionAnsweringRelevanceSpec;
4453
+ }
4454
+ interface GoogleCloudAiplatformV1QuestionAnsweringRelevanceInstance {
4455
+ /** Optional. Text provided as context to answer the question. */
4456
+ context?: string;
4457
+ /** Required. The question asked and other instruction in the inference prompt. */
4458
+ instruction?: string;
4459
+ /** Required. Output of the evaluated model. */
4460
+ prediction?: string;
4461
+ /** Optional. Ground truth used to compare against the prediction. */
4462
+ reference?: string;
4463
+ }
4464
+ interface GoogleCloudAiplatformV1QuestionAnsweringRelevanceResult {
4465
+ /** Output only. Confidence for question answering relevance score. */
4466
+ confidence?: number;
4467
+ /** Output only. Explanation for question answering relevance score. */
4468
+ explanation?: string;
4469
+ /** Output only. Question Answering Relevance score. */
4470
+ score?: number;
4471
+ }
4472
+ interface GoogleCloudAiplatformV1QuestionAnsweringRelevanceSpec {
4473
+ /** Optional. Whether to use instance.reference to compute question answering relevance. */
4474
+ useReference?: boolean;
4475
+ /** Optional. Which version to use for evaluation. */
4476
+ version?: number;
4477
+ }
4005
4478
  interface GoogleCloudAiplatformV1RawPredictRequest {
4006
4479
  /** 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 it is exceeded for an AutoML model, the RawPredict method returns an error. When this limit is exceeded for a custom-trained model, the behavior varies depending on the model. You can specify the schema for each instance in the predict_schemata.instance_schema_uri field when you create a Model. This schema applies when you deploy the `Model` as a `DeployedModel` to an Endpoint and use the `RawPredict` method. */
4007
4480
  httpBody?: GoogleApiHttpBody;
@@ -4110,7 +4583,7 @@ declare namespace gapi.client {
4110
4583
  }
4111
4584
  interface GoogleCloudAiplatformV1RemoveDatapointsResponse {}
4112
4585
  interface GoogleCloudAiplatformV1ResourcePool {
4113
- /** Optional. Optional spec to configure GKE autoscaling */
4586
+ /** Optional. Optional spec to configure GKE or Ray-on-Vertex autoscaling */
4114
4587
  autoscalingSpec?: GoogleCloudAiplatformV1ResourcePoolAutoscalingSpec;
4115
4588
  /** Optional. Disk spec for the machine in this node pool. */
4116
4589
  diskSpec?: GoogleCloudAiplatformV1DiskSpec;
@@ -4126,7 +4599,7 @@ declare namespace gapi.client {
4126
4599
  interface GoogleCloudAiplatformV1ResourcePoolAutoscalingSpec {
4127
4600
  /** Optional. max replicas in the node pool, must be ≥ replica_count and > min_replica_count or will throw error */
4128
4601
  maxReplicaCount?: string;
4129
- /** Optional. min replicas in the node pool, must be ≤ replica_count and < max_replica_count or will throw error */
4602
+ /** Optional. min replicas in the node pool, must be ≤ replica_count and < max_replica_count or will throw error. For autoscaling enabled Ray-on-Vertex, we allow min_replica_count of a resource_pool to be 0 to match the OSS Ray behavior(https://docs.ray.io/en/latest/cluster/vms/user-guides/configuring-autoscaling.html#cluster-config-parameters). As for Persistent Resource, the min_replica_count must be > 0, we added a corresponding validation inside CreatePersistentResourceRequestValidator.java. */
4130
4603
  minReplicaCount?: string;
4131
4604
  }
4132
4605
  interface GoogleCloudAiplatformV1ResourceRuntime {
@@ -4158,6 +4631,44 @@ declare namespace gapi.client {
4158
4631
  /** Set to use data source powered by Vertex AI Search. */
4159
4632
  vertexAiSearch?: GoogleCloudAiplatformV1VertexAISearch;
4160
4633
  }
4634
+ interface GoogleCloudAiplatformV1RougeInput {
4635
+ /** Required. Repeated rouge instances. */
4636
+ instances?: GoogleCloudAiplatformV1RougeInstance[];
4637
+ /** Required. Spec for rouge score metric. */
4638
+ metricSpec?: GoogleCloudAiplatformV1RougeSpec;
4639
+ }
4640
+ interface GoogleCloudAiplatformV1RougeInstance {
4641
+ /** Required. Output of the evaluated model. */
4642
+ prediction?: string;
4643
+ /** Required. Ground truth used to compare against the prediction. */
4644
+ reference?: string;
4645
+ }
4646
+ interface GoogleCloudAiplatformV1RougeMetricValue {
4647
+ /** Output only. Rouge score. */
4648
+ score?: number;
4649
+ }
4650
+ interface GoogleCloudAiplatformV1RougeResults {
4651
+ /** Output only. Rouge metric values. */
4652
+ rougeMetricValues?: GoogleCloudAiplatformV1RougeMetricValue[];
4653
+ }
4654
+ interface GoogleCloudAiplatformV1RougeSpec {
4655
+ /** Optional. Supported rouge types are rougen[1-9], rougeL, and rougeLsum. */
4656
+ rougeType?: string;
4657
+ /** Optional. Whether to split summaries while using rougeLsum. */
4658
+ splitSummaries?: boolean;
4659
+ /** Optional. Whether to use stemmer to compute rouge score. */
4660
+ useStemmer?: boolean;
4661
+ }
4662
+ interface GoogleCloudAiplatformV1SafetyInput {
4663
+ /** Required. Safety instance. */
4664
+ instance?: GoogleCloudAiplatformV1SafetyInstance;
4665
+ /** Required. Spec for safety metric. */
4666
+ metricSpec?: GoogleCloudAiplatformV1SafetySpec;
4667
+ }
4668
+ interface GoogleCloudAiplatformV1SafetyInstance {
4669
+ /** Required. Output of the evaluated model. */
4670
+ prediction?: string;
4671
+ }
4161
4672
  interface GoogleCloudAiplatformV1SafetyRating {
4162
4673
  /** Output only. Indicates whether the content was filtered out because of this rating. */
4163
4674
  blocked?: boolean;
@@ -4172,6 +4683,14 @@ declare namespace gapi.client {
4172
4683
  /** Output only. Harm severity score. */
4173
4684
  severityScore?: number;
4174
4685
  }
4686
+ interface GoogleCloudAiplatformV1SafetyResult {
4687
+ /** Output only. Confidence for safety score. */
4688
+ confidence?: number;
4689
+ /** Output only. Explanation for safety score. */
4690
+ explanation?: string;
4691
+ /** Output only. Safety score. */
4692
+ score?: number;
4693
+ }
4175
4694
  interface GoogleCloudAiplatformV1SafetySetting {
4176
4695
  /** Required. Harm category. */
4177
4696
  category?: string;
@@ -4180,6 +4699,10 @@ declare namespace gapi.client {
4180
4699
  /** Required. The harm block threshold. */
4181
4700
  threshold?: string;
4182
4701
  }
4702
+ interface GoogleCloudAiplatformV1SafetySpec {
4703
+ /** Optional. Which version to use for evaluation. */
4704
+ version?: number;
4705
+ }
4183
4706
  interface GoogleCloudAiplatformV1SampleConfig {
4184
4707
  /** The percentage of data needed to be labeled in each following batch (except the first batch). */
4185
4708
  followingBatchSamplePercentage?: number;
@@ -5700,6 +6223,16 @@ declare namespace gapi.client {
5700
6223
  /** The nearest neighbors of the query entity. */
5701
6224
  nearestNeighbors?: GoogleCloudAiplatformV1NearestNeighbors;
5702
6225
  }
6226
+ interface GoogleCloudAiplatformV1Segment {
6227
+ /** Output only. End index in the given Part, measured in bytes. Offset from the start of the Part, exclusive, starting at zero. */
6228
+ endIndex?: number;
6229
+ /** Output only. The index of a Part object within its parent Content object. */
6230
+ partIndex?: number;
6231
+ /** Output only. Start index in the given Part, measured in bytes. Offset from the start of the Part, inclusive, starting at zero. */
6232
+ startIndex?: number;
6233
+ /** Output only. The text corresponding to the segment from the response. */
6234
+ text?: string;
6235
+ }
5703
6236
  interface GoogleCloudAiplatformV1ServiceAccountSpec {
5704
6237
  /** Required. If true, custom user-managed service account is enforced to run any workloads (for example, Vertex Jobs) on the resource. Otherwise, uses the [Vertex AI Custom Code Service Agent](https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents). */
5705
6238
  enableCustomServiceAccount?: boolean;
@@ -5968,6 +6501,96 @@ declare namespace gapi.client {
5968
6501
  /** A list of Trials. */
5969
6502
  trials?: GoogleCloudAiplatformV1Trial[];
5970
6503
  }
6504
+ interface GoogleCloudAiplatformV1SummarizationHelpfulnessInput {
6505
+ /** Required. Summarization helpfulness instance. */
6506
+ instance?: GoogleCloudAiplatformV1SummarizationHelpfulnessInstance;
6507
+ /** Required. Spec for summarization helpfulness score metric. */
6508
+ metricSpec?: GoogleCloudAiplatformV1SummarizationHelpfulnessSpec;
6509
+ }
6510
+ interface GoogleCloudAiplatformV1SummarizationHelpfulnessInstance {
6511
+ /** Required. Text to be summarized. */
6512
+ context?: string;
6513
+ /** Optional. Summarization prompt for LLM. */
6514
+ instruction?: string;
6515
+ /** Required. Output of the evaluated model. */
6516
+ prediction?: string;
6517
+ /** Optional. Ground truth used to compare against the prediction. */
6518
+ reference?: string;
6519
+ }
6520
+ interface GoogleCloudAiplatformV1SummarizationHelpfulnessResult {
6521
+ /** Output only. Confidence for summarization helpfulness score. */
6522
+ confidence?: number;
6523
+ /** Output only. Explanation for summarization helpfulness score. */
6524
+ explanation?: string;
6525
+ /** Output only. Summarization Helpfulness score. */
6526
+ score?: number;
6527
+ }
6528
+ interface GoogleCloudAiplatformV1SummarizationHelpfulnessSpec {
6529
+ /** Optional. Whether to use instance.reference to compute summarization helpfulness. */
6530
+ useReference?: boolean;
6531
+ /** Optional. Which version to use for evaluation. */
6532
+ version?: number;
6533
+ }
6534
+ interface GoogleCloudAiplatformV1SummarizationQualityInput {
6535
+ /** Required. Summarization quality instance. */
6536
+ instance?: GoogleCloudAiplatformV1SummarizationQualityInstance;
6537
+ /** Required. Spec for summarization quality score metric. */
6538
+ metricSpec?: GoogleCloudAiplatformV1SummarizationQualitySpec;
6539
+ }
6540
+ interface GoogleCloudAiplatformV1SummarizationQualityInstance {
6541
+ /** Required. Text to be summarized. */
6542
+ context?: string;
6543
+ /** Required. Summarization prompt for LLM. */
6544
+ instruction?: string;
6545
+ /** Required. Output of the evaluated model. */
6546
+ prediction?: string;
6547
+ /** Optional. Ground truth used to compare against the prediction. */
6548
+ reference?: string;
6549
+ }
6550
+ interface GoogleCloudAiplatformV1SummarizationQualityResult {
6551
+ /** Output only. Confidence for summarization quality score. */
6552
+ confidence?: number;
6553
+ /** Output only. Explanation for summarization quality score. */
6554
+ explanation?: string;
6555
+ /** Output only. Summarization Quality score. */
6556
+ score?: number;
6557
+ }
6558
+ interface GoogleCloudAiplatformV1SummarizationQualitySpec {
6559
+ /** Optional. Whether to use instance.reference to compute summarization quality. */
6560
+ useReference?: boolean;
6561
+ /** Optional. Which version to use for evaluation. */
6562
+ version?: number;
6563
+ }
6564
+ interface GoogleCloudAiplatformV1SummarizationVerbosityInput {
6565
+ /** Required. Summarization verbosity instance. */
6566
+ instance?: GoogleCloudAiplatformV1SummarizationVerbosityInstance;
6567
+ /** Required. Spec for summarization verbosity score metric. */
6568
+ metricSpec?: GoogleCloudAiplatformV1SummarizationVerbositySpec;
6569
+ }
6570
+ interface GoogleCloudAiplatformV1SummarizationVerbosityInstance {
6571
+ /** Required. Text to be summarized. */
6572
+ context?: string;
6573
+ /** Optional. Summarization prompt for LLM. */
6574
+ instruction?: string;
6575
+ /** Required. Output of the evaluated model. */
6576
+ prediction?: string;
6577
+ /** Optional. Ground truth used to compare against the prediction. */
6578
+ reference?: string;
6579
+ }
6580
+ interface GoogleCloudAiplatformV1SummarizationVerbosityResult {
6581
+ /** Output only. Confidence for summarization verbosity score. */
6582
+ confidence?: number;
6583
+ /** Output only. Explanation for summarization verbosity score. */
6584
+ explanation?: string;
6585
+ /** Output only. Summarization Verbosity score. */
6586
+ score?: number;
6587
+ }
6588
+ interface GoogleCloudAiplatformV1SummarizationVerbositySpec {
6589
+ /** Optional. Whether to use instance.reference to compute summarization verbosity. */
6590
+ useReference?: boolean;
6591
+ /** Optional. Which version to use for evaluation. */
6592
+ version?: number;
6593
+ }
5971
6594
  interface GoogleCloudAiplatformV1SupervisedHyperParameters {
5972
6595
  /** Optional. Adapter size for tuning. */
5973
6596
  adapterSize?: string;
@@ -5977,6 +6600,8 @@ declare namespace gapi.client {
5977
6600
  learningRateMultiplier?: number;
5978
6601
  }
5979
6602
  interface GoogleCloudAiplatformV1SupervisedTuningDatasetDistribution {
6603
+ /** Output only. Sum of a given population of values that are billable. */
6604
+ billableSum?: string;
5980
6605
  /** Output only. Defines the histogram bucket. */
5981
6606
  buckets?: GoogleCloudAiplatformV1SupervisedTuningDatasetDistributionDatasetBucket[];
5982
6607
  /** Output only. The maximum of the population values. */
@@ -6005,6 +6630,8 @@ declare namespace gapi.client {
6005
6630
  interface GoogleCloudAiplatformV1SupervisedTuningDataStats {
6006
6631
  /** Output only. Number of billable characters in the tuning dataset. */
6007
6632
  totalBillableCharacterCount?: string;
6633
+ /** Output only. Number of billable tokens in the tuning dataset. */
6634
+ totalBillableTokenCount?: string;
6008
6635
  /** Output only. Number of tuning characters in the tuning dataset. */
6009
6636
  totalTuningCharacterCount?: string;
6010
6637
  /** Output only. Number of examples in the tuning dataset. */
@@ -6084,6 +6711,10 @@ declare namespace gapi.client {
6084
6711
  name?: string;
6085
6712
  /** Output only. The number of Runs stored in this Tensorboard. */
6086
6713
  runCount?: number;
6714
+ /** Output only. Reserved for future use. */
6715
+ satisfiesPzi?: boolean;
6716
+ /** Output only. Reserved for future use. */
6717
+ satisfiesPzs?: boolean;
6087
6718
  /** Output only. Timestamp when this Tensorboard was last updated. */
6088
6719
  updateTime?: string;
6089
6720
  }
@@ -6206,6 +6837,8 @@ declare namespace gapi.client {
6206
6837
  validationFraction?: number;
6207
6838
  }
6208
6839
  interface GoogleCloudAiplatformV1TokensInfo {
6840
+ /** Optional. Optional fields for the role from the corresponding Content. */
6841
+ role?: string;
6209
6842
  /** A list of token ids from the input. */
6210
6843
  tokenIds?: string[];
6211
6844
  /** A list of tokens from the input. */
@@ -6219,10 +6852,97 @@ declare namespace gapi.client {
6219
6852
  /** Optional. Retrieval tool type. System will always execute the provided retrieval tool(s) to get external knowledge to answer the prompt. Retrieval results are presented to the model for generation. */
6220
6853
  retrieval?: GoogleCloudAiplatformV1Retrieval;
6221
6854
  }
6855
+ interface GoogleCloudAiplatformV1ToolCallValidInput {
6856
+ /** Required. Repeated tool call valid instances. */
6857
+ instances?: GoogleCloudAiplatformV1ToolCallValidInstance[];
6858
+ /** Required. Spec for tool call valid metric. */
6859
+ metricSpec?: any;
6860
+ }
6861
+ interface GoogleCloudAiplatformV1ToolCallValidInstance {
6862
+ /** Required. Output of the evaluated model. */
6863
+ prediction?: string;
6864
+ /** Required. Ground truth used to compare against the prediction. */
6865
+ reference?: string;
6866
+ }
6867
+ interface GoogleCloudAiplatformV1ToolCallValidMetricValue {
6868
+ /** Output only. Tool call valid score. */
6869
+ score?: number;
6870
+ }
6871
+ interface GoogleCloudAiplatformV1ToolCallValidResults {
6872
+ /** Output only. Tool call valid metric values. */
6873
+ toolCallValidMetricValues?: GoogleCloudAiplatformV1ToolCallValidMetricValue[];
6874
+ }
6875
+ interface GoogleCloudAiplatformV1ToolCallValidSpec {}
6222
6876
  interface GoogleCloudAiplatformV1ToolConfig {
6223
6877
  /** Optional. Function calling config. */
6224
6878
  functionCallingConfig?: GoogleCloudAiplatformV1FunctionCallingConfig;
6225
6879
  }
6880
+ interface GoogleCloudAiplatformV1ToolNameMatchInput {
6881
+ /** Required. Repeated tool name match instances. */
6882
+ instances?: GoogleCloudAiplatformV1ToolNameMatchInstance[];
6883
+ /** Required. Spec for tool name match metric. */
6884
+ metricSpec?: any;
6885
+ }
6886
+ interface GoogleCloudAiplatformV1ToolNameMatchInstance {
6887
+ /** Required. Output of the evaluated model. */
6888
+ prediction?: string;
6889
+ /** Required. Ground truth used to compare against the prediction. */
6890
+ reference?: string;
6891
+ }
6892
+ interface GoogleCloudAiplatformV1ToolNameMatchMetricValue {
6893
+ /** Output only. Tool name match score. */
6894
+ score?: number;
6895
+ }
6896
+ interface GoogleCloudAiplatformV1ToolNameMatchResults {
6897
+ /** Output only. Tool name match metric values. */
6898
+ toolNameMatchMetricValues?: GoogleCloudAiplatformV1ToolNameMatchMetricValue[];
6899
+ }
6900
+ interface GoogleCloudAiplatformV1ToolNameMatchSpec {}
6901
+ interface GoogleCloudAiplatformV1ToolParameterKeyMatchInput {
6902
+ /** Required. Repeated tool parameter key match instances. */
6903
+ instances?: GoogleCloudAiplatformV1ToolParameterKeyMatchInstance[];
6904
+ /** Required. Spec for tool parameter key match metric. */
6905
+ metricSpec?: any;
6906
+ }
6907
+ interface GoogleCloudAiplatformV1ToolParameterKeyMatchInstance {
6908
+ /** Required. Output of the evaluated model. */
6909
+ prediction?: string;
6910
+ /** Required. Ground truth used to compare against the prediction. */
6911
+ reference?: string;
6912
+ }
6913
+ interface GoogleCloudAiplatformV1ToolParameterKeyMatchMetricValue {
6914
+ /** Output only. Tool parameter key match score. */
6915
+ score?: number;
6916
+ }
6917
+ interface GoogleCloudAiplatformV1ToolParameterKeyMatchResults {
6918
+ /** Output only. Tool parameter key match metric values. */
6919
+ toolParameterKeyMatchMetricValues?: GoogleCloudAiplatformV1ToolParameterKeyMatchMetricValue[];
6920
+ }
6921
+ interface GoogleCloudAiplatformV1ToolParameterKeyMatchSpec {}
6922
+ interface GoogleCloudAiplatformV1ToolParameterKVMatchInput {
6923
+ /** Required. Repeated tool parameter key value match instances. */
6924
+ instances?: GoogleCloudAiplatformV1ToolParameterKVMatchInstance[];
6925
+ /** Required. Spec for tool parameter key value match metric. */
6926
+ metricSpec?: GoogleCloudAiplatformV1ToolParameterKVMatchSpec;
6927
+ }
6928
+ interface GoogleCloudAiplatformV1ToolParameterKVMatchInstance {
6929
+ /** Required. Output of the evaluated model. */
6930
+ prediction?: string;
6931
+ /** Required. Ground truth used to compare against the prediction. */
6932
+ reference?: string;
6933
+ }
6934
+ interface GoogleCloudAiplatformV1ToolParameterKVMatchMetricValue {
6935
+ /** Output only. Tool parameter key value match score. */
6936
+ score?: number;
6937
+ }
6938
+ interface GoogleCloudAiplatformV1ToolParameterKVMatchResults {
6939
+ /** Output only. Tool parameter key value match metric values. */
6940
+ toolParameterKvMatchMetricValues?: GoogleCloudAiplatformV1ToolParameterKVMatchMetricValue[];
6941
+ }
6942
+ interface GoogleCloudAiplatformV1ToolParameterKVMatchSpec {
6943
+ /** Optional. Whether to use STRCIT string match on parameter values. */
6944
+ useStrictStringMatch?: boolean;
6945
+ }
6226
6946
  interface GoogleCloudAiplatformV1TrainingConfig {
6227
6947
  /** The timeout hours for the CMLE training job, expressed in milli hours i.e. 1,000 value in this field means 1 hour. */
6228
6948
  timeoutTrainingMilliHours?: string;
@@ -9412,6 +10132,68 @@ declare namespace gapi.client {
9412
10132
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9413
10133
  uploadType?: string;
9414
10134
  }): Request<GoogleCloudAiplatformV1ListDeploymentResourcePoolsResponse>;
10135
+ /** Update a DeploymentResourcePool. */
10136
+ patch(request: {
10137
+ /** V1 error format. */
10138
+ '$.xgafv'?: string;
10139
+ /** OAuth access token. */
10140
+ access_token?: string;
10141
+ /** Data format for response. */
10142
+ alt?: string;
10143
+ /** JSONP */
10144
+ callback?: string;
10145
+ /** Selector specifying which fields to include in a partial response. */
10146
+ fields?: string;
10147
+ /** 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. */
10148
+ key?: string;
10149
+ /** Immutable. The resource name of the DeploymentResourcePool. Format: `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}` */
10150
+ name: string;
10151
+ /** OAuth 2.0 token for the current user. */
10152
+ oauth_token?: string;
10153
+ /** Returns response with indentations and line breaks. */
10154
+ prettyPrint?: boolean;
10155
+ /** 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. */
10156
+ quotaUser?: string;
10157
+ /** Required. The list of fields to update. */
10158
+ updateMask?: string;
10159
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
10160
+ upload_protocol?: string;
10161
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10162
+ uploadType?: string;
10163
+ /** Request body */
10164
+ resource: GoogleCloudAiplatformV1DeploymentResourcePool;
10165
+ }): Request<GoogleLongrunningOperation>;
10166
+ patch(
10167
+ request: {
10168
+ /** V1 error format. */
10169
+ '$.xgafv'?: string;
10170
+ /** OAuth access token. */
10171
+ access_token?: string;
10172
+ /** Data format for response. */
10173
+ alt?: string;
10174
+ /** JSONP */
10175
+ callback?: string;
10176
+ /** Selector specifying which fields to include in a partial response. */
10177
+ fields?: string;
10178
+ /** 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. */
10179
+ key?: string;
10180
+ /** Immutable. The resource name of the DeploymentResourcePool. Format: `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}` */
10181
+ name: string;
10182
+ /** OAuth 2.0 token for the current user. */
10183
+ oauth_token?: string;
10184
+ /** Returns response with indentations and line breaks. */
10185
+ prettyPrint?: boolean;
10186
+ /** 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. */
10187
+ quotaUser?: string;
10188
+ /** Required. The list of fields to update. */
10189
+ updateMask?: string;
10190
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
10191
+ upload_protocol?: string;
10192
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10193
+ uploadType?: string;
10194
+ },
10195
+ body: GoogleCloudAiplatformV1DeploymentResourcePool
10196
+ ): Request<GoogleLongrunningOperation>;
9415
10197
  /** List DeployedModels that have been deployed on this DeploymentResourcePool. */
9416
10198
  queryDeployedModels(request?: {
9417
10199
  /** V1 error format. */
@@ -10916,7 +11698,7 @@ declare namespace gapi.client {
10916
11698
  prettyPrint?: boolean;
10917
11699
  /** 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. */
10918
11700
  quotaUser?: string;
10919
- /** Field mask is used to specify the fields to be overwritten in the Features resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `description` * `labels` * `disable_monitoring` (Not supported for FeatureRegistry Feature) */
11701
+ /** Field mask is used to specify the fields to be overwritten in the Features resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `description` * `labels` * `disable_monitoring` (Not supported for FeatureRegistryService Feature) * `point_of_contact` (Not supported for FeaturestoreService FeatureStore) */
10920
11702
  updateMask?: string;
10921
11703
  /** Upload protocol for media (e.g. "raw", "multipart"). */
10922
11704
  upload_protocol?: string;
@@ -10947,7 +11729,7 @@ declare namespace gapi.client {
10947
11729
  prettyPrint?: boolean;
10948
11730
  /** 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. */
10949
11731
  quotaUser?: string;
10950
- /** Field mask is used to specify the fields to be overwritten in the Features resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `description` * `labels` * `disable_monitoring` (Not supported for FeatureRegistry Feature) */
11732
+ /** Field mask is used to specify the fields to be overwritten in the Features resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `description` * `labels` * `disable_monitoring` (Not supported for FeatureRegistryService Feature) * `point_of_contact` (Not supported for FeaturestoreService FeatureStore) */
10951
11733
  updateMask?: string;
10952
11734
  /** Upload protocol for media (e.g. "raw", "multipart"). */
10953
11735
  upload_protocol?: string;
@@ -11252,7 +12034,7 @@ declare namespace gapi.client {
11252
12034
  prettyPrint?: boolean;
11253
12035
  /** 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. */
11254
12036
  quotaUser?: string;
11255
- /** Field mask is used to specify the fields to be overwritten in the FeatureGroup resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `labels` */
12037
+ /** Field mask is used to specify the fields to be overwritten in the FeatureGroup resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `labels` * `description` * `big_query` * `big_query.entity_id_columns` */
11256
12038
  updateMask?: string;
11257
12039
  /** Upload protocol for media (e.g. "raw", "multipart"). */
11258
12040
  upload_protocol?: string;
@@ -11283,7 +12065,7 @@ declare namespace gapi.client {
11283
12065
  prettyPrint?: boolean;
11284
12066
  /** 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. */
11285
12067
  quotaUser?: string;
11286
- /** Field mask is used to specify the fields to be overwritten in the FeatureGroup resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `labels` */
12068
+ /** Field mask is used to specify the fields to be overwritten in the FeatureGroup resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `labels` * `description` * `big_query` * `big_query.entity_id_columns` */
11287
12069
  updateMask?: string;
11288
12070
  /** Upload protocol for media (e.g. "raw", "multipart"). */
11289
12071
  upload_protocol?: string;
@@ -11713,7 +12495,7 @@ declare namespace gapi.client {
11713
12495
  prettyPrint?: boolean;
11714
12496
  /** 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. */
11715
12497
  quotaUser?: string;
11716
- /** Field mask is used to specify the fields to be overwritten in the FeatureView resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `labels` * `serviceAgentType` */
12498
+ /** Field mask is used to specify the fields to be overwritten in the FeatureView resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `labels` * `service_agent_type` * `big_query_source` * `big_query_source.uri` * `big_query_source.entity_id_columns` * `feature_registry_source` * `feature_registry_source.feature_groups` * `sync_config` * `sync_config.cron` */
11717
12499
  updateMask?: string;
11718
12500
  /** Upload protocol for media (e.g. "raw", "multipart"). */
11719
12501
  upload_protocol?: string;
@@ -11744,7 +12526,7 @@ declare namespace gapi.client {
11744
12526
  prettyPrint?: boolean;
11745
12527
  /** 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. */
11746
12528
  quotaUser?: string;
11747
- /** Field mask is used to specify the fields to be overwritten in the FeatureView resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `labels` * `serviceAgentType` */
12529
+ /** Field mask is used to specify the fields to be overwritten in the FeatureView resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `labels` * `service_agent_type` * `big_query_source` * `big_query_source.uri` * `big_query_source.entity_id_columns` * `feature_registry_source` * `feature_registry_source.feature_groups` * `sync_config` * `sync_config.cron` */
11748
12530
  updateMask?: string;
11749
12531
  /** Upload protocol for media (e.g. "raw", "multipart"). */
11750
12532
  upload_protocol?: string;
@@ -12166,7 +12948,7 @@ declare namespace gapi.client {
12166
12948
  prettyPrint?: boolean;
12167
12949
  /** 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. */
12168
12950
  quotaUser?: string;
12169
- /** Field mask is used to specify the fields to be overwritten in the FeatureOnlineStore resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `big_query_source` * `bigtable` * `labels` * `sync_config` */
12951
+ /** Field mask is used to specify the fields to be overwritten in the FeatureOnlineStore resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `labels` * `description` * `bigtable` * `bigtable.auto_scaling` * `bigtable.enable_multi_region_replica` */
12170
12952
  updateMask?: string;
12171
12953
  /** Upload protocol for media (e.g. "raw", "multipart"). */
12172
12954
  upload_protocol?: string;
@@ -12197,7 +12979,7 @@ declare namespace gapi.client {
12197
12979
  prettyPrint?: boolean;
12198
12980
  /** 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. */
12199
12981
  quotaUser?: string;
12200
- /** Field mask is used to specify the fields to be overwritten in the FeatureOnlineStore resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `big_query_source` * `bigtable` * `labels` * `sync_config` */
12982
+ /** Field mask is used to specify the fields to be overwritten in the FeatureOnlineStore resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `labels` * `description` * `bigtable` * `bigtable.auto_scaling` * `bigtable.enable_multi_region_replica` */
12201
12983
  updateMask?: string;
12202
12984
  /** Upload protocol for media (e.g. "raw", "multipart"). */
12203
12985
  upload_protocol?: string;
@@ -12590,7 +13372,7 @@ declare namespace gapi.client {
12590
13372
  prettyPrint?: boolean;
12591
13373
  /** 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. */
12592
13374
  quotaUser?: string;
12593
- /** Field mask is used to specify the fields to be overwritten in the Features resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `description` * `labels` * `disable_monitoring` (Not supported for FeatureRegistry Feature) */
13375
+ /** Field mask is used to specify the fields to be overwritten in the Features resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `description` * `labels` * `disable_monitoring` (Not supported for FeatureRegistryService Feature) * `point_of_contact` (Not supported for FeaturestoreService FeatureStore) */
12594
13376
  updateMask?: string;
12595
13377
  /** Upload protocol for media (e.g. "raw", "multipart"). */
12596
13378
  upload_protocol?: string;
@@ -12621,7 +13403,7 @@ declare namespace gapi.client {
12621
13403
  prettyPrint?: boolean;
12622
13404
  /** 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. */
12623
13405
  quotaUser?: string;
12624
- /** Field mask is used to specify the fields to be overwritten in the Features resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `description` * `labels` * `disable_monitoring` (Not supported for FeatureRegistry Feature) */
13406
+ /** Field mask is used to specify the fields to be overwritten in the Features resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `description` * `labels` * `disable_monitoring` (Not supported for FeatureRegistryService Feature) * `point_of_contact` (Not supported for FeaturestoreService FeatureStore) */
12625
13407
  updateMask?: string;
12626
13408
  /** Upload protocol for media (e.g. "raw", "multipart"). */
12627
13409
  upload_protocol?: string;
@@ -26510,6 +27292,64 @@ declare namespace gapi.client {
26510
27292
  operations: OperationsResource;
26511
27293
  }
26512
27294
  interface LocationsResource {
27295
+ /** Evaluates instances based on a given metric. */
27296
+ evaluateInstances(request: {
27297
+ /** V1 error format. */
27298
+ '$.xgafv'?: string;
27299
+ /** OAuth access token. */
27300
+ access_token?: string;
27301
+ /** Data format for response. */
27302
+ alt?: string;
27303
+ /** JSONP */
27304
+ callback?: string;
27305
+ /** Selector specifying which fields to include in a partial response. */
27306
+ fields?: string;
27307
+ /** 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. */
27308
+ key?: string;
27309
+ /** Required. The resource name of the Location to evaluate the instances. Format: `projects/{project}/locations/{location}` */
27310
+ location: string;
27311
+ /** OAuth 2.0 token for the current user. */
27312
+ oauth_token?: string;
27313
+ /** Returns response with indentations and line breaks. */
27314
+ prettyPrint?: boolean;
27315
+ /** 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. */
27316
+ quotaUser?: string;
27317
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
27318
+ upload_protocol?: string;
27319
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
27320
+ uploadType?: string;
27321
+ /** Request body */
27322
+ resource: GoogleCloudAiplatformV1EvaluateInstancesRequest;
27323
+ }): Request<GoogleCloudAiplatformV1EvaluateInstancesResponse>;
27324
+ evaluateInstances(
27325
+ request: {
27326
+ /** V1 error format. */
27327
+ '$.xgafv'?: string;
27328
+ /** OAuth access token. */
27329
+ access_token?: string;
27330
+ /** Data format for response. */
27331
+ alt?: string;
27332
+ /** JSONP */
27333
+ callback?: string;
27334
+ /** Selector specifying which fields to include in a partial response. */
27335
+ fields?: string;
27336
+ /** 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. */
27337
+ key?: string;
27338
+ /** Required. The resource name of the Location to evaluate the instances. Format: `projects/{project}/locations/{location}` */
27339
+ location: string;
27340
+ /** OAuth 2.0 token for the current user. */
27341
+ oauth_token?: string;
27342
+ /** Returns response with indentations and line breaks. */
27343
+ prettyPrint?: boolean;
27344
+ /** 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. */
27345
+ quotaUser?: string;
27346
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
27347
+ upload_protocol?: string;
27348
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
27349
+ uploadType?: string;
27350
+ },
27351
+ body: GoogleCloudAiplatformV1EvaluateInstancesRequest
27352
+ ): Request<GoogleCloudAiplatformV1EvaluateInstancesResponse>;
26513
27353
  /** Gets information about a location. */
26514
27354
  get(request?: {
26515
27355
  /** V1 error format. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.aiplatform-v1",
3
- "version": "0.0.20240618",
3
+ "version": "0.0.20240703",
4
4
  "description": "TypeScript typings for Vertex AI API v1",
5
5
  "repository": {
6
6
  "type": "git",