@maxim_mazurok/gapi.client.aiplatform-v1 0.0.20250205 → 0.0.20250226
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 +164 -15
- 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: 20250226
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -31,6 +31,16 @@ declare namespace gapi.client {
|
|
|
31
31
|
raiMediaFilteredCount?: number;
|
|
32
32
|
/** Returns rai failure reasons if any. */
|
|
33
33
|
raiMediaFilteredReasons?: string[];
|
|
34
|
+
/** List of videos, used to align naming with the external response. */
|
|
35
|
+
videos?: CloudAiLargeModelsVisionGenerateVideoResponseVideo[];
|
|
36
|
+
}
|
|
37
|
+
interface CloudAiLargeModelsVisionGenerateVideoResponseVideo {
|
|
38
|
+
/** Base64 encoded bytes string representing the video. */
|
|
39
|
+
bytesBase64Encoded?: string;
|
|
40
|
+
/** Cloud Storage URI where the generated video is written. */
|
|
41
|
+
gcsUri?: string;
|
|
42
|
+
/** The MIME type of the content of the video. - video/mp4 */
|
|
43
|
+
mimeType?: string;
|
|
34
44
|
}
|
|
35
45
|
interface CloudAiLargeModelsVisionImage {
|
|
36
46
|
/** Image encoding, encoded as "image/png" or "image/jpg". */
|
|
@@ -127,6 +137,8 @@ declare namespace gapi.client {
|
|
|
127
137
|
encodedVideo?: string;
|
|
128
138
|
/** Video encoding, for example "video/mp4". */
|
|
129
139
|
encoding?: string;
|
|
140
|
+
/** Text/Expanded text input for Help Me Write. */
|
|
141
|
+
text?: string;
|
|
130
142
|
/** Path to another storage (typically Google Cloud Storage). */
|
|
131
143
|
uri?: string;
|
|
132
144
|
/** Raw bytes. */
|
|
@@ -292,9 +304,9 @@ declare namespace gapi.client {
|
|
|
292
304
|
facts?: GoogleCloudAiplatformV1Fact[];
|
|
293
305
|
}
|
|
294
306
|
interface GoogleCloudAiplatformV1AutomaticResources {
|
|
295
|
-
/** Immutable. The maximum number of replicas
|
|
307
|
+
/** Immutable. The maximum number of replicas that may be deployed on when the traffic against it increases. If the requested value is too large, the deployment will error, but if deployment succeeds then the ability to scale to that many replicas is guaranteed (barring service outages). If traffic increases beyond what its replicas at maximum may handle, a portion of the traffic will be dropped. If this value is not provided, a no upper bound for scaling under heavy traffic will be assume, though Vertex AI may be unable to scale beyond certain replica number. */
|
|
296
308
|
maxReplicaCount?: number;
|
|
297
|
-
/** Immutable. The minimum number of replicas
|
|
309
|
+
/** Immutable. The minimum number of replicas that will be always deployed on. If traffic against it increases, it may dynamically be deployed onto more replicas up to max_replica_count, and as traffic decreases, some of these extra replicas may be freed. If the requested value is too large, the deployment will error. */
|
|
298
310
|
minReplicaCount?: number;
|
|
299
311
|
}
|
|
300
312
|
interface GoogleCloudAiplatformV1AutoraterConfig {
|
|
@@ -591,7 +603,7 @@ declare namespace gapi.client {
|
|
|
591
603
|
displayName?: string;
|
|
592
604
|
/** Timestamp of when this resource is considered expired. This is *always* provided on output, regardless of what was sent on input. */
|
|
593
605
|
expireTime?: string;
|
|
594
|
-
/** Immutable. The name of the
|
|
606
|
+
/** Immutable. The name of the `Model` to use for cached content. Currently, only the published Gemini base models are supported, in form of projects/{PROJECT}/locations/{LOCATION}/publishers/google/models/{MODEL} */
|
|
595
607
|
model?: string;
|
|
596
608
|
/** Immutable. Identifier. The server-generated resource name of the cached content Format: projects/{project}/locations/{location}/cachedContents/{cached_content} */
|
|
597
609
|
name?: string;
|
|
@@ -1206,13 +1218,13 @@ declare namespace gapi.client {
|
|
|
1206
1218
|
interface GoogleCloudAiplatformV1DedicatedResources {
|
|
1207
1219
|
/** Immutable. The metric specifications that overrides a resource utilization metric (CPU utilization, accelerator's duty cycle, and so on) target value (default to 60 if not set). At most one entry is allowed per metric. If machine_spec.accelerator_count is above 0, the autoscaling will be based on both CPU utilization and accelerator's duty cycle metrics and scale up when either metrics exceeds its target value while scale down if both metrics are under their target value. The default target value is 60 for both metrics. If machine_spec.accelerator_count is 0, the autoscaling will be based on CPU utilization metric only with default target value 60 if not explicitly set. For example, in the case of Online Prediction, if you want to override target CPU utilization to 80, you should set autoscaling_metric_specs.metric_name to `aiplatform.googleapis.com/prediction/online/cpu/utilization` and autoscaling_metric_specs.target to `80`. */
|
|
1208
1220
|
autoscalingMetricSpecs?: GoogleCloudAiplatformV1AutoscalingMetricSpec[];
|
|
1209
|
-
/** Required. Immutable. The specification of a single machine used
|
|
1221
|
+
/** Required. Immutable. The specification of a single machine being used. */
|
|
1210
1222
|
machineSpec?: GoogleCloudAiplatformV1MachineSpec;
|
|
1211
|
-
/** Immutable. The maximum number of replicas
|
|
1223
|
+
/** Immutable. The maximum number of replicas that may be deployed on when the traffic against it increases. If the requested value is too large, the deployment will error, but if deployment succeeds then the ability to scale to that many replicas is guaranteed (barring service outages). If traffic increases beyond what its replicas at maximum may handle, a portion of the traffic will be dropped. If this value is not provided, will use min_replica_count as the default value. The value of this field impacts the charge against Vertex CPU and GPU quotas. Specifically, you will be charged for (max_replica_count * number of cores in the selected machine type) and (max_replica_count * number of GPUs per replica in the selected machine type). */
|
|
1212
1224
|
maxReplicaCount?: number;
|
|
1213
|
-
/** Required. Immutable. The minimum number of machine replicas
|
|
1225
|
+
/** Required. Immutable. The minimum number of machine replicas that will be always deployed on. This value must be greater than or equal to 1. If traffic increases, it may dynamically be deployed onto more replicas, and as traffic decreases, some of these extra replicas may be freed. */
|
|
1214
1226
|
minReplicaCount?: number;
|
|
1215
|
-
/** Optional. Number of required available replicas for the deployment to succeed. This field is only needed when partial
|
|
1227
|
+
/** Optional. Number of required available replicas for the deployment to succeed. This field is only needed when partial deployment/mutation is desired. If set, the deploy/mutate operation will succeed once available_replica_count reaches required_replica_count, and the rest of the replicas will be retried. If not set, the default required_replica_count will be min_replica_count. */
|
|
1216
1228
|
requiredReplicaCount?: number;
|
|
1217
1229
|
/** Optional. If true, schedule the deployment workload on [spot VMs](https://cloud.google.com/kubernetes-engine/docs/concepts/spot-vms). */
|
|
1218
1230
|
spot?: boolean;
|
|
@@ -1504,6 +1516,7 @@ declare namespace gapi.client {
|
|
|
1504
1516
|
/** Output only. Timestamp when this Endpoint was last updated. */
|
|
1505
1517
|
updateTime?: string;
|
|
1506
1518
|
}
|
|
1519
|
+
interface GoogleCloudAiplatformV1EnterpriseWebSearch {}
|
|
1507
1520
|
interface GoogleCloudAiplatformV1EntityIdSelector {
|
|
1508
1521
|
/** Source of Csv */
|
|
1509
1522
|
csvSource?: GoogleCloudAiplatformV1CsvSource;
|
|
@@ -1576,6 +1589,16 @@ declare namespace gapi.client {
|
|
|
1576
1589
|
/** Explanation type. For AutoML Image Classification models, possible values are: * `image-integrated-gradients` * `image-xrai` */
|
|
1577
1590
|
explanationType?: string;
|
|
1578
1591
|
}
|
|
1592
|
+
interface GoogleCloudAiplatformV1EvaluateDatasetRequest {
|
|
1593
|
+
/** Optional. Autorater config used for evaluation. */
|
|
1594
|
+
autoraterConfig?: GoogleCloudAiplatformV1AutoraterConfig;
|
|
1595
|
+
/** Required. The dataset used for evaluation. */
|
|
1596
|
+
dataset?: GoogleCloudAiplatformV1EvaluationDataset;
|
|
1597
|
+
/** Required. The metrics used for evaluation. */
|
|
1598
|
+
metrics?: GoogleCloudAiplatformV1Metric[];
|
|
1599
|
+
/** Required. Config for evaluation output. */
|
|
1600
|
+
outputConfig?: GoogleCloudAiplatformV1OutputConfig;
|
|
1601
|
+
}
|
|
1579
1602
|
interface GoogleCloudAiplatformV1EvaluateInstancesRequest {
|
|
1580
1603
|
/** Optional. Autorater config used for evaluation. */
|
|
1581
1604
|
autoraterConfig?: GoogleCloudAiplatformV1AutoraterConfig;
|
|
@@ -1706,6 +1729,12 @@ declare namespace gapi.client {
|
|
|
1706
1729
|
/** Results for trajectory single tool use metric. */
|
|
1707
1730
|
trajectorySingleToolUseResults?: GoogleCloudAiplatformV1TrajectorySingleToolUseResults;
|
|
1708
1731
|
}
|
|
1732
|
+
interface GoogleCloudAiplatformV1EvaluationDataset {
|
|
1733
|
+
/** BigQuery source holds the dataset. */
|
|
1734
|
+
bigquerySource?: GoogleCloudAiplatformV1BigQuerySource;
|
|
1735
|
+
/** Cloud storage source holds the dataset. */
|
|
1736
|
+
gcsSource?: GoogleCloudAiplatformV1GcsSource;
|
|
1737
|
+
}
|
|
1709
1738
|
interface GoogleCloudAiplatformV1Event {
|
|
1710
1739
|
/** Required. The relative resource name of the Artifact in the Event. */
|
|
1711
1740
|
artifact?: string;
|
|
@@ -2686,9 +2715,31 @@ declare namespace gapi.client {
|
|
|
2686
2715
|
promptTokenCount?: number;
|
|
2687
2716
|
/** Output only. List of modalities that were processed in the request input. */
|
|
2688
2717
|
promptTokensDetails?: GoogleCloudAiplatformV1ModalityTokenCount[];
|
|
2689
|
-
/**
|
|
2718
|
+
/** Output only. Number of tokens present in tool-use prompt(s). */
|
|
2719
|
+
toolUsePromptTokenCount?: number;
|
|
2720
|
+
/** Output only. List of modalities that were processed for tool-use request inputs. */
|
|
2721
|
+
toolUsePromptTokensDetails?: GoogleCloudAiplatformV1ModalityTokenCount[];
|
|
2722
|
+
/** Total token count for prompt, response candidates, and tool-use prompts (if present). */
|
|
2690
2723
|
totalTokenCount?: number;
|
|
2691
2724
|
}
|
|
2725
|
+
interface GoogleCloudAiplatformV1GenerateVideoResponse {
|
|
2726
|
+
/** The cloud storage uris of the generated videos. */
|
|
2727
|
+
generatedSamples?: string[];
|
|
2728
|
+
/** Returns if any videos were filtered due to RAI policies. */
|
|
2729
|
+
raiMediaFilteredCount?: number;
|
|
2730
|
+
/** Returns rai failure reasons if any. */
|
|
2731
|
+
raiMediaFilteredReasons?: string[];
|
|
2732
|
+
/** List of video bytes or Cloud Storage URIs of the generated videos. */
|
|
2733
|
+
videos?: GoogleCloudAiplatformV1GenerateVideoResponseVideo[];
|
|
2734
|
+
}
|
|
2735
|
+
interface GoogleCloudAiplatformV1GenerateVideoResponseVideo {
|
|
2736
|
+
/** Base64 encoded bytes string representing the video. */
|
|
2737
|
+
bytesBase64Encoded?: string;
|
|
2738
|
+
/** Cloud Storage URI where the generated video is written. */
|
|
2739
|
+
gcsUri?: string;
|
|
2740
|
+
/** The MIME type of the content of the video. - video/mp4 */
|
|
2741
|
+
mimeType?: string;
|
|
2742
|
+
}
|
|
2692
2743
|
interface GoogleCloudAiplatformV1GenerationConfig {
|
|
2693
2744
|
/** Optional. If enabled, audio timestamp will be included in the request to the model. */
|
|
2694
2745
|
audioTimestamp?: boolean;
|
|
@@ -3508,8 +3559,6 @@ declare namespace gapi.client {
|
|
|
3508
3559
|
acceleratorType?: string;
|
|
3509
3560
|
/** Immutable. The type of the machine. See the [list of machine types supported for prediction](https://cloud.google.com/vertex-ai/docs/predictions/configure-compute#machine-types) See the [list of machine types supported for custom training](https://cloud.google.com/vertex-ai/docs/training/configure-compute#machine-types). For DeployedModel this field is optional, and the default value is `n1-standard-2`. For BatchPredictionJob or as part of WorkerPoolSpec this field is required. */
|
|
3510
3561
|
machineType?: string;
|
|
3511
|
-
/** Optional. Immutable. The number of nodes per replica for multihost GPU deployments. */
|
|
3512
|
-
multihostGpuNodeCount?: number;
|
|
3513
3562
|
/** Optional. Immutable. Configuration controlling how this resource pool consumes reservation. */
|
|
3514
3563
|
reservationAffinity?: GoogleCloudAiplatformV1ReservationAffinity;
|
|
3515
3564
|
/** Immutable. The topology of the TPUs. Corresponds to the TPU topologies available from GKE. (Example: tpu_topology: "2x2x1"). */
|
|
@@ -3575,6 +3624,20 @@ declare namespace gapi.client {
|
|
|
3575
3624
|
/** The disk utilization of the MetadataStore in bytes. */
|
|
3576
3625
|
diskUtilizationBytes?: string;
|
|
3577
3626
|
}
|
|
3627
|
+
interface GoogleCloudAiplatformV1Metric {
|
|
3628
|
+
/** Optional. The aggregation metrics to use. */
|
|
3629
|
+
aggregationMetrics?: string[];
|
|
3630
|
+
/** Spec for bleu metric. */
|
|
3631
|
+
bleuSpec?: GoogleCloudAiplatformV1BleuSpec;
|
|
3632
|
+
/** Spec for exact match metric. */
|
|
3633
|
+
exactMatchSpec?: any;
|
|
3634
|
+
/** Spec for pairwise metric. */
|
|
3635
|
+
pairwiseMetricSpec?: GoogleCloudAiplatformV1PairwiseMetricSpec;
|
|
3636
|
+
/** Spec for pointwise metric. */
|
|
3637
|
+
pointwiseMetricSpec?: GoogleCloudAiplatformV1PointwiseMetricSpec;
|
|
3638
|
+
/** Spec for rouge metric. */
|
|
3639
|
+
rougeSpec?: GoogleCloudAiplatformV1RougeSpec;
|
|
3640
|
+
}
|
|
3578
3641
|
interface GoogleCloudAiplatformV1MetricxInput {
|
|
3579
3642
|
/** Required. Metricx instance. */
|
|
3580
3643
|
instance?: GoogleCloudAiplatformV1MetricxInstance;
|
|
@@ -4102,6 +4165,8 @@ declare namespace gapi.client {
|
|
|
4102
4165
|
checkpointId?: string;
|
|
4103
4166
|
/** The epoch of the checkpoint. */
|
|
4104
4167
|
epoch?: string;
|
|
4168
|
+
/** Identifier. The resource name of the ModelVersionCheckpoint. Format: `projects/{project}/locations/{location}/models/{model}/versions/{version}/checkpoints/{checkpoint}` */
|
|
4169
|
+
name?: string;
|
|
4105
4170
|
/** The step of the checkpoint. */
|
|
4106
4171
|
step?: string;
|
|
4107
4172
|
}
|
|
@@ -4532,6 +4597,10 @@ declare namespace gapi.client {
|
|
|
4532
4597
|
/** Optional. Post startup script config. */
|
|
4533
4598
|
postStartupScriptConfig?: GoogleCloudAiplatformV1PostStartupScriptConfig;
|
|
4534
4599
|
}
|
|
4600
|
+
interface GoogleCloudAiplatformV1OutputConfig {
|
|
4601
|
+
/** Cloud storage destination for evaluation output. */
|
|
4602
|
+
gcsDestination?: GoogleCloudAiplatformV1GcsDestination;
|
|
4603
|
+
}
|
|
4535
4604
|
interface GoogleCloudAiplatformV1PairwiseMetricInput {
|
|
4536
4605
|
/** Required. Pairwise metric instance. */
|
|
4537
4606
|
instance?: GoogleCloudAiplatformV1PairwiseMetricInstance;
|
|
@@ -5570,9 +5639,17 @@ declare namespace gapi.client {
|
|
|
5570
5639
|
interface GoogleCloudAiplatformV1ReasoningEngineSpec {
|
|
5571
5640
|
/** Optional. Declarations for object class methods in OpenAPI specification format. */
|
|
5572
5641
|
classMethods?: Array<{[P in string]: any}>;
|
|
5642
|
+
/** Optional. The specification of a Reasoning Engine deployment. */
|
|
5643
|
+
deploymentSpec?: GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec;
|
|
5573
5644
|
/** Required. User provided package spec of the ReasoningEngine. */
|
|
5574
5645
|
packageSpec?: GoogleCloudAiplatformV1ReasoningEngineSpecPackageSpec;
|
|
5575
5646
|
}
|
|
5647
|
+
interface GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec {
|
|
5648
|
+
/** Optional. Environment variables to be set with the Reasoning Engine deployment. The environment variables can be updated through the UpdateReasoningEngine API. */
|
|
5649
|
+
env?: GoogleCloudAiplatformV1EnvVar[];
|
|
5650
|
+
/** Optional. Environment variables where the value is a secret in Cloud Secret Manager. To use this feature, add 'Secret Manager Secret Accessor' role (roles/secretmanager.secretAccessor) to AI Platform Reasoning Engine Service Agent. */
|
|
5651
|
+
secretEnv?: GoogleCloudAiplatformV1SecretEnvVar[];
|
|
5652
|
+
}
|
|
5576
5653
|
interface GoogleCloudAiplatformV1ReasoningEngineSpecPackageSpec {
|
|
5577
5654
|
/** Optional. The Cloud Storage URI of the dependency files in tar.gz format. */
|
|
5578
5655
|
dependencyFilesGcsUri?: string;
|
|
@@ -5615,7 +5692,7 @@ declare namespace gapi.client {
|
|
|
5615
5692
|
key?: string;
|
|
5616
5693
|
/** Required. Specifies the reservation affinity type. */
|
|
5617
5694
|
reservationAffinityType?: string;
|
|
5618
|
-
/** Optional. Corresponds to the label values of a reservation resource. This must be the full resource name of the reservation. */
|
|
5695
|
+
/** Optional. Corresponds to the label values of a reservation resource. This must be the full resource name of the reservation or reservation block. */
|
|
5619
5696
|
values?: string[];
|
|
5620
5697
|
}
|
|
5621
5698
|
interface GoogleCloudAiplatformV1ResourcePool {
|
|
@@ -6686,7 +6763,7 @@ declare namespace gapi.client {
|
|
|
6686
6763
|
displayName?: string;
|
|
6687
6764
|
}
|
|
6688
6765
|
interface GoogleCloudAiplatformV1SchemaTextDataItem {
|
|
6689
|
-
/** Output only. Google Cloud Storage URI points to the original text in user's
|
|
6766
|
+
/** Output only. Google Cloud Storage URI points to a copy of the original text in the Vertex-managed bucket in the user's project. The text file is up to 10MB in size. */
|
|
6690
6767
|
gcsUri?: string;
|
|
6691
6768
|
}
|
|
6692
6769
|
interface GoogleCloudAiplatformV1SchemaTextDatasetMetadata {
|
|
@@ -7425,6 +7502,18 @@ declare namespace gapi.client {
|
|
|
7425
7502
|
/** The nearest neighbors of the query entity. */
|
|
7426
7503
|
nearestNeighbors?: GoogleCloudAiplatformV1NearestNeighbors;
|
|
7427
7504
|
}
|
|
7505
|
+
interface GoogleCloudAiplatformV1SecretEnvVar {
|
|
7506
|
+
/** Required. Name of the secret environment variable. */
|
|
7507
|
+
name?: string;
|
|
7508
|
+
/** Required. Reference to a secret stored in the Cloud Secret Manager that will provide the value for this environment variable. */
|
|
7509
|
+
secretRef?: GoogleCloudAiplatformV1SecretRef;
|
|
7510
|
+
}
|
|
7511
|
+
interface GoogleCloudAiplatformV1SecretRef {
|
|
7512
|
+
/** Required. The name of the secret in Cloud Secret Manager. Format: {secret_name} if the secret is in the same project. projects/{project}/secrets/{secret_name} if the secret is in a different project. */
|
|
7513
|
+
secret?: string;
|
|
7514
|
+
/** The Cloud Secret Manager secret version. Can be 'latest' for the latest version, an integer for a specific version, or a version alias. */
|
|
7515
|
+
version?: string;
|
|
7516
|
+
}
|
|
7428
7517
|
interface GoogleCloudAiplatformV1Segment {
|
|
7429
7518
|
/** Output only. End index in the given Part, measured in bytes. Offset from the start of the Part, exclusive, starting at zero. */
|
|
7430
7519
|
endIndex?: number;
|
|
@@ -8122,8 +8211,10 @@ declare namespace gapi.client {
|
|
|
8122
8211
|
tokens?: string[];
|
|
8123
8212
|
}
|
|
8124
8213
|
interface GoogleCloudAiplatformV1Tool {
|
|
8125
|
-
/** Optional. CodeExecution tool type. Enables the model to execute code as part of generation.
|
|
8214
|
+
/** Optional. CodeExecution tool type. Enables the model to execute code as part of generation. */
|
|
8126
8215
|
codeExecution?: any;
|
|
8216
|
+
/** Optional. Tool to support searching public web data, powered by Vertex AI Search and Sec4 compliance. */
|
|
8217
|
+
enterpriseWebSearch?: any;
|
|
8127
8218
|
/** 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 128 function declarations can be provided. */
|
|
8128
8219
|
functionDeclarations?: GoogleCloudAiplatformV1FunctionDeclaration[];
|
|
8129
8220
|
/** Optional. GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google. */
|
|
@@ -8655,7 +8746,7 @@ declare namespace gapi.client {
|
|
|
8655
8746
|
stringValue?: string;
|
|
8656
8747
|
}
|
|
8657
8748
|
interface GoogleCloudAiplatformV1VertexAISearch {
|
|
8658
|
-
/**
|
|
8749
|
+
/** Optional. Fully-qualified Vertex AI Search data store resource ID. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}` */
|
|
8659
8750
|
datastore?: string;
|
|
8660
8751
|
}
|
|
8661
8752
|
interface GoogleCloudAiplatformV1VertexRagStore {
|
|
@@ -31905,6 +31996,64 @@ declare namespace gapi.client {
|
|
|
31905
31996
|
},
|
|
31906
31997
|
body: GoogleCloudAiplatformV1CorroborateContentRequest,
|
|
31907
31998
|
): Request<GoogleCloudAiplatformV1CorroborateContentResponse>;
|
|
31999
|
+
/** Evaluates a dataset based on a set of given metrics. */
|
|
32000
|
+
evaluateDataset(request: {
|
|
32001
|
+
/** V1 error format. */
|
|
32002
|
+
'$.xgafv'?: string;
|
|
32003
|
+
/** OAuth access token. */
|
|
32004
|
+
access_token?: string;
|
|
32005
|
+
/** Data format for response. */
|
|
32006
|
+
alt?: string;
|
|
32007
|
+
/** JSONP */
|
|
32008
|
+
callback?: string;
|
|
32009
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
32010
|
+
fields?: string;
|
|
32011
|
+
/** 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. */
|
|
32012
|
+
key?: string;
|
|
32013
|
+
/** Required. The resource name of the Location to evaluate the dataset. Format: `projects/{project}/locations/{location}` */
|
|
32014
|
+
location: string;
|
|
32015
|
+
/** OAuth 2.0 token for the current user. */
|
|
32016
|
+
oauth_token?: string;
|
|
32017
|
+
/** Returns response with indentations and line breaks. */
|
|
32018
|
+
prettyPrint?: boolean;
|
|
32019
|
+
/** 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. */
|
|
32020
|
+
quotaUser?: string;
|
|
32021
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
32022
|
+
upload_protocol?: string;
|
|
32023
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
32024
|
+
uploadType?: string;
|
|
32025
|
+
/** Request body */
|
|
32026
|
+
resource: GoogleCloudAiplatformV1EvaluateDatasetRequest;
|
|
32027
|
+
}): Request<GoogleLongrunningOperation>;
|
|
32028
|
+
evaluateDataset(
|
|
32029
|
+
request: {
|
|
32030
|
+
/** V1 error format. */
|
|
32031
|
+
'$.xgafv'?: string;
|
|
32032
|
+
/** OAuth access token. */
|
|
32033
|
+
access_token?: string;
|
|
32034
|
+
/** Data format for response. */
|
|
32035
|
+
alt?: string;
|
|
32036
|
+
/** JSONP */
|
|
32037
|
+
callback?: string;
|
|
32038
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
32039
|
+
fields?: string;
|
|
32040
|
+
/** 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. */
|
|
32041
|
+
key?: string;
|
|
32042
|
+
/** Required. The resource name of the Location to evaluate the dataset. Format: `projects/{project}/locations/{location}` */
|
|
32043
|
+
location: string;
|
|
32044
|
+
/** OAuth 2.0 token for the current user. */
|
|
32045
|
+
oauth_token?: string;
|
|
32046
|
+
/** Returns response with indentations and line breaks. */
|
|
32047
|
+
prettyPrint?: boolean;
|
|
32048
|
+
/** 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. */
|
|
32049
|
+
quotaUser?: string;
|
|
32050
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
32051
|
+
upload_protocol?: string;
|
|
32052
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
32053
|
+
uploadType?: string;
|
|
32054
|
+
},
|
|
32055
|
+
body: GoogleCloudAiplatformV1EvaluateDatasetRequest,
|
|
32056
|
+
): Request<GoogleLongrunningOperation>;
|
|
31908
32057
|
/** Evaluates instances based on a given metric. */
|
|
31909
32058
|
evaluateInstances(request: {
|
|
31910
32059
|
/** V1 error format. */
|