@maxim_mazurok/gapi.client.aiplatform-v1 0.2.20250825 → 0.2.20250909
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 +1220 -44
- 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: 20250909
|
|
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;
|
|
@@ -1552,7 +1595,7 @@ declare namespace gapi.client {
|
|
|
1552
1595
|
systemLabels?: {[P in string]: string};
|
|
1553
1596
|
}
|
|
1554
1597
|
interface GoogleCloudAiplatformV1DeployRequestEndpointConfig {
|
|
1555
|
-
/** Optional. By default, if dedicated endpoint is enabled, the endpoint will be exposed through a dedicated DNS [Endpoint.dedicated_endpoint_dns]. Your request to the dedicated DNS will be isolated from other users' traffic and will have better performance and reliability. Note: Once you enabled dedicated endpoint, you won't be able to send request to the shared DNS {region}-aiplatform.googleapis.com. The limitations will be removed soon. If this field is set to true, the dedicated endpoint will be disabled and the deployed model will be exposed through the shared DNS {region}-aiplatform.googleapis.com. */
|
|
1598
|
+
/** Optional. By default, if dedicated endpoint is enabled and private service connect config is not set, the endpoint will be exposed through a dedicated DNS [Endpoint.dedicated_endpoint_dns]. If private service connect config is set, the endpoint will be exposed through private service connect. Your request to the dedicated DNS will be isolated from other users' traffic and will have better performance and reliability. Note: Once you enabled dedicated endpoint, you won't be able to send request to the shared DNS {region}-aiplatform.googleapis.com. The limitations will be removed soon. If this field is set to true, the dedicated endpoint will be disabled and the deployed model will be exposed through the shared DNS {region}-aiplatform.googleapis.com. */
|
|
1556
1599
|
dedicatedEndpointDisabled?: boolean;
|
|
1557
1600
|
/** Optional. Deprecated. Use dedicated_endpoint_disabled instead. If true, the endpoint will be exposed through a dedicated DNS [Endpoint.dedicated_endpoint_dns]. Your request to the dedicated DNS will be isolated from other users' traffic and will have better performance and reliability. Note: Once you enabled dedicated endpoint, you won't be able to send request to the shared DNS {region}-aiplatform.googleapis.com. The limitations will be removed soon. */
|
|
1558
1601
|
dedicatedEndpointEnabled?: boolean;
|
|
@@ -1560,6 +1603,8 @@ declare namespace gapi.client {
|
|
|
1560
1603
|
endpointDisplayName?: string;
|
|
1561
1604
|
/** Optional. Immutable. The ID to use for endpoint, which will become the final component of the endpoint resource name. If not provided, Vertex AI will generate a value for this ID. If the first character is a letter, this value may be up to 63 characters, and valid characters are `[a-z0-9-]`. The last character must be a letter or number. If the first character is a number, this value may be up to 9 characters, and valid characters are `[0-9]` with no leading zeros. When using HTTP/JSON, this field is populated based on a query string argument, such as `?endpoint_id=12345`. This is the fallback for fields that are not included in either the URI or the body. */
|
|
1562
1605
|
endpointUserId?: string;
|
|
1606
|
+
/** Optional. Configuration for private service connect. If set, the endpoint will be exposed through private service connect. */
|
|
1607
|
+
privateServiceConnectConfig?: GoogleCloudAiplatformV1PrivateServiceConnectConfig;
|
|
1563
1608
|
}
|
|
1564
1609
|
interface GoogleCloudAiplatformV1DeployRequestModelConfig {
|
|
1565
1610
|
/** Optional. Whether the user accepts the End User License Agreement (EULA) for the model. */
|
|
@@ -1946,6 +1991,224 @@ declare namespace gapi.client {
|
|
|
1946
1991
|
[P in string]: GoogleCloudAiplatformV1EvaluationInstanceInstanceData;
|
|
1947
1992
|
};
|
|
1948
1993
|
}
|
|
1994
|
+
interface GoogleCloudAiplatformV1EvaluationItem {
|
|
1995
|
+
/** Output only. Timestamp when this item was created. */
|
|
1996
|
+
createTime?: string;
|
|
1997
|
+
/** Required. The display name of the EvaluationItem. */
|
|
1998
|
+
displayName?: string;
|
|
1999
|
+
/** Output only. Error for the evaluation item. */
|
|
2000
|
+
error?: GoogleRpcStatus;
|
|
2001
|
+
/** Required. The type of the EvaluationItem. */
|
|
2002
|
+
evaluationItemType?: string;
|
|
2003
|
+
/** The request to evaluate. */
|
|
2004
|
+
evaluationRequest?: GoogleCloudAiplatformV1EvaluationRequest;
|
|
2005
|
+
/** Output only. The response from evaluation. */
|
|
2006
|
+
evaluationResponse?: GoogleCloudAiplatformV1EvaluationResult;
|
|
2007
|
+
/** The GCS object where the request or response is stored. */
|
|
2008
|
+
gcsUri?: string;
|
|
2009
|
+
/** Optional. Labels for the EvaluationItem. */
|
|
2010
|
+
labels?: {[P in string]: string};
|
|
2011
|
+
/** Optional. Metadata for the EvaluationItem. */
|
|
2012
|
+
metadata?: any;
|
|
2013
|
+
/** Identifier. The resource name of the EvaluationItem. Format: `projects/{project}/locations/{location}/evaluationItems/{evaluation_item}` */
|
|
2014
|
+
name?: string;
|
|
2015
|
+
}
|
|
2016
|
+
interface GoogleCloudAiplatformV1EvaluationPrompt {
|
|
2017
|
+
/** Prompt template data. */
|
|
2018
|
+
promptTemplateData?: GoogleCloudAiplatformV1EvaluationPromptPromptTemplateData;
|
|
2019
|
+
/** Text prompt. */
|
|
2020
|
+
text?: string;
|
|
2021
|
+
/** Fields and values that can be used to populate the prompt template. */
|
|
2022
|
+
value?: any;
|
|
2023
|
+
}
|
|
2024
|
+
interface GoogleCloudAiplatformV1EvaluationPromptPromptTemplateData {
|
|
2025
|
+
/** The values for fields in the prompt template. */
|
|
2026
|
+
values?: {[P in string]: GoogleCloudAiplatformV1Content};
|
|
2027
|
+
}
|
|
2028
|
+
interface GoogleCloudAiplatformV1EvaluationRequest {
|
|
2029
|
+
/** Optional. Responses from model under test and other baseline models for comparison. */
|
|
2030
|
+
candidateResponses?: GoogleCloudAiplatformV1CandidateResponse[];
|
|
2031
|
+
/** Optional. The Ideal response or ground truth. */
|
|
2032
|
+
goldenResponse?: GoogleCloudAiplatformV1CandidateResponse;
|
|
2033
|
+
/** Required. The request/prompt to evaluate. */
|
|
2034
|
+
prompt?: GoogleCloudAiplatformV1EvaluationPrompt;
|
|
2035
|
+
/** Optional. Named groups of rubrics associated with this prompt. The key is a user-defined name for the rubric group. */
|
|
2036
|
+
rubrics?: {[P in string]: GoogleCloudAiplatformV1RubricGroup};
|
|
2037
|
+
}
|
|
2038
|
+
interface GoogleCloudAiplatformV1EvaluationResult {
|
|
2039
|
+
/** Optional. The results for the metric. */
|
|
2040
|
+
candidateResults?: GoogleCloudAiplatformV1CandidateResult[];
|
|
2041
|
+
/** Required. The request item that was evaluated. Format: projects/{project}/locations/{location}/evaluationItems/{evaluation_item} */
|
|
2042
|
+
evaluationRequest?: string;
|
|
2043
|
+
/** Required. The evaluation run that was used to generate the result. Format: projects/{project}/locations/{location}/evaluationRuns/{evaluation_run} */
|
|
2044
|
+
evaluationRun?: string;
|
|
2045
|
+
/** Optional. Metadata about the evaluation result. */
|
|
2046
|
+
metadata?: any;
|
|
2047
|
+
/** Required. The metric that was evaluated. */
|
|
2048
|
+
metric?: string;
|
|
2049
|
+
/** Required. The request that was evaluated. */
|
|
2050
|
+
request?: GoogleCloudAiplatformV1EvaluationRequest;
|
|
2051
|
+
}
|
|
2052
|
+
interface GoogleCloudAiplatformV1EvaluationResults {
|
|
2053
|
+
/** The evaluation set where item level results are stored. */
|
|
2054
|
+
evaluationSet?: string;
|
|
2055
|
+
/** Optional. The summary metrics for the evaluation run. */
|
|
2056
|
+
summaryMetrics?: GoogleCloudAiplatformV1SummaryMetrics;
|
|
2057
|
+
}
|
|
2058
|
+
interface GoogleCloudAiplatformV1EvaluationRubricConfig {
|
|
2059
|
+
/** Dynamically generate rubrics using a predefined spec. */
|
|
2060
|
+
predefinedRubricGenerationSpec?: GoogleCloudAiplatformV1EvaluationRunMetricPredefinedMetricSpec;
|
|
2061
|
+
/** Dynamically generate rubrics using this specification. */
|
|
2062
|
+
rubricGenerationSpec?: GoogleCloudAiplatformV1EvaluationRunMetricRubricGenerationSpec;
|
|
2063
|
+
/** 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. */
|
|
2064
|
+
rubricGroupKey?: string;
|
|
2065
|
+
}
|
|
2066
|
+
interface GoogleCloudAiplatformV1EvaluationRun {
|
|
2067
|
+
/** Output only. Time when the evaluation run was completed. */
|
|
2068
|
+
completionTime?: string;
|
|
2069
|
+
/** Output only. Time when the evaluation run was created. */
|
|
2070
|
+
createTime?: string;
|
|
2071
|
+
/** Required. The data source for the evaluation run. */
|
|
2072
|
+
dataSource?: GoogleCloudAiplatformV1EvaluationRunDataSource;
|
|
2073
|
+
/** Required. The display name of the Evaluation Run. */
|
|
2074
|
+
displayName?: string;
|
|
2075
|
+
/** Output only. Only populated when the evaluation run's state is FAILED or CANCELLED. */
|
|
2076
|
+
error?: GoogleRpcStatus;
|
|
2077
|
+
/** Required. The configuration used for the evaluation. */
|
|
2078
|
+
evaluationConfig?: GoogleCloudAiplatformV1EvaluationRunEvaluationConfig;
|
|
2079
|
+
/** Output only. The results of the evaluation run. Only populated when the evaluation run's state is SUCCEEDED. */
|
|
2080
|
+
evaluationResults?: GoogleCloudAiplatformV1EvaluationResults;
|
|
2081
|
+
/** 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. */
|
|
2082
|
+
evaluationSetSnapshot?: string;
|
|
2083
|
+
/** 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. */
|
|
2084
|
+
inferenceConfigs?: {
|
|
2085
|
+
[P in string]: GoogleCloudAiplatformV1EvaluationRunInferenceConfig;
|
|
2086
|
+
};
|
|
2087
|
+
/** Optional. Labels for the evaluation run. */
|
|
2088
|
+
labels?: {[P in string]: string};
|
|
2089
|
+
/** Optional. Metadata about the evaluation run, can be used by the caller to store additional tracking information about the evaluation run. */
|
|
2090
|
+
metadata?: any;
|
|
2091
|
+
/** Identifier. The resource name of the EvaluationRun. This is a unique identifier. Format: `projects/{project}/locations/{location}/evaluationRuns/{evaluation_run}` */
|
|
2092
|
+
name?: string;
|
|
2093
|
+
/** Output only. The state of the evaluation run. */
|
|
2094
|
+
state?: string;
|
|
2095
|
+
}
|
|
2096
|
+
interface GoogleCloudAiplatformV1EvaluationRunDataSource {
|
|
2097
|
+
/** Evaluation data in bigquery. */
|
|
2098
|
+
bigqueryRequestSet?: GoogleCloudAiplatformV1BigQueryRequestSet;
|
|
2099
|
+
/** The EvaluationSet resource name. Format: `projects/{project}/locations/{location}/evaluationSets/{evaluation_set}` */
|
|
2100
|
+
evaluationSet?: string;
|
|
2101
|
+
}
|
|
2102
|
+
interface GoogleCloudAiplatformV1EvaluationRunEvaluationConfig {
|
|
2103
|
+
/** Optional. The autorater config for the evaluation run. */
|
|
2104
|
+
autoraterConfig?: GoogleCloudAiplatformV1EvaluationRunEvaluationConfigAutoraterConfig;
|
|
2105
|
+
/** Required. The metrics to be calculated in the evaluation run. */
|
|
2106
|
+
metrics?: GoogleCloudAiplatformV1EvaluationRunMetric[];
|
|
2107
|
+
/** Optional. The output config for the evaluation run. */
|
|
2108
|
+
outputConfig?: GoogleCloudAiplatformV1EvaluationRunEvaluationConfigOutputConfig;
|
|
2109
|
+
/** The prompt template used for inference. The values for variables in the prompt template are defined in EvaluationItem.EvaluationPrompt.PromptTemplateData.values. */
|
|
2110
|
+
promptTemplate?: GoogleCloudAiplatformV1EvaluationRunEvaluationConfigPromptTemplate;
|
|
2111
|
+
/** 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. */
|
|
2112
|
+
rubricConfigs?: GoogleCloudAiplatformV1EvaluationRubricConfig[];
|
|
2113
|
+
}
|
|
2114
|
+
interface GoogleCloudAiplatformV1EvaluationRunEvaluationConfigAutoraterConfig {
|
|
2115
|
+
/** 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}` */
|
|
2116
|
+
autoraterModel?: string;
|
|
2117
|
+
/** Optional. Configuration options for model generation and outputs. */
|
|
2118
|
+
generationConfig?: GoogleCloudAiplatformV1GenerationConfig;
|
|
2119
|
+
/** 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. */
|
|
2120
|
+
sampleCount?: number;
|
|
2121
|
+
}
|
|
2122
|
+
interface GoogleCloudAiplatformV1EvaluationRunEvaluationConfigOutputConfig {
|
|
2123
|
+
/** BigQuery destination for evaluation output. */
|
|
2124
|
+
bigqueryDestination?: GoogleCloudAiplatformV1BigQueryDestination;
|
|
2125
|
+
/** Cloud Storage destination for evaluation output. */
|
|
2126
|
+
gcsDestination?: GoogleCloudAiplatformV1GcsDestination;
|
|
2127
|
+
}
|
|
2128
|
+
interface GoogleCloudAiplatformV1EvaluationRunEvaluationConfigPromptTemplate {
|
|
2129
|
+
/** Prompt template stored in Cloud Storage. Format: "gs://my-bucket/file-name.txt". */
|
|
2130
|
+
gcsUri?: string;
|
|
2131
|
+
/** Inline prompt template. Template variables should be in the format "{var_name}". Example: "Translate the following from {source_lang} to {target_lang}: {text}" */
|
|
2132
|
+
promptTemplate?: string;
|
|
2133
|
+
}
|
|
2134
|
+
interface GoogleCloudAiplatformV1EvaluationRunInferenceConfig {
|
|
2135
|
+
/** Optional. Generation config. */
|
|
2136
|
+
generationConfig?: GoogleCloudAiplatformV1GenerationConfig;
|
|
2137
|
+
/** 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}` */
|
|
2138
|
+
model?: string;
|
|
2139
|
+
}
|
|
2140
|
+
interface GoogleCloudAiplatformV1EvaluationRunMetric {
|
|
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 GoogleCloudAiplatformV1EvaluationRunMetricLLMBasedMetricSpec {
|
|
2151
|
+
/** Optional. Optional additional configuration for the metric. */
|
|
2152
|
+
additionalConfig?: {[P in string]: any};
|
|
2153
|
+
/** Optional. Optional configuration for the judge LLM (Autorater). */
|
|
2154
|
+
judgeAutoraterConfig?: GoogleCloudAiplatformV1EvaluationRunEvaluationConfigAutoraterConfig;
|
|
2155
|
+
/** Required. Template for the prompt sent to the judge model. */
|
|
2156
|
+
metricPromptTemplate?: string;
|
|
2157
|
+
/** Dynamically generate rubrics using a predefined spec. */
|
|
2158
|
+
predefinedRubricGenerationSpec?: GoogleCloudAiplatformV1EvaluationRunMetricPredefinedMetricSpec;
|
|
2159
|
+
/** Dynamically generate rubrics using this specification. */
|
|
2160
|
+
rubricGenerationSpec?: GoogleCloudAiplatformV1EvaluationRunMetricRubricGenerationSpec;
|
|
2161
|
+
/** Use a pre-defined group of rubrics associated with the input. Refers to a key in the rubric_groups map of EvaluationInstance. */
|
|
2162
|
+
rubricGroupKey?: string;
|
|
2163
|
+
/** Optional. System instructions for the judge model. */
|
|
2164
|
+
systemInstruction?: string;
|
|
2165
|
+
}
|
|
2166
|
+
interface GoogleCloudAiplatformV1EvaluationRunMetricPredefinedMetricSpec {
|
|
2167
|
+
/** Required. The name of a pre-defined metric, such as "instruction_following_v1" or "text_quality_v1". */
|
|
2168
|
+
metricSpecName?: string;
|
|
2169
|
+
/** Optional. The parameters needed to run the pre-defined metric. */
|
|
2170
|
+
parameters?: {[P in string]: any};
|
|
2171
|
+
}
|
|
2172
|
+
interface GoogleCloudAiplatformV1EvaluationRunMetricRubricBasedMetricSpec {
|
|
2173
|
+
/** Use rubrics provided directly in the spec. */
|
|
2174
|
+
inlineRubrics?: GoogleCloudAiplatformV1EvaluationRunMetricRubricBasedMetricSpecRepeatedRubrics;
|
|
2175
|
+
/** Optional. Optional configuration for the judge LLM (Autorater). The definition of AutoraterConfig needs to be provided. */
|
|
2176
|
+
judgeAutoraterConfig?: GoogleCloudAiplatformV1EvaluationRunEvaluationConfigAutoraterConfig;
|
|
2177
|
+
/** Optional. Template for the prompt used by the judge model to evaluate against rubrics. */
|
|
2178
|
+
metricPromptTemplate?: string;
|
|
2179
|
+
/** Dynamically generate rubrics for evaluation using this specification. */
|
|
2180
|
+
rubricGenerationSpec?: GoogleCloudAiplatformV1EvaluationRunMetricRubricGenerationSpec;
|
|
2181
|
+
/** Use a pre-defined group of rubrics associated with the input content. This refers to a key in the `rubric_groups` map of `RubricEnhancedContents`. */
|
|
2182
|
+
rubricGroupKey?: string;
|
|
2183
|
+
}
|
|
2184
|
+
interface GoogleCloudAiplatformV1EvaluationRunMetricRubricBasedMetricSpecRepeatedRubrics {
|
|
2185
|
+
/** The list of rubrics. */
|
|
2186
|
+
rubrics?: GoogleCloudAiplatformV1Rubric[];
|
|
2187
|
+
}
|
|
2188
|
+
interface GoogleCloudAiplatformV1EvaluationRunMetricRubricGenerationSpec {
|
|
2189
|
+
/** 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. */
|
|
2190
|
+
modelConfig?: GoogleCloudAiplatformV1EvaluationRunEvaluationConfigAutoraterConfig;
|
|
2191
|
+
/** Optional. Template for the prompt used to generate rubrics. The details should be updated based on the most-recent recipe requirements. */
|
|
2192
|
+
promptTemplate?: string;
|
|
2193
|
+
/** Optional. The type of rubric content to be generated. */
|
|
2194
|
+
rubricContentType?: string;
|
|
2195
|
+
/** 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. */
|
|
2196
|
+
rubricTypeOntology?: string[];
|
|
2197
|
+
}
|
|
2198
|
+
interface GoogleCloudAiplatformV1EvaluationSet {
|
|
2199
|
+
/** Output only. Timestamp when this item was created. */
|
|
2200
|
+
createTime?: string;
|
|
2201
|
+
/** Required. The display name of the EvaluationSet. */
|
|
2202
|
+
displayName?: string;
|
|
2203
|
+
/** Required. The EvaluationItems that are part of this dataset. */
|
|
2204
|
+
evaluationItems?: string[];
|
|
2205
|
+
/** Optional. Metadata for the EvaluationSet. */
|
|
2206
|
+
metadata?: any;
|
|
2207
|
+
/** Identifier. The resource name of the EvaluationSet. Format: `projects/{project}/locations/{location}/evaluationSets/{evaluation_set}` */
|
|
2208
|
+
name?: string;
|
|
2209
|
+
/** Output only. Timestamp when this item was last updated. */
|
|
2210
|
+
updateTime?: string;
|
|
2211
|
+
}
|
|
1949
2212
|
interface GoogleCloudAiplatformV1Event {
|
|
1950
2213
|
/** Required. The relative resource name of the Artifact in the Event. */
|
|
1951
2214
|
artifact?: string;
|
|
@@ -2973,35 +3236,35 @@ declare namespace gapi.client {
|
|
|
2973
3236
|
usageMetadata?: GoogleCloudAiplatformV1GenerateContentResponseUsageMetadata;
|
|
2974
3237
|
}
|
|
2975
3238
|
interface GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback {
|
|
2976
|
-
/** Output only.
|
|
3239
|
+
/** Output only. The reason why the prompt was blocked. */
|
|
2977
3240
|
blockReason?: string;
|
|
2978
|
-
/** Output only. A readable
|
|
3241
|
+
/** Output only. A readable message that explains the reason why the prompt was blocked. */
|
|
2979
3242
|
blockReasonMessage?: string;
|
|
2980
|
-
/** Output only.
|
|
3243
|
+
/** Output only. A list of safety ratings for the prompt. There is one rating per category. */
|
|
2981
3244
|
safetyRatings?: GoogleCloudAiplatformV1SafetyRating[];
|
|
2982
3245
|
}
|
|
2983
3246
|
interface GoogleCloudAiplatformV1GenerateContentResponseUsageMetadata {
|
|
2984
|
-
/** Output only.
|
|
3247
|
+
/** Output only. The number of tokens in the cached content that was used for this request. */
|
|
2985
3248
|
cachedContentTokenCount?: number;
|
|
2986
|
-
/** Output only.
|
|
3249
|
+
/** Output only. A detailed breakdown of the token count for each modality in the cached content. */
|
|
2987
3250
|
cacheTokensDetails?: GoogleCloudAiplatformV1ModalityTokenCount[];
|
|
2988
|
-
/**
|
|
3251
|
+
/** The total number of tokens in the generated candidates. */
|
|
2989
3252
|
candidatesTokenCount?: number;
|
|
2990
|
-
/** Output only.
|
|
3253
|
+
/** Output only. A detailed breakdown of the token count for each modality in the generated candidates. */
|
|
2991
3254
|
candidatesTokensDetails?: GoogleCloudAiplatformV1ModalityTokenCount[];
|
|
2992
|
-
/**
|
|
3255
|
+
/** The total number of tokens in the prompt. This includes any text, images, or other media provided in the request. When `cached_content` is set, this also includes the number of tokens in the cached content. */
|
|
2993
3256
|
promptTokenCount?: number;
|
|
2994
|
-
/** Output only.
|
|
3257
|
+
/** Output only. A detailed breakdown of the token count for each modality in the prompt. */
|
|
2995
3258
|
promptTokensDetails?: GoogleCloudAiplatformV1ModalityTokenCount[];
|
|
2996
|
-
/** Output only.
|
|
3259
|
+
/** Output only. The number of tokens that were part of the model's generated "thoughts" output, if applicable. */
|
|
2997
3260
|
thoughtsTokenCount?: number;
|
|
2998
|
-
/** Output only.
|
|
3261
|
+
/** Output only. The number of tokens in the results from tool executions, which are provided back to the model as input, if applicable. */
|
|
2999
3262
|
toolUsePromptTokenCount?: number;
|
|
3000
|
-
/** Output only.
|
|
3263
|
+
/** Output only. A detailed breakdown by modality of the token counts from the results of tool executions, which are provided back to the model as input. */
|
|
3001
3264
|
toolUsePromptTokensDetails?: GoogleCloudAiplatformV1ModalityTokenCount[];
|
|
3002
|
-
/**
|
|
3265
|
+
/** The total number of tokens for the entire request. This is the sum of `prompt_token_count`, `candidates_token_count`, `tool_use_prompt_token_count`, and `thoughts_token_count`. */
|
|
3003
3266
|
totalTokenCount?: number;
|
|
3004
|
-
/** Output only.
|
|
3267
|
+
/** Output only. The traffic type for this request. */
|
|
3005
3268
|
trafficType?: string;
|
|
3006
3269
|
}
|
|
3007
3270
|
interface GoogleCloudAiplatformV1GenerateInstanceRubricsRequest {
|
|
@@ -3016,6 +3279,20 @@ declare namespace gapi.client {
|
|
|
3016
3279
|
/** Output only. A list of generated rubrics. */
|
|
3017
3280
|
generatedRubrics?: GoogleCloudAiplatformV1Rubric[];
|
|
3018
3281
|
}
|
|
3282
|
+
interface GoogleCloudAiplatformV1GenerateSyntheticDataRequest {
|
|
3283
|
+
/** Required. The number of synthetic examples to generate. For this stateless API, the count is limited to a small number. */
|
|
3284
|
+
count?: number;
|
|
3285
|
+
/** Optional. A list of few-shot examples to guide the model's output style and format. */
|
|
3286
|
+
examples?: GoogleCloudAiplatformV1SyntheticExample[];
|
|
3287
|
+
/** Required. The schema of the desired output, defined by a list of fields. */
|
|
3288
|
+
outputFieldSpecs?: GoogleCloudAiplatformV1OutputFieldSpec[];
|
|
3289
|
+
/** Generate data from a high-level task description. */
|
|
3290
|
+
taskDescription?: GoogleCloudAiplatformV1TaskDescriptionStrategy;
|
|
3291
|
+
}
|
|
3292
|
+
interface GoogleCloudAiplatformV1GenerateSyntheticDataResponse {
|
|
3293
|
+
/** A list of generated synthetic examples. */
|
|
3294
|
+
syntheticExamples?: GoogleCloudAiplatformV1SyntheticExample[];
|
|
3295
|
+
}
|
|
3019
3296
|
interface GoogleCloudAiplatformV1GenerateVideoResponse {
|
|
3020
3297
|
/** The cloud storage uris of the generated videos. */
|
|
3021
3298
|
generatedSamples?: string[];
|
|
@@ -3120,7 +3397,10 @@ declare namespace gapi.client {
|
|
|
3120
3397
|
/** Required. The type of the Google Drive resource. */
|
|
3121
3398
|
resourceType?: string;
|
|
3122
3399
|
}
|
|
3123
|
-
interface GoogleCloudAiplatformV1GoogleMaps {
|
|
3400
|
+
interface GoogleCloudAiplatformV1GoogleMaps {
|
|
3401
|
+
/** Optional. If true, include the widget context token in the response. */
|
|
3402
|
+
enableWidget?: boolean;
|
|
3403
|
+
}
|
|
3124
3404
|
interface GoogleCloudAiplatformV1GoogleSearchRetrieval {
|
|
3125
3405
|
/** Specifies the dynamic retrieval configuration for the given source. */
|
|
3126
3406
|
dynamicRetrievalConfig?: GoogleCloudAiplatformV1DynamicRetrievalConfig;
|
|
@@ -3162,38 +3442,24 @@ declare namespace gapi.client {
|
|
|
3162
3442
|
placeAnswerSources?: GoogleCloudAiplatformV1GroundingChunkMapsPlaceAnswerSources;
|
|
3163
3443
|
/** This Place's resource name, in `places/{place_id}` format. Can be used to look up the Place. */
|
|
3164
3444
|
placeId?: string;
|
|
3165
|
-
/** Text of the
|
|
3445
|
+
/** Text of the place answer. */
|
|
3166
3446
|
text?: string;
|
|
3167
|
-
/** Title of the
|
|
3447
|
+
/** Title of the place. */
|
|
3168
3448
|
title?: string;
|
|
3169
|
-
/** URI reference of the
|
|
3449
|
+
/** URI reference of the place. */
|
|
3170
3450
|
uri?: string;
|
|
3171
3451
|
}
|
|
3172
3452
|
interface GoogleCloudAiplatformV1GroundingChunkMapsPlaceAnswerSources {
|
|
3173
|
-
/** A link where users can flag a problem with the generated answer. */
|
|
3174
|
-
flagContentUri?: string;
|
|
3175
3453
|
/** Snippets of reviews that are used to generate the answer. */
|
|
3176
3454
|
reviewSnippets?: GoogleCloudAiplatformV1GroundingChunkMapsPlaceAnswerSourcesReviewSnippet[];
|
|
3177
3455
|
}
|
|
3178
|
-
interface GoogleCloudAiplatformV1GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution {
|
|
3179
|
-
/** Name of the author of the Photo or Review. */
|
|
3180
|
-
displayName?: string;
|
|
3181
|
-
/** Profile photo URI of the author of the Photo or Review. */
|
|
3182
|
-
photoUri?: string;
|
|
3183
|
-
/** URI of the author of the Photo or Review. */
|
|
3184
|
-
uri?: string;
|
|
3185
|
-
}
|
|
3186
3456
|
interface GoogleCloudAiplatformV1GroundingChunkMapsPlaceAnswerSourcesReviewSnippet {
|
|
3187
|
-
/** This review's author. */
|
|
3188
|
-
authorAttribution?: GoogleCloudAiplatformV1GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution;
|
|
3189
|
-
/** A link where users can flag a problem with the review. */
|
|
3190
|
-
flagContentUri?: string;
|
|
3191
3457
|
/** A link to show the review on Google Maps. */
|
|
3192
3458
|
googleMapsUri?: string;
|
|
3193
|
-
/**
|
|
3194
|
-
|
|
3195
|
-
/**
|
|
3196
|
-
|
|
3459
|
+
/** Id of the review referencing the place. */
|
|
3460
|
+
reviewId?: string;
|
|
3461
|
+
/** Title of the review. */
|
|
3462
|
+
title?: string;
|
|
3197
3463
|
}
|
|
3198
3464
|
interface GoogleCloudAiplatformV1GroundingChunkRetrievedContext {
|
|
3199
3465
|
/** Output only. The full document name for the referenced Vertex AI Search document. */
|
|
@@ -3226,9 +3492,17 @@ declare namespace gapi.client {
|
|
|
3226
3492
|
retrievalMetadata?: GoogleCloudAiplatformV1RetrievalMetadata;
|
|
3227
3493
|
/** Optional. Google search entry for the following-up web searches. */
|
|
3228
3494
|
searchEntryPoint?: GoogleCloudAiplatformV1SearchEntryPoint;
|
|
3495
|
+
/** Optional. Output only. List of source flagging uris. This is currently populated only for Google Maps grounding. */
|
|
3496
|
+
sourceFlaggingUris?: GoogleCloudAiplatformV1GroundingMetadataSourceFlaggingUri[];
|
|
3229
3497
|
/** Optional. Web search queries for the following-up web search. */
|
|
3230
3498
|
webSearchQueries?: string[];
|
|
3231
3499
|
}
|
|
3500
|
+
interface GoogleCloudAiplatformV1GroundingMetadataSourceFlaggingUri {
|
|
3501
|
+
/** A link where users can flag a problem with the source (place or review). */
|
|
3502
|
+
flagContentUri?: string;
|
|
3503
|
+
/** Id of the place or review. */
|
|
3504
|
+
sourceId?: string;
|
|
3505
|
+
}
|
|
3232
3506
|
interface GoogleCloudAiplatformV1GroundingSupport {
|
|
3233
3507
|
/** Confidence score of the support references. Ranges from 0 to 1. 1 is the most confident. For Gemini 2.0 and before, this list must have the same size as the grounding_chunk_indices. For Gemini 2.5 and after, this list will be empty and should be ignored. */
|
|
3234
3508
|
confidenceScores?: number[];
|
|
@@ -3551,6 +3825,12 @@ declare namespace gapi.client {
|
|
|
3551
3825
|
/** Required. The number of steps for approximating the path integral. A good value to start is 50 and gradually increase until the sum to diff property is within the desired error range. Valid range of its value is [1, 100], inclusively. */
|
|
3552
3826
|
stepCount?: number;
|
|
3553
3827
|
}
|
|
3828
|
+
interface GoogleCloudAiplatformV1InvokeRequest {
|
|
3829
|
+
/** ID of the DeployedModel that serves the invoke request. */
|
|
3830
|
+
deployedModelId?: string;
|
|
3831
|
+
/** The invoke method input. Supports HTTP headers and arbitrary data payload. */
|
|
3832
|
+
httpBody?: GoogleApiHttpBody;
|
|
3833
|
+
}
|
|
3554
3834
|
interface GoogleCloudAiplatformV1JiraSource {
|
|
3555
3835
|
/** Required. The Jira queries. */
|
|
3556
3836
|
jiraQueries?: GoogleCloudAiplatformV1JiraSourceJiraQueries[];
|
|
@@ -3657,6 +3937,24 @@ declare namespace gapi.client {
|
|
|
3657
3937
|
/** 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
3938
|
nextPageToken?: string;
|
|
3659
3939
|
}
|
|
3940
|
+
interface GoogleCloudAiplatformV1ListEvaluationItemsResponse {
|
|
3941
|
+
/** List of EvaluationItems in the requested page. */
|
|
3942
|
+
evaluationItems?: GoogleCloudAiplatformV1EvaluationItem[];
|
|
3943
|
+
/** A token to retrieve the next page of results. */
|
|
3944
|
+
nextPageToken?: string;
|
|
3945
|
+
}
|
|
3946
|
+
interface GoogleCloudAiplatformV1ListEvaluationRunsResponse {
|
|
3947
|
+
/** List of EvaluationRuns in the requested page. */
|
|
3948
|
+
evaluationRuns?: GoogleCloudAiplatformV1EvaluationRun[];
|
|
3949
|
+
/** A token to retrieve the next page of results. */
|
|
3950
|
+
nextPageToken?: string;
|
|
3951
|
+
}
|
|
3952
|
+
interface GoogleCloudAiplatformV1ListEvaluationSetsResponse {
|
|
3953
|
+
/** List of EvaluationSets in the requested page. */
|
|
3954
|
+
evaluationSets?: GoogleCloudAiplatformV1EvaluationSet[];
|
|
3955
|
+
/** A token to retrieve the next page of results. */
|
|
3956
|
+
nextPageToken?: string;
|
|
3957
|
+
}
|
|
3660
3958
|
interface GoogleCloudAiplatformV1ListExecutionsResponse {
|
|
3661
3959
|
/** The Executions retrieved from the MetadataStore. */
|
|
3662
3960
|
executions?: GoogleCloudAiplatformV1Execution[];
|
|
@@ -3895,6 +4193,22 @@ declare namespace gapi.client {
|
|
|
3895
4193
|
/** List of TuningJobs in the requested page. */
|
|
3896
4194
|
tuningJobs?: GoogleCloudAiplatformV1TuningJob[];
|
|
3897
4195
|
}
|
|
4196
|
+
interface GoogleCloudAiplatformV1LLMBasedMetricSpec {
|
|
4197
|
+
/** Optional. Optional additional configuration for the metric. */
|
|
4198
|
+
additionalConfig?: {[P in string]: any};
|
|
4199
|
+
/** Optional. Optional configuration for the judge LLM (Autorater). */
|
|
4200
|
+
judgeAutoraterConfig?: GoogleCloudAiplatformV1AutoraterConfig;
|
|
4201
|
+
/** Required. Template for the prompt sent to the judge model. */
|
|
4202
|
+
metricPromptTemplate?: string;
|
|
4203
|
+
/** Dynamically generate rubrics using a predefined spec. */
|
|
4204
|
+
predefinedRubricGenerationSpec?: GoogleCloudAiplatformV1PredefinedMetricSpec;
|
|
4205
|
+
/** Dynamically generate rubrics using this specification. */
|
|
4206
|
+
rubricGenerationSpec?: GoogleCloudAiplatformV1RubricGenerationSpec;
|
|
4207
|
+
/** Use a pre-defined group of rubrics associated with the input. Refers to a key in the rubric_groups map of EvaluationInstance. */
|
|
4208
|
+
rubricGroupKey?: string;
|
|
4209
|
+
/** Optional. System instructions for the judge model. */
|
|
4210
|
+
systemInstruction?: string;
|
|
4211
|
+
}
|
|
3898
4212
|
interface GoogleCloudAiplatformV1LogprobsResult {
|
|
3899
4213
|
/** Length = total number of decoding steps. The chosen candidates may or may not be in top_candidates. */
|
|
3900
4214
|
chosenCandidates?: GoogleCloudAiplatformV1LogprobsResultCandidate[];
|
|
@@ -3996,6 +4310,8 @@ declare namespace gapi.client {
|
|
|
3996
4310
|
bleuSpec?: GoogleCloudAiplatformV1BleuSpec;
|
|
3997
4311
|
/** Spec for exact match metric. */
|
|
3998
4312
|
exactMatchSpec?: any;
|
|
4313
|
+
/** Spec for an LLM based metric. */
|
|
4314
|
+
llmBasedMetricSpec?: GoogleCloudAiplatformV1LLMBasedMetricSpec;
|
|
3999
4315
|
/** Spec for pairwise metric. */
|
|
4000
4316
|
pairwiseMetricSpec?: GoogleCloudAiplatformV1PairwiseMetricSpec;
|
|
4001
4317
|
/** Spec for pointwise metric. */
|
|
@@ -4006,11 +4322,13 @@ declare namespace gapi.client {
|
|
|
4006
4322
|
rougeSpec?: GoogleCloudAiplatformV1RougeSpec;
|
|
4007
4323
|
}
|
|
4008
4324
|
interface GoogleCloudAiplatformV1MetricResult {
|
|
4009
|
-
/** The
|
|
4325
|
+
/** Output only. The error status for the metric result. */
|
|
4326
|
+
error?: GoogleRpcStatus;
|
|
4327
|
+
/** Output only. The explanation for the metric result. */
|
|
4010
4328
|
explanation?: string;
|
|
4011
|
-
/** For rubric-based metrics, the verdicts for each rubric. */
|
|
4329
|
+
/** Output only. For rubric-based metrics, the verdicts for each rubric. */
|
|
4012
4330
|
rubricVerdicts?: GoogleCloudAiplatformV1RubricVerdict[];
|
|
4013
|
-
/** The score for the metric. Please refer to each metric's documentation for the meaning of the score. */
|
|
4331
|
+
/** Output only. The score for the metric. Please refer to each metric's documentation for the meaning of the score. */
|
|
4014
4332
|
score?: number;
|
|
4015
4333
|
}
|
|
4016
4334
|
interface GoogleCloudAiplatformV1MetricxInput {
|
|
@@ -4998,6 +5316,14 @@ declare namespace gapi.client {
|
|
|
4998
5316
|
/** Cloud storage destination for evaluation output. */
|
|
4999
5317
|
gcsDestination?: GoogleCloudAiplatformV1GcsDestination;
|
|
5000
5318
|
}
|
|
5319
|
+
interface GoogleCloudAiplatformV1OutputFieldSpec {
|
|
5320
|
+
/** Required. The name of the output field. */
|
|
5321
|
+
fieldName?: string;
|
|
5322
|
+
/** Optional. The data type of the field. Defaults to CONTENT if not set. */
|
|
5323
|
+
fieldType?: string;
|
|
5324
|
+
/** 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. */
|
|
5325
|
+
guidance?: string;
|
|
5326
|
+
}
|
|
5001
5327
|
interface GoogleCloudAiplatformV1PairwiseMetricInput {
|
|
5002
5328
|
/** Required. Pairwise metric instance. */
|
|
5003
5329
|
instance?: GoogleCloudAiplatformV1PairwiseMetricInstance;
|
|
@@ -6165,6 +6491,8 @@ declare namespace gapi.client {
|
|
|
6165
6491
|
encryptionSpec?: GoogleCloudAiplatformV1EncryptionSpec;
|
|
6166
6492
|
/** Optional. Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens. */
|
|
6167
6493
|
etag?: string;
|
|
6494
|
+
/** Labels for the ReasoningEngine. */
|
|
6495
|
+
labels?: {[P in string]: string};
|
|
6168
6496
|
/** Identifier. The resource name of the ReasoningEngine. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
|
|
6169
6497
|
name?: string;
|
|
6170
6498
|
/** Optional. Configurations of the ReasoningEngine */
|
|
@@ -8580,6 +8908,14 @@ declare namespace gapi.client {
|
|
|
8580
8908
|
/** Optional. Which version to use for evaluation. */
|
|
8581
8909
|
version?: number;
|
|
8582
8910
|
}
|
|
8911
|
+
interface GoogleCloudAiplatformV1SummaryMetrics {
|
|
8912
|
+
/** Optional. The number of items that failed to be evaluated. */
|
|
8913
|
+
failedItems?: number;
|
|
8914
|
+
/** Optional. Map of metric name to metric value. */
|
|
8915
|
+
metrics?: {[P in string]: any};
|
|
8916
|
+
/** Optional. The total number of items that were evaluated. */
|
|
8917
|
+
totalItems?: number;
|
|
8918
|
+
}
|
|
8583
8919
|
interface GoogleCloudAiplatformV1SupervisedHyperParameters {
|
|
8584
8920
|
/** Optional. Adapter size for tuning. */
|
|
8585
8921
|
adapterSize?: string;
|
|
@@ -8657,6 +8993,20 @@ declare namespace gapi.client {
|
|
|
8657
8993
|
/** Format: `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}/featureViewSyncs/{feature_view_sync}` */
|
|
8658
8994
|
featureViewSync?: string;
|
|
8659
8995
|
}
|
|
8996
|
+
interface GoogleCloudAiplatformV1SyntheticExample {
|
|
8997
|
+
/** Required. A list of fields that constitute an example. */
|
|
8998
|
+
fields?: GoogleCloudAiplatformV1SyntheticField[];
|
|
8999
|
+
}
|
|
9000
|
+
interface GoogleCloudAiplatformV1SyntheticField {
|
|
9001
|
+
/** Required. The content of the field. */
|
|
9002
|
+
content?: GoogleCloudAiplatformV1Content;
|
|
9003
|
+
/** Optional. The name of the field. */
|
|
9004
|
+
fieldName?: string;
|
|
9005
|
+
}
|
|
9006
|
+
interface GoogleCloudAiplatformV1TaskDescriptionStrategy {
|
|
9007
|
+
/** Required. A high-level description of the synthetic data to be generated. */
|
|
9008
|
+
taskDescription?: string;
|
|
9009
|
+
}
|
|
8660
9010
|
interface GoogleCloudAiplatformV1Tensor {
|
|
8661
9011
|
/** 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
9012
|
boolVal?: boolean[];
|
|
@@ -8849,10 +9199,10 @@ declare namespace gapi.client {
|
|
|
8849
9199
|
/** Optional. Function tool type. One or more function declarations to be passed to the model along with the current user query. Model may decide to call a subset of these functions by populating FunctionCall in the response. User should provide a FunctionResponse for each function call in the next turn. Based on the function responses, Model will generate the final response back to the user. Maximum 512 function declarations can be provided. */
|
|
8850
9200
|
functionDeclarations?: GoogleCloudAiplatformV1FunctionDeclaration[];
|
|
8851
9201
|
/** Optional. GoogleMaps tool type. Tool to support Google Maps in Model. */
|
|
8852
|
-
googleMaps?:
|
|
9202
|
+
googleMaps?: GoogleCloudAiplatformV1GoogleMaps;
|
|
8853
9203
|
/** Optional. GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google. */
|
|
8854
9204
|
googleSearch?: GoogleCloudAiplatformV1ToolGoogleSearch;
|
|
8855
|
-
/** Optional.
|
|
9205
|
+
/** Optional. Specialized retrieval tool that is powered by Google Search. */
|
|
8856
9206
|
googleSearchRetrieval?: GoogleCloudAiplatformV1GoogleSearchRetrieval;
|
|
8857
9207
|
/** Optional. Retrieval tool type. System will always execute the provided retrieval tool(s) to get external knowledge to answer the prompt. Retrieval results are presented to the model for generation. */
|
|
8858
9208
|
retrieval?: GoogleCloudAiplatformV1Retrieval;
|
|
@@ -13828,6 +14178,201 @@ declare namespace gapi.client {
|
|
|
13828
14178
|
body: GoogleApiHttpBody,
|
|
13829
14179
|
): Request<GoogleApiHttpBody>;
|
|
13830
14180
|
}
|
|
14181
|
+
interface InvokeResource {
|
|
14182
|
+
/** Forwards arbitrary HTTP requests for both streaming and non-streaming cases. To use this method, invoke_route_prefix must be set to allow the paths that will be specified in the request. */
|
|
14183
|
+
invoke(request: {
|
|
14184
|
+
/** V1 error format. */
|
|
14185
|
+
'$.xgafv'?: string;
|
|
14186
|
+
/** OAuth access token. */
|
|
14187
|
+
access_token?: string;
|
|
14188
|
+
/** Data format for response. */
|
|
14189
|
+
alt?: string;
|
|
14190
|
+
/** JSONP */
|
|
14191
|
+
callback?: string;
|
|
14192
|
+
/** ID of the DeployedModel that serves the invoke request. */
|
|
14193
|
+
deployedModelId: string;
|
|
14194
|
+
/** Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
|
|
14195
|
+
endpoint: string;
|
|
14196
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
14197
|
+
fields?: string;
|
|
14198
|
+
invokeId: string;
|
|
14199
|
+
/** 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. */
|
|
14200
|
+
key?: string;
|
|
14201
|
+
/** OAuth 2.0 token for the current user. */
|
|
14202
|
+
oauth_token?: string;
|
|
14203
|
+
/** Returns response with indentations and line breaks. */
|
|
14204
|
+
prettyPrint?: boolean;
|
|
14205
|
+
/** 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. */
|
|
14206
|
+
quotaUser?: string;
|
|
14207
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
14208
|
+
upload_protocol?: string;
|
|
14209
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
14210
|
+
uploadType?: string;
|
|
14211
|
+
/** Request body */
|
|
14212
|
+
resource: GoogleCloudAiplatformV1InvokeRequest;
|
|
14213
|
+
}): Request<GoogleApiHttpBody>;
|
|
14214
|
+
invoke(
|
|
14215
|
+
request: {
|
|
14216
|
+
/** V1 error format. */
|
|
14217
|
+
'$.xgafv'?: string;
|
|
14218
|
+
/** OAuth access token. */
|
|
14219
|
+
access_token?: string;
|
|
14220
|
+
/** Data format for response. */
|
|
14221
|
+
alt?: string;
|
|
14222
|
+
/** JSONP */
|
|
14223
|
+
callback?: string;
|
|
14224
|
+
/** ID of the DeployedModel that serves the invoke request. */
|
|
14225
|
+
deployedModelId: string;
|
|
14226
|
+
/** Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
|
|
14227
|
+
endpoint: string;
|
|
14228
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
14229
|
+
fields?: string;
|
|
14230
|
+
invokeId: string;
|
|
14231
|
+
/** 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. */
|
|
14232
|
+
key?: string;
|
|
14233
|
+
/** OAuth 2.0 token for the current user. */
|
|
14234
|
+
oauth_token?: string;
|
|
14235
|
+
/** Returns response with indentations and line breaks. */
|
|
14236
|
+
prettyPrint?: boolean;
|
|
14237
|
+
/** 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. */
|
|
14238
|
+
quotaUser?: string;
|
|
14239
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
14240
|
+
upload_protocol?: string;
|
|
14241
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
14242
|
+
uploadType?: string;
|
|
14243
|
+
},
|
|
14244
|
+
body: GoogleCloudAiplatformV1InvokeRequest,
|
|
14245
|
+
): Request<GoogleApiHttpBody>;
|
|
14246
|
+
}
|
|
14247
|
+
interface DeployedModelsResource {
|
|
14248
|
+
invoke: InvokeResource;
|
|
14249
|
+
}
|
|
14250
|
+
interface InvokeResource {
|
|
14251
|
+
/** Forwards arbitrary HTTP requests for both streaming and non-streaming cases. To use this method, invoke_route_prefix must be set to allow the paths that will be specified in the request. */
|
|
14252
|
+
invoke(request: {
|
|
14253
|
+
/** V1 error format. */
|
|
14254
|
+
'$.xgafv'?: string;
|
|
14255
|
+
/** OAuth access token. */
|
|
14256
|
+
access_token?: string;
|
|
14257
|
+
/** Data format for response. */
|
|
14258
|
+
alt?: string;
|
|
14259
|
+
/** JSONP */
|
|
14260
|
+
callback?: string;
|
|
14261
|
+
/** Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
|
|
14262
|
+
endpoint: string;
|
|
14263
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
14264
|
+
fields?: string;
|
|
14265
|
+
invokeId: string;
|
|
14266
|
+
/** 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. */
|
|
14267
|
+
key?: string;
|
|
14268
|
+
/** OAuth 2.0 token for the current user. */
|
|
14269
|
+
oauth_token?: string;
|
|
14270
|
+
/** Returns response with indentations and line breaks. */
|
|
14271
|
+
prettyPrint?: boolean;
|
|
14272
|
+
/** 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. */
|
|
14273
|
+
quotaUser?: string;
|
|
14274
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
14275
|
+
upload_protocol?: string;
|
|
14276
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
14277
|
+
uploadType?: string;
|
|
14278
|
+
/** Request body */
|
|
14279
|
+
resource: GoogleCloudAiplatformV1InvokeRequest;
|
|
14280
|
+
}): Request<GoogleApiHttpBody>;
|
|
14281
|
+
invoke(
|
|
14282
|
+
request: {
|
|
14283
|
+
/** V1 error format. */
|
|
14284
|
+
'$.xgafv'?: string;
|
|
14285
|
+
/** OAuth access token. */
|
|
14286
|
+
access_token?: string;
|
|
14287
|
+
/** Data format for response. */
|
|
14288
|
+
alt?: string;
|
|
14289
|
+
/** JSONP */
|
|
14290
|
+
callback?: string;
|
|
14291
|
+
/** Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
|
|
14292
|
+
endpoint: string;
|
|
14293
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
14294
|
+
fields?: string;
|
|
14295
|
+
invokeId: string;
|
|
14296
|
+
/** 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. */
|
|
14297
|
+
key?: string;
|
|
14298
|
+
/** OAuth 2.0 token for the current user. */
|
|
14299
|
+
oauth_token?: string;
|
|
14300
|
+
/** Returns response with indentations and line breaks. */
|
|
14301
|
+
prettyPrint?: boolean;
|
|
14302
|
+
/** 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. */
|
|
14303
|
+
quotaUser?: string;
|
|
14304
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
14305
|
+
upload_protocol?: string;
|
|
14306
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
14307
|
+
uploadType?: string;
|
|
14308
|
+
},
|
|
14309
|
+
body: GoogleCloudAiplatformV1InvokeRequest,
|
|
14310
|
+
): Request<GoogleApiHttpBody>;
|
|
14311
|
+
}
|
|
14312
|
+
interface OpenapiResource {
|
|
14313
|
+
/** Forwards arbitrary HTTP requests for both streaming and non-streaming cases. To use this method, invoke_route_prefix must be set to allow the paths that will be specified in the request. */
|
|
14314
|
+
embeddings(request: {
|
|
14315
|
+
/** V1 error format. */
|
|
14316
|
+
'$.xgafv'?: string;
|
|
14317
|
+
/** OAuth access token. */
|
|
14318
|
+
access_token?: string;
|
|
14319
|
+
/** Data format for response. */
|
|
14320
|
+
alt?: string;
|
|
14321
|
+
/** JSONP */
|
|
14322
|
+
callback?: string;
|
|
14323
|
+
/** ID of the DeployedModel that serves the invoke request. */
|
|
14324
|
+
deployedModelId?: string;
|
|
14325
|
+
/** Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
|
|
14326
|
+
endpoint: string;
|
|
14327
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
14328
|
+
fields?: string;
|
|
14329
|
+
/** 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. */
|
|
14330
|
+
key?: string;
|
|
14331
|
+
/** OAuth 2.0 token for the current user. */
|
|
14332
|
+
oauth_token?: string;
|
|
14333
|
+
/** Returns response with indentations and line breaks. */
|
|
14334
|
+
prettyPrint?: boolean;
|
|
14335
|
+
/** 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. */
|
|
14336
|
+
quotaUser?: string;
|
|
14337
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
14338
|
+
upload_protocol?: string;
|
|
14339
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
14340
|
+
uploadType?: string;
|
|
14341
|
+
/** Request body */
|
|
14342
|
+
resource: GoogleApiHttpBody;
|
|
14343
|
+
}): Request<GoogleApiHttpBody>;
|
|
14344
|
+
embeddings(
|
|
14345
|
+
request: {
|
|
14346
|
+
/** V1 error format. */
|
|
14347
|
+
'$.xgafv'?: string;
|
|
14348
|
+
/** OAuth access token. */
|
|
14349
|
+
access_token?: string;
|
|
14350
|
+
/** Data format for response. */
|
|
14351
|
+
alt?: string;
|
|
14352
|
+
/** JSONP */
|
|
14353
|
+
callback?: string;
|
|
14354
|
+
/** ID of the DeployedModel that serves the invoke request. */
|
|
14355
|
+
deployedModelId?: string;
|
|
14356
|
+
/** Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
|
|
14357
|
+
endpoint: string;
|
|
14358
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
14359
|
+
fields?: string;
|
|
14360
|
+
/** 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. */
|
|
14361
|
+
key?: string;
|
|
14362
|
+
/** OAuth 2.0 token for the current user. */
|
|
14363
|
+
oauth_token?: string;
|
|
14364
|
+
/** Returns response with indentations and line breaks. */
|
|
14365
|
+
prettyPrint?: boolean;
|
|
14366
|
+
/** 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. */
|
|
14367
|
+
quotaUser?: string;
|
|
14368
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
14369
|
+
upload_protocol?: string;
|
|
14370
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
14371
|
+
uploadType?: string;
|
|
14372
|
+
},
|
|
14373
|
+
body: GoogleApiHttpBody,
|
|
14374
|
+
): Request<GoogleApiHttpBody>;
|
|
14375
|
+
}
|
|
13831
14376
|
interface OperationsResource {
|
|
13832
14377
|
/** 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`. */
|
|
13833
14378
|
cancel(request?: {
|
|
@@ -15177,8 +15722,578 @@ declare namespace gapi.client {
|
|
|
15177
15722
|
body: GoogleCloudAiplatformV1UpdateEndpointLongRunningRequest,
|
|
15178
15723
|
): Request<GoogleLongrunningOperation>;
|
|
15179
15724
|
chat: ChatResource;
|
|
15725
|
+
deployedModels: DeployedModelsResource;
|
|
15726
|
+
invoke: InvokeResource;
|
|
15727
|
+
openapi: OpenapiResource;
|
|
15180
15728
|
operations: OperationsResource;
|
|
15181
15729
|
}
|
|
15730
|
+
interface EvaluationItemsResource {
|
|
15731
|
+
/** Creates an Evaluation Item. */
|
|
15732
|
+
create(request: {
|
|
15733
|
+
/** V1 error format. */
|
|
15734
|
+
'$.xgafv'?: string;
|
|
15735
|
+
/** OAuth access token. */
|
|
15736
|
+
access_token?: string;
|
|
15737
|
+
/** Data format for response. */
|
|
15738
|
+
alt?: string;
|
|
15739
|
+
/** JSONP */
|
|
15740
|
+
callback?: string;
|
|
15741
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
15742
|
+
fields?: string;
|
|
15743
|
+
/** 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. */
|
|
15744
|
+
key?: string;
|
|
15745
|
+
/** OAuth 2.0 token for the current user. */
|
|
15746
|
+
oauth_token?: string;
|
|
15747
|
+
/** Required. The resource name of the Location to create the Evaluation Item in. Format: `projects/{project}/locations/{location}` */
|
|
15748
|
+
parent: string;
|
|
15749
|
+
/** Returns response with indentations and line breaks. */
|
|
15750
|
+
prettyPrint?: boolean;
|
|
15751
|
+
/** 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. */
|
|
15752
|
+
quotaUser?: string;
|
|
15753
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
15754
|
+
upload_protocol?: string;
|
|
15755
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15756
|
+
uploadType?: string;
|
|
15757
|
+
/** Request body */
|
|
15758
|
+
resource: GoogleCloudAiplatformV1EvaluationItem;
|
|
15759
|
+
}): Request<GoogleCloudAiplatformV1EvaluationItem>;
|
|
15760
|
+
create(
|
|
15761
|
+
request: {
|
|
15762
|
+
/** V1 error format. */
|
|
15763
|
+
'$.xgafv'?: string;
|
|
15764
|
+
/** OAuth access token. */
|
|
15765
|
+
access_token?: string;
|
|
15766
|
+
/** Data format for response. */
|
|
15767
|
+
alt?: string;
|
|
15768
|
+
/** JSONP */
|
|
15769
|
+
callback?: string;
|
|
15770
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
15771
|
+
fields?: string;
|
|
15772
|
+
/** 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. */
|
|
15773
|
+
key?: string;
|
|
15774
|
+
/** OAuth 2.0 token for the current user. */
|
|
15775
|
+
oauth_token?: string;
|
|
15776
|
+
/** Required. The resource name of the Location to create the Evaluation Item in. Format: `projects/{project}/locations/{location}` */
|
|
15777
|
+
parent: string;
|
|
15778
|
+
/** Returns response with indentations and line breaks. */
|
|
15779
|
+
prettyPrint?: boolean;
|
|
15780
|
+
/** 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. */
|
|
15781
|
+
quotaUser?: string;
|
|
15782
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
15783
|
+
upload_protocol?: string;
|
|
15784
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15785
|
+
uploadType?: string;
|
|
15786
|
+
},
|
|
15787
|
+
body: GoogleCloudAiplatformV1EvaluationItem,
|
|
15788
|
+
): Request<GoogleCloudAiplatformV1EvaluationItem>;
|
|
15789
|
+
/** Deletes an Evaluation Item. */
|
|
15790
|
+
delete(request?: {
|
|
15791
|
+
/** V1 error format. */
|
|
15792
|
+
'$.xgafv'?: string;
|
|
15793
|
+
/** OAuth access token. */
|
|
15794
|
+
access_token?: string;
|
|
15795
|
+
/** Data format for response. */
|
|
15796
|
+
alt?: string;
|
|
15797
|
+
/** JSONP */
|
|
15798
|
+
callback?: string;
|
|
15799
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
15800
|
+
fields?: string;
|
|
15801
|
+
/** 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. */
|
|
15802
|
+
key?: string;
|
|
15803
|
+
/** Required. The name of the EvaluationItem resource to be deleted. Format: `projects/{project}/locations/{location}/evaluationItems/{evaluation_item}` */
|
|
15804
|
+
name: string;
|
|
15805
|
+
/** OAuth 2.0 token for the current user. */
|
|
15806
|
+
oauth_token?: string;
|
|
15807
|
+
/** Returns response with indentations and line breaks. */
|
|
15808
|
+
prettyPrint?: boolean;
|
|
15809
|
+
/** 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. */
|
|
15810
|
+
quotaUser?: string;
|
|
15811
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
15812
|
+
upload_protocol?: string;
|
|
15813
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15814
|
+
uploadType?: string;
|
|
15815
|
+
}): Request<GoogleLongrunningOperation>;
|
|
15816
|
+
/** Gets an Evaluation Item. */
|
|
15817
|
+
get(request?: {
|
|
15818
|
+
/** V1 error format. */
|
|
15819
|
+
'$.xgafv'?: string;
|
|
15820
|
+
/** OAuth access token. */
|
|
15821
|
+
access_token?: string;
|
|
15822
|
+
/** Data format for response. */
|
|
15823
|
+
alt?: string;
|
|
15824
|
+
/** JSONP */
|
|
15825
|
+
callback?: string;
|
|
15826
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
15827
|
+
fields?: string;
|
|
15828
|
+
/** 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. */
|
|
15829
|
+
key?: string;
|
|
15830
|
+
/** Required. The name of the EvaluationItem resource. Format: `projects/{project}/locations/{location}/evaluationItems/{evaluation_item}` */
|
|
15831
|
+
name: string;
|
|
15832
|
+
/** OAuth 2.0 token for the current user. */
|
|
15833
|
+
oauth_token?: string;
|
|
15834
|
+
/** Returns response with indentations and line breaks. */
|
|
15835
|
+
prettyPrint?: boolean;
|
|
15836
|
+
/** 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. */
|
|
15837
|
+
quotaUser?: string;
|
|
15838
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
15839
|
+
upload_protocol?: string;
|
|
15840
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15841
|
+
uploadType?: string;
|
|
15842
|
+
}): Request<GoogleCloudAiplatformV1EvaluationItem>;
|
|
15843
|
+
/** Lists Evaluation Items. */
|
|
15844
|
+
list(request?: {
|
|
15845
|
+
/** V1 error format. */
|
|
15846
|
+
'$.xgafv'?: string;
|
|
15847
|
+
/** OAuth access token. */
|
|
15848
|
+
access_token?: string;
|
|
15849
|
+
/** Data format for response. */
|
|
15850
|
+
alt?: string;
|
|
15851
|
+
/** JSONP */
|
|
15852
|
+
callback?: string;
|
|
15853
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
15854
|
+
fields?: string;
|
|
15855
|
+
/** 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). */
|
|
15856
|
+
filter?: string;
|
|
15857
|
+
/** 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. */
|
|
15858
|
+
key?: string;
|
|
15859
|
+
/** OAuth 2.0 token for the current user. */
|
|
15860
|
+
oauth_token?: string;
|
|
15861
|
+
/** Optional. A comma-separated list of fields to order by, sorted in ascending order by default. Use `desc` after a field name for descending. */
|
|
15862
|
+
orderBy?: string;
|
|
15863
|
+
/** Optional. The maximum number of Evaluation Items to return. */
|
|
15864
|
+
pageSize?: number;
|
|
15865
|
+
/** Optional. A page token, received from a previous `ListEvaluationItems` call. Provide this to retrieve the subsequent page. */
|
|
15866
|
+
pageToken?: string;
|
|
15867
|
+
/** Required. The resource name of the Location from which to list the Evaluation Items. Format: `projects/{project}/locations/{location}` */
|
|
15868
|
+
parent: string;
|
|
15869
|
+
/** Returns response with indentations and line breaks. */
|
|
15870
|
+
prettyPrint?: boolean;
|
|
15871
|
+
/** 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. */
|
|
15872
|
+
quotaUser?: string;
|
|
15873
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
15874
|
+
upload_protocol?: string;
|
|
15875
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15876
|
+
uploadType?: string;
|
|
15877
|
+
}): Request<GoogleCloudAiplatformV1ListEvaluationItemsResponse>;
|
|
15878
|
+
}
|
|
15879
|
+
interface EvaluationRunsResource {
|
|
15880
|
+
/** Cancels an Evaluation Run. Attempts to cancel a running Evaluation Run asynchronously. Status of run can be checked via GetEvaluationRun. */
|
|
15881
|
+
cancel(request: {
|
|
15882
|
+
/** V1 error format. */
|
|
15883
|
+
'$.xgafv'?: string;
|
|
15884
|
+
/** OAuth access token. */
|
|
15885
|
+
access_token?: string;
|
|
15886
|
+
/** Data format for response. */
|
|
15887
|
+
alt?: string;
|
|
15888
|
+
/** JSONP */
|
|
15889
|
+
callback?: string;
|
|
15890
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
15891
|
+
fields?: string;
|
|
15892
|
+
/** 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. */
|
|
15893
|
+
key?: string;
|
|
15894
|
+
/** Required. The name of the EvaluationRun resource to be cancelled. Format: `projects/{project}/locations/{location}/evaluationRuns/{evaluation_run}` */
|
|
15895
|
+
name: string;
|
|
15896
|
+
/** OAuth 2.0 token for the current user. */
|
|
15897
|
+
oauth_token?: string;
|
|
15898
|
+
/** Returns response with indentations and line breaks. */
|
|
15899
|
+
prettyPrint?: boolean;
|
|
15900
|
+
/** 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. */
|
|
15901
|
+
quotaUser?: string;
|
|
15902
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
15903
|
+
upload_protocol?: string;
|
|
15904
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15905
|
+
uploadType?: string;
|
|
15906
|
+
/** Request body */
|
|
15907
|
+
resource: GoogleCloudAiplatformV1CancelEvaluationRunRequest;
|
|
15908
|
+
}): Request<{}>;
|
|
15909
|
+
cancel(
|
|
15910
|
+
request: {
|
|
15911
|
+
/** V1 error format. */
|
|
15912
|
+
'$.xgafv'?: string;
|
|
15913
|
+
/** OAuth access token. */
|
|
15914
|
+
access_token?: string;
|
|
15915
|
+
/** Data format for response. */
|
|
15916
|
+
alt?: string;
|
|
15917
|
+
/** JSONP */
|
|
15918
|
+
callback?: string;
|
|
15919
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
15920
|
+
fields?: string;
|
|
15921
|
+
/** 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. */
|
|
15922
|
+
key?: string;
|
|
15923
|
+
/** Required. The name of the EvaluationRun resource to be cancelled. Format: `projects/{project}/locations/{location}/evaluationRuns/{evaluation_run}` */
|
|
15924
|
+
name: string;
|
|
15925
|
+
/** OAuth 2.0 token for the current user. */
|
|
15926
|
+
oauth_token?: string;
|
|
15927
|
+
/** Returns response with indentations and line breaks. */
|
|
15928
|
+
prettyPrint?: boolean;
|
|
15929
|
+
/** 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. */
|
|
15930
|
+
quotaUser?: string;
|
|
15931
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
15932
|
+
upload_protocol?: string;
|
|
15933
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15934
|
+
uploadType?: string;
|
|
15935
|
+
},
|
|
15936
|
+
body: GoogleCloudAiplatformV1CancelEvaluationRunRequest,
|
|
15937
|
+
): Request<{}>;
|
|
15938
|
+
/** Creates an Evaluation Run. */
|
|
15939
|
+
create(request: {
|
|
15940
|
+
/** V1 error format. */
|
|
15941
|
+
'$.xgafv'?: string;
|
|
15942
|
+
/** OAuth access token. */
|
|
15943
|
+
access_token?: string;
|
|
15944
|
+
/** Data format for response. */
|
|
15945
|
+
alt?: string;
|
|
15946
|
+
/** JSONP */
|
|
15947
|
+
callback?: string;
|
|
15948
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
15949
|
+
fields?: string;
|
|
15950
|
+
/** 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. */
|
|
15951
|
+
key?: string;
|
|
15952
|
+
/** OAuth 2.0 token for the current user. */
|
|
15953
|
+
oauth_token?: string;
|
|
15954
|
+
/** Required. The resource name of the Location to create the Evaluation Run in. Format: `projects/{project}/locations/{location}` */
|
|
15955
|
+
parent: string;
|
|
15956
|
+
/** Returns response with indentations and line breaks. */
|
|
15957
|
+
prettyPrint?: boolean;
|
|
15958
|
+
/** 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. */
|
|
15959
|
+
quotaUser?: string;
|
|
15960
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
15961
|
+
upload_protocol?: string;
|
|
15962
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15963
|
+
uploadType?: string;
|
|
15964
|
+
/** Request body */
|
|
15965
|
+
resource: GoogleCloudAiplatformV1EvaluationRun;
|
|
15966
|
+
}): Request<GoogleCloudAiplatformV1EvaluationRun>;
|
|
15967
|
+
create(
|
|
15968
|
+
request: {
|
|
15969
|
+
/** V1 error format. */
|
|
15970
|
+
'$.xgafv'?: string;
|
|
15971
|
+
/** OAuth access token. */
|
|
15972
|
+
access_token?: string;
|
|
15973
|
+
/** Data format for response. */
|
|
15974
|
+
alt?: string;
|
|
15975
|
+
/** JSONP */
|
|
15976
|
+
callback?: string;
|
|
15977
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
15978
|
+
fields?: string;
|
|
15979
|
+
/** 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. */
|
|
15980
|
+
key?: string;
|
|
15981
|
+
/** OAuth 2.0 token for the current user. */
|
|
15982
|
+
oauth_token?: string;
|
|
15983
|
+
/** Required. The resource name of the Location to create the Evaluation Run in. Format: `projects/{project}/locations/{location}` */
|
|
15984
|
+
parent: string;
|
|
15985
|
+
/** Returns response with indentations and line breaks. */
|
|
15986
|
+
prettyPrint?: boolean;
|
|
15987
|
+
/** 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. */
|
|
15988
|
+
quotaUser?: string;
|
|
15989
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
15990
|
+
upload_protocol?: string;
|
|
15991
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15992
|
+
uploadType?: string;
|
|
15993
|
+
},
|
|
15994
|
+
body: GoogleCloudAiplatformV1EvaluationRun,
|
|
15995
|
+
): Request<GoogleCloudAiplatformV1EvaluationRun>;
|
|
15996
|
+
/** Deletes an Evaluation Run. */
|
|
15997
|
+
delete(request?: {
|
|
15998
|
+
/** V1 error format. */
|
|
15999
|
+
'$.xgafv'?: string;
|
|
16000
|
+
/** OAuth access token. */
|
|
16001
|
+
access_token?: string;
|
|
16002
|
+
/** Data format for response. */
|
|
16003
|
+
alt?: string;
|
|
16004
|
+
/** JSONP */
|
|
16005
|
+
callback?: string;
|
|
16006
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
16007
|
+
fields?: string;
|
|
16008
|
+
/** 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. */
|
|
16009
|
+
key?: string;
|
|
16010
|
+
/** Required. The name of the EvaluationRun resource to be deleted. Format: `projects/{project}/locations/{location}/evaluationRuns/{evaluation_run}` */
|
|
16011
|
+
name: string;
|
|
16012
|
+
/** OAuth 2.0 token for the current user. */
|
|
16013
|
+
oauth_token?: string;
|
|
16014
|
+
/** Returns response with indentations and line breaks. */
|
|
16015
|
+
prettyPrint?: boolean;
|
|
16016
|
+
/** 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. */
|
|
16017
|
+
quotaUser?: string;
|
|
16018
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
16019
|
+
upload_protocol?: string;
|
|
16020
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
16021
|
+
uploadType?: string;
|
|
16022
|
+
}): Request<GoogleLongrunningOperation>;
|
|
16023
|
+
/** Gets an Evaluation Run. */
|
|
16024
|
+
get(request?: {
|
|
16025
|
+
/** V1 error format. */
|
|
16026
|
+
'$.xgafv'?: string;
|
|
16027
|
+
/** OAuth access token. */
|
|
16028
|
+
access_token?: string;
|
|
16029
|
+
/** Data format for response. */
|
|
16030
|
+
alt?: string;
|
|
16031
|
+
/** JSONP */
|
|
16032
|
+
callback?: string;
|
|
16033
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
16034
|
+
fields?: string;
|
|
16035
|
+
/** 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. */
|
|
16036
|
+
key?: string;
|
|
16037
|
+
/** Required. The name of the EvaluationRun resource. Format: `projects/{project}/locations/{location}/evaluationRuns/{evaluation_run}` */
|
|
16038
|
+
name: string;
|
|
16039
|
+
/** OAuth 2.0 token for the current user. */
|
|
16040
|
+
oauth_token?: string;
|
|
16041
|
+
/** Returns response with indentations and line breaks. */
|
|
16042
|
+
prettyPrint?: boolean;
|
|
16043
|
+
/** 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. */
|
|
16044
|
+
quotaUser?: 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<GoogleCloudAiplatformV1EvaluationRun>;
|
|
16050
|
+
/** Lists Evaluation Runs. */
|
|
16051
|
+
list(request?: {
|
|
16052
|
+
/** V1 error format. */
|
|
16053
|
+
'$.xgafv'?: string;
|
|
16054
|
+
/** OAuth access token. */
|
|
16055
|
+
access_token?: string;
|
|
16056
|
+
/** Data format for response. */
|
|
16057
|
+
alt?: string;
|
|
16058
|
+
/** JSONP */
|
|
16059
|
+
callback?: string;
|
|
16060
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
16061
|
+
fields?: string;
|
|
16062
|
+
/** 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). */
|
|
16063
|
+
filter?: 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
|
+
/** OAuth 2.0 token for the current user. */
|
|
16067
|
+
oauth_token?: string;
|
|
16068
|
+
/** Optional. A comma-separated list of fields to order by, sorted in ascending order by default. Use `desc` after a field name for descending. */
|
|
16069
|
+
orderBy?: string;
|
|
16070
|
+
/** Optional. The maximum number of Evaluation Runs to return. */
|
|
16071
|
+
pageSize?: number;
|
|
16072
|
+
/** Optional. A page token, received from a previous `ListEvaluationRuns` call. Provide this to retrieve the subsequent page. */
|
|
16073
|
+
pageToken?: string;
|
|
16074
|
+
/** Required. The resource name of the Location from which to list the Evaluation Runs. Format: `projects/{project}/locations/{location}` */
|
|
16075
|
+
parent: string;
|
|
16076
|
+
/** Returns response with indentations and line breaks. */
|
|
16077
|
+
prettyPrint?: boolean;
|
|
16078
|
+
/** 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. */
|
|
16079
|
+
quotaUser?: string;
|
|
16080
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
16081
|
+
upload_protocol?: string;
|
|
16082
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
16083
|
+
uploadType?: string;
|
|
16084
|
+
}): Request<GoogleCloudAiplatformV1ListEvaluationRunsResponse>;
|
|
16085
|
+
}
|
|
16086
|
+
interface EvaluationSetsResource {
|
|
16087
|
+
/** Creates an Evaluation Set. */
|
|
16088
|
+
create(request: {
|
|
16089
|
+
/** V1 error format. */
|
|
16090
|
+
'$.xgafv'?: string;
|
|
16091
|
+
/** OAuth access token. */
|
|
16092
|
+
access_token?: string;
|
|
16093
|
+
/** Data format for response. */
|
|
16094
|
+
alt?: string;
|
|
16095
|
+
/** JSONP */
|
|
16096
|
+
callback?: string;
|
|
16097
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
16098
|
+
fields?: string;
|
|
16099
|
+
/** 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. */
|
|
16100
|
+
key?: string;
|
|
16101
|
+
/** OAuth 2.0 token for the current user. */
|
|
16102
|
+
oauth_token?: string;
|
|
16103
|
+
/** Required. The resource name of the Location to create the Evaluation Set in. Format: `projects/{project}/locations/{location}` */
|
|
16104
|
+
parent: string;
|
|
16105
|
+
/** Returns response with indentations and line breaks. */
|
|
16106
|
+
prettyPrint?: boolean;
|
|
16107
|
+
/** 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. */
|
|
16108
|
+
quotaUser?: string;
|
|
16109
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
16110
|
+
upload_protocol?: string;
|
|
16111
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
16112
|
+
uploadType?: string;
|
|
16113
|
+
/** Request body */
|
|
16114
|
+
resource: GoogleCloudAiplatformV1EvaluationSet;
|
|
16115
|
+
}): Request<GoogleCloudAiplatformV1EvaluationSet>;
|
|
16116
|
+
create(
|
|
16117
|
+
request: {
|
|
16118
|
+
/** V1 error format. */
|
|
16119
|
+
'$.xgafv'?: string;
|
|
16120
|
+
/** OAuth access token. */
|
|
16121
|
+
access_token?: string;
|
|
16122
|
+
/** Data format for response. */
|
|
16123
|
+
alt?: string;
|
|
16124
|
+
/** JSONP */
|
|
16125
|
+
callback?: string;
|
|
16126
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
16127
|
+
fields?: string;
|
|
16128
|
+
/** 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. */
|
|
16129
|
+
key?: string;
|
|
16130
|
+
/** OAuth 2.0 token for the current user. */
|
|
16131
|
+
oauth_token?: string;
|
|
16132
|
+
/** Required. The resource name of the Location to create the Evaluation Set in. Format: `projects/{project}/locations/{location}` */
|
|
16133
|
+
parent: string;
|
|
16134
|
+
/** Returns response with indentations and line breaks. */
|
|
16135
|
+
prettyPrint?: boolean;
|
|
16136
|
+
/** 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. */
|
|
16137
|
+
quotaUser?: string;
|
|
16138
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
16139
|
+
upload_protocol?: string;
|
|
16140
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
16141
|
+
uploadType?: string;
|
|
16142
|
+
},
|
|
16143
|
+
body: GoogleCloudAiplatformV1EvaluationSet,
|
|
16144
|
+
): Request<GoogleCloudAiplatformV1EvaluationSet>;
|
|
16145
|
+
/** Deletes an Evaluation Set. */
|
|
16146
|
+
delete(request?: {
|
|
16147
|
+
/** V1 error format. */
|
|
16148
|
+
'$.xgafv'?: string;
|
|
16149
|
+
/** OAuth access token. */
|
|
16150
|
+
access_token?: string;
|
|
16151
|
+
/** Data format for response. */
|
|
16152
|
+
alt?: string;
|
|
16153
|
+
/** JSONP */
|
|
16154
|
+
callback?: string;
|
|
16155
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
16156
|
+
fields?: string;
|
|
16157
|
+
/** 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. */
|
|
16158
|
+
key?: string;
|
|
16159
|
+
/** Required. The name of the EvaluationSet resource to be deleted. Format: `projects/{project}/locations/{location}/evaluationSets/{evaluation_set}` */
|
|
16160
|
+
name: string;
|
|
16161
|
+
/** OAuth 2.0 token for the current user. */
|
|
16162
|
+
oauth_token?: string;
|
|
16163
|
+
/** Returns response with indentations and line breaks. */
|
|
16164
|
+
prettyPrint?: boolean;
|
|
16165
|
+
/** 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. */
|
|
16166
|
+
quotaUser?: string;
|
|
16167
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
16168
|
+
upload_protocol?: string;
|
|
16169
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
16170
|
+
uploadType?: string;
|
|
16171
|
+
}): Request<GoogleLongrunningOperation>;
|
|
16172
|
+
/** Gets an Evaluation Set. */
|
|
16173
|
+
get(request?: {
|
|
16174
|
+
/** V1 error format. */
|
|
16175
|
+
'$.xgafv'?: string;
|
|
16176
|
+
/** OAuth access token. */
|
|
16177
|
+
access_token?: string;
|
|
16178
|
+
/** Data format for response. */
|
|
16179
|
+
alt?: string;
|
|
16180
|
+
/** JSONP */
|
|
16181
|
+
callback?: string;
|
|
16182
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
16183
|
+
fields?: string;
|
|
16184
|
+
/** 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. */
|
|
16185
|
+
key?: string;
|
|
16186
|
+
/** Required. The name of the EvaluationSet resource. Format: `projects/{project}/locations/{location}/evaluationSets/{evaluation_set}` */
|
|
16187
|
+
name: string;
|
|
16188
|
+
/** OAuth 2.0 token for the current user. */
|
|
16189
|
+
oauth_token?: string;
|
|
16190
|
+
/** Returns response with indentations and line breaks. */
|
|
16191
|
+
prettyPrint?: boolean;
|
|
16192
|
+
/** 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. */
|
|
16193
|
+
quotaUser?: string;
|
|
16194
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
16195
|
+
upload_protocol?: string;
|
|
16196
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
16197
|
+
uploadType?: string;
|
|
16198
|
+
}): Request<GoogleCloudAiplatformV1EvaluationSet>;
|
|
16199
|
+
/** Lists Evaluation Sets. */
|
|
16200
|
+
list(request?: {
|
|
16201
|
+
/** V1 error format. */
|
|
16202
|
+
'$.xgafv'?: string;
|
|
16203
|
+
/** OAuth access token. */
|
|
16204
|
+
access_token?: string;
|
|
16205
|
+
/** Data format for response. */
|
|
16206
|
+
alt?: string;
|
|
16207
|
+
/** JSONP */
|
|
16208
|
+
callback?: string;
|
|
16209
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
16210
|
+
fields?: string;
|
|
16211
|
+
/** 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). */
|
|
16212
|
+
filter?: string;
|
|
16213
|
+
/** 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. */
|
|
16214
|
+
key?: string;
|
|
16215
|
+
/** OAuth 2.0 token for the current user. */
|
|
16216
|
+
oauth_token?: string;
|
|
16217
|
+
/** Optional. A comma-separated list of fields to order by, sorted in ascending order by default. Use `desc` after a field name for descending. */
|
|
16218
|
+
orderBy?: string;
|
|
16219
|
+
/** Optional. The maximum number of Evaluation Sets to return. */
|
|
16220
|
+
pageSize?: number;
|
|
16221
|
+
/** Optional. A page token, received from a previous `ListEvaluationSets` call. Provide this to retrieve the subsequent page. */
|
|
16222
|
+
pageToken?: string;
|
|
16223
|
+
/** Required. The resource name of the Location from which to list the Evaluation Sets. Format: `projects/{project}/locations/{location}` */
|
|
16224
|
+
parent: string;
|
|
16225
|
+
/** Returns response with indentations and line breaks. */
|
|
16226
|
+
prettyPrint?: boolean;
|
|
16227
|
+
/** 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. */
|
|
16228
|
+
quotaUser?: string;
|
|
16229
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
16230
|
+
upload_protocol?: string;
|
|
16231
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
16232
|
+
uploadType?: string;
|
|
16233
|
+
}): Request<GoogleCloudAiplatformV1ListEvaluationSetsResponse>;
|
|
16234
|
+
/** Updates an Evaluation Set. */
|
|
16235
|
+
patch(request: {
|
|
16236
|
+
/** V1 error format. */
|
|
16237
|
+
'$.xgafv'?: string;
|
|
16238
|
+
/** OAuth access token. */
|
|
16239
|
+
access_token?: string;
|
|
16240
|
+
/** Data format for response. */
|
|
16241
|
+
alt?: string;
|
|
16242
|
+
/** JSONP */
|
|
16243
|
+
callback?: string;
|
|
16244
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
16245
|
+
fields?: string;
|
|
16246
|
+
/** 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. */
|
|
16247
|
+
key?: string;
|
|
16248
|
+
/** Identifier. The resource name of the EvaluationSet. Format: `projects/{project}/locations/{location}/evaluationSets/{evaluation_set}` */
|
|
16249
|
+
name: string;
|
|
16250
|
+
/** OAuth 2.0 token for the current user. */
|
|
16251
|
+
oauth_token?: string;
|
|
16252
|
+
/** Returns response with indentations and line breaks. */
|
|
16253
|
+
prettyPrint?: boolean;
|
|
16254
|
+
/** 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. */
|
|
16255
|
+
quotaUser?: string;
|
|
16256
|
+
/** Optional. The update mask applies to the resource. For the `FieldMask` definition, see google.protobuf.FieldMask. */
|
|
16257
|
+
updateMask?: string;
|
|
16258
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
16259
|
+
upload_protocol?: string;
|
|
16260
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
16261
|
+
uploadType?: string;
|
|
16262
|
+
/** Request body */
|
|
16263
|
+
resource: GoogleCloudAiplatformV1EvaluationSet;
|
|
16264
|
+
}): Request<GoogleCloudAiplatformV1EvaluationSet>;
|
|
16265
|
+
patch(
|
|
16266
|
+
request: {
|
|
16267
|
+
/** V1 error format. */
|
|
16268
|
+
'$.xgafv'?: string;
|
|
16269
|
+
/** OAuth access token. */
|
|
16270
|
+
access_token?: string;
|
|
16271
|
+
/** Data format for response. */
|
|
16272
|
+
alt?: string;
|
|
16273
|
+
/** JSONP */
|
|
16274
|
+
callback?: string;
|
|
16275
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
16276
|
+
fields?: string;
|
|
16277
|
+
/** 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. */
|
|
16278
|
+
key?: string;
|
|
16279
|
+
/** Identifier. The resource name of the EvaluationSet. Format: `projects/{project}/locations/{location}/evaluationSets/{evaluation_set}` */
|
|
16280
|
+
name: string;
|
|
16281
|
+
/** OAuth 2.0 token for the current user. */
|
|
16282
|
+
oauth_token?: string;
|
|
16283
|
+
/** Returns response with indentations and line breaks. */
|
|
16284
|
+
prettyPrint?: boolean;
|
|
16285
|
+
/** 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. */
|
|
16286
|
+
quotaUser?: string;
|
|
16287
|
+
/** Optional. The update mask applies to the resource. For the `FieldMask` definition, see google.protobuf.FieldMask. */
|
|
16288
|
+
updateMask?: string;
|
|
16289
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
16290
|
+
upload_protocol?: string;
|
|
16291
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
16292
|
+
uploadType?: string;
|
|
16293
|
+
},
|
|
16294
|
+
body: GoogleCloudAiplatformV1EvaluationSet,
|
|
16295
|
+
): Request<GoogleCloudAiplatformV1EvaluationSet>;
|
|
16296
|
+
}
|
|
15182
16297
|
interface OperationsResource {
|
|
15183
16298
|
/** 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
16299
|
delete(request?: {
|
|
@@ -33507,6 +34622,64 @@ declare namespace gapi.client {
|
|
|
33507
34622
|
},
|
|
33508
34623
|
body: GoogleCloudAiplatformV1GenerateInstanceRubricsRequest,
|
|
33509
34624
|
): Request<GoogleCloudAiplatformV1GenerateInstanceRubricsResponse>;
|
|
34625
|
+
/** Generates synthetic data based on the provided configuration. */
|
|
34626
|
+
generateSyntheticData(request: {
|
|
34627
|
+
/** V1 error format. */
|
|
34628
|
+
'$.xgafv'?: string;
|
|
34629
|
+
/** OAuth access token. */
|
|
34630
|
+
access_token?: string;
|
|
34631
|
+
/** Data format for response. */
|
|
34632
|
+
alt?: string;
|
|
34633
|
+
/** JSONP */
|
|
34634
|
+
callback?: string;
|
|
34635
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
34636
|
+
fields?: string;
|
|
34637
|
+
/** 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. */
|
|
34638
|
+
key?: string;
|
|
34639
|
+
/** Required. The resource name of the Location to run the job. Format: `projects/{project}/locations/{location}` */
|
|
34640
|
+
location: string;
|
|
34641
|
+
/** OAuth 2.0 token for the current user. */
|
|
34642
|
+
oauth_token?: string;
|
|
34643
|
+
/** Returns response with indentations and line breaks. */
|
|
34644
|
+
prettyPrint?: boolean;
|
|
34645
|
+
/** 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. */
|
|
34646
|
+
quotaUser?: string;
|
|
34647
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
34648
|
+
upload_protocol?: string;
|
|
34649
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
34650
|
+
uploadType?: string;
|
|
34651
|
+
/** Request body */
|
|
34652
|
+
resource: GoogleCloudAiplatformV1GenerateSyntheticDataRequest;
|
|
34653
|
+
}): Request<GoogleCloudAiplatformV1GenerateSyntheticDataResponse>;
|
|
34654
|
+
generateSyntheticData(
|
|
34655
|
+
request: {
|
|
34656
|
+
/** V1 error format. */
|
|
34657
|
+
'$.xgafv'?: string;
|
|
34658
|
+
/** OAuth access token. */
|
|
34659
|
+
access_token?: string;
|
|
34660
|
+
/** Data format for response. */
|
|
34661
|
+
alt?: string;
|
|
34662
|
+
/** JSONP */
|
|
34663
|
+
callback?: string;
|
|
34664
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
34665
|
+
fields?: string;
|
|
34666
|
+
/** 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. */
|
|
34667
|
+
key?: string;
|
|
34668
|
+
/** Required. The resource name of the Location to run the job. Format: `projects/{project}/locations/{location}` */
|
|
34669
|
+
location: string;
|
|
34670
|
+
/** OAuth 2.0 token for the current user. */
|
|
34671
|
+
oauth_token?: string;
|
|
34672
|
+
/** Returns response with indentations and line breaks. */
|
|
34673
|
+
prettyPrint?: boolean;
|
|
34674
|
+
/** 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. */
|
|
34675
|
+
quotaUser?: string;
|
|
34676
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
34677
|
+
upload_protocol?: string;
|
|
34678
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
34679
|
+
uploadType?: string;
|
|
34680
|
+
},
|
|
34681
|
+
body: GoogleCloudAiplatformV1GenerateSyntheticDataRequest,
|
|
34682
|
+
): Request<GoogleCloudAiplatformV1GenerateSyntheticDataResponse>;
|
|
33510
34683
|
/** Gets information about a location. */
|
|
33511
34684
|
get(request?: {
|
|
33512
34685
|
/** V1 error format. */
|
|
@@ -33571,7 +34744,7 @@ declare namespace gapi.client {
|
|
|
33571
34744
|
alt?: string;
|
|
33572
34745
|
/** JSONP */
|
|
33573
34746
|
callback?: string;
|
|
33574
|
-
/** Optional.
|
|
34747
|
+
/** Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage. */
|
|
33575
34748
|
extraLocationTypes?: string | string[];
|
|
33576
34749
|
/** Selector specifying which fields to include in a partial response. */
|
|
33577
34750
|
fields?: string;
|
|
@@ -33719,6 +34892,9 @@ declare namespace gapi.client {
|
|
|
33719
34892
|
datasets: DatasetsResource;
|
|
33720
34893
|
deploymentResourcePools: DeploymentResourcePoolsResource;
|
|
33721
34894
|
endpoints: EndpointsResource;
|
|
34895
|
+
evaluationItems: EvaluationItemsResource;
|
|
34896
|
+
evaluationRuns: EvaluationRunsResource;
|
|
34897
|
+
evaluationSets: EvaluationSetsResource;
|
|
33722
34898
|
featureGroups: FeatureGroupsResource;
|
|
33723
34899
|
featureOnlineStores: FeatureOnlineStoresResource;
|
|
33724
34900
|
featurestores: FeaturestoresResource;
|