@maxim_mazurok/gapi.client.aiplatform-v1beta1 0.1.20250820 → 0.2.20250825

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 +1127 -71
  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=v1beta1
12
- // Revision: 20250820
12
+ // Revision: 20250825
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -197,6 +197,26 @@ declare namespace gapi.client {
197
197
  /** Required. The measurement to be added to a Trial. */
198
198
  measurement?: GoogleCloudAiplatformV1beta1Measurement;
199
199
  }
200
+ interface GoogleCloudAiplatformV1beta1AggregationOutput {
201
+ /** One AggregationResult per metric. */
202
+ aggregationResults?: GoogleCloudAiplatformV1beta1AggregationResult[];
203
+ /** The dataset used for evaluation & aggregation. */
204
+ dataset?: GoogleCloudAiplatformV1beta1EvaluationDataset;
205
+ }
206
+ interface GoogleCloudAiplatformV1beta1AggregationResult {
207
+ /** Aggregation metric. */
208
+ aggregationMetric?: string;
209
+ /** Results for bleu metric. */
210
+ bleuMetricValue?: GoogleCloudAiplatformV1beta1BleuMetricValue;
211
+ /** Results for exact match metric. */
212
+ exactMatchMetricValue?: GoogleCloudAiplatformV1beta1ExactMatchMetricValue;
213
+ /** Result for pairwise metric. */
214
+ pairwiseMetricResult?: GoogleCloudAiplatformV1beta1PairwiseMetricResult;
215
+ /** Result for pointwise metric. */
216
+ pointwiseMetricResult?: GoogleCloudAiplatformV1beta1PointwiseMetricResult;
217
+ /** Results for rouge metric. */
218
+ rougeMetricValue?: GoogleCloudAiplatformV1beta1RougeMetricValue;
219
+ }
200
220
  interface GoogleCloudAiplatformV1beta1Annotation {
201
221
  /** Output only. The source of the Annotation. */
202
222
  annotationSource?: GoogleCloudAiplatformV1beta1UserActionReference;
@@ -663,6 +683,26 @@ declare namespace gapi.client {
663
683
  /** Required. BigQuery URI to a project or table, up to 2000 characters long. When only the project is specified, the Dataset and Table is created. When the full table reference is specified, the Dataset must exist and table must not exist. Accepted forms: * BigQuery path. For example: `bq://projectId` or `bq://projectId.bqDatasetId` or `bq://projectId.bqDatasetId.bqTableId`. */
664
684
  outputUri?: string;
665
685
  }
686
+ interface GoogleCloudAiplatformV1beta1BigQueryRequestSet {
687
+ /** Optional. Map of candidate name to candidate response column name. The column will be in evaluation_item.CandidateResponse format. */
688
+ candidateResponseColumns?: {[P in string]: string};
689
+ /** Optional. The name of the column that contains the requests to evaluate. This will be in evaluation_item.EvalPrompt format. */
690
+ promptColumn?: string;
691
+ /** Optional. The name of the column that contains the rubrics. This will be in evaluation_rubric.RubricGroup format (cl/762595858). */
692
+ rubricsColumn?: string;
693
+ /** Optional. The sampling config for the bigquery resource. */
694
+ samplingConfig?: GoogleCloudAiplatformV1beta1BigQueryRequestSetSamplingConfig;
695
+ /** Required. The URI of a BigQuery table. e.g. bq://projectId.bqDatasetId.bqTableId */
696
+ uri?: string;
697
+ }
698
+ interface GoogleCloudAiplatformV1beta1BigQueryRequestSetSamplingConfig {
699
+ /** Optional. The total number of logged data to import. If available data is less than the sampling count, all data will be imported. Default is 100. */
700
+ samplingCount?: number;
701
+ /** Optional. How long to wait before sampling data from the BigQuery table. If not specified, defaults to 0. */
702
+ samplingDuration?: string;
703
+ /** Optional. The sampling method to use. */
704
+ samplingMethod?: string;
705
+ }
666
706
  interface GoogleCloudAiplatformV1beta1BigQuerySource {
667
707
  /** Required. BigQuery URI to a table, up to 2000 characters long. Accepted forms: * BigQuery path. For example: `bq://projectId.bqDatasetId.bqTableId`. */
668
708
  inputUri?: string;
@@ -756,6 +796,7 @@ declare namespace gapi.client {
756
796
  interface GoogleCloudAiplatformV1beta1CancelBatchPredictionJobRequest {}
757
797
  interface GoogleCloudAiplatformV1beta1CancelCustomJobRequest {}
758
798
  interface GoogleCloudAiplatformV1beta1CancelDataLabelingJobRequest {}
799
+ interface GoogleCloudAiplatformV1beta1CancelEvaluationRunRequest {}
759
800
  interface GoogleCloudAiplatformV1beta1CancelHyperparameterTuningJobRequest {}
760
801
  interface GoogleCloudAiplatformV1beta1CancelNasJobRequest {}
761
802
  interface GoogleCloudAiplatformV1beta1CancelPipelineJobRequest {}
@@ -783,6 +824,28 @@ declare namespace gapi.client {
783
824
  /** Output only. Metadata related to url context retrieval tool. */
784
825
  urlContextMetadata?: GoogleCloudAiplatformV1beta1UrlContextMetadata;
785
826
  }
827
+ interface GoogleCloudAiplatformV1beta1CandidateResponse {
828
+ /** Required. The name of the candidate that produced the response. */
829
+ candidate?: string;
830
+ /** Text response. */
831
+ text?: string;
832
+ /** Fields and values that can be used to populate the response template. */
833
+ value?: any;
834
+ }
835
+ interface GoogleCloudAiplatformV1beta1CandidateResult {
836
+ /** Optional. Additional results for the metric. */
837
+ additionalResults?: any;
838
+ /** Required. The candidate that is being evaluated. The value is the same as the candidate name in the EvaluationRequest. */
839
+ candidate?: string;
840
+ /** Optional. The explanation for the metric. */
841
+ explanation?: string;
842
+ /** Required. The metric that was evaluated. */
843
+ metric?: string;
844
+ /** Optional. The rubric verdicts for the metric. */
845
+ rubricVerdicts?: GoogleCloudAiplatformV1beta1RubricVerdict[];
846
+ /** Optional. The score for the metric. */
847
+ score?: number;
848
+ }
786
849
  interface GoogleCloudAiplatformV1beta1Checkpoint {
787
850
  /** The ID of the checkpoint. */
788
851
  checkpointId?: string;
@@ -1973,11 +2036,19 @@ declare namespace gapi.client {
1973
2036
  /** Required. Config for evaluation output. */
1974
2037
  outputConfig?: GoogleCloudAiplatformV1beta1OutputConfig;
1975
2038
  }
2039
+ interface GoogleCloudAiplatformV1beta1EvaluateDatasetResponse {
2040
+ /** Output only. Aggregation statistics derived from results of EvaluationService.EvaluateDataset. */
2041
+ aggregationOutput?: GoogleCloudAiplatformV1beta1AggregationOutput;
2042
+ /** Output only. Output info for EvaluationService.EvaluateDataset. */
2043
+ outputInfo?: GoogleCloudAiplatformV1beta1OutputInfo;
2044
+ }
1976
2045
  interface GoogleCloudAiplatformV1beta1EvaluateDatasetRun {
1977
2046
  /** Output only. The checkpoint id used in the evaluation run. Only populated when evaluating checkpoints. */
1978
2047
  checkpointId?: string;
1979
2048
  /** Output only. The error of the evaluation run if any. */
1980
2049
  error?: GoogleRpcStatus;
2050
+ /** Output only. Results for EvaluationService.EvaluateDataset. */
2051
+ evaluateDatasetResponse?: GoogleCloudAiplatformV1beta1EvaluateDatasetResponse;
1981
2052
  /** Output only. The operation ID of the evaluation run. Format: `projects/{project}/locations/{location}/operations/{operation_id}`. */
1982
2053
  operationName?: string;
1983
2054
  }
@@ -1998,6 +2069,10 @@ declare namespace gapi.client {
1998
2069
  fulfillmentInput?: GoogleCloudAiplatformV1beta1FulfillmentInput;
1999
2070
  /** Input for groundedness metric. */
2000
2071
  groundednessInput?: GoogleCloudAiplatformV1beta1GroundednessInput;
2072
+ /** The instance to be evaluated. */
2073
+ instance?: GoogleCloudAiplatformV1beta1EvaluationInstance;
2074
+ /** The metrics used for evaluation. Currently, we only support evaluating a single metric. If multiple metrics are provided, only the first one will be evaluated. */
2075
+ metrics?: GoogleCloudAiplatformV1beta1Metric[];
2001
2076
  /** Input for Metricx metric. */
2002
2077
  metricxInput?: GoogleCloudAiplatformV1beta1MetricxInput;
2003
2078
  /** Input for pairwise metric. */
@@ -2064,6 +2139,8 @@ declare namespace gapi.client {
2064
2139
  fulfillmentResult?: GoogleCloudAiplatformV1beta1FulfillmentResult;
2065
2140
  /** Result for groundedness metric. */
2066
2141
  groundednessResult?: GoogleCloudAiplatformV1beta1GroundednessResult;
2142
+ /** Metric results for each instance. The order of the metric results is guaranteed to be the same as the order of the instances in the request. */
2143
+ metricResults?: GoogleCloudAiplatformV1beta1MetricResult[];
2067
2144
  /** Result for Metricx metric. */
2068
2145
  metricxResult?: GoogleCloudAiplatformV1beta1MetricxResult;
2069
2146
  /** Result for pairwise metric. */
@@ -2129,6 +2206,260 @@ declare namespace gapi.client {
2129
2206
  /** Cloud storage source holds the dataset. Currently only one Cloud Storage file path is supported. */
2130
2207
  gcsSource?: GoogleCloudAiplatformV1beta1GcsSource;
2131
2208
  }
2209
+ interface GoogleCloudAiplatformV1beta1EvaluationInstance {
2210
+ /** Optional. Other data used to populate placeholders based on their key. */
2211
+ otherData?: GoogleCloudAiplatformV1beta1EvaluationInstanceMapInstance;
2212
+ /** Optional. Data used to populate placeholder `prompt` in a metric prompt template. */
2213
+ prompt?: GoogleCloudAiplatformV1beta1EvaluationInstanceInstanceData;
2214
+ /** Optional. Data used to populate placeholder `reference` in a metric prompt template. */
2215
+ reference?: GoogleCloudAiplatformV1beta1EvaluationInstanceInstanceData;
2216
+ /** Required. Data used to populate placeholder `response` in a metric prompt template. */
2217
+ response?: GoogleCloudAiplatformV1beta1EvaluationInstanceInstanceData;
2218
+ /** Optional. Named groups of rubrics associated with the prompt. This is used for rubric-based evaluations where rubrics can be referenced by a key. The key could represent versions, associated metrics, etc. */
2219
+ rubricGroups?: {[P in string]: GoogleCloudAiplatformV1beta1RubricGroup};
2220
+ }
2221
+ interface GoogleCloudAiplatformV1beta1EvaluationInstanceInstanceData {
2222
+ /** List of Gemini content data. */
2223
+ contents?: GoogleCloudAiplatformV1beta1EvaluationInstanceInstanceDataContents;
2224
+ /** Text data. */
2225
+ text?: string;
2226
+ }
2227
+ interface GoogleCloudAiplatformV1beta1EvaluationInstanceInstanceDataContents {
2228
+ /** Optional. Repeated contents. */
2229
+ contents?: GoogleCloudAiplatformV1beta1Content[];
2230
+ }
2231
+ interface GoogleCloudAiplatformV1beta1EvaluationInstanceMapInstance {
2232
+ /** Optional. Map of instance data. */
2233
+ mapInstance?: {
2234
+ [P in string]: GoogleCloudAiplatformV1beta1EvaluationInstanceInstanceData;
2235
+ };
2236
+ }
2237
+ interface GoogleCloudAiplatformV1beta1EvaluationItem {
2238
+ /** Output only. Timestamp when this item was created. */
2239
+ createTime?: string;
2240
+ /** Required. The display name of the EvaluationItem. */
2241
+ displayName?: string;
2242
+ /** Output only. Error for the evaluation item. */
2243
+ error?: GoogleRpcStatus;
2244
+ /** Required. The type of the EvaluationItem. */
2245
+ evaluationItemType?: string;
2246
+ /** The request to evaluate. */
2247
+ evaluationRequest?: GoogleCloudAiplatformV1beta1EvaluationRequest;
2248
+ /** Output only. The response from evaluation. */
2249
+ evaluationResponse?: GoogleCloudAiplatformV1beta1EvaluationResult;
2250
+ /** The GCS object where the request or response is stored. */
2251
+ gcsUri?: string;
2252
+ /** Optional. Labels for the EvaluationItem. */
2253
+ labels?: {[P in string]: string};
2254
+ /** Optional. Metadata for the EvaluationItem. */
2255
+ metadata?: any;
2256
+ /** Identifier. The resource name of the EvaluationItem. Format: `projects/{project}/locations/{location}/evaluationItems/{evaluation_item}` */
2257
+ name?: string;
2258
+ }
2259
+ interface GoogleCloudAiplatformV1beta1EvaluationPrompt {
2260
+ /** Prompt template data. */
2261
+ promptTemplateData?: GoogleCloudAiplatformV1beta1EvaluationPromptPromptTemplateData;
2262
+ /** Text prompt. */
2263
+ text?: string;
2264
+ /** Fields and values that can be used to populate the prompt template. */
2265
+ value?: any;
2266
+ }
2267
+ interface GoogleCloudAiplatformV1beta1EvaluationPromptPromptTemplateData {
2268
+ /** The values for fields in the prompt template. */
2269
+ values?: {[P in string]: GoogleCloudAiplatformV1beta1Content};
2270
+ }
2271
+ interface GoogleCloudAiplatformV1beta1EvaluationRequest {
2272
+ /** Optional. Responses from model under test and other baseline models for comparison. */
2273
+ candidateResponses?: GoogleCloudAiplatformV1beta1CandidateResponse[];
2274
+ /** Optional. The Ideal response or ground truth. */
2275
+ goldenResponse?: GoogleCloudAiplatformV1beta1CandidateResponse;
2276
+ /** Required. The request/prompt to evaluate. */
2277
+ prompt?: GoogleCloudAiplatformV1beta1EvaluationPrompt;
2278
+ /** Optional. Named groups of rubrics associated with this prompt. The key is a user-defined name for the rubric group. */
2279
+ rubrics?: {[P in string]: GoogleCloudAiplatformV1beta1RubricGroup};
2280
+ }
2281
+ interface GoogleCloudAiplatformV1beta1EvaluationResult {
2282
+ /** Optional. The results for the metric. */
2283
+ candidateResults?: GoogleCloudAiplatformV1beta1CandidateResult[];
2284
+ /** Required. The request item that was evaluated. Format: projects/{project}/locations/{location}/evaluationItems/{evaluation_item} */
2285
+ evaluationRequest?: string;
2286
+ /** Required. The evaluation run that was used to generate the result. Format: projects/{project}/locations/{location}/evaluationRuns/{evaluation_run} */
2287
+ evaluationRun?: string;
2288
+ /** Optional. Metadata about the evaluation result. */
2289
+ metadata?: any;
2290
+ /** Required. The metric that was evaluated. */
2291
+ metric?: string;
2292
+ /** Required. The request that was evaluated. */
2293
+ request?: GoogleCloudAiplatformV1beta1EvaluationRequest;
2294
+ }
2295
+ interface GoogleCloudAiplatformV1beta1EvaluationResults {
2296
+ /** The evaluation set where item level results are stored. */
2297
+ evaluationSet?: string;
2298
+ /** Optional. The summary metrics for the evaluation run. */
2299
+ summaryMetrics?: GoogleCloudAiplatformV1beta1SummaryMetrics;
2300
+ }
2301
+ interface GoogleCloudAiplatformV1beta1EvaluationRubricConfig {
2302
+ /** Dynamically generate rubrics using a predefined spec. */
2303
+ predefinedRubricGenerationSpec?: GoogleCloudAiplatformV1beta1EvaluationRunMetricPredefinedMetricSpec;
2304
+ /** Dynamically generate rubrics using this specification. */
2305
+ rubricGenerationSpec?: GoogleCloudAiplatformV1beta1EvaluationRunMetricRubricGenerationSpec;
2306
+ /** Required. The key used to save the generated rubrics. If a generation spec is provided, this key will be used for the name of the generated rubric group. Otherwise, this key will be used to look up the existing rubric group on the evaluation item. Note that if a rubric group key is specified on both a rubric config and an evaluation metric, the key from the metric will be used to select the rubrics for evaluation. */
2307
+ rubricGroupKey?: string;
2308
+ }
2309
+ interface GoogleCloudAiplatformV1beta1EvaluationRun {
2310
+ /** Output only. Time when the evaluation run was completed. */
2311
+ completionTime?: string;
2312
+ /** Output only. Time when the evaluation run was created. */
2313
+ createTime?: string;
2314
+ /** Required. The data source for the evaluation run. */
2315
+ dataSource?: GoogleCloudAiplatformV1beta1EvaluationRunDataSource;
2316
+ /** Required. The display name of the Evaluation Run. */
2317
+ displayName?: string;
2318
+ /** Output only. Only populated when the evaluation run's state is FAILED or CANCELLED. */
2319
+ error?: GoogleRpcStatus;
2320
+ /** Required. The configuration used for the evaluation. */
2321
+ evaluationConfig?: GoogleCloudAiplatformV1beta1EvaluationRunEvaluationConfig;
2322
+ /** Output only. The results of the evaluation run. Only populated when the evaluation run's state is SUCCEEDED. */
2323
+ evaluationResults?: GoogleCloudAiplatformV1beta1EvaluationResults;
2324
+ /** Output only. The specific evaluation set of the evaluation run. For runs with an evaluation set input, this will be that same set. For runs with BigQuery input, it's the sampled BigQuery dataset. */
2325
+ evaluationSetSnapshot?: string;
2326
+ /** Optional. The candidate to inference config map for the evaluation run. The candidate can be up to 128 characters long and can consist of any UTF-8 characters. */
2327
+ inferenceConfigs?: {
2328
+ [P in string]: GoogleCloudAiplatformV1beta1EvaluationRunInferenceConfig;
2329
+ };
2330
+ /** Optional. Labels for the evaluation run. */
2331
+ labels?: {[P in string]: string};
2332
+ /** Optional. Metadata about the evaluation run, can be used by the caller to store additional tracking information about the evaluation run. */
2333
+ metadata?: any;
2334
+ /** Identifier. The resource name of the EvaluationRun. This is a unique identifier. Format: `projects/{project}/locations/{location}/evaluationRuns/{evaluation_run}` */
2335
+ name?: string;
2336
+ /** Output only. The state of the evaluation run. */
2337
+ state?: string;
2338
+ }
2339
+ interface GoogleCloudAiplatformV1beta1EvaluationRunDataSource {
2340
+ /** Evaluation data in bigquery. */
2341
+ bigqueryRequestSet?: GoogleCloudAiplatformV1beta1BigQueryRequestSet;
2342
+ /** The EvaluationSet resource name. Format: `projects/{project}/locations/{location}/evaluationSets/{evaluation_set}` */
2343
+ evaluationSet?: string;
2344
+ }
2345
+ interface GoogleCloudAiplatformV1beta1EvaluationRunEvaluationConfig {
2346
+ /** Optional. The autorater config for the evaluation run. */
2347
+ autoraterConfig?: GoogleCloudAiplatformV1beta1EvaluationRunEvaluationConfigAutoraterConfig;
2348
+ /** Required. The metrics to be calculated in the evaluation run. */
2349
+ metrics?: GoogleCloudAiplatformV1beta1EvaluationRunMetric[];
2350
+ /** Optional. The output config for the evaluation run. */
2351
+ outputConfig?: GoogleCloudAiplatformV1beta1EvaluationRunEvaluationConfigOutputConfig;
2352
+ /** The prompt template used for inference. The values for variables in the prompt template are defined in EvaluationItem.EvaluationPrompt.PromptTemplateData.values. */
2353
+ promptTemplate?: GoogleCloudAiplatformV1beta1EvaluationRunEvaluationConfigPromptTemplate;
2354
+ /** Optional. The rubric configs for the evaluation run. They are used to generate rubrics which can be used by rubric-based metrics. Multiple rubric configs can be specified for rubric generation but only one rubric config can be used for a rubric-based metric. If more than one rubric config is provided, the evaluation metric must specify a rubric group key. Note that if a generation spec is specified on both a rubric config and an evaluation metric, the rubrics generated for the metric will be used for evaluation. */
2355
+ rubricConfigs?: GoogleCloudAiplatformV1beta1EvaluationRubricConfig[];
2356
+ }
2357
+ interface GoogleCloudAiplatformV1beta1EvaluationRunEvaluationConfigAutoraterConfig {
2358
+ /** Optional. The fully qualified name of the publisher model or tuned autorater endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*‍/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
2359
+ autoraterModel?: string;
2360
+ /** Optional. Configuration options for model generation and outputs. */
2361
+ generationConfig?: GoogleCloudAiplatformV1beta1GenerationConfig;
2362
+ /** Optional. Number of samples for each instance in the dataset. If not specified, the default is 4. Minimum value is 1, maximum value is 32. */
2363
+ sampleCount?: number;
2364
+ }
2365
+ interface GoogleCloudAiplatformV1beta1EvaluationRunEvaluationConfigOutputConfig {
2366
+ /** BigQuery destination for evaluation output. */
2367
+ bigqueryDestination?: GoogleCloudAiplatformV1beta1BigQueryDestination;
2368
+ /** Cloud Storage destination for evaluation output. */
2369
+ gcsDestination?: GoogleCloudAiplatformV1beta1GcsDestination;
2370
+ }
2371
+ interface GoogleCloudAiplatformV1beta1EvaluationRunEvaluationConfigPromptTemplate {
2372
+ /** Prompt template stored in Cloud Storage. Format: "gs://my-bucket/file-name.txt". */
2373
+ gcsUri?: string;
2374
+ /** Inline prompt template. Template variables should be in the format "{var_name}". Example: "Translate the following from {source_lang} to {target_lang}: {text}" */
2375
+ promptTemplate?: string;
2376
+ }
2377
+ interface GoogleCloudAiplatformV1beta1EvaluationRunInferenceConfig {
2378
+ /** Optional. Generation config. */
2379
+ generationConfig?: GoogleCloudAiplatformV1beta1GenerationConfig;
2380
+ /** Required. The fully qualified name of the publisher model or endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*‍/models/*` Endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
2381
+ model?: string;
2382
+ }
2383
+ interface GoogleCloudAiplatformV1beta1EvaluationRunMetric {
2384
+ /** Spec for a computation based metric. */
2385
+ computationBasedMetricSpec?: GoogleCloudAiplatformV1beta1EvaluationRunMetricComputationBasedMetricSpec;
2386
+ /** Spec for an LLM based metric. */
2387
+ llmBasedMetricSpec?: GoogleCloudAiplatformV1beta1EvaluationRunMetricLLMBasedMetricSpec;
2388
+ /** Required. The name of the metric. */
2389
+ metric?: string;
2390
+ /** Spec for a pre-defined metric. */
2391
+ predefinedMetricSpec?: GoogleCloudAiplatformV1beta1EvaluationRunMetricPredefinedMetricSpec;
2392
+ /** Spec for rubric based metric. */
2393
+ rubricBasedMetricSpec?: GoogleCloudAiplatformV1beta1EvaluationRunMetricRubricBasedMetricSpec;
2394
+ }
2395
+ interface GoogleCloudAiplatformV1beta1EvaluationRunMetricComputationBasedMetricSpec {
2396
+ /** Optional. A map of parameters for the metric, e.g. {"rouge_type": "rougeL"}. */
2397
+ parameters?: {[P in string]: any};
2398
+ /** Required. The type of the computation based metric. */
2399
+ type?: string;
2400
+ }
2401
+ interface GoogleCloudAiplatformV1beta1EvaluationRunMetricLLMBasedMetricSpec {
2402
+ /** Optional. Optional additional configuration for the metric. */
2403
+ additionalConfig?: {[P in string]: any};
2404
+ /** Optional. Optional configuration for the judge LLM (Autorater). */
2405
+ judgeAutoraterConfig?: GoogleCloudAiplatformV1beta1EvaluationRunEvaluationConfigAutoraterConfig;
2406
+ /** Required. Template for the prompt sent to the judge model. */
2407
+ metricPromptTemplate?: string;
2408
+ /** Dynamically generate rubrics using a predefined spec. */
2409
+ predefinedRubricGenerationSpec?: GoogleCloudAiplatformV1beta1EvaluationRunMetricPredefinedMetricSpec;
2410
+ /** Dynamically generate rubrics using this specification. */
2411
+ rubricGenerationSpec?: GoogleCloudAiplatformV1beta1EvaluationRunMetricRubricGenerationSpec;
2412
+ /** Use a pre-defined group of rubrics associated with the input. Refers to a key in the rubric_groups map of EvaluationInstance. */
2413
+ rubricGroupKey?: string;
2414
+ /** Optional. System instructions for the judge model. */
2415
+ systemInstruction?: string;
2416
+ }
2417
+ interface GoogleCloudAiplatformV1beta1EvaluationRunMetricPredefinedMetricSpec {
2418
+ /** Required. The name of a pre-defined metric, such as "instruction_following_v1" or "text_quality_v1". */
2419
+ metricSpecName?: string;
2420
+ /** Optional. The parameters needed to run the pre-defined metric. */
2421
+ parameters?: {[P in string]: any};
2422
+ }
2423
+ interface GoogleCloudAiplatformV1beta1EvaluationRunMetricRubricBasedMetricSpec {
2424
+ /** Use rubrics provided directly in the spec. */
2425
+ inlineRubrics?: GoogleCloudAiplatformV1beta1EvaluationRunMetricRubricBasedMetricSpecRepeatedRubrics;
2426
+ /** Optional. Optional configuration for the judge LLM (Autorater). The definition of AutoraterConfig needs to be provided. */
2427
+ judgeAutoraterConfig?: GoogleCloudAiplatformV1beta1EvaluationRunEvaluationConfigAutoraterConfig;
2428
+ /** Optional. Template for the prompt used by the judge model to evaluate against rubrics. */
2429
+ metricPromptTemplate?: string;
2430
+ /** Dynamically generate rubrics for evaluation using this specification. */
2431
+ rubricGenerationSpec?: GoogleCloudAiplatformV1beta1EvaluationRunMetricRubricGenerationSpec;
2432
+ /** Use a pre-defined group of rubrics associated with the input content. This refers to a key in the `rubric_groups` map of `RubricEnhancedContents`. */
2433
+ rubricGroupKey?: string;
2434
+ }
2435
+ interface GoogleCloudAiplatformV1beta1EvaluationRunMetricRubricBasedMetricSpecRepeatedRubrics {
2436
+ /** The list of rubrics. */
2437
+ rubrics?: GoogleCloudAiplatformV1beta1Rubric[];
2438
+ }
2439
+ interface GoogleCloudAiplatformV1beta1EvaluationRunMetricRubricGenerationSpec {
2440
+ /** Optional. Configuration for the model used in rubric generation. Configs including sampling count and base model can be specified here. Flipping is not supported for rubric generation. */
2441
+ modelConfig?: GoogleCloudAiplatformV1beta1EvaluationRunEvaluationConfigAutoraterConfig;
2442
+ /** Optional. Template for the prompt used to generate rubrics. The details should be updated based on the most-recent recipe requirements. */
2443
+ promptTemplate?: string;
2444
+ /** Optional. The type of rubric content to be generated. */
2445
+ rubricContentType?: string;
2446
+ /** Optional. An optional, pre-defined list of allowed types for generated rubrics. If this field is provided, it implies `include_rubric_type` should be true, and the generated rubric types should be chosen from this ontology. */
2447
+ rubricTypeOntology?: string[];
2448
+ }
2449
+ interface GoogleCloudAiplatformV1beta1EvaluationSet {
2450
+ /** Output only. Timestamp when this item was created. */
2451
+ createTime?: string;
2452
+ /** Required. The display name of the EvaluationSet. */
2453
+ displayName?: string;
2454
+ /** Required. The EvaluationItems that are part of this dataset. */
2455
+ evaluationItems?: string[];
2456
+ /** Optional. Metadata for the EvaluationSet. */
2457
+ metadata?: any;
2458
+ /** Identifier. The resource name of the EvaluationSet. Format: `projects/{project}/locations/{location}/evaluationSets/{evaluation_set}` */
2459
+ name?: string;
2460
+ /** Output only. Timestamp when this item was last updated. */
2461
+ updateTime?: string;
2462
+ }
2132
2463
  interface GoogleCloudAiplatformV1beta1Event {
2133
2464
  /** Required. The relative resource name of the Artifact in the Event. */
2134
2465
  artifact?: string;
@@ -3542,6 +3873,18 @@ declare namespace gapi.client {
3542
3873
  /** Output only. Traffic type. This shows whether a request consumes Pay-As-You-Go or Provisioned Throughput quota. */
3543
3874
  trafficType?: string;
3544
3875
  }
3876
+ interface GoogleCloudAiplatformV1beta1GenerateInstanceRubricsRequest {
3877
+ /** Required. The prompt to generate rubrics from. For single-turn queries, this is a single instance. For multi-turn queries, this is a repeated field that contains conversation history + latest request. */
3878
+ contents?: GoogleCloudAiplatformV1beta1Content[];
3879
+ /** Optional. Specification for using the rubric generation configs of a pre-defined metric, e.g. "generic_quality_v1" and "instruction_following_v1". Some of the configs may be only used in rubric generation and not supporting evaluation, e.g. "fully_customized_generic_quality_v1". If this field is set, the `rubric_generation_spec` field will be ignored. */
3880
+ predefinedRubricGenerationSpec?: GoogleCloudAiplatformV1beta1PredefinedMetricSpec;
3881
+ /** Optional. Specification for how the rubrics should be generated. */
3882
+ rubricGenerationSpec?: GoogleCloudAiplatformV1beta1RubricGenerationSpec;
3883
+ }
3884
+ interface GoogleCloudAiplatformV1beta1GenerateInstanceRubricsResponse {
3885
+ /** Output only. A list of generated rubrics. */
3886
+ generatedRubrics?: GoogleCloudAiplatformV1beta1Rubric[];
3887
+ }
3545
3888
  interface GoogleCloudAiplatformV1beta1GenerateMemoriesRequest {
3546
3889
  /** Defines a direct source of content as the source content from which to generate memories. */
3547
3890
  directContentsSource?: GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectContentsSource;
@@ -4301,6 +4644,24 @@ declare namespace gapi.client {
4301
4644
  /** A token, which can be sent as ListEntityTypesRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. */
4302
4645
  nextPageToken?: string;
4303
4646
  }
4647
+ interface GoogleCloudAiplatformV1beta1ListEvaluationItemsResponse {
4648
+ /** List of EvaluationItems in the requested page. */
4649
+ evaluationItems?: GoogleCloudAiplatformV1beta1EvaluationItem[];
4650
+ /** A token to retrieve the next page of results. */
4651
+ nextPageToken?: string;
4652
+ }
4653
+ interface GoogleCloudAiplatformV1beta1ListEvaluationRunsResponse {
4654
+ /** List of EvaluationRuns in the requested page. */
4655
+ evaluationRuns?: GoogleCloudAiplatformV1beta1EvaluationRun[];
4656
+ /** A token to retrieve the next page of results. */
4657
+ nextPageToken?: string;
4658
+ }
4659
+ interface GoogleCloudAiplatformV1beta1ListEvaluationSetsResponse {
4660
+ /** List of EvaluationSets in the requested page. */
4661
+ evaluationSets?: GoogleCloudAiplatformV1beta1EvaluationSet[];
4662
+ /** A token to retrieve the next page of results. */
4663
+ nextPageToken?: string;
4664
+ }
4304
4665
  interface GoogleCloudAiplatformV1beta1ListEventsResponse {
4305
4666
  /** A token, which can be sent as ListEventsRequest.page_token to retrieve the next page. Absence of this field indicates there are no subsequent pages. */
4306
4667
  nextPageToken?: string;
@@ -4632,6 +4993,8 @@ declare namespace gapi.client {
4632
4993
  acceleratorCount?: number;
4633
4994
  /** Immutable. The type of accelerator(s) that may be attached to the machine as per accelerator_count. */
4634
4995
  acceleratorType?: string;
4996
+ /** Optional. Immutable. The Nvidia GPU partition size. When specified, the requested accelerators will be partitioned into smaller GPU partitions. For example, if the request is for 8 units of NVIDIA A100 GPUs, and gpu_partition_size="1g.10gb", the service will create 8 * 7 = 56 partitioned MIG instances. The partition size must be a value supported by the requested accelerator. Refer to [Nvidia GPU Partitioning](https://cloud.google.com/kubernetes-engine/docs/how-to/gpus-multi#multi-instance_gpu_partitions) for the available partition sizes. If set, the accelerator_count should be set to 1. */
4997
+ gpuPartitionSize?: string;
4635
4998
  /** Immutable. The type of the machine. See the [list of machine types supported for prediction](https://cloud.google.com/vertex-ai/docs/predictions/configure-compute#machine-types) See the [list of machine types supported for custom training](https://cloud.google.com/vertex-ai/docs/training/configure-compute#machine-types). For DeployedModel this field is optional, and the default value is `n1-standard-2`. For BatchPredictionJob or as part of WorkerPoolSpec this field is required. */
4636
4999
  machineType?: string;
4637
5000
  /** Optional. Immutable. The number of nodes per replica for multihost GPU deployments. */
@@ -4778,9 +5141,19 @@ declare namespace gapi.client {
4778
5141
  pairwiseMetricSpec?: GoogleCloudAiplatformV1beta1PairwiseMetricSpec;
4779
5142
  /** Spec for pointwise metric. */
4780
5143
  pointwiseMetricSpec?: GoogleCloudAiplatformV1beta1PointwiseMetricSpec;
5144
+ /** The spec for a pre-defined metric. */
5145
+ predefinedMetricSpec?: GoogleCloudAiplatformV1beta1PredefinedMetricSpec;
4781
5146
  /** Spec for rouge metric. */
4782
5147
  rougeSpec?: GoogleCloudAiplatformV1beta1RougeSpec;
4783
5148
  }
5149
+ interface GoogleCloudAiplatformV1beta1MetricResult {
5150
+ /** The explanation for the metric result. */
5151
+ explanation?: string;
5152
+ /** For rubric-based metrics, the verdicts for each rubric. */
5153
+ rubricVerdicts?: GoogleCloudAiplatformV1beta1RubricVerdict[];
5154
+ /** The score for the metric. Please refer to each metric's documentation for the meaning of the score. */
5155
+ score?: number;
5156
+ }
4784
5157
  interface GoogleCloudAiplatformV1beta1MetricxInput {
4785
5158
  /** Required. Metricx instance. */
4786
5159
  instance?: GoogleCloudAiplatformV1beta1MetricxInstance;
@@ -6072,6 +6445,10 @@ declare namespace gapi.client {
6072
6445
  /** Optional. Optional, but recommended. Additional guidance specific to this field to provide targeted instructions for the LLM to generate the content of a single output field. While the LLM can sometimes infer content from the field name, providing explicit guidance is preferred. */
6073
6446
  guidance?: string;
6074
6447
  }
6448
+ interface GoogleCloudAiplatformV1beta1OutputInfo {
6449
+ /** Output only. The full path of the Cloud Storage directory created, into which the evaluation results and aggregation results are written. */
6450
+ gcsOutputDirectory?: string;
6451
+ }
6075
6452
  interface GoogleCloudAiplatformV1beta1PairwiseMetricInput {
6076
6453
  /** Required. Pairwise metric instance. */
6077
6454
  instance?: GoogleCloudAiplatformV1beta1PairwiseMetricInstance;
@@ -6474,6 +6851,12 @@ declare namespace gapi.client {
6474
6851
  /** The name of the preset voice to use. */
6475
6852
  voiceName?: string;
6476
6853
  }
6854
+ interface GoogleCloudAiplatformV1beta1PredefinedMetricSpec {
6855
+ /** Required. The name of a pre-defined metric, such as "instruction_following_v1" or "text_quality_v1". */
6856
+ metricSpecName?: string;
6857
+ /** Optional. The parameters needed to run the pre-defined metric. */
6858
+ metricSpecParameters?: {[P in string]: any};
6859
+ }
6477
6860
  interface GoogleCloudAiplatformV1beta1PredefinedSplit {
6478
6861
  /** Required. The key is a name of one of the Dataset's data columns. The value of the key (either the label's value or value in the column) must be one of {`training`, `validation`, `test`}, and it defines to which set the given piece of data is assigned. If for a piece of data the key is not present or has an invalid value, that piece is ignored by the pipeline. */
6479
6862
  key?: string;
@@ -7530,7 +7913,7 @@ declare namespace gapi.client {
7530
7913
  createTtl?: string;
7531
7914
  /** Optional. The TTL duration for memories newly generated via GenerateMemories (GenerateMemoriesResponse.GeneratedMemory.Action.CREATED). */
7532
7915
  generateCreatedTtl?: string;
7533
- /** Optional. The TTL duration for memories updated via GenerateMemories (GenerateMemoriesResponse.GeneratedMemory.Action.CREATED). In the case of an UPDATE action, the `expire_time` of the existing memory will be updated to the new value (now + TTL). */
7916
+ /** Optional. The TTL duration for memories updated via GenerateMemories (GenerateMemoriesResponse.GeneratedMemory.Action.UPDATED). In the case of an UPDATE action, the `expire_time` of the existing memory will be updated to the new value (now + TTL). */
7534
7917
  generateUpdatedTtl?: string;
7535
7918
  }
7536
7919
  interface GoogleCloudAiplatformV1beta1ReasoningEngineSpec {
@@ -7546,6 +7929,8 @@ declare namespace gapi.client {
7546
7929
  serviceAccount?: string;
7547
7930
  }
7548
7931
  interface GoogleCloudAiplatformV1beta1ReasoningEngineSpecDeploymentSpec {
7932
+ /** The agent server mode. */
7933
+ agentServerMode?: string;
7549
7934
  /** Optional. Concurrency for each container and agent server. Recommended value: 2 * cpu + 1. Defaults to 9. */
7550
7935
  containerConcurrency?: number;
7551
7936
  /** Optional. Environment variables to be set with the Reasoning Engine deployment. The environment variables can be updated through the UpdateReasoningEngine API. */
@@ -7834,6 +8219,16 @@ declare namespace gapi.client {
7834
8219
  /** Optional. Whether to use stemmer to compute rouge score. */
7835
8220
  useStemmer?: boolean;
7836
8221
  }
8222
+ interface GoogleCloudAiplatformV1beta1Rubric {
8223
+ /** Required. The actual testable criteria for the rubric. */
8224
+ content?: GoogleCloudAiplatformV1beta1RubricContent;
8225
+ /** Optional. The relative importance of this rubric. */
8226
+ importance?: string;
8227
+ /** Unique identifier for the rubric. This ID is used to refer to this rubric, e.g., in RubricVerdict. */
8228
+ rubricId?: string;
8229
+ /** Optional. A type designator for the rubric, which can inform how it's evaluated or interpreted by systems or users. It's recommended to use consistent, well-defined, upper snake_case strings. Examples: "SUMMARIZATION_QUALITY", "SAFETY_HARMFUL_CONTENT", "INSTRUCTION_ADHERENCE". */
8230
+ type?: string;
8231
+ }
7837
8232
  interface GoogleCloudAiplatformV1beta1RubricBasedInstructionFollowingInput {
7838
8233
  /** Required. Instance for RubricBasedInstructionFollowing metric. */
7839
8234
  instance?: GoogleCloudAiplatformV1beta1RubricBasedInstructionFollowingInstance;
@@ -7851,12 +8246,46 @@ declare namespace gapi.client {
7851
8246
  score?: number;
7852
8247
  }
7853
8248
  interface GoogleCloudAiplatformV1beta1RubricBasedInstructionFollowingSpec {}
8249
+ interface GoogleCloudAiplatformV1beta1RubricContent {
8250
+ /** Evaluation criteria based on a specific property. */
8251
+ property?: GoogleCloudAiplatformV1beta1RubricContentProperty;
8252
+ }
8253
+ interface GoogleCloudAiplatformV1beta1RubricContentProperty {
8254
+ /** Description of the property being evaluated. Example: "The model's response is grammatically correct." */
8255
+ description?: string;
8256
+ }
7854
8257
  interface GoogleCloudAiplatformV1beta1RubricCritiqueResult {
7855
8258
  /** Output only. Rubric to be evaluated. */
7856
8259
  rubric?: string;
7857
8260
  /** Output only. Verdict for the rubric - true if the rubric is met, false otherwise. */
7858
8261
  verdict?: boolean;
7859
8262
  }
8263
+ interface GoogleCloudAiplatformV1beta1RubricGenerationSpec {
8264
+ /** Configuration for the model used in rubric generation. Configs including sampling count and base model can be specified here. Flipping is not supported for rubric generation. */
8265
+ modelConfig?: GoogleCloudAiplatformV1beta1AutoraterConfig;
8266
+ /** Template for the prompt used to generate rubrics. The details should be updated based on the most-recent recipe requirements. */
8267
+ promptTemplate?: string;
8268
+ /** The type of rubric content to be generated. */
8269
+ rubricContentType?: string;
8270
+ /** Optional. An optional, pre-defined list of allowed types for generated rubrics. If this field is provided, it implies `include_rubric_type` should be true, and the generated rubric types should be chosen from this ontology. */
8271
+ rubricTypeOntology?: string[];
8272
+ }
8273
+ interface GoogleCloudAiplatformV1beta1RubricGroup {
8274
+ /** Human-readable name for the group. This should be unique within a given context if used for display or selection. Example: "Instruction Following V1", "Content Quality - Summarization Task". */
8275
+ displayName?: string;
8276
+ /** Unique identifier for the group. */
8277
+ groupId?: string;
8278
+ /** Rubrics that are part of this group. */
8279
+ rubrics?: GoogleCloudAiplatformV1beta1Rubric[];
8280
+ }
8281
+ interface GoogleCloudAiplatformV1beta1RubricVerdict {
8282
+ /** Required. The full rubric definition that was evaluated. Storing this ensures the verdict is self-contained and understandable, especially if the original rubric definition changes or was dynamically generated. */
8283
+ evaluatedRubric?: GoogleCloudAiplatformV1beta1Rubric;
8284
+ /** Optional. Human-readable reasoning or explanation for the verdict. This can include specific examples or details from the evaluated content that justify the given verdict. */
8285
+ reasoning?: string;
8286
+ /** Required. Outcome of the evaluation against the rubric, represented as a boolean. `true` indicates a "Pass", `false` indicates a "Fail". */
8287
+ verdict?: boolean;
8288
+ }
7860
8289
  interface GoogleCloudAiplatformV1beta1RuntimeArtifact {
7861
8290
  /** The custom properties of the artifact. Deprecated. Use RuntimeArtifact.metadata instead. */
7862
8291
  customProperties?: {[P in string]: GoogleCloudAiplatformV1beta1Value};
@@ -10260,6 +10689,14 @@ declare namespace gapi.client {
10260
10689
  /** Optional. Which version to use for evaluation. */
10261
10690
  version?: number;
10262
10691
  }
10692
+ interface GoogleCloudAiplatformV1beta1SummaryMetrics {
10693
+ /** Optional. The number of items that failed to be evaluated. */
10694
+ failedItems?: number;
10695
+ /** Optional. Map of metric name to metric value. */
10696
+ metrics?: {[P in string]: any};
10697
+ /** Optional. The total number of items that were evaluated. */
10698
+ totalItems?: number;
10699
+ }
10263
10700
  interface GoogleCloudAiplatformV1beta1SupervisedHyperParameters {
10264
10701
  /** Optional. Adapter size for tuning. */
10265
10702
  adapterSize?: string;
@@ -17758,11 +18195,8 @@ declare namespace gapi.client {
17758
18195
  }): Request<GoogleLongrunningOperation>;
17759
18196
  }
17760
18197
  interface EvaluationItemsResource {
17761
- operations: OperationsResource;
17762
- }
17763
- interface OperationsResource {
17764
- /** 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 this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */
17765
- delete(request?: {
18198
+ /** Creates an Evaluation Item. */
18199
+ create(request: {
17766
18200
  /** V1 error format. */
17767
18201
  '$.xgafv'?: string;
17768
18202
  /** OAuth access token. */
@@ -17775,10 +18209,10 @@ declare namespace gapi.client {
17775
18209
  fields?: string;
17776
18210
  /** 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. */
17777
18211
  key?: string;
17778
- /** The name of the operation resource to be deleted. */
17779
- name: string;
17780
18212
  /** OAuth 2.0 token for the current user. */
17781
18213
  oauth_token?: string;
18214
+ /** Required. The resource name of the Location to create the Evaluation Item in. Format: `projects/{project}/locations/{location}` */
18215
+ parent: string;
17782
18216
  /** Returns response with indentations and line breaks. */
17783
18217
  prettyPrint?: boolean;
17784
18218
  /** 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. */
@@ -17787,9 +18221,40 @@ declare namespace gapi.client {
17787
18221
  upload_protocol?: string;
17788
18222
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
17789
18223
  uploadType?: string;
17790
- }): Request<{}>;
17791
- /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
17792
- get(request?: {
18224
+ /** Request body */
18225
+ resource: GoogleCloudAiplatformV1beta1EvaluationItem;
18226
+ }): Request<GoogleCloudAiplatformV1beta1EvaluationItem>;
18227
+ create(
18228
+ request: {
18229
+ /** V1 error format. */
18230
+ '$.xgafv'?: string;
18231
+ /** OAuth access token. */
18232
+ access_token?: string;
18233
+ /** Data format for response. */
18234
+ alt?: string;
18235
+ /** JSONP */
18236
+ callback?: string;
18237
+ /** Selector specifying which fields to include in a partial response. */
18238
+ fields?: string;
18239
+ /** 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. */
18240
+ key?: string;
18241
+ /** OAuth 2.0 token for the current user. */
18242
+ oauth_token?: string;
18243
+ /** Required. The resource name of the Location to create the Evaluation Item in. Format: `projects/{project}/locations/{location}` */
18244
+ parent: string;
18245
+ /** Returns response with indentations and line breaks. */
18246
+ prettyPrint?: boolean;
18247
+ /** 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. */
18248
+ quotaUser?: string;
18249
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
18250
+ upload_protocol?: string;
18251
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
18252
+ uploadType?: string;
18253
+ },
18254
+ body: GoogleCloudAiplatformV1beta1EvaluationItem,
18255
+ ): Request<GoogleCloudAiplatformV1beta1EvaluationItem>;
18256
+ /** Deletes an Evaluation Item. */
18257
+ delete(request?: {
17793
18258
  /** V1 error format. */
17794
18259
  '$.xgafv'?: string;
17795
18260
  /** OAuth access token. */
@@ -17802,7 +18267,7 @@ declare namespace gapi.client {
17802
18267
  fields?: string;
17803
18268
  /** 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. */
17804
18269
  key?: string;
17805
- /** The name of the operation resource. */
18270
+ /** Required. The name of the EvaluationItem resource to be deleted. Format: `projects/{project}/locations/{location}/evaluationItems/{evaluation_item}` */
17806
18271
  name: string;
17807
18272
  /** OAuth 2.0 token for the current user. */
17808
18273
  oauth_token?: string;
@@ -17815,8 +18280,8 @@ declare namespace gapi.client {
17815
18280
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
17816
18281
  uploadType?: string;
17817
18282
  }): Request<GoogleLongrunningOperation>;
17818
- /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
17819
- list(request?: {
18283
+ /** Gets an Evaluation Item. */
18284
+ get(request?: {
17820
18285
  /** V1 error format. */
17821
18286
  '$.xgafv'?: string;
17822
18287
  /** OAuth access token. */
@@ -17827,18 +18292,12 @@ declare namespace gapi.client {
17827
18292
  callback?: string;
17828
18293
  /** Selector specifying which fields to include in a partial response. */
17829
18294
  fields?: string;
17830
- /** The standard list filter. */
17831
- filter?: string;
17832
18295
  /** 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. */
17833
18296
  key?: string;
17834
- /** The name of the operation's parent resource. */
18297
+ /** Required. The name of the EvaluationItem resource. Format: `projects/{project}/locations/{location}/evaluationItems/{evaluation_item}` */
17835
18298
  name: string;
17836
18299
  /** OAuth 2.0 token for the current user. */
17837
18300
  oauth_token?: string;
17838
- /** The standard list page size. */
17839
- pageSize?: number;
17840
- /** The standard list page token. */
17841
- pageToken?: string;
17842
18301
  /** Returns response with indentations and line breaks. */
17843
18302
  prettyPrint?: boolean;
17844
18303
  /** 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. */
@@ -17847,9 +18306,9 @@ declare namespace gapi.client {
17847
18306
  upload_protocol?: string;
17848
18307
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
17849
18308
  uploadType?: string;
17850
- }): Request<GoogleLongrunningListOperationsResponse>;
17851
- /** Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done. */
17852
- wait(request?: {
18309
+ }): Request<GoogleCloudAiplatformV1beta1EvaluationItem>;
18310
+ /** Lists Evaluation Items. */
18311
+ list(request?: {
17853
18312
  /** V1 error format. */
17854
18313
  '$.xgafv'?: string;
17855
18314
  /** OAuth access token. */
@@ -17860,25 +18319,29 @@ declare namespace gapi.client {
17860
18319
  callback?: string;
17861
18320
  /** Selector specifying which fields to include in a partial response. */
17862
18321
  fields?: string;
18322
+ /** Optional. Filter expression that matches a subset of the EvaluationItems to show. For field names both snake_case and camelCase are supported. For more information about filter syntax, see [AIP-160](https://google.aip.dev/160). */
18323
+ filter?: string;
17863
18324
  /** 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. */
17864
18325
  key?: string;
17865
- /** The name of the operation resource to wait on. */
17866
- name: string;
17867
18326
  /** OAuth 2.0 token for the current user. */
17868
18327
  oauth_token?: string;
18328
+ /** Optional. A comma-separated list of fields to order by, sorted in ascending order by default. Use `desc` after a field name for descending. */
18329
+ orderBy?: string;
18330
+ /** Optional. The maximum number of Evaluation Items to return. */
18331
+ pageSize?: number;
18332
+ /** Optional. A page token, received from a previous `ListEvaluationItems` call. Provide this to retrieve the subsequent page. */
18333
+ pageToken?: string;
18334
+ /** Required. The resource name of the Location from which to list the Evaluation Items. Format: `projects/{project}/locations/{location}` */
18335
+ parent: string;
17869
18336
  /** Returns response with indentations and line breaks. */
17870
18337
  prettyPrint?: boolean;
17871
18338
  /** 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. */
17872
18339
  quotaUser?: string;
17873
- /** The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used. */
17874
- timeout?: string;
17875
18340
  /** Upload protocol for media (e.g. "raw", "multipart"). */
17876
18341
  upload_protocol?: string;
17877
18342
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
17878
18343
  uploadType?: string;
17879
- }): Request<GoogleLongrunningOperation>;
17880
- }
17881
- interface EvaluationRunsResource {
18344
+ }): Request<GoogleCloudAiplatformV1beta1ListEvaluationItemsResponse>;
17882
18345
  operations: OperationsResource;
17883
18346
  }
17884
18347
  interface OperationsResource {
@@ -17999,12 +18462,9 @@ declare namespace gapi.client {
17999
18462
  uploadType?: string;
18000
18463
  }): Request<GoogleLongrunningOperation>;
18001
18464
  }
18002
- interface EvaluationSetsResource {
18003
- operations: OperationsResource;
18004
- }
18005
- interface OperationsResource {
18006
- /** 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 this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */
18007
- delete(request?: {
18465
+ interface EvaluationRunsResource {
18466
+ /** Cancels an Evaluation Run. Attempts to cancel a running Evaluation Run asynchronously. Status of run can be checked via GetEvaluationRun. */
18467
+ cancel(request: {
18008
18468
  /** V1 error format. */
18009
18469
  '$.xgafv'?: string;
18010
18470
  /** OAuth access token. */
@@ -18017,7 +18477,7 @@ declare namespace gapi.client {
18017
18477
  fields?: string;
18018
18478
  /** 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. */
18019
18479
  key?: string;
18020
- /** The name of the operation resource to be deleted. */
18480
+ /** Required. The name of the EvaluationRun resource to be cancelled. Format: `projects/{project}/locations/{location}/evaluationRuns/{evaluation_run}` */
18021
18481
  name: string;
18022
18482
  /** OAuth 2.0 token for the current user. */
18023
18483
  oauth_token?: string;
@@ -18029,9 +18489,40 @@ declare namespace gapi.client {
18029
18489
  upload_protocol?: string;
18030
18490
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
18031
18491
  uploadType?: string;
18492
+ /** Request body */
18493
+ resource: GoogleCloudAiplatformV1beta1CancelEvaluationRunRequest;
18032
18494
  }): Request<{}>;
18033
- /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
18034
- get(request?: {
18495
+ cancel(
18496
+ request: {
18497
+ /** V1 error format. */
18498
+ '$.xgafv'?: string;
18499
+ /** OAuth access token. */
18500
+ access_token?: string;
18501
+ /** Data format for response. */
18502
+ alt?: string;
18503
+ /** JSONP */
18504
+ callback?: string;
18505
+ /** Selector specifying which fields to include in a partial response. */
18506
+ fields?: string;
18507
+ /** 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. */
18508
+ key?: string;
18509
+ /** Required. The name of the EvaluationRun resource to be cancelled. Format: `projects/{project}/locations/{location}/evaluationRuns/{evaluation_run}` */
18510
+ name: string;
18511
+ /** OAuth 2.0 token for the current user. */
18512
+ oauth_token?: string;
18513
+ /** Returns response with indentations and line breaks. */
18514
+ prettyPrint?: boolean;
18515
+ /** 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. */
18516
+ quotaUser?: string;
18517
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
18518
+ upload_protocol?: string;
18519
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
18520
+ uploadType?: string;
18521
+ },
18522
+ body: GoogleCloudAiplatformV1beta1CancelEvaluationRunRequest,
18523
+ ): Request<{}>;
18524
+ /** Creates an Evaluation Run. */
18525
+ create(request: {
18035
18526
  /** V1 error format. */
18036
18527
  '$.xgafv'?: string;
18037
18528
  /** OAuth access token. */
@@ -18044,10 +18535,10 @@ declare namespace gapi.client {
18044
18535
  fields?: string;
18045
18536
  /** 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. */
18046
18537
  key?: string;
18047
- /** The name of the operation resource. */
18048
- name: string;
18049
18538
  /** OAuth 2.0 token for the current user. */
18050
18539
  oauth_token?: string;
18540
+ /** Required. The resource name of the Location to create the Evaluation Run in. Format: `projects/{project}/locations/{location}` */
18541
+ parent: string;
18051
18542
  /** Returns response with indentations and line breaks. */
18052
18543
  prettyPrint?: boolean;
18053
18544
  /** 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. */
@@ -18056,9 +18547,40 @@ declare namespace gapi.client {
18056
18547
  upload_protocol?: string;
18057
18548
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
18058
18549
  uploadType?: string;
18059
- }): Request<GoogleLongrunningOperation>;
18060
- /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
18061
- list(request?: {
18550
+ /** Request body */
18551
+ resource: GoogleCloudAiplatformV1beta1EvaluationRun;
18552
+ }): Request<GoogleCloudAiplatformV1beta1EvaluationRun>;
18553
+ create(
18554
+ request: {
18555
+ /** V1 error format. */
18556
+ '$.xgafv'?: string;
18557
+ /** OAuth access token. */
18558
+ access_token?: string;
18559
+ /** Data format for response. */
18560
+ alt?: string;
18561
+ /** JSONP */
18562
+ callback?: string;
18563
+ /** Selector specifying which fields to include in a partial response. */
18564
+ fields?: string;
18565
+ /** 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. */
18566
+ key?: string;
18567
+ /** OAuth 2.0 token for the current user. */
18568
+ oauth_token?: string;
18569
+ /** Required. The resource name of the Location to create the Evaluation Run in. Format: `projects/{project}/locations/{location}` */
18570
+ parent: string;
18571
+ /** Returns response with indentations and line breaks. */
18572
+ prettyPrint?: boolean;
18573
+ /** 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. */
18574
+ quotaUser?: string;
18575
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
18576
+ upload_protocol?: string;
18577
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
18578
+ uploadType?: string;
18579
+ },
18580
+ body: GoogleCloudAiplatformV1beta1EvaluationRun,
18581
+ ): Request<GoogleCloudAiplatformV1beta1EvaluationRun>;
18582
+ /** Deletes an Evaluation Run. */
18583
+ delete(request?: {
18062
18584
  /** V1 error format. */
18063
18585
  '$.xgafv'?: string;
18064
18586
  /** OAuth access token. */
@@ -18069,18 +18591,12 @@ declare namespace gapi.client {
18069
18591
  callback?: string;
18070
18592
  /** Selector specifying which fields to include in a partial response. */
18071
18593
  fields?: string;
18072
- /** The standard list filter. */
18073
- filter?: string;
18074
18594
  /** 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. */
18075
18595
  key?: string;
18076
- /** The name of the operation's parent resource. */
18596
+ /** Required. The name of the EvaluationRun resource to be deleted. Format: `projects/{project}/locations/{location}/evaluationRuns/{evaluation_run}` */
18077
18597
  name: string;
18078
18598
  /** OAuth 2.0 token for the current user. */
18079
18599
  oauth_token?: string;
18080
- /** The standard list page size. */
18081
- pageSize?: number;
18082
- /** The standard list page token. */
18083
- pageToken?: string;
18084
18600
  /** Returns response with indentations and line breaks. */
18085
18601
  prettyPrint?: boolean;
18086
18602
  /** 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. */
@@ -18089,9 +18605,9 @@ declare namespace gapi.client {
18089
18605
  upload_protocol?: string;
18090
18606
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
18091
18607
  uploadType?: string;
18092
- }): Request<GoogleLongrunningListOperationsResponse>;
18093
- /** Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done. */
18094
- wait(request?: {
18608
+ }): Request<GoogleLongrunningOperation>;
18609
+ /** Gets an Evaluation Run. */
18610
+ get(request?: {
18095
18611
  /** V1 error format. */
18096
18612
  '$.xgafv'?: string;
18097
18613
  /** OAuth access token. */
@@ -18104,7 +18620,7 @@ declare namespace gapi.client {
18104
18620
  fields?: string;
18105
18621
  /** 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. */
18106
18622
  key?: string;
18107
- /** The name of the operation resource to wait on. */
18623
+ /** Required. The name of the EvaluationRun resource. Format: `projects/{project}/locations/{location}/evaluationRuns/{evaluation_run}` */
18108
18624
  name: string;
18109
18625
  /** OAuth 2.0 token for the current user. */
18110
18626
  oauth_token?: string;
@@ -18112,20 +18628,13 @@ declare namespace gapi.client {
18112
18628
  prettyPrint?: boolean;
18113
18629
  /** 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. */
18114
18630
  quotaUser?: string;
18115
- /** The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used. */
18116
- timeout?: string;
18117
18631
  /** Upload protocol for media (e.g. "raw", "multipart"). */
18118
18632
  upload_protocol?: string;
18119
18633
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
18120
18634
  uploadType?: string;
18121
- }): Request<GoogleLongrunningOperation>;
18122
- }
18123
- interface EvaluationTasksResource {
18124
- operations: OperationsResource;
18125
- }
18126
- interface OperationsResource {
18127
- /** 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 method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */
18128
- cancel(request?: {
18635
+ }): Request<GoogleCloudAiplatformV1beta1EvaluationRun>;
18636
+ /** Lists Evaluation Runs. */
18637
+ list(request?: {
18129
18638
  /** V1 error format. */
18130
18639
  '$.xgafv'?: string;
18131
18640
  /** OAuth access token. */
@@ -18136,12 +18645,20 @@ declare namespace gapi.client {
18136
18645
  callback?: string;
18137
18646
  /** Selector specifying which fields to include in a partial response. */
18138
18647
  fields?: string;
18648
+ /** Optional. Filter expression that matches a subset of the EvaluationRuns to show. For field names both snake_case and camelCase are supported. For more information about filter syntax, see [AIP-160](https://google.aip.dev/160). */
18649
+ filter?: string;
18139
18650
  /** 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. */
18140
18651
  key?: string;
18141
- /** The name of the operation resource to be cancelled. */
18142
- name: string;
18143
18652
  /** OAuth 2.0 token for the current user. */
18144
18653
  oauth_token?: string;
18654
+ /** Optional. A comma-separated list of fields to order by, sorted in ascending order by default. Use `desc` after a field name for descending. */
18655
+ orderBy?: string;
18656
+ /** Optional. The maximum number of Evaluation Runs to return. */
18657
+ pageSize?: number;
18658
+ /** Optional. A page token, received from a previous `ListEvaluationRuns` call. Provide this to retrieve the subsequent page. */
18659
+ pageToken?: string;
18660
+ /** Required. The resource name of the Location from which to list the Evaluation Runs. Format: `projects/{project}/locations/{location}` */
18661
+ parent: string;
18145
18662
  /** Returns response with indentations and line breaks. */
18146
18663
  prettyPrint?: boolean;
18147
18664
  /** 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. */
@@ -18150,7 +18667,488 @@ declare namespace gapi.client {
18150
18667
  upload_protocol?: string;
18151
18668
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
18152
18669
  uploadType?: string;
18153
- }): Request<{}>;
18670
+ }): Request<GoogleCloudAiplatformV1beta1ListEvaluationRunsResponse>;
18671
+ operations: OperationsResource;
18672
+ }
18673
+ interface OperationsResource {
18674
+ /** 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 this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */
18675
+ delete(request?: {
18676
+ /** V1 error format. */
18677
+ '$.xgafv'?: string;
18678
+ /** OAuth access token. */
18679
+ access_token?: string;
18680
+ /** Data format for response. */
18681
+ alt?: string;
18682
+ /** JSONP */
18683
+ callback?: string;
18684
+ /** Selector specifying which fields to include in a partial response. */
18685
+ fields?: string;
18686
+ /** 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. */
18687
+ key?: string;
18688
+ /** The name of the operation resource to be deleted. */
18689
+ name: string;
18690
+ /** OAuth 2.0 token for the current user. */
18691
+ oauth_token?: string;
18692
+ /** Returns response with indentations and line breaks. */
18693
+ prettyPrint?: boolean;
18694
+ /** 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. */
18695
+ quotaUser?: string;
18696
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
18697
+ upload_protocol?: string;
18698
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
18699
+ uploadType?: string;
18700
+ }): Request<{}>;
18701
+ /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
18702
+ get(request?: {
18703
+ /** V1 error format. */
18704
+ '$.xgafv'?: string;
18705
+ /** OAuth access token. */
18706
+ access_token?: string;
18707
+ /** Data format for response. */
18708
+ alt?: string;
18709
+ /** JSONP */
18710
+ callback?: string;
18711
+ /** Selector specifying which fields to include in a partial response. */
18712
+ fields?: string;
18713
+ /** 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. */
18714
+ key?: string;
18715
+ /** The name of the operation resource. */
18716
+ name: string;
18717
+ /** OAuth 2.0 token for the current user. */
18718
+ oauth_token?: string;
18719
+ /** Returns response with indentations and line breaks. */
18720
+ prettyPrint?: boolean;
18721
+ /** 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. */
18722
+ quotaUser?: string;
18723
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
18724
+ upload_protocol?: string;
18725
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
18726
+ uploadType?: string;
18727
+ }): Request<GoogleLongrunningOperation>;
18728
+ /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
18729
+ list(request?: {
18730
+ /** V1 error format. */
18731
+ '$.xgafv'?: string;
18732
+ /** OAuth access token. */
18733
+ access_token?: string;
18734
+ /** Data format for response. */
18735
+ alt?: string;
18736
+ /** JSONP */
18737
+ callback?: string;
18738
+ /** Selector specifying which fields to include in a partial response. */
18739
+ fields?: string;
18740
+ /** The standard list filter. */
18741
+ filter?: string;
18742
+ /** 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. */
18743
+ key?: string;
18744
+ /** The name of the operation's parent resource. */
18745
+ name: string;
18746
+ /** OAuth 2.0 token for the current user. */
18747
+ oauth_token?: string;
18748
+ /** The standard list page size. */
18749
+ pageSize?: number;
18750
+ /** The standard list page token. */
18751
+ pageToken?: string;
18752
+ /** Returns response with indentations and line breaks. */
18753
+ prettyPrint?: boolean;
18754
+ /** 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. */
18755
+ quotaUser?: string;
18756
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
18757
+ upload_protocol?: string;
18758
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
18759
+ uploadType?: string;
18760
+ }): Request<GoogleLongrunningListOperationsResponse>;
18761
+ /** Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done. */
18762
+ wait(request?: {
18763
+ /** V1 error format. */
18764
+ '$.xgafv'?: string;
18765
+ /** OAuth access token. */
18766
+ access_token?: string;
18767
+ /** Data format for response. */
18768
+ alt?: string;
18769
+ /** JSONP */
18770
+ callback?: string;
18771
+ /** Selector specifying which fields to include in a partial response. */
18772
+ fields?: string;
18773
+ /** 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. */
18774
+ key?: string;
18775
+ /** The name of the operation resource to wait on. */
18776
+ name: string;
18777
+ /** OAuth 2.0 token for the current user. */
18778
+ oauth_token?: string;
18779
+ /** Returns response with indentations and line breaks. */
18780
+ prettyPrint?: boolean;
18781
+ /** 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. */
18782
+ quotaUser?: string;
18783
+ /** The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used. */
18784
+ timeout?: string;
18785
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
18786
+ upload_protocol?: string;
18787
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
18788
+ uploadType?: string;
18789
+ }): Request<GoogleLongrunningOperation>;
18790
+ }
18791
+ interface EvaluationSetsResource {
18792
+ /** Creates an Evaluation Set. */
18793
+ create(request: {
18794
+ /** V1 error format. */
18795
+ '$.xgafv'?: string;
18796
+ /** OAuth access token. */
18797
+ access_token?: string;
18798
+ /** Data format for response. */
18799
+ alt?: string;
18800
+ /** JSONP */
18801
+ callback?: string;
18802
+ /** Selector specifying which fields to include in a partial response. */
18803
+ fields?: string;
18804
+ /** 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. */
18805
+ key?: string;
18806
+ /** OAuth 2.0 token for the current user. */
18807
+ oauth_token?: string;
18808
+ /** Required. The resource name of the Location to create the Evaluation Set in. Format: `projects/{project}/locations/{location}` */
18809
+ parent: string;
18810
+ /** Returns response with indentations and line breaks. */
18811
+ prettyPrint?: boolean;
18812
+ /** 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. */
18813
+ quotaUser?: string;
18814
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
18815
+ upload_protocol?: string;
18816
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
18817
+ uploadType?: string;
18818
+ /** Request body */
18819
+ resource: GoogleCloudAiplatformV1beta1EvaluationSet;
18820
+ }): Request<GoogleCloudAiplatformV1beta1EvaluationSet>;
18821
+ create(
18822
+ request: {
18823
+ /** V1 error format. */
18824
+ '$.xgafv'?: string;
18825
+ /** OAuth access token. */
18826
+ access_token?: string;
18827
+ /** Data format for response. */
18828
+ alt?: string;
18829
+ /** JSONP */
18830
+ callback?: string;
18831
+ /** Selector specifying which fields to include in a partial response. */
18832
+ fields?: string;
18833
+ /** 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. */
18834
+ key?: string;
18835
+ /** OAuth 2.0 token for the current user. */
18836
+ oauth_token?: string;
18837
+ /** Required. The resource name of the Location to create the Evaluation Set in. Format: `projects/{project}/locations/{location}` */
18838
+ parent: string;
18839
+ /** Returns response with indentations and line breaks. */
18840
+ prettyPrint?: boolean;
18841
+ /** 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. */
18842
+ quotaUser?: string;
18843
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
18844
+ upload_protocol?: string;
18845
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
18846
+ uploadType?: string;
18847
+ },
18848
+ body: GoogleCloudAiplatformV1beta1EvaluationSet,
18849
+ ): Request<GoogleCloudAiplatformV1beta1EvaluationSet>;
18850
+ /** Deletes an Evaluation Set. */
18851
+ delete(request?: {
18852
+ /** V1 error format. */
18853
+ '$.xgafv'?: string;
18854
+ /** OAuth access token. */
18855
+ access_token?: string;
18856
+ /** Data format for response. */
18857
+ alt?: string;
18858
+ /** JSONP */
18859
+ callback?: string;
18860
+ /** Selector specifying which fields to include in a partial response. */
18861
+ fields?: string;
18862
+ /** 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. */
18863
+ key?: string;
18864
+ /** Required. The name of the EvaluationSet resource to be deleted. Format: `projects/{project}/locations/{location}/evaluationSets/{evaluation_set}` */
18865
+ name: string;
18866
+ /** OAuth 2.0 token for the current user. */
18867
+ oauth_token?: string;
18868
+ /** Returns response with indentations and line breaks. */
18869
+ prettyPrint?: boolean;
18870
+ /** 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. */
18871
+ quotaUser?: string;
18872
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
18873
+ upload_protocol?: string;
18874
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
18875
+ uploadType?: string;
18876
+ }): Request<GoogleLongrunningOperation>;
18877
+ /** Gets an Evaluation Set. */
18878
+ get(request?: {
18879
+ /** V1 error format. */
18880
+ '$.xgafv'?: string;
18881
+ /** OAuth access token. */
18882
+ access_token?: string;
18883
+ /** Data format for response. */
18884
+ alt?: string;
18885
+ /** JSONP */
18886
+ callback?: string;
18887
+ /** Selector specifying which fields to include in a partial response. */
18888
+ fields?: string;
18889
+ /** 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. */
18890
+ key?: string;
18891
+ /** Required. The name of the EvaluationSet resource. Format: `projects/{project}/locations/{location}/evaluationSets/{evaluation_set}` */
18892
+ name: string;
18893
+ /** OAuth 2.0 token for the current user. */
18894
+ oauth_token?: string;
18895
+ /** Returns response with indentations and line breaks. */
18896
+ prettyPrint?: boolean;
18897
+ /** 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. */
18898
+ quotaUser?: string;
18899
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
18900
+ upload_protocol?: string;
18901
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
18902
+ uploadType?: string;
18903
+ }): Request<GoogleCloudAiplatformV1beta1EvaluationSet>;
18904
+ /** Lists Evaluation Sets. */
18905
+ list(request?: {
18906
+ /** V1 error format. */
18907
+ '$.xgafv'?: string;
18908
+ /** OAuth access token. */
18909
+ access_token?: string;
18910
+ /** Data format for response. */
18911
+ alt?: string;
18912
+ /** JSONP */
18913
+ callback?: string;
18914
+ /** Selector specifying which fields to include in a partial response. */
18915
+ fields?: string;
18916
+ /** Optional. Filter expression that matches a subset of the EvaluationSets to show. For field names both snake_case and camelCase are supported. For more information about filter syntax, see [AIP-160](https://google.aip.dev/160). */
18917
+ filter?: string;
18918
+ /** 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. */
18919
+ key?: string;
18920
+ /** OAuth 2.0 token for the current user. */
18921
+ oauth_token?: string;
18922
+ /** Optional. A comma-separated list of fields to order by, sorted in ascending order by default. Use `desc` after a field name for descending. */
18923
+ orderBy?: string;
18924
+ /** Optional. The maximum number of Evaluation Sets to return. */
18925
+ pageSize?: number;
18926
+ /** Optional. A page token, received from a previous `ListEvaluationSets` call. Provide this to retrieve the subsequent page. */
18927
+ pageToken?: string;
18928
+ /** Required. The resource name of the Location from which to list the Evaluation Sets. Format: `projects/{project}/locations/{location}` */
18929
+ parent: string;
18930
+ /** Returns response with indentations and line breaks. */
18931
+ prettyPrint?: boolean;
18932
+ /** 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. */
18933
+ quotaUser?: string;
18934
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
18935
+ upload_protocol?: string;
18936
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
18937
+ uploadType?: string;
18938
+ }): Request<GoogleCloudAiplatformV1beta1ListEvaluationSetsResponse>;
18939
+ /** Updates an Evaluation Set. */
18940
+ patch(request: {
18941
+ /** V1 error format. */
18942
+ '$.xgafv'?: string;
18943
+ /** OAuth access token. */
18944
+ access_token?: string;
18945
+ /** Data format for response. */
18946
+ alt?: string;
18947
+ /** JSONP */
18948
+ callback?: string;
18949
+ /** Selector specifying which fields to include in a partial response. */
18950
+ fields?: string;
18951
+ /** 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. */
18952
+ key?: string;
18953
+ /** Identifier. The resource name of the EvaluationSet. Format: `projects/{project}/locations/{location}/evaluationSets/{evaluation_set}` */
18954
+ name: string;
18955
+ /** OAuth 2.0 token for the current user. */
18956
+ oauth_token?: string;
18957
+ /** Returns response with indentations and line breaks. */
18958
+ prettyPrint?: boolean;
18959
+ /** 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. */
18960
+ quotaUser?: string;
18961
+ /** Optional. The update mask applies to the resource. For the `FieldMask` definition, see google.protobuf.FieldMask. */
18962
+ updateMask?: string;
18963
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
18964
+ upload_protocol?: string;
18965
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
18966
+ uploadType?: string;
18967
+ /** Request body */
18968
+ resource: GoogleCloudAiplatformV1beta1EvaluationSet;
18969
+ }): Request<GoogleCloudAiplatformV1beta1EvaluationSet>;
18970
+ patch(
18971
+ request: {
18972
+ /** V1 error format. */
18973
+ '$.xgafv'?: string;
18974
+ /** OAuth access token. */
18975
+ access_token?: string;
18976
+ /** Data format for response. */
18977
+ alt?: string;
18978
+ /** JSONP */
18979
+ callback?: string;
18980
+ /** Selector specifying which fields to include in a partial response. */
18981
+ fields?: string;
18982
+ /** 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. */
18983
+ key?: string;
18984
+ /** Identifier. The resource name of the EvaluationSet. Format: `projects/{project}/locations/{location}/evaluationSets/{evaluation_set}` */
18985
+ name: string;
18986
+ /** OAuth 2.0 token for the current user. */
18987
+ oauth_token?: string;
18988
+ /** Returns response with indentations and line breaks. */
18989
+ prettyPrint?: boolean;
18990
+ /** 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. */
18991
+ quotaUser?: string;
18992
+ /** Optional. The update mask applies to the resource. For the `FieldMask` definition, see google.protobuf.FieldMask. */
18993
+ updateMask?: string;
18994
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
18995
+ upload_protocol?: string;
18996
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
18997
+ uploadType?: string;
18998
+ },
18999
+ body: GoogleCloudAiplatformV1beta1EvaluationSet,
19000
+ ): Request<GoogleCloudAiplatformV1beta1EvaluationSet>;
19001
+ operations: OperationsResource;
19002
+ }
19003
+ interface OperationsResource {
19004
+ /** 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 this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */
19005
+ delete(request?: {
19006
+ /** V1 error format. */
19007
+ '$.xgafv'?: string;
19008
+ /** OAuth access token. */
19009
+ access_token?: string;
19010
+ /** Data format for response. */
19011
+ alt?: string;
19012
+ /** JSONP */
19013
+ callback?: string;
19014
+ /** Selector specifying which fields to include in a partial response. */
19015
+ fields?: string;
19016
+ /** 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. */
19017
+ key?: string;
19018
+ /** The name of the operation resource to be deleted. */
19019
+ name: string;
19020
+ /** OAuth 2.0 token for the current user. */
19021
+ oauth_token?: string;
19022
+ /** Returns response with indentations and line breaks. */
19023
+ prettyPrint?: boolean;
19024
+ /** 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. */
19025
+ quotaUser?: string;
19026
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
19027
+ upload_protocol?: string;
19028
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
19029
+ uploadType?: string;
19030
+ }): Request<{}>;
19031
+ /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
19032
+ get(request?: {
19033
+ /** V1 error format. */
19034
+ '$.xgafv'?: string;
19035
+ /** OAuth access token. */
19036
+ access_token?: string;
19037
+ /** Data format for response. */
19038
+ alt?: string;
19039
+ /** JSONP */
19040
+ callback?: string;
19041
+ /** Selector specifying which fields to include in a partial response. */
19042
+ fields?: string;
19043
+ /** 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. */
19044
+ key?: string;
19045
+ /** The name of the operation resource. */
19046
+ name: string;
19047
+ /** OAuth 2.0 token for the current user. */
19048
+ oauth_token?: string;
19049
+ /** Returns response with indentations and line breaks. */
19050
+ prettyPrint?: boolean;
19051
+ /** 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. */
19052
+ quotaUser?: string;
19053
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
19054
+ upload_protocol?: string;
19055
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
19056
+ uploadType?: string;
19057
+ }): Request<GoogleLongrunningOperation>;
19058
+ /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
19059
+ list(request?: {
19060
+ /** V1 error format. */
19061
+ '$.xgafv'?: string;
19062
+ /** OAuth access token. */
19063
+ access_token?: string;
19064
+ /** Data format for response. */
19065
+ alt?: string;
19066
+ /** JSONP */
19067
+ callback?: string;
19068
+ /** Selector specifying which fields to include in a partial response. */
19069
+ fields?: string;
19070
+ /** The standard list filter. */
19071
+ filter?: string;
19072
+ /** 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. */
19073
+ key?: string;
19074
+ /** The name of the operation's parent resource. */
19075
+ name: string;
19076
+ /** OAuth 2.0 token for the current user. */
19077
+ oauth_token?: string;
19078
+ /** The standard list page size. */
19079
+ pageSize?: number;
19080
+ /** The standard list page token. */
19081
+ pageToken?: string;
19082
+ /** Returns response with indentations and line breaks. */
19083
+ prettyPrint?: boolean;
19084
+ /** 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. */
19085
+ quotaUser?: string;
19086
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
19087
+ upload_protocol?: string;
19088
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
19089
+ uploadType?: string;
19090
+ }): Request<GoogleLongrunningListOperationsResponse>;
19091
+ /** Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done. */
19092
+ wait(request?: {
19093
+ /** V1 error format. */
19094
+ '$.xgafv'?: string;
19095
+ /** OAuth access token. */
19096
+ access_token?: string;
19097
+ /** Data format for response. */
19098
+ alt?: string;
19099
+ /** JSONP */
19100
+ callback?: string;
19101
+ /** Selector specifying which fields to include in a partial response. */
19102
+ fields?: string;
19103
+ /** 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. */
19104
+ key?: string;
19105
+ /** The name of the operation resource to wait on. */
19106
+ name: string;
19107
+ /** OAuth 2.0 token for the current user. */
19108
+ oauth_token?: string;
19109
+ /** Returns response with indentations and line breaks. */
19110
+ prettyPrint?: boolean;
19111
+ /** 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. */
19112
+ quotaUser?: string;
19113
+ /** The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used. */
19114
+ timeout?: string;
19115
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
19116
+ upload_protocol?: string;
19117
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
19118
+ uploadType?: string;
19119
+ }): Request<GoogleLongrunningOperation>;
19120
+ }
19121
+ interface EvaluationTasksResource {
19122
+ operations: OperationsResource;
19123
+ }
19124
+ interface OperationsResource {
19125
+ /** 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 method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */
19126
+ cancel(request?: {
19127
+ /** V1 error format. */
19128
+ '$.xgafv'?: string;
19129
+ /** OAuth access token. */
19130
+ access_token?: string;
19131
+ /** Data format for response. */
19132
+ alt?: string;
19133
+ /** JSONP */
19134
+ callback?: string;
19135
+ /** Selector specifying which fields to include in a partial response. */
19136
+ fields?: string;
19137
+ /** 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. */
19138
+ key?: string;
19139
+ /** The name of the operation resource to be cancelled. */
19140
+ name: string;
19141
+ /** OAuth 2.0 token for the current user. */
19142
+ oauth_token?: string;
19143
+ /** Returns response with indentations and line breaks. */
19144
+ prettyPrint?: boolean;
19145
+ /** 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. */
19146
+ quotaUser?: string;
19147
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
19148
+ upload_protocol?: string;
19149
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
19150
+ uploadType?: string;
19151
+ }): Request<{}>;
18154
19152
  /** 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 this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */
18155
19153
  delete(request?: {
18156
19154
  /** V1 error format. */
@@ -40724,6 +41722,64 @@ declare namespace gapi.client {
40724
41722
  },
40725
41723
  body: GoogleCloudAiplatformV1beta1EvaluateInstancesRequest,
40726
41724
  ): Request<GoogleCloudAiplatformV1beta1EvaluateInstancesResponse>;
41725
+ /** Generates rubrics for a given prompt. A rubric represents a single testable criterion for evaluation. One input prompt could have multiple rubrics This RPC allows users to get suggested rubrics based on provided prompt, which can then be reviewed and used for subsequent evaluations. */
41726
+ generateInstanceRubrics(request: {
41727
+ /** V1 error format. */
41728
+ '$.xgafv'?: string;
41729
+ /** OAuth access token. */
41730
+ access_token?: string;
41731
+ /** Data format for response. */
41732
+ alt?: string;
41733
+ /** JSONP */
41734
+ callback?: string;
41735
+ /** Selector specifying which fields to include in a partial response. */
41736
+ fields?: string;
41737
+ /** 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. */
41738
+ key?: string;
41739
+ /** Required. The resource name of the Location to generate rubrics from. Format: `projects/{project}/locations/{location}` */
41740
+ location: string;
41741
+ /** OAuth 2.0 token for the current user. */
41742
+ oauth_token?: string;
41743
+ /** Returns response with indentations and line breaks. */
41744
+ prettyPrint?: boolean;
41745
+ /** 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. */
41746
+ quotaUser?: string;
41747
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
41748
+ upload_protocol?: string;
41749
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
41750
+ uploadType?: string;
41751
+ /** Request body */
41752
+ resource: GoogleCloudAiplatformV1beta1GenerateInstanceRubricsRequest;
41753
+ }): Request<GoogleCloudAiplatformV1beta1GenerateInstanceRubricsResponse>;
41754
+ generateInstanceRubrics(
41755
+ request: {
41756
+ /** V1 error format. */
41757
+ '$.xgafv'?: string;
41758
+ /** OAuth access token. */
41759
+ access_token?: string;
41760
+ /** Data format for response. */
41761
+ alt?: string;
41762
+ /** JSONP */
41763
+ callback?: string;
41764
+ /** Selector specifying which fields to include in a partial response. */
41765
+ fields?: string;
41766
+ /** 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. */
41767
+ key?: string;
41768
+ /** Required. The resource name of the Location to generate rubrics from. Format: `projects/{project}/locations/{location}` */
41769
+ location: string;
41770
+ /** OAuth 2.0 token for the current user. */
41771
+ oauth_token?: string;
41772
+ /** Returns response with indentations and line breaks. */
41773
+ prettyPrint?: boolean;
41774
+ /** 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. */
41775
+ quotaUser?: string;
41776
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
41777
+ upload_protocol?: string;
41778
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
41779
+ uploadType?: string;
41780
+ },
41781
+ body: GoogleCloudAiplatformV1beta1GenerateInstanceRubricsRequest,
41782
+ ): Request<GoogleCloudAiplatformV1beta1GenerateInstanceRubricsResponse>;
40727
41783
  /** Generates synthetic data based on the provided configuration. */
40728
41784
  generateSyntheticData(request: {
40729
41785
  /** V1 error format. */
@@ -40846,7 +41902,7 @@ declare namespace gapi.client {
40846
41902
  alt?: string;
40847
41903
  /** JSONP */
40848
41904
  callback?: string;
40849
- /** Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations. */
41905
+ /** Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage. */
40850
41906
  extraLocationTypes?: string | string[];
40851
41907
  /** Selector specifying which fields to include in a partial response. */
40852
41908
  fields?: string;