@maxim_mazurok/gapi.client.aiplatform-v1 0.2.20250820 → 0.2.20250902
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.
- package/index.d.ts +967 -4
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://aiplatform.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20250902
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -590,6 +590,26 @@ declare namespace gapi.client {
|
|
|
590
590
|
/** 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`. */
|
|
591
591
|
outputUri?: string;
|
|
592
592
|
}
|
|
593
|
+
interface GoogleCloudAiplatformV1BigQueryRequestSet {
|
|
594
|
+
/** Optional. Map of candidate name to candidate response column name. The column will be in evaluation_item.CandidateResponse format. */
|
|
595
|
+
candidateResponseColumns?: {[P in string]: string};
|
|
596
|
+
/** Optional. The name of the column that contains the requests to evaluate. This will be in evaluation_item.EvalPrompt format. */
|
|
597
|
+
promptColumn?: string;
|
|
598
|
+
/** Optional. The name of the column that contains the rubrics. This will be in evaluation_rubric.RubricGroup format (cl/762595858). */
|
|
599
|
+
rubricsColumn?: string;
|
|
600
|
+
/** Optional. The sampling config for the bigquery resource. */
|
|
601
|
+
samplingConfig?: GoogleCloudAiplatformV1BigQueryRequestSetSamplingConfig;
|
|
602
|
+
/** Required. The URI of a BigQuery table. e.g. bq://projectId.bqDatasetId.bqTableId */
|
|
603
|
+
uri?: string;
|
|
604
|
+
}
|
|
605
|
+
interface GoogleCloudAiplatformV1BigQueryRequestSetSamplingConfig {
|
|
606
|
+
/** 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. */
|
|
607
|
+
samplingCount?: number;
|
|
608
|
+
/** Optional. How long to wait before sampling data from the BigQuery table. If not specified, defaults to 0. */
|
|
609
|
+
samplingDuration?: string;
|
|
610
|
+
/** Optional. The sampling method to use. */
|
|
611
|
+
samplingMethod?: string;
|
|
612
|
+
}
|
|
593
613
|
interface GoogleCloudAiplatformV1BigQuerySource {
|
|
594
614
|
/** Required. BigQuery URI to a table, up to 2000 characters long. Accepted forms: * BigQuery path. For example: `bq://projectId.bqDatasetId.bqTableId`. */
|
|
595
615
|
inputUri?: string;
|
|
@@ -683,6 +703,7 @@ declare namespace gapi.client {
|
|
|
683
703
|
interface GoogleCloudAiplatformV1CancelBatchPredictionJobRequest {}
|
|
684
704
|
interface GoogleCloudAiplatformV1CancelCustomJobRequest {}
|
|
685
705
|
interface GoogleCloudAiplatformV1CancelDataLabelingJobRequest {}
|
|
706
|
+
interface GoogleCloudAiplatformV1CancelEvaluationRunRequest {}
|
|
686
707
|
interface GoogleCloudAiplatformV1CancelHyperparameterTuningJobRequest {}
|
|
687
708
|
interface GoogleCloudAiplatformV1CancelNasJobRequest {}
|
|
688
709
|
interface GoogleCloudAiplatformV1CancelPipelineJobRequest {}
|
|
@@ -710,6 +731,28 @@ declare namespace gapi.client {
|
|
|
710
731
|
/** Output only. Metadata related to url context retrieval tool. */
|
|
711
732
|
urlContextMetadata?: GoogleCloudAiplatformV1UrlContextMetadata;
|
|
712
733
|
}
|
|
734
|
+
interface GoogleCloudAiplatformV1CandidateResponse {
|
|
735
|
+
/** Required. The name of the candidate that produced the response. */
|
|
736
|
+
candidate?: string;
|
|
737
|
+
/** Text response. */
|
|
738
|
+
text?: string;
|
|
739
|
+
/** Fields and values that can be used to populate the response template. */
|
|
740
|
+
value?: any;
|
|
741
|
+
}
|
|
742
|
+
interface GoogleCloudAiplatformV1CandidateResult {
|
|
743
|
+
/** Optional. Additional results for the metric. */
|
|
744
|
+
additionalResults?: any;
|
|
745
|
+
/** Required. The candidate that is being evaluated. The value is the same as the candidate name in the EvaluationRequest. */
|
|
746
|
+
candidate?: string;
|
|
747
|
+
/** Optional. The explanation for the metric. */
|
|
748
|
+
explanation?: string;
|
|
749
|
+
/** Required. The metric that was evaluated. */
|
|
750
|
+
metric?: string;
|
|
751
|
+
/** Optional. The rubric verdicts for the metric. */
|
|
752
|
+
rubricVerdicts?: GoogleCloudAiplatformV1RubricVerdict[];
|
|
753
|
+
/** Optional. The score for the metric. */
|
|
754
|
+
score?: number;
|
|
755
|
+
}
|
|
713
756
|
interface GoogleCloudAiplatformV1Checkpoint {
|
|
714
757
|
/** The ID of the checkpoint. */
|
|
715
758
|
checkpointId?: string;
|
|
@@ -1946,6 +1989,232 @@ declare namespace gapi.client {
|
|
|
1946
1989
|
[P in string]: GoogleCloudAiplatformV1EvaluationInstanceInstanceData;
|
|
1947
1990
|
};
|
|
1948
1991
|
}
|
|
1992
|
+
interface GoogleCloudAiplatformV1EvaluationItem {
|
|
1993
|
+
/** Output only. Timestamp when this item was created. */
|
|
1994
|
+
createTime?: string;
|
|
1995
|
+
/** Required. The display name of the EvaluationItem. */
|
|
1996
|
+
displayName?: string;
|
|
1997
|
+
/** Output only. Error for the evaluation item. */
|
|
1998
|
+
error?: GoogleRpcStatus;
|
|
1999
|
+
/** Required. The type of the EvaluationItem. */
|
|
2000
|
+
evaluationItemType?: string;
|
|
2001
|
+
/** The request to evaluate. */
|
|
2002
|
+
evaluationRequest?: GoogleCloudAiplatformV1EvaluationRequest;
|
|
2003
|
+
/** Output only. The response from evaluation. */
|
|
2004
|
+
evaluationResponse?: GoogleCloudAiplatformV1EvaluationResult;
|
|
2005
|
+
/** The GCS object where the request or response is stored. */
|
|
2006
|
+
gcsUri?: string;
|
|
2007
|
+
/** Optional. Labels for the EvaluationItem. */
|
|
2008
|
+
labels?: {[P in string]: string};
|
|
2009
|
+
/** Optional. Metadata for the EvaluationItem. */
|
|
2010
|
+
metadata?: any;
|
|
2011
|
+
/** Identifier. The resource name of the EvaluationItem. Format: `projects/{project}/locations/{location}/evaluationItems/{evaluation_item}` */
|
|
2012
|
+
name?: string;
|
|
2013
|
+
}
|
|
2014
|
+
interface GoogleCloudAiplatformV1EvaluationPrompt {
|
|
2015
|
+
/** Prompt template data. */
|
|
2016
|
+
promptTemplateData?: GoogleCloudAiplatformV1EvaluationPromptPromptTemplateData;
|
|
2017
|
+
/** Text prompt. */
|
|
2018
|
+
text?: string;
|
|
2019
|
+
/** Fields and values that can be used to populate the prompt template. */
|
|
2020
|
+
value?: any;
|
|
2021
|
+
}
|
|
2022
|
+
interface GoogleCloudAiplatformV1EvaluationPromptPromptTemplateData {
|
|
2023
|
+
/** The values for fields in the prompt template. */
|
|
2024
|
+
values?: {[P in string]: GoogleCloudAiplatformV1Content};
|
|
2025
|
+
}
|
|
2026
|
+
interface GoogleCloudAiplatformV1EvaluationRequest {
|
|
2027
|
+
/** Optional. Responses from model under test and other baseline models for comparison. */
|
|
2028
|
+
candidateResponses?: GoogleCloudAiplatformV1CandidateResponse[];
|
|
2029
|
+
/** Optional. The Ideal response or ground truth. */
|
|
2030
|
+
goldenResponse?: GoogleCloudAiplatformV1CandidateResponse;
|
|
2031
|
+
/** Required. The request/prompt to evaluate. */
|
|
2032
|
+
prompt?: GoogleCloudAiplatformV1EvaluationPrompt;
|
|
2033
|
+
/** Optional. Named groups of rubrics associated with this prompt. The key is a user-defined name for the rubric group. */
|
|
2034
|
+
rubrics?: {[P in string]: GoogleCloudAiplatformV1RubricGroup};
|
|
2035
|
+
}
|
|
2036
|
+
interface GoogleCloudAiplatformV1EvaluationResult {
|
|
2037
|
+
/** Optional. The results for the metric. */
|
|
2038
|
+
candidateResults?: GoogleCloudAiplatformV1CandidateResult[];
|
|
2039
|
+
/** Required. The request item that was evaluated. Format: projects/{project}/locations/{location}/evaluationItems/{evaluation_item} */
|
|
2040
|
+
evaluationRequest?: string;
|
|
2041
|
+
/** Required. The evaluation run that was used to generate the result. Format: projects/{project}/locations/{location}/evaluationRuns/{evaluation_run} */
|
|
2042
|
+
evaluationRun?: string;
|
|
2043
|
+
/** Optional. Metadata about the evaluation result. */
|
|
2044
|
+
metadata?: any;
|
|
2045
|
+
/** Required. The metric that was evaluated. */
|
|
2046
|
+
metric?: string;
|
|
2047
|
+
/** Required. The request that was evaluated. */
|
|
2048
|
+
request?: GoogleCloudAiplatformV1EvaluationRequest;
|
|
2049
|
+
}
|
|
2050
|
+
interface GoogleCloudAiplatformV1EvaluationResults {
|
|
2051
|
+
/** The evaluation set where item level results are stored. */
|
|
2052
|
+
evaluationSet?: string;
|
|
2053
|
+
/** Optional. The summary metrics for the evaluation run. */
|
|
2054
|
+
summaryMetrics?: GoogleCloudAiplatformV1SummaryMetrics;
|
|
2055
|
+
}
|
|
2056
|
+
interface GoogleCloudAiplatformV1EvaluationRubricConfig {
|
|
2057
|
+
/** Dynamically generate rubrics using a predefined spec. */
|
|
2058
|
+
predefinedRubricGenerationSpec?: GoogleCloudAiplatformV1EvaluationRunMetricPredefinedMetricSpec;
|
|
2059
|
+
/** Dynamically generate rubrics using this specification. */
|
|
2060
|
+
rubricGenerationSpec?: GoogleCloudAiplatformV1EvaluationRunMetricRubricGenerationSpec;
|
|
2061
|
+
/** 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. */
|
|
2062
|
+
rubricGroupKey?: string;
|
|
2063
|
+
}
|
|
2064
|
+
interface GoogleCloudAiplatformV1EvaluationRun {
|
|
2065
|
+
/** Output only. Time when the evaluation run was completed. */
|
|
2066
|
+
completionTime?: string;
|
|
2067
|
+
/** Output only. Time when the evaluation run was created. */
|
|
2068
|
+
createTime?: string;
|
|
2069
|
+
/** Required. The data source for the evaluation run. */
|
|
2070
|
+
dataSource?: GoogleCloudAiplatformV1EvaluationRunDataSource;
|
|
2071
|
+
/** Required. The display name of the Evaluation Run. */
|
|
2072
|
+
displayName?: string;
|
|
2073
|
+
/** Output only. Only populated when the evaluation run's state is FAILED or CANCELLED. */
|
|
2074
|
+
error?: GoogleRpcStatus;
|
|
2075
|
+
/** Required. The configuration used for the evaluation. */
|
|
2076
|
+
evaluationConfig?: GoogleCloudAiplatformV1EvaluationRunEvaluationConfig;
|
|
2077
|
+
/** Output only. The results of the evaluation run. Only populated when the evaluation run's state is SUCCEEDED. */
|
|
2078
|
+
evaluationResults?: GoogleCloudAiplatformV1EvaluationResults;
|
|
2079
|
+
/** 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. */
|
|
2080
|
+
evaluationSetSnapshot?: string;
|
|
2081
|
+
/** 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. */
|
|
2082
|
+
inferenceConfigs?: {
|
|
2083
|
+
[P in string]: GoogleCloudAiplatformV1EvaluationRunInferenceConfig;
|
|
2084
|
+
};
|
|
2085
|
+
/** Optional. Labels for the evaluation run. */
|
|
2086
|
+
labels?: {[P in string]: string};
|
|
2087
|
+
/** Optional. Metadata about the evaluation run, can be used by the caller to store additional tracking information about the evaluation run. */
|
|
2088
|
+
metadata?: any;
|
|
2089
|
+
/** Identifier. The resource name of the EvaluationRun. This is a unique identifier. Format: `projects/{project}/locations/{location}/evaluationRuns/{evaluation_run}` */
|
|
2090
|
+
name?: string;
|
|
2091
|
+
/** Output only. The state of the evaluation run. */
|
|
2092
|
+
state?: string;
|
|
2093
|
+
}
|
|
2094
|
+
interface GoogleCloudAiplatformV1EvaluationRunDataSource {
|
|
2095
|
+
/** Evaluation data in bigquery. */
|
|
2096
|
+
bigqueryRequestSet?: GoogleCloudAiplatformV1BigQueryRequestSet;
|
|
2097
|
+
/** The EvaluationSet resource name. Format: `projects/{project}/locations/{location}/evaluationSets/{evaluation_set}` */
|
|
2098
|
+
evaluationSet?: string;
|
|
2099
|
+
}
|
|
2100
|
+
interface GoogleCloudAiplatformV1EvaluationRunEvaluationConfig {
|
|
2101
|
+
/** Optional. The autorater config for the evaluation run. */
|
|
2102
|
+
autoraterConfig?: GoogleCloudAiplatformV1EvaluationRunEvaluationConfigAutoraterConfig;
|
|
2103
|
+
/** Required. The metrics to be calculated in the evaluation run. */
|
|
2104
|
+
metrics?: GoogleCloudAiplatformV1EvaluationRunMetric[];
|
|
2105
|
+
/** Optional. The output config for the evaluation run. */
|
|
2106
|
+
outputConfig?: GoogleCloudAiplatformV1EvaluationRunEvaluationConfigOutputConfig;
|
|
2107
|
+
/** The prompt template used for inference. The values for variables in the prompt template are defined in EvaluationItem.EvaluationPrompt.PromptTemplateData.values. */
|
|
2108
|
+
promptTemplate?: GoogleCloudAiplatformV1EvaluationRunEvaluationConfigPromptTemplate;
|
|
2109
|
+
/** 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. */
|
|
2110
|
+
rubricConfigs?: GoogleCloudAiplatformV1EvaluationRubricConfig[];
|
|
2111
|
+
}
|
|
2112
|
+
interface GoogleCloudAiplatformV1EvaluationRunEvaluationConfigAutoraterConfig {
|
|
2113
|
+
/** 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}` */
|
|
2114
|
+
autoraterModel?: string;
|
|
2115
|
+
/** Optional. Configuration options for model generation and outputs. */
|
|
2116
|
+
generationConfig?: GoogleCloudAiplatformV1GenerationConfig;
|
|
2117
|
+
/** 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. */
|
|
2118
|
+
sampleCount?: number;
|
|
2119
|
+
}
|
|
2120
|
+
interface GoogleCloudAiplatformV1EvaluationRunEvaluationConfigOutputConfig {
|
|
2121
|
+
/** BigQuery destination for evaluation output. */
|
|
2122
|
+
bigqueryDestination?: GoogleCloudAiplatformV1BigQueryDestination;
|
|
2123
|
+
/** Cloud Storage destination for evaluation output. */
|
|
2124
|
+
gcsDestination?: GoogleCloudAiplatformV1GcsDestination;
|
|
2125
|
+
}
|
|
2126
|
+
interface GoogleCloudAiplatformV1EvaluationRunEvaluationConfigPromptTemplate {
|
|
2127
|
+
/** Prompt template stored in Cloud Storage. Format: "gs://my-bucket/file-name.txt". */
|
|
2128
|
+
gcsUri?: string;
|
|
2129
|
+
/** Inline prompt template. Template variables should be in the format "{var_name}". Example: "Translate the following from {source_lang} to {target_lang}: {text}" */
|
|
2130
|
+
promptTemplate?: string;
|
|
2131
|
+
}
|
|
2132
|
+
interface GoogleCloudAiplatformV1EvaluationRunInferenceConfig {
|
|
2133
|
+
/** Optional. Generation config. */
|
|
2134
|
+
generationConfig?: GoogleCloudAiplatformV1GenerationConfig;
|
|
2135
|
+
/** 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}` */
|
|
2136
|
+
model?: string;
|
|
2137
|
+
}
|
|
2138
|
+
interface GoogleCloudAiplatformV1EvaluationRunMetric {
|
|
2139
|
+
/** Spec for a computation based metric. */
|
|
2140
|
+
computationBasedMetricSpec?: GoogleCloudAiplatformV1EvaluationRunMetricComputationBasedMetricSpec;
|
|
2141
|
+
/** Spec for an LLM based metric. */
|
|
2142
|
+
llmBasedMetricSpec?: GoogleCloudAiplatformV1EvaluationRunMetricLLMBasedMetricSpec;
|
|
2143
|
+
/** Required. The name of the metric. */
|
|
2144
|
+
metric?: string;
|
|
2145
|
+
/** Spec for a pre-defined metric. */
|
|
2146
|
+
predefinedMetricSpec?: GoogleCloudAiplatformV1EvaluationRunMetricPredefinedMetricSpec;
|
|
2147
|
+
/** Spec for rubric based metric. */
|
|
2148
|
+
rubricBasedMetricSpec?: GoogleCloudAiplatformV1EvaluationRunMetricRubricBasedMetricSpec;
|
|
2149
|
+
}
|
|
2150
|
+
interface GoogleCloudAiplatformV1EvaluationRunMetricComputationBasedMetricSpec {
|
|
2151
|
+
/** Optional. A map of parameters for the metric, e.g. {"rouge_type": "rougeL"}. */
|
|
2152
|
+
parameters?: {[P in string]: any};
|
|
2153
|
+
/** Required. The type of the computation based metric. */
|
|
2154
|
+
type?: string;
|
|
2155
|
+
}
|
|
2156
|
+
interface GoogleCloudAiplatformV1EvaluationRunMetricLLMBasedMetricSpec {
|
|
2157
|
+
/** Optional. Optional additional configuration for the metric. */
|
|
2158
|
+
additionalConfig?: {[P in string]: any};
|
|
2159
|
+
/** Optional. Optional configuration for the judge LLM (Autorater). */
|
|
2160
|
+
judgeAutoraterConfig?: GoogleCloudAiplatformV1EvaluationRunEvaluationConfigAutoraterConfig;
|
|
2161
|
+
/** Required. Template for the prompt sent to the judge model. */
|
|
2162
|
+
metricPromptTemplate?: string;
|
|
2163
|
+
/** Dynamically generate rubrics using a predefined spec. */
|
|
2164
|
+
predefinedRubricGenerationSpec?: GoogleCloudAiplatformV1EvaluationRunMetricPredefinedMetricSpec;
|
|
2165
|
+
/** Dynamically generate rubrics using this specification. */
|
|
2166
|
+
rubricGenerationSpec?: GoogleCloudAiplatformV1EvaluationRunMetricRubricGenerationSpec;
|
|
2167
|
+
/** Use a pre-defined group of rubrics associated with the input. Refers to a key in the rubric_groups map of EvaluationInstance. */
|
|
2168
|
+
rubricGroupKey?: string;
|
|
2169
|
+
/** Optional. System instructions for the judge model. */
|
|
2170
|
+
systemInstruction?: string;
|
|
2171
|
+
}
|
|
2172
|
+
interface GoogleCloudAiplatformV1EvaluationRunMetricPredefinedMetricSpec {
|
|
2173
|
+
/** Required. The name of a pre-defined metric, such as "instruction_following_v1" or "text_quality_v1". */
|
|
2174
|
+
metricSpecName?: string;
|
|
2175
|
+
/** Optional. The parameters needed to run the pre-defined metric. */
|
|
2176
|
+
parameters?: {[P in string]: any};
|
|
2177
|
+
}
|
|
2178
|
+
interface GoogleCloudAiplatformV1EvaluationRunMetricRubricBasedMetricSpec {
|
|
2179
|
+
/** Use rubrics provided directly in the spec. */
|
|
2180
|
+
inlineRubrics?: GoogleCloudAiplatformV1EvaluationRunMetricRubricBasedMetricSpecRepeatedRubrics;
|
|
2181
|
+
/** Optional. Optional configuration for the judge LLM (Autorater). The definition of AutoraterConfig needs to be provided. */
|
|
2182
|
+
judgeAutoraterConfig?: GoogleCloudAiplatformV1EvaluationRunEvaluationConfigAutoraterConfig;
|
|
2183
|
+
/** Optional. Template for the prompt used by the judge model to evaluate against rubrics. */
|
|
2184
|
+
metricPromptTemplate?: string;
|
|
2185
|
+
/** Dynamically generate rubrics for evaluation using this specification. */
|
|
2186
|
+
rubricGenerationSpec?: GoogleCloudAiplatformV1EvaluationRunMetricRubricGenerationSpec;
|
|
2187
|
+
/** Use a pre-defined group of rubrics associated with the input content. This refers to a key in the `rubric_groups` map of `RubricEnhancedContents`. */
|
|
2188
|
+
rubricGroupKey?: string;
|
|
2189
|
+
}
|
|
2190
|
+
interface GoogleCloudAiplatformV1EvaluationRunMetricRubricBasedMetricSpecRepeatedRubrics {
|
|
2191
|
+
/** The list of rubrics. */
|
|
2192
|
+
rubrics?: GoogleCloudAiplatformV1Rubric[];
|
|
2193
|
+
}
|
|
2194
|
+
interface GoogleCloudAiplatformV1EvaluationRunMetricRubricGenerationSpec {
|
|
2195
|
+
/** 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. */
|
|
2196
|
+
modelConfig?: GoogleCloudAiplatformV1EvaluationRunEvaluationConfigAutoraterConfig;
|
|
2197
|
+
/** Optional. Template for the prompt used to generate rubrics. The details should be updated based on the most-recent recipe requirements. */
|
|
2198
|
+
promptTemplate?: string;
|
|
2199
|
+
/** Optional. The type of rubric content to be generated. */
|
|
2200
|
+
rubricContentType?: string;
|
|
2201
|
+
/** 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. */
|
|
2202
|
+
rubricTypeOntology?: string[];
|
|
2203
|
+
}
|
|
2204
|
+
interface GoogleCloudAiplatformV1EvaluationSet {
|
|
2205
|
+
/** Output only. Timestamp when this item was created. */
|
|
2206
|
+
createTime?: string;
|
|
2207
|
+
/** Required. The display name of the EvaluationSet. */
|
|
2208
|
+
displayName?: string;
|
|
2209
|
+
/** Required. The EvaluationItems that are part of this dataset. */
|
|
2210
|
+
evaluationItems?: string[];
|
|
2211
|
+
/** Optional. Metadata for the EvaluationSet. */
|
|
2212
|
+
metadata?: any;
|
|
2213
|
+
/** Identifier. The resource name of the EvaluationSet. Format: `projects/{project}/locations/{location}/evaluationSets/{evaluation_set}` */
|
|
2214
|
+
name?: string;
|
|
2215
|
+
/** Output only. Timestamp when this item was last updated. */
|
|
2216
|
+
updateTime?: string;
|
|
2217
|
+
}
|
|
1949
2218
|
interface GoogleCloudAiplatformV1Event {
|
|
1950
2219
|
/** Required. The relative resource name of the Artifact in the Event. */
|
|
1951
2220
|
artifact?: string;
|
|
@@ -3016,6 +3285,20 @@ declare namespace gapi.client {
|
|
|
3016
3285
|
/** Output only. A list of generated rubrics. */
|
|
3017
3286
|
generatedRubrics?: GoogleCloudAiplatformV1Rubric[];
|
|
3018
3287
|
}
|
|
3288
|
+
interface GoogleCloudAiplatformV1GenerateSyntheticDataRequest {
|
|
3289
|
+
/** Required. The number of synthetic examples to generate. For this stateless API, the count is limited to a small number. */
|
|
3290
|
+
count?: number;
|
|
3291
|
+
/** Optional. A list of few-shot examples to guide the model's output style and format. */
|
|
3292
|
+
examples?: GoogleCloudAiplatformV1SyntheticExample[];
|
|
3293
|
+
/** Required. The schema of the desired output, defined by a list of fields. */
|
|
3294
|
+
outputFieldSpecs?: GoogleCloudAiplatformV1OutputFieldSpec[];
|
|
3295
|
+
/** Generate data from a high-level task description. */
|
|
3296
|
+
taskDescription?: GoogleCloudAiplatformV1TaskDescriptionStrategy;
|
|
3297
|
+
}
|
|
3298
|
+
interface GoogleCloudAiplatformV1GenerateSyntheticDataResponse {
|
|
3299
|
+
/** A list of generated synthetic examples. */
|
|
3300
|
+
syntheticExamples?: GoogleCloudAiplatformV1SyntheticExample[];
|
|
3301
|
+
}
|
|
3019
3302
|
interface GoogleCloudAiplatformV1GenerateVideoResponse {
|
|
3020
3303
|
/** The cloud storage uris of the generated videos. */
|
|
3021
3304
|
generatedSamples?: string[];
|
|
@@ -3657,6 +3940,24 @@ declare namespace gapi.client {
|
|
|
3657
3940
|
/** 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. */
|
|
3658
3941
|
nextPageToken?: string;
|
|
3659
3942
|
}
|
|
3943
|
+
interface GoogleCloudAiplatformV1ListEvaluationItemsResponse {
|
|
3944
|
+
/** List of EvaluationItems in the requested page. */
|
|
3945
|
+
evaluationItems?: GoogleCloudAiplatformV1EvaluationItem[];
|
|
3946
|
+
/** A token to retrieve the next page of results. */
|
|
3947
|
+
nextPageToken?: string;
|
|
3948
|
+
}
|
|
3949
|
+
interface GoogleCloudAiplatformV1ListEvaluationRunsResponse {
|
|
3950
|
+
/** List of EvaluationRuns in the requested page. */
|
|
3951
|
+
evaluationRuns?: GoogleCloudAiplatformV1EvaluationRun[];
|
|
3952
|
+
/** A token to retrieve the next page of results. */
|
|
3953
|
+
nextPageToken?: string;
|
|
3954
|
+
}
|
|
3955
|
+
interface GoogleCloudAiplatformV1ListEvaluationSetsResponse {
|
|
3956
|
+
/** List of EvaluationSets in the requested page. */
|
|
3957
|
+
evaluationSets?: GoogleCloudAiplatformV1EvaluationSet[];
|
|
3958
|
+
/** A token to retrieve the next page of results. */
|
|
3959
|
+
nextPageToken?: string;
|
|
3960
|
+
}
|
|
3660
3961
|
interface GoogleCloudAiplatformV1ListExecutionsResponse {
|
|
3661
3962
|
/** The Executions retrieved from the MetadataStore. */
|
|
3662
3963
|
executions?: GoogleCloudAiplatformV1Execution[];
|
|
@@ -4006,11 +4307,13 @@ declare namespace gapi.client {
|
|
|
4006
4307
|
rougeSpec?: GoogleCloudAiplatformV1RougeSpec;
|
|
4007
4308
|
}
|
|
4008
4309
|
interface GoogleCloudAiplatformV1MetricResult {
|
|
4009
|
-
/** The
|
|
4310
|
+
/** Output only. The error status for the metric result. */
|
|
4311
|
+
error?: GoogleRpcStatus;
|
|
4312
|
+
/** Output only. The explanation for the metric result. */
|
|
4010
4313
|
explanation?: string;
|
|
4011
|
-
/** For rubric-based metrics, the verdicts for each rubric. */
|
|
4314
|
+
/** Output only. For rubric-based metrics, the verdicts for each rubric. */
|
|
4012
4315
|
rubricVerdicts?: GoogleCloudAiplatformV1RubricVerdict[];
|
|
4013
|
-
/** The score for the metric. Please refer to each metric's documentation for the meaning of the score. */
|
|
4316
|
+
/** Output only. The score for the metric. Please refer to each metric's documentation for the meaning of the score. */
|
|
4014
4317
|
score?: number;
|
|
4015
4318
|
}
|
|
4016
4319
|
interface GoogleCloudAiplatformV1MetricxInput {
|
|
@@ -4998,6 +5301,14 @@ declare namespace gapi.client {
|
|
|
4998
5301
|
/** Cloud storage destination for evaluation output. */
|
|
4999
5302
|
gcsDestination?: GoogleCloudAiplatformV1GcsDestination;
|
|
5000
5303
|
}
|
|
5304
|
+
interface GoogleCloudAiplatformV1OutputFieldSpec {
|
|
5305
|
+
/** Required. The name of the output field. */
|
|
5306
|
+
fieldName?: string;
|
|
5307
|
+
/** Optional. The data type of the field. Defaults to CONTENT if not set. */
|
|
5308
|
+
fieldType?: string;
|
|
5309
|
+
/** 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. */
|
|
5310
|
+
guidance?: string;
|
|
5311
|
+
}
|
|
5001
5312
|
interface GoogleCloudAiplatformV1PairwiseMetricInput {
|
|
5002
5313
|
/** Required. Pairwise metric instance. */
|
|
5003
5314
|
instance?: GoogleCloudAiplatformV1PairwiseMetricInstance;
|
|
@@ -6165,6 +6476,8 @@ declare namespace gapi.client {
|
|
|
6165
6476
|
encryptionSpec?: GoogleCloudAiplatformV1EncryptionSpec;
|
|
6166
6477
|
/** Optional. Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens. */
|
|
6167
6478
|
etag?: string;
|
|
6479
|
+
/** Labels for the ReasoningEngine. */
|
|
6480
|
+
labels?: {[P in string]: string};
|
|
6168
6481
|
/** Identifier. The resource name of the ReasoningEngine. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
|
|
6169
6482
|
name?: string;
|
|
6170
6483
|
/** Optional. Configurations of the ReasoningEngine */
|
|
@@ -8580,6 +8893,14 @@ declare namespace gapi.client {
|
|
|
8580
8893
|
/** Optional. Which version to use for evaluation. */
|
|
8581
8894
|
version?: number;
|
|
8582
8895
|
}
|
|
8896
|
+
interface GoogleCloudAiplatformV1SummaryMetrics {
|
|
8897
|
+
/** Optional. The number of items that failed to be evaluated. */
|
|
8898
|
+
failedItems?: number;
|
|
8899
|
+
/** Optional. Map of metric name to metric value. */
|
|
8900
|
+
metrics?: {[P in string]: any};
|
|
8901
|
+
/** Optional. The total number of items that were evaluated. */
|
|
8902
|
+
totalItems?: number;
|
|
8903
|
+
}
|
|
8583
8904
|
interface GoogleCloudAiplatformV1SupervisedHyperParameters {
|
|
8584
8905
|
/** Optional. Adapter size for tuning. */
|
|
8585
8906
|
adapterSize?: string;
|
|
@@ -8657,6 +8978,20 @@ declare namespace gapi.client {
|
|
|
8657
8978
|
/** Format: `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}/featureViewSyncs/{feature_view_sync}` */
|
|
8658
8979
|
featureViewSync?: string;
|
|
8659
8980
|
}
|
|
8981
|
+
interface GoogleCloudAiplatformV1SyntheticExample {
|
|
8982
|
+
/** Required. A list of fields that constitute an example. */
|
|
8983
|
+
fields?: GoogleCloudAiplatformV1SyntheticField[];
|
|
8984
|
+
}
|
|
8985
|
+
interface GoogleCloudAiplatformV1SyntheticField {
|
|
8986
|
+
/** Required. The content of the field. */
|
|
8987
|
+
content?: GoogleCloudAiplatformV1Content;
|
|
8988
|
+
/** Optional. The name of the field. */
|
|
8989
|
+
fieldName?: string;
|
|
8990
|
+
}
|
|
8991
|
+
interface GoogleCloudAiplatformV1TaskDescriptionStrategy {
|
|
8992
|
+
/** Required. A high-level description of the synthetic data to be generated. */
|
|
8993
|
+
taskDescription?: string;
|
|
8994
|
+
}
|
|
8660
8995
|
interface GoogleCloudAiplatformV1Tensor {
|
|
8661
8996
|
/** Type specific representations that make it easy to create tensor protos in all languages. Only the representation corresponding to "dtype" can be set. The values hold the flattened representation of the tensor in row major order. BOOL */
|
|
8662
8997
|
boolVal?: boolean[];
|
|
@@ -15179,6 +15514,573 @@ declare namespace gapi.client {
|
|
|
15179
15514
|
chat: ChatResource;
|
|
15180
15515
|
operations: OperationsResource;
|
|
15181
15516
|
}
|
|
15517
|
+
interface EvaluationItemsResource {
|
|
15518
|
+
/** Creates an Evaluation Item. */
|
|
15519
|
+
create(request: {
|
|
15520
|
+
/** V1 error format. */
|
|
15521
|
+
'$.xgafv'?: string;
|
|
15522
|
+
/** OAuth access token. */
|
|
15523
|
+
access_token?: string;
|
|
15524
|
+
/** Data format for response. */
|
|
15525
|
+
alt?: string;
|
|
15526
|
+
/** JSONP */
|
|
15527
|
+
callback?: string;
|
|
15528
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
15529
|
+
fields?: string;
|
|
15530
|
+
/** 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. */
|
|
15531
|
+
key?: string;
|
|
15532
|
+
/** OAuth 2.0 token for the current user. */
|
|
15533
|
+
oauth_token?: string;
|
|
15534
|
+
/** Required. The resource name of the Location to create the Evaluation Item in. Format: `projects/{project}/locations/{location}` */
|
|
15535
|
+
parent: string;
|
|
15536
|
+
/** Returns response with indentations and line breaks. */
|
|
15537
|
+
prettyPrint?: boolean;
|
|
15538
|
+
/** 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. */
|
|
15539
|
+
quotaUser?: string;
|
|
15540
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
15541
|
+
upload_protocol?: string;
|
|
15542
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15543
|
+
uploadType?: string;
|
|
15544
|
+
/** Request body */
|
|
15545
|
+
resource: GoogleCloudAiplatformV1EvaluationItem;
|
|
15546
|
+
}): Request<GoogleCloudAiplatformV1EvaluationItem>;
|
|
15547
|
+
create(
|
|
15548
|
+
request: {
|
|
15549
|
+
/** V1 error format. */
|
|
15550
|
+
'$.xgafv'?: string;
|
|
15551
|
+
/** OAuth access token. */
|
|
15552
|
+
access_token?: string;
|
|
15553
|
+
/** Data format for response. */
|
|
15554
|
+
alt?: string;
|
|
15555
|
+
/** JSONP */
|
|
15556
|
+
callback?: string;
|
|
15557
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
15558
|
+
fields?: string;
|
|
15559
|
+
/** 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. */
|
|
15560
|
+
key?: string;
|
|
15561
|
+
/** OAuth 2.0 token for the current user. */
|
|
15562
|
+
oauth_token?: string;
|
|
15563
|
+
/** Required. The resource name of the Location to create the Evaluation Item in. Format: `projects/{project}/locations/{location}` */
|
|
15564
|
+
parent: string;
|
|
15565
|
+
/** Returns response with indentations and line breaks. */
|
|
15566
|
+
prettyPrint?: boolean;
|
|
15567
|
+
/** 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. */
|
|
15568
|
+
quotaUser?: string;
|
|
15569
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
15570
|
+
upload_protocol?: string;
|
|
15571
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15572
|
+
uploadType?: string;
|
|
15573
|
+
},
|
|
15574
|
+
body: GoogleCloudAiplatformV1EvaluationItem,
|
|
15575
|
+
): Request<GoogleCloudAiplatformV1EvaluationItem>;
|
|
15576
|
+
/** Deletes an Evaluation Item. */
|
|
15577
|
+
delete(request?: {
|
|
15578
|
+
/** V1 error format. */
|
|
15579
|
+
'$.xgafv'?: string;
|
|
15580
|
+
/** OAuth access token. */
|
|
15581
|
+
access_token?: string;
|
|
15582
|
+
/** Data format for response. */
|
|
15583
|
+
alt?: string;
|
|
15584
|
+
/** JSONP */
|
|
15585
|
+
callback?: string;
|
|
15586
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
15587
|
+
fields?: string;
|
|
15588
|
+
/** 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. */
|
|
15589
|
+
key?: string;
|
|
15590
|
+
/** Required. The name of the EvaluationItem resource to be deleted. Format: `projects/{project}/locations/{location}/evaluationItems/{evaluation_item}` */
|
|
15591
|
+
name: string;
|
|
15592
|
+
/** OAuth 2.0 token for the current user. */
|
|
15593
|
+
oauth_token?: string;
|
|
15594
|
+
/** Returns response with indentations and line breaks. */
|
|
15595
|
+
prettyPrint?: boolean;
|
|
15596
|
+
/** 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. */
|
|
15597
|
+
quotaUser?: string;
|
|
15598
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
15599
|
+
upload_protocol?: string;
|
|
15600
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15601
|
+
uploadType?: string;
|
|
15602
|
+
}): Request<GoogleLongrunningOperation>;
|
|
15603
|
+
/** Gets an Evaluation Item. */
|
|
15604
|
+
get(request?: {
|
|
15605
|
+
/** V1 error format. */
|
|
15606
|
+
'$.xgafv'?: string;
|
|
15607
|
+
/** OAuth access token. */
|
|
15608
|
+
access_token?: string;
|
|
15609
|
+
/** Data format for response. */
|
|
15610
|
+
alt?: string;
|
|
15611
|
+
/** JSONP */
|
|
15612
|
+
callback?: string;
|
|
15613
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
15614
|
+
fields?: string;
|
|
15615
|
+
/** 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. */
|
|
15616
|
+
key?: string;
|
|
15617
|
+
/** Required. The name of the EvaluationItem resource. Format: `projects/{project}/locations/{location}/evaluationItems/{evaluation_item}` */
|
|
15618
|
+
name: string;
|
|
15619
|
+
/** OAuth 2.0 token for the current user. */
|
|
15620
|
+
oauth_token?: string;
|
|
15621
|
+
/** Returns response with indentations and line breaks. */
|
|
15622
|
+
prettyPrint?: boolean;
|
|
15623
|
+
/** 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. */
|
|
15624
|
+
quotaUser?: string;
|
|
15625
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
15626
|
+
upload_protocol?: string;
|
|
15627
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15628
|
+
uploadType?: string;
|
|
15629
|
+
}): Request<GoogleCloudAiplatformV1EvaluationItem>;
|
|
15630
|
+
/** Lists Evaluation Items. */
|
|
15631
|
+
list(request?: {
|
|
15632
|
+
/** V1 error format. */
|
|
15633
|
+
'$.xgafv'?: string;
|
|
15634
|
+
/** OAuth access token. */
|
|
15635
|
+
access_token?: string;
|
|
15636
|
+
/** Data format for response. */
|
|
15637
|
+
alt?: string;
|
|
15638
|
+
/** JSONP */
|
|
15639
|
+
callback?: string;
|
|
15640
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
15641
|
+
fields?: string;
|
|
15642
|
+
/** 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). */
|
|
15643
|
+
filter?: string;
|
|
15644
|
+
/** 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. */
|
|
15645
|
+
key?: string;
|
|
15646
|
+
/** OAuth 2.0 token for the current user. */
|
|
15647
|
+
oauth_token?: string;
|
|
15648
|
+
/** Optional. A comma-separated list of fields to order by, sorted in ascending order by default. Use `desc` after a field name for descending. */
|
|
15649
|
+
orderBy?: string;
|
|
15650
|
+
/** Optional. The maximum number of Evaluation Items to return. */
|
|
15651
|
+
pageSize?: number;
|
|
15652
|
+
/** Optional. A page token, received from a previous `ListEvaluationItems` call. Provide this to retrieve the subsequent page. */
|
|
15653
|
+
pageToken?: string;
|
|
15654
|
+
/** Required. The resource name of the Location from which to list the Evaluation Items. Format: `projects/{project}/locations/{location}` */
|
|
15655
|
+
parent: string;
|
|
15656
|
+
/** Returns response with indentations and line breaks. */
|
|
15657
|
+
prettyPrint?: boolean;
|
|
15658
|
+
/** 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. */
|
|
15659
|
+
quotaUser?: string;
|
|
15660
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
15661
|
+
upload_protocol?: string;
|
|
15662
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15663
|
+
uploadType?: string;
|
|
15664
|
+
}): Request<GoogleCloudAiplatformV1ListEvaluationItemsResponse>;
|
|
15665
|
+
}
|
|
15666
|
+
interface EvaluationRunsResource {
|
|
15667
|
+
/** Cancels an Evaluation Run. Attempts to cancel a running Evaluation Run asynchronously. Status of run can be checked via GetEvaluationRun. */
|
|
15668
|
+
cancel(request: {
|
|
15669
|
+
/** V1 error format. */
|
|
15670
|
+
'$.xgafv'?: string;
|
|
15671
|
+
/** OAuth access token. */
|
|
15672
|
+
access_token?: string;
|
|
15673
|
+
/** Data format for response. */
|
|
15674
|
+
alt?: string;
|
|
15675
|
+
/** JSONP */
|
|
15676
|
+
callback?: string;
|
|
15677
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
15678
|
+
fields?: string;
|
|
15679
|
+
/** 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. */
|
|
15680
|
+
key?: string;
|
|
15681
|
+
/** Required. The name of the EvaluationRun resource to be cancelled. Format: `projects/{project}/locations/{location}/evaluationRuns/{evaluation_run}` */
|
|
15682
|
+
name: string;
|
|
15683
|
+
/** OAuth 2.0 token for the current user. */
|
|
15684
|
+
oauth_token?: string;
|
|
15685
|
+
/** Returns response with indentations and line breaks. */
|
|
15686
|
+
prettyPrint?: boolean;
|
|
15687
|
+
/** 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. */
|
|
15688
|
+
quotaUser?: string;
|
|
15689
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
15690
|
+
upload_protocol?: string;
|
|
15691
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15692
|
+
uploadType?: string;
|
|
15693
|
+
/** Request body */
|
|
15694
|
+
resource: GoogleCloudAiplatformV1CancelEvaluationRunRequest;
|
|
15695
|
+
}): Request<{}>;
|
|
15696
|
+
cancel(
|
|
15697
|
+
request: {
|
|
15698
|
+
/** V1 error format. */
|
|
15699
|
+
'$.xgafv'?: string;
|
|
15700
|
+
/** OAuth access token. */
|
|
15701
|
+
access_token?: string;
|
|
15702
|
+
/** Data format for response. */
|
|
15703
|
+
alt?: string;
|
|
15704
|
+
/** JSONP */
|
|
15705
|
+
callback?: string;
|
|
15706
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
15707
|
+
fields?: string;
|
|
15708
|
+
/** 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. */
|
|
15709
|
+
key?: string;
|
|
15710
|
+
/** Required. The name of the EvaluationRun resource to be cancelled. Format: `projects/{project}/locations/{location}/evaluationRuns/{evaluation_run}` */
|
|
15711
|
+
name: string;
|
|
15712
|
+
/** OAuth 2.0 token for the current user. */
|
|
15713
|
+
oauth_token?: string;
|
|
15714
|
+
/** Returns response with indentations and line breaks. */
|
|
15715
|
+
prettyPrint?: boolean;
|
|
15716
|
+
/** 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. */
|
|
15717
|
+
quotaUser?: string;
|
|
15718
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
15719
|
+
upload_protocol?: string;
|
|
15720
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15721
|
+
uploadType?: string;
|
|
15722
|
+
},
|
|
15723
|
+
body: GoogleCloudAiplatformV1CancelEvaluationRunRequest,
|
|
15724
|
+
): Request<{}>;
|
|
15725
|
+
/** Creates an Evaluation Run. */
|
|
15726
|
+
create(request: {
|
|
15727
|
+
/** V1 error format. */
|
|
15728
|
+
'$.xgafv'?: string;
|
|
15729
|
+
/** OAuth access token. */
|
|
15730
|
+
access_token?: string;
|
|
15731
|
+
/** Data format for response. */
|
|
15732
|
+
alt?: string;
|
|
15733
|
+
/** JSONP */
|
|
15734
|
+
callback?: string;
|
|
15735
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
15736
|
+
fields?: string;
|
|
15737
|
+
/** 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. */
|
|
15738
|
+
key?: string;
|
|
15739
|
+
/** OAuth 2.0 token for the current user. */
|
|
15740
|
+
oauth_token?: string;
|
|
15741
|
+
/** Required. The resource name of the Location to create the Evaluation Run in. Format: `projects/{project}/locations/{location}` */
|
|
15742
|
+
parent: string;
|
|
15743
|
+
/** Returns response with indentations and line breaks. */
|
|
15744
|
+
prettyPrint?: boolean;
|
|
15745
|
+
/** 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. */
|
|
15746
|
+
quotaUser?: string;
|
|
15747
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
15748
|
+
upload_protocol?: string;
|
|
15749
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15750
|
+
uploadType?: string;
|
|
15751
|
+
/** Request body */
|
|
15752
|
+
resource: GoogleCloudAiplatformV1EvaluationRun;
|
|
15753
|
+
}): Request<GoogleCloudAiplatformV1EvaluationRun>;
|
|
15754
|
+
create(
|
|
15755
|
+
request: {
|
|
15756
|
+
/** V1 error format. */
|
|
15757
|
+
'$.xgafv'?: string;
|
|
15758
|
+
/** OAuth access token. */
|
|
15759
|
+
access_token?: string;
|
|
15760
|
+
/** Data format for response. */
|
|
15761
|
+
alt?: string;
|
|
15762
|
+
/** JSONP */
|
|
15763
|
+
callback?: string;
|
|
15764
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
15765
|
+
fields?: string;
|
|
15766
|
+
/** 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. */
|
|
15767
|
+
key?: string;
|
|
15768
|
+
/** OAuth 2.0 token for the current user. */
|
|
15769
|
+
oauth_token?: string;
|
|
15770
|
+
/** Required. The resource name of the Location to create the Evaluation Run in. Format: `projects/{project}/locations/{location}` */
|
|
15771
|
+
parent: string;
|
|
15772
|
+
/** Returns response with indentations and line breaks. */
|
|
15773
|
+
prettyPrint?: boolean;
|
|
15774
|
+
/** 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. */
|
|
15775
|
+
quotaUser?: string;
|
|
15776
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
15777
|
+
upload_protocol?: string;
|
|
15778
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15779
|
+
uploadType?: string;
|
|
15780
|
+
},
|
|
15781
|
+
body: GoogleCloudAiplatformV1EvaluationRun,
|
|
15782
|
+
): Request<GoogleCloudAiplatformV1EvaluationRun>;
|
|
15783
|
+
/** Deletes an Evaluation Run. */
|
|
15784
|
+
delete(request?: {
|
|
15785
|
+
/** V1 error format. */
|
|
15786
|
+
'$.xgafv'?: string;
|
|
15787
|
+
/** OAuth access token. */
|
|
15788
|
+
access_token?: string;
|
|
15789
|
+
/** Data format for response. */
|
|
15790
|
+
alt?: string;
|
|
15791
|
+
/** JSONP */
|
|
15792
|
+
callback?: string;
|
|
15793
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
15794
|
+
fields?: string;
|
|
15795
|
+
/** 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. */
|
|
15796
|
+
key?: string;
|
|
15797
|
+
/** Required. The name of the EvaluationRun resource to be deleted. Format: `projects/{project}/locations/{location}/evaluationRuns/{evaluation_run}` */
|
|
15798
|
+
name: string;
|
|
15799
|
+
/** OAuth 2.0 token for the current user. */
|
|
15800
|
+
oauth_token?: string;
|
|
15801
|
+
/** Returns response with indentations and line breaks. */
|
|
15802
|
+
prettyPrint?: boolean;
|
|
15803
|
+
/** 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. */
|
|
15804
|
+
quotaUser?: string;
|
|
15805
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
15806
|
+
upload_protocol?: string;
|
|
15807
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15808
|
+
uploadType?: string;
|
|
15809
|
+
}): Request<GoogleLongrunningOperation>;
|
|
15810
|
+
/** Gets an Evaluation Run. */
|
|
15811
|
+
get(request?: {
|
|
15812
|
+
/** V1 error format. */
|
|
15813
|
+
'$.xgafv'?: string;
|
|
15814
|
+
/** OAuth access token. */
|
|
15815
|
+
access_token?: string;
|
|
15816
|
+
/** Data format for response. */
|
|
15817
|
+
alt?: string;
|
|
15818
|
+
/** JSONP */
|
|
15819
|
+
callback?: string;
|
|
15820
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
15821
|
+
fields?: string;
|
|
15822
|
+
/** 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. */
|
|
15823
|
+
key?: string;
|
|
15824
|
+
/** Required. The name of the EvaluationRun resource. Format: `projects/{project}/locations/{location}/evaluationRuns/{evaluation_run}` */
|
|
15825
|
+
name: string;
|
|
15826
|
+
/** OAuth 2.0 token for the current user. */
|
|
15827
|
+
oauth_token?: string;
|
|
15828
|
+
/** Returns response with indentations and line breaks. */
|
|
15829
|
+
prettyPrint?: boolean;
|
|
15830
|
+
/** 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. */
|
|
15831
|
+
quotaUser?: string;
|
|
15832
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
15833
|
+
upload_protocol?: string;
|
|
15834
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15835
|
+
uploadType?: string;
|
|
15836
|
+
}): Request<GoogleCloudAiplatformV1EvaluationRun>;
|
|
15837
|
+
/** Lists Evaluation Runs. */
|
|
15838
|
+
list(request?: {
|
|
15839
|
+
/** V1 error format. */
|
|
15840
|
+
'$.xgafv'?: string;
|
|
15841
|
+
/** OAuth access token. */
|
|
15842
|
+
access_token?: string;
|
|
15843
|
+
/** Data format for response. */
|
|
15844
|
+
alt?: string;
|
|
15845
|
+
/** JSONP */
|
|
15846
|
+
callback?: string;
|
|
15847
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
15848
|
+
fields?: string;
|
|
15849
|
+
/** 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). */
|
|
15850
|
+
filter?: string;
|
|
15851
|
+
/** 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. */
|
|
15852
|
+
key?: string;
|
|
15853
|
+
/** OAuth 2.0 token for the current user. */
|
|
15854
|
+
oauth_token?: string;
|
|
15855
|
+
/** Optional. A comma-separated list of fields to order by, sorted in ascending order by default. Use `desc` after a field name for descending. */
|
|
15856
|
+
orderBy?: string;
|
|
15857
|
+
/** Optional. The maximum number of Evaluation Runs to return. */
|
|
15858
|
+
pageSize?: number;
|
|
15859
|
+
/** Optional. A page token, received from a previous `ListEvaluationRuns` call. Provide this to retrieve the subsequent page. */
|
|
15860
|
+
pageToken?: string;
|
|
15861
|
+
/** Required. The resource name of the Location from which to list the Evaluation Runs. Format: `projects/{project}/locations/{location}` */
|
|
15862
|
+
parent: string;
|
|
15863
|
+
/** Returns response with indentations and line breaks. */
|
|
15864
|
+
prettyPrint?: boolean;
|
|
15865
|
+
/** 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. */
|
|
15866
|
+
quotaUser?: string;
|
|
15867
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
15868
|
+
upload_protocol?: string;
|
|
15869
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15870
|
+
uploadType?: string;
|
|
15871
|
+
}): Request<GoogleCloudAiplatformV1ListEvaluationRunsResponse>;
|
|
15872
|
+
}
|
|
15873
|
+
interface EvaluationSetsResource {
|
|
15874
|
+
/** Creates an Evaluation Set. */
|
|
15875
|
+
create(request: {
|
|
15876
|
+
/** V1 error format. */
|
|
15877
|
+
'$.xgafv'?: string;
|
|
15878
|
+
/** OAuth access token. */
|
|
15879
|
+
access_token?: string;
|
|
15880
|
+
/** Data format for response. */
|
|
15881
|
+
alt?: string;
|
|
15882
|
+
/** JSONP */
|
|
15883
|
+
callback?: string;
|
|
15884
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
15885
|
+
fields?: string;
|
|
15886
|
+
/** 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. */
|
|
15887
|
+
key?: string;
|
|
15888
|
+
/** OAuth 2.0 token for the current user. */
|
|
15889
|
+
oauth_token?: string;
|
|
15890
|
+
/** Required. The resource name of the Location to create the Evaluation Set in. Format: `projects/{project}/locations/{location}` */
|
|
15891
|
+
parent: string;
|
|
15892
|
+
/** Returns response with indentations and line breaks. */
|
|
15893
|
+
prettyPrint?: boolean;
|
|
15894
|
+
/** 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. */
|
|
15895
|
+
quotaUser?: string;
|
|
15896
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
15897
|
+
upload_protocol?: string;
|
|
15898
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15899
|
+
uploadType?: string;
|
|
15900
|
+
/** Request body */
|
|
15901
|
+
resource: GoogleCloudAiplatformV1EvaluationSet;
|
|
15902
|
+
}): Request<GoogleCloudAiplatformV1EvaluationSet>;
|
|
15903
|
+
create(
|
|
15904
|
+
request: {
|
|
15905
|
+
/** V1 error format. */
|
|
15906
|
+
'$.xgafv'?: string;
|
|
15907
|
+
/** OAuth access token. */
|
|
15908
|
+
access_token?: string;
|
|
15909
|
+
/** Data format for response. */
|
|
15910
|
+
alt?: string;
|
|
15911
|
+
/** JSONP */
|
|
15912
|
+
callback?: string;
|
|
15913
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
15914
|
+
fields?: string;
|
|
15915
|
+
/** 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. */
|
|
15916
|
+
key?: string;
|
|
15917
|
+
/** OAuth 2.0 token for the current user. */
|
|
15918
|
+
oauth_token?: string;
|
|
15919
|
+
/** Required. The resource name of the Location to create the Evaluation Set in. Format: `projects/{project}/locations/{location}` */
|
|
15920
|
+
parent: string;
|
|
15921
|
+
/** Returns response with indentations and line breaks. */
|
|
15922
|
+
prettyPrint?: boolean;
|
|
15923
|
+
/** 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. */
|
|
15924
|
+
quotaUser?: string;
|
|
15925
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
15926
|
+
upload_protocol?: string;
|
|
15927
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15928
|
+
uploadType?: string;
|
|
15929
|
+
},
|
|
15930
|
+
body: GoogleCloudAiplatformV1EvaluationSet,
|
|
15931
|
+
): Request<GoogleCloudAiplatformV1EvaluationSet>;
|
|
15932
|
+
/** Deletes an Evaluation Set. */
|
|
15933
|
+
delete(request?: {
|
|
15934
|
+
/** V1 error format. */
|
|
15935
|
+
'$.xgafv'?: string;
|
|
15936
|
+
/** OAuth access token. */
|
|
15937
|
+
access_token?: string;
|
|
15938
|
+
/** Data format for response. */
|
|
15939
|
+
alt?: string;
|
|
15940
|
+
/** JSONP */
|
|
15941
|
+
callback?: string;
|
|
15942
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
15943
|
+
fields?: string;
|
|
15944
|
+
/** 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. */
|
|
15945
|
+
key?: string;
|
|
15946
|
+
/** Required. The name of the EvaluationSet resource to be deleted. Format: `projects/{project}/locations/{location}/evaluationSets/{evaluation_set}` */
|
|
15947
|
+
name: string;
|
|
15948
|
+
/** OAuth 2.0 token for the current user. */
|
|
15949
|
+
oauth_token?: string;
|
|
15950
|
+
/** Returns response with indentations and line breaks. */
|
|
15951
|
+
prettyPrint?: boolean;
|
|
15952
|
+
/** 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. */
|
|
15953
|
+
quotaUser?: string;
|
|
15954
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
15955
|
+
upload_protocol?: string;
|
|
15956
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15957
|
+
uploadType?: string;
|
|
15958
|
+
}): Request<GoogleLongrunningOperation>;
|
|
15959
|
+
/** Gets an Evaluation Set. */
|
|
15960
|
+
get(request?: {
|
|
15961
|
+
/** V1 error format. */
|
|
15962
|
+
'$.xgafv'?: string;
|
|
15963
|
+
/** OAuth access token. */
|
|
15964
|
+
access_token?: string;
|
|
15965
|
+
/** Data format for response. */
|
|
15966
|
+
alt?: string;
|
|
15967
|
+
/** JSONP */
|
|
15968
|
+
callback?: string;
|
|
15969
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
15970
|
+
fields?: string;
|
|
15971
|
+
/** 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. */
|
|
15972
|
+
key?: string;
|
|
15973
|
+
/** Required. The name of the EvaluationSet resource. Format: `projects/{project}/locations/{location}/evaluationSets/{evaluation_set}` */
|
|
15974
|
+
name: string;
|
|
15975
|
+
/** OAuth 2.0 token for the current user. */
|
|
15976
|
+
oauth_token?: string;
|
|
15977
|
+
/** Returns response with indentations and line breaks. */
|
|
15978
|
+
prettyPrint?: boolean;
|
|
15979
|
+
/** 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. */
|
|
15980
|
+
quotaUser?: string;
|
|
15981
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
15982
|
+
upload_protocol?: string;
|
|
15983
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15984
|
+
uploadType?: string;
|
|
15985
|
+
}): Request<GoogleCloudAiplatformV1EvaluationSet>;
|
|
15986
|
+
/** Lists Evaluation Sets. */
|
|
15987
|
+
list(request?: {
|
|
15988
|
+
/** V1 error format. */
|
|
15989
|
+
'$.xgafv'?: string;
|
|
15990
|
+
/** OAuth access token. */
|
|
15991
|
+
access_token?: string;
|
|
15992
|
+
/** Data format for response. */
|
|
15993
|
+
alt?: string;
|
|
15994
|
+
/** JSONP */
|
|
15995
|
+
callback?: string;
|
|
15996
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
15997
|
+
fields?: string;
|
|
15998
|
+
/** 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). */
|
|
15999
|
+
filter?: string;
|
|
16000
|
+
/** 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. */
|
|
16001
|
+
key?: string;
|
|
16002
|
+
/** OAuth 2.0 token for the current user. */
|
|
16003
|
+
oauth_token?: string;
|
|
16004
|
+
/** Optional. A comma-separated list of fields to order by, sorted in ascending order by default. Use `desc` after a field name for descending. */
|
|
16005
|
+
orderBy?: string;
|
|
16006
|
+
/** Optional. The maximum number of Evaluation Sets to return. */
|
|
16007
|
+
pageSize?: number;
|
|
16008
|
+
/** Optional. A page token, received from a previous `ListEvaluationSets` call. Provide this to retrieve the subsequent page. */
|
|
16009
|
+
pageToken?: string;
|
|
16010
|
+
/** Required. The resource name of the Location from which to list the Evaluation Sets. Format: `projects/{project}/locations/{location}` */
|
|
16011
|
+
parent: string;
|
|
16012
|
+
/** Returns response with indentations and line breaks. */
|
|
16013
|
+
prettyPrint?: boolean;
|
|
16014
|
+
/** 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. */
|
|
16015
|
+
quotaUser?: string;
|
|
16016
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
16017
|
+
upload_protocol?: string;
|
|
16018
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
16019
|
+
uploadType?: string;
|
|
16020
|
+
}): Request<GoogleCloudAiplatformV1ListEvaluationSetsResponse>;
|
|
16021
|
+
/** Updates an Evaluation Set. */
|
|
16022
|
+
patch(request: {
|
|
16023
|
+
/** V1 error format. */
|
|
16024
|
+
'$.xgafv'?: string;
|
|
16025
|
+
/** OAuth access token. */
|
|
16026
|
+
access_token?: string;
|
|
16027
|
+
/** Data format for response. */
|
|
16028
|
+
alt?: string;
|
|
16029
|
+
/** JSONP */
|
|
16030
|
+
callback?: string;
|
|
16031
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
16032
|
+
fields?: string;
|
|
16033
|
+
/** 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. */
|
|
16034
|
+
key?: string;
|
|
16035
|
+
/** Identifier. The resource name of the EvaluationSet. Format: `projects/{project}/locations/{location}/evaluationSets/{evaluation_set}` */
|
|
16036
|
+
name: string;
|
|
16037
|
+
/** OAuth 2.0 token for the current user. */
|
|
16038
|
+
oauth_token?: string;
|
|
16039
|
+
/** Returns response with indentations and line breaks. */
|
|
16040
|
+
prettyPrint?: boolean;
|
|
16041
|
+
/** 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. */
|
|
16042
|
+
quotaUser?: string;
|
|
16043
|
+
/** Optional. The update mask applies to the resource. For the `FieldMask` definition, see google.protobuf.FieldMask. */
|
|
16044
|
+
updateMask?: string;
|
|
16045
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
16046
|
+
upload_protocol?: string;
|
|
16047
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
16048
|
+
uploadType?: string;
|
|
16049
|
+
/** Request body */
|
|
16050
|
+
resource: GoogleCloudAiplatformV1EvaluationSet;
|
|
16051
|
+
}): Request<GoogleCloudAiplatformV1EvaluationSet>;
|
|
16052
|
+
patch(
|
|
16053
|
+
request: {
|
|
16054
|
+
/** V1 error format. */
|
|
16055
|
+
'$.xgafv'?: string;
|
|
16056
|
+
/** OAuth access token. */
|
|
16057
|
+
access_token?: string;
|
|
16058
|
+
/** Data format for response. */
|
|
16059
|
+
alt?: string;
|
|
16060
|
+
/** JSONP */
|
|
16061
|
+
callback?: string;
|
|
16062
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
16063
|
+
fields?: string;
|
|
16064
|
+
/** 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. */
|
|
16065
|
+
key?: string;
|
|
16066
|
+
/** Identifier. The resource name of the EvaluationSet. Format: `projects/{project}/locations/{location}/evaluationSets/{evaluation_set}` */
|
|
16067
|
+
name: string;
|
|
16068
|
+
/** OAuth 2.0 token for the current user. */
|
|
16069
|
+
oauth_token?: string;
|
|
16070
|
+
/** Returns response with indentations and line breaks. */
|
|
16071
|
+
prettyPrint?: boolean;
|
|
16072
|
+
/** 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. */
|
|
16073
|
+
quotaUser?: string;
|
|
16074
|
+
/** Optional. The update mask applies to the resource. For the `FieldMask` definition, see google.protobuf.FieldMask. */
|
|
16075
|
+
updateMask?: string;
|
|
16076
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
16077
|
+
upload_protocol?: string;
|
|
16078
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
16079
|
+
uploadType?: string;
|
|
16080
|
+
},
|
|
16081
|
+
body: GoogleCloudAiplatformV1EvaluationSet,
|
|
16082
|
+
): Request<GoogleCloudAiplatformV1EvaluationSet>;
|
|
16083
|
+
}
|
|
15182
16084
|
interface OperationsResource {
|
|
15183
16085
|
/** 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`. */
|
|
15184
16086
|
delete(request?: {
|
|
@@ -33507,6 +34409,64 @@ declare namespace gapi.client {
|
|
|
33507
34409
|
},
|
|
33508
34410
|
body: GoogleCloudAiplatformV1GenerateInstanceRubricsRequest,
|
|
33509
34411
|
): Request<GoogleCloudAiplatformV1GenerateInstanceRubricsResponse>;
|
|
34412
|
+
/** Generates synthetic data based on the provided configuration. */
|
|
34413
|
+
generateSyntheticData(request: {
|
|
34414
|
+
/** V1 error format. */
|
|
34415
|
+
'$.xgafv'?: string;
|
|
34416
|
+
/** OAuth access token. */
|
|
34417
|
+
access_token?: string;
|
|
34418
|
+
/** Data format for response. */
|
|
34419
|
+
alt?: string;
|
|
34420
|
+
/** JSONP */
|
|
34421
|
+
callback?: string;
|
|
34422
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
34423
|
+
fields?: string;
|
|
34424
|
+
/** 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. */
|
|
34425
|
+
key?: string;
|
|
34426
|
+
/** Required. The resource name of the Location to run the job. Format: `projects/{project}/locations/{location}` */
|
|
34427
|
+
location: string;
|
|
34428
|
+
/** OAuth 2.0 token for the current user. */
|
|
34429
|
+
oauth_token?: string;
|
|
34430
|
+
/** Returns response with indentations and line breaks. */
|
|
34431
|
+
prettyPrint?: boolean;
|
|
34432
|
+
/** 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. */
|
|
34433
|
+
quotaUser?: string;
|
|
34434
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
34435
|
+
upload_protocol?: string;
|
|
34436
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
34437
|
+
uploadType?: string;
|
|
34438
|
+
/** Request body */
|
|
34439
|
+
resource: GoogleCloudAiplatformV1GenerateSyntheticDataRequest;
|
|
34440
|
+
}): Request<GoogleCloudAiplatformV1GenerateSyntheticDataResponse>;
|
|
34441
|
+
generateSyntheticData(
|
|
34442
|
+
request: {
|
|
34443
|
+
/** V1 error format. */
|
|
34444
|
+
'$.xgafv'?: string;
|
|
34445
|
+
/** OAuth access token. */
|
|
34446
|
+
access_token?: string;
|
|
34447
|
+
/** Data format for response. */
|
|
34448
|
+
alt?: string;
|
|
34449
|
+
/** JSONP */
|
|
34450
|
+
callback?: string;
|
|
34451
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
34452
|
+
fields?: string;
|
|
34453
|
+
/** 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. */
|
|
34454
|
+
key?: string;
|
|
34455
|
+
/** Required. The resource name of the Location to run the job. Format: `projects/{project}/locations/{location}` */
|
|
34456
|
+
location: string;
|
|
34457
|
+
/** OAuth 2.0 token for the current user. */
|
|
34458
|
+
oauth_token?: string;
|
|
34459
|
+
/** Returns response with indentations and line breaks. */
|
|
34460
|
+
prettyPrint?: boolean;
|
|
34461
|
+
/** 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. */
|
|
34462
|
+
quotaUser?: string;
|
|
34463
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
34464
|
+
upload_protocol?: string;
|
|
34465
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
34466
|
+
uploadType?: string;
|
|
34467
|
+
},
|
|
34468
|
+
body: GoogleCloudAiplatformV1GenerateSyntheticDataRequest,
|
|
34469
|
+
): Request<GoogleCloudAiplatformV1GenerateSyntheticDataResponse>;
|
|
33510
34470
|
/** Gets information about a location. */
|
|
33511
34471
|
get(request?: {
|
|
33512
34472
|
/** V1 error format. */
|
|
@@ -33719,6 +34679,9 @@ declare namespace gapi.client {
|
|
|
33719
34679
|
datasets: DatasetsResource;
|
|
33720
34680
|
deploymentResourcePools: DeploymentResourcePoolsResource;
|
|
33721
34681
|
endpoints: EndpointsResource;
|
|
34682
|
+
evaluationItems: EvaluationItemsResource;
|
|
34683
|
+
evaluationRuns: EvaluationRunsResource;
|
|
34684
|
+
evaluationSets: EvaluationSetsResource;
|
|
33722
34685
|
featureGroups: FeatureGroupsResource;
|
|
33723
34686
|
featureOnlineStores: FeatureOnlineStoresResource;
|
|
33724
34687
|
featurestores: FeaturestoresResource;
|