@maxim_mazurok/gapi.client.aiplatform-v1 0.0.20250131 → 0.0.20250212
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 +132 -12
- 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: 20250212
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -292,11 +292,19 @@ declare namespace gapi.client {
|
|
|
292
292
|
facts?: GoogleCloudAiplatformV1Fact[];
|
|
293
293
|
}
|
|
294
294
|
interface GoogleCloudAiplatformV1AutomaticResources {
|
|
295
|
-
/** Immutable. The maximum number of replicas
|
|
295
|
+
/** 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
296
|
maxReplicaCount?: number;
|
|
297
|
-
/** Immutable. The minimum number of replicas
|
|
297
|
+
/** 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
298
|
minReplicaCount?: number;
|
|
299
299
|
}
|
|
300
|
+
interface GoogleCloudAiplatformV1AutoraterConfig {
|
|
301
|
+
/** 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}` */
|
|
302
|
+
autoraterModel?: string;
|
|
303
|
+
/** Optional. Whether to flip the candidate and baseline responses. This is only applicable to the pairwise metric. If enabled, also provide PairwiseMetricSpec.candidate_response_field_name and PairwiseMetricSpec.baseline_response_field_name. When rendering PairwiseMetricSpec.metric_prompt_template, the candidate and baseline fields will be flipped for half of the samples to reduce bias. */
|
|
304
|
+
flipEnabled?: boolean;
|
|
305
|
+
/** 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. */
|
|
306
|
+
samplingCount?: number;
|
|
307
|
+
}
|
|
300
308
|
interface GoogleCloudAiplatformV1AutoscalingMetricSpec {
|
|
301
309
|
/** Required. The resource metric name. Supported metrics: * For Online Prediction: * `aiplatform.googleapis.com/prediction/online/accelerator/duty_cycle` * `aiplatform.googleapis.com/prediction/online/cpu/utilization` */
|
|
302
310
|
metricName?: string;
|
|
@@ -583,7 +591,7 @@ declare namespace gapi.client {
|
|
|
583
591
|
displayName?: string;
|
|
584
592
|
/** Timestamp of when this resource is considered expired. This is *always* provided on output, regardless of what was sent on input. */
|
|
585
593
|
expireTime?: string;
|
|
586
|
-
/** Immutable. The name of the
|
|
594
|
+
/** 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} */
|
|
587
595
|
model?: string;
|
|
588
596
|
/** Immutable. Identifier. The server-generated resource name of the cached content Format: projects/{project}/locations/{location}/cachedContents/{cached_content} */
|
|
589
597
|
name?: string;
|
|
@@ -1198,13 +1206,13 @@ declare namespace gapi.client {
|
|
|
1198
1206
|
interface GoogleCloudAiplatformV1DedicatedResources {
|
|
1199
1207
|
/** 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`. */
|
|
1200
1208
|
autoscalingMetricSpecs?: GoogleCloudAiplatformV1AutoscalingMetricSpec[];
|
|
1201
|
-
/** Required. Immutable. The specification of a single machine used
|
|
1209
|
+
/** Required. Immutable. The specification of a single machine being used. */
|
|
1202
1210
|
machineSpec?: GoogleCloudAiplatformV1MachineSpec;
|
|
1203
|
-
/** Immutable. The maximum number of replicas
|
|
1211
|
+
/** 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). */
|
|
1204
1212
|
maxReplicaCount?: number;
|
|
1205
|
-
/** Required. Immutable. The minimum number of machine replicas
|
|
1213
|
+
/** 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. */
|
|
1206
1214
|
minReplicaCount?: number;
|
|
1207
|
-
/** Optional. Number of required available replicas for the deployment to succeed. This field is only needed when partial
|
|
1215
|
+
/** 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. */
|
|
1208
1216
|
requiredReplicaCount?: number;
|
|
1209
1217
|
/** Optional. If true, schedule the deployment workload on [spot VMs](https://cloud.google.com/kubernetes-engine/docs/concepts/spot-vms). */
|
|
1210
1218
|
spot?: boolean;
|
|
@@ -1568,7 +1576,19 @@ declare namespace gapi.client {
|
|
|
1568
1576
|
/** Explanation type. For AutoML Image Classification models, possible values are: * `image-integrated-gradients` * `image-xrai` */
|
|
1569
1577
|
explanationType?: string;
|
|
1570
1578
|
}
|
|
1579
|
+
interface GoogleCloudAiplatformV1EvaluateDatasetRequest {
|
|
1580
|
+
/** Optional. Autorater config used for evaluation. */
|
|
1581
|
+
autoraterConfig?: GoogleCloudAiplatformV1AutoraterConfig;
|
|
1582
|
+
/** Required. The dataset used for evaluation. */
|
|
1583
|
+
dataset?: GoogleCloudAiplatformV1EvaluationDataset;
|
|
1584
|
+
/** Required. The metrics used for evaluation. */
|
|
1585
|
+
metrics?: GoogleCloudAiplatformV1Metric[];
|
|
1586
|
+
/** Required. Config for evaluation output. */
|
|
1587
|
+
outputConfig?: GoogleCloudAiplatformV1OutputConfig;
|
|
1588
|
+
}
|
|
1571
1589
|
interface GoogleCloudAiplatformV1EvaluateInstancesRequest {
|
|
1590
|
+
/** Optional. Autorater config used for evaluation. */
|
|
1591
|
+
autoraterConfig?: GoogleCloudAiplatformV1AutoraterConfig;
|
|
1572
1592
|
/** Instances and metric spec for bleu metric. */
|
|
1573
1593
|
bleuInput?: GoogleCloudAiplatformV1BleuInput;
|
|
1574
1594
|
/** Input for coherence metric. */
|
|
@@ -1696,6 +1716,12 @@ declare namespace gapi.client {
|
|
|
1696
1716
|
/** Results for trajectory single tool use metric. */
|
|
1697
1717
|
trajectorySingleToolUseResults?: GoogleCloudAiplatformV1TrajectorySingleToolUseResults;
|
|
1698
1718
|
}
|
|
1719
|
+
interface GoogleCloudAiplatformV1EvaluationDataset {
|
|
1720
|
+
/** BigQuery source holds the dataset. */
|
|
1721
|
+
bigquerySource?: GoogleCloudAiplatformV1BigQuerySource;
|
|
1722
|
+
/** Cloud storage source holds the dataset. */
|
|
1723
|
+
gcsSource?: GoogleCloudAiplatformV1GcsSource;
|
|
1724
|
+
}
|
|
1699
1725
|
interface GoogleCloudAiplatformV1Event {
|
|
1700
1726
|
/** Required. The relative resource name of the Artifact in the Event. */
|
|
1701
1727
|
artifact?: string;
|
|
@@ -3498,6 +3524,8 @@ declare namespace gapi.client {
|
|
|
3498
3524
|
acceleratorType?: string;
|
|
3499
3525
|
/** 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. */
|
|
3500
3526
|
machineType?: string;
|
|
3527
|
+
/** Optional. Immutable. The number of nodes per replica for multihost GPU deployments. */
|
|
3528
|
+
multihostGpuNodeCount?: number;
|
|
3501
3529
|
/** Optional. Immutable. Configuration controlling how this resource pool consumes reservation. */
|
|
3502
3530
|
reservationAffinity?: GoogleCloudAiplatformV1ReservationAffinity;
|
|
3503
3531
|
/** Immutable. The topology of the TPUs. Corresponds to the TPU topologies available from GKE. (Example: tpu_topology: "2x2x1"). */
|
|
@@ -3563,6 +3591,20 @@ declare namespace gapi.client {
|
|
|
3563
3591
|
/** The disk utilization of the MetadataStore in bytes. */
|
|
3564
3592
|
diskUtilizationBytes?: string;
|
|
3565
3593
|
}
|
|
3594
|
+
interface GoogleCloudAiplatformV1Metric {
|
|
3595
|
+
/** Optional. The aggregation metrics to use. */
|
|
3596
|
+
aggregationMetrics?: string[];
|
|
3597
|
+
/** Spec for bleu metric. */
|
|
3598
|
+
bleuSpec?: GoogleCloudAiplatformV1BleuSpec;
|
|
3599
|
+
/** Spec for exact match metric. */
|
|
3600
|
+
exactMatchSpec?: any;
|
|
3601
|
+
/** Spec for pairwise metric. */
|
|
3602
|
+
pairwiseMetricSpec?: GoogleCloudAiplatformV1PairwiseMetricSpec;
|
|
3603
|
+
/** Spec for pointwise metric. */
|
|
3604
|
+
pointwiseMetricSpec?: GoogleCloudAiplatformV1PointwiseMetricSpec;
|
|
3605
|
+
/** Spec for rouge metric. */
|
|
3606
|
+
rougeSpec?: GoogleCloudAiplatformV1RougeSpec;
|
|
3607
|
+
}
|
|
3566
3608
|
interface GoogleCloudAiplatformV1MetricxInput {
|
|
3567
3609
|
/** Required. Metricx instance. */
|
|
3568
3610
|
instance?: GoogleCloudAiplatformV1MetricxInstance;
|
|
@@ -3974,7 +4016,7 @@ declare namespace gapi.client {
|
|
|
3974
4016
|
interface GoogleCloudAiplatformV1ModelExportFormat {
|
|
3975
4017
|
/** Output only. The content of this Model that may be exported. */
|
|
3976
4018
|
exportableContents?: string[];
|
|
3977
|
-
/** Output only. The ID of the export format. The possible format IDs are: * `tflite` Used for Android mobile devices. * `edgetpu-tflite` Used for [Edge TPU](https://cloud.google.com/edge-tpu/) devices. * `tf-saved-model` A tensorflow model in SavedModel format. * `tf-js` A [TensorFlow.js](https://www.tensorflow.org/js) model that can be used in the browser and in Node.js using JavaScript. * `core-ml` Used for iOS mobile devices. * `custom-trained` A Model that was uploaded or trained by custom code. */
|
|
4019
|
+
/** Output only. The ID of the export format. The possible format IDs are: * `tflite` Used for Android mobile devices. * `edgetpu-tflite` Used for [Edge TPU](https://cloud.google.com/edge-tpu/) devices. * `tf-saved-model` A tensorflow model in SavedModel format. * `tf-js` A [TensorFlow.js](https://www.tensorflow.org/js) model that can be used in the browser and in Node.js using JavaScript. * `core-ml` Used for iOS mobile devices. * `custom-trained` A Model that was uploaded or trained by custom code. * `genie` A tuned Model Garden model. */
|
|
3978
4020
|
id?: string;
|
|
3979
4021
|
}
|
|
3980
4022
|
interface GoogleCloudAiplatformV1ModelGardenSource {
|
|
@@ -4090,6 +4132,8 @@ declare namespace gapi.client {
|
|
|
4090
4132
|
checkpointId?: string;
|
|
4091
4133
|
/** The epoch of the checkpoint. */
|
|
4092
4134
|
epoch?: string;
|
|
4135
|
+
/** Identifier. The resource name of the ModelVersionCheckpoint. Format: `projects/{project}/locations/{location}/models/{model}/versions/{version}/checkpoints/{checkpoint}` */
|
|
4136
|
+
name?: string;
|
|
4093
4137
|
/** The step of the checkpoint. */
|
|
4094
4138
|
step?: string;
|
|
4095
4139
|
}
|
|
@@ -4520,6 +4564,10 @@ declare namespace gapi.client {
|
|
|
4520
4564
|
/** Optional. Post startup script config. */
|
|
4521
4565
|
postStartupScriptConfig?: GoogleCloudAiplatformV1PostStartupScriptConfig;
|
|
4522
4566
|
}
|
|
4567
|
+
interface GoogleCloudAiplatformV1OutputConfig {
|
|
4568
|
+
/** Cloud storage destination for evaluation output. */
|
|
4569
|
+
gcsDestination?: GoogleCloudAiplatformV1GcsDestination;
|
|
4570
|
+
}
|
|
4523
4571
|
interface GoogleCloudAiplatformV1PairwiseMetricInput {
|
|
4524
4572
|
/** Required. Pairwise metric instance. */
|
|
4525
4573
|
instance?: GoogleCloudAiplatformV1PairwiseMetricInstance;
|
|
@@ -4537,8 +4585,14 @@ declare namespace gapi.client {
|
|
|
4537
4585
|
pairwiseChoice?: string;
|
|
4538
4586
|
}
|
|
4539
4587
|
interface GoogleCloudAiplatformV1PairwiseMetricSpec {
|
|
4588
|
+
/** Optional. The field name of the baseline response. */
|
|
4589
|
+
baselineResponseFieldName?: string;
|
|
4590
|
+
/** Optional. The field name of the candidate response. */
|
|
4591
|
+
candidateResponseFieldName?: string;
|
|
4540
4592
|
/** Required. Metric prompt template for pairwise metric. */
|
|
4541
4593
|
metricPromptTemplate?: string;
|
|
4594
|
+
/** Optional. System instructions for pairwise metric. */
|
|
4595
|
+
systemInstruction?: string;
|
|
4542
4596
|
}
|
|
4543
4597
|
interface GoogleCloudAiplatformV1PairwiseQuestionAnsweringQualityInput {
|
|
4544
4598
|
/** Required. Pairwise question answering quality instance. */
|
|
@@ -4821,6 +4875,8 @@ declare namespace gapi.client {
|
|
|
4821
4875
|
interface GoogleCloudAiplatformV1PointwiseMetricSpec {
|
|
4822
4876
|
/** Required. Metric prompt template for pointwise metric. */
|
|
4823
4877
|
metricPromptTemplate?: string;
|
|
4878
|
+
/** Optional. System instructions for pointwise metric. */
|
|
4879
|
+
systemInstruction?: string;
|
|
4824
4880
|
}
|
|
4825
4881
|
interface GoogleCloudAiplatformV1Port {
|
|
4826
4882
|
/** The number of the port to expose on the pod's IP address. Must be a valid port number, between 1 and 65535 inclusive. */
|
|
@@ -4911,12 +4967,18 @@ declare namespace gapi.client {
|
|
|
4911
4967
|
interface GoogleCloudAiplatformV1Probe {
|
|
4912
4968
|
/** ExecAction probes the health of a container by executing a command. */
|
|
4913
4969
|
exec?: GoogleCloudAiplatformV1ProbeExecAction;
|
|
4970
|
+
/** Number of consecutive failures before the probe is considered failed. Defaults to 3. Minimum value is 1. Maps to Kubernetes probe argument 'failureThreshold'. */
|
|
4971
|
+
failureThreshold?: number;
|
|
4914
4972
|
/** GrpcAction probes the health of a container by sending a gRPC request. */
|
|
4915
4973
|
grpc?: GoogleCloudAiplatformV1ProbeGrpcAction;
|
|
4916
4974
|
/** HttpGetAction probes the health of a container by sending an HTTP GET request. */
|
|
4917
4975
|
httpGet?: GoogleCloudAiplatformV1ProbeHttpGetAction;
|
|
4976
|
+
/** Number of seconds to wait before starting the probe. Defaults to 0. Minimum value is 0. Maps to Kubernetes probe argument 'initialDelaySeconds'. */
|
|
4977
|
+
initialDelaySeconds?: number;
|
|
4918
4978
|
/** How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Must be less than timeout_seconds. Maps to Kubernetes probe argument 'periodSeconds'. */
|
|
4919
4979
|
periodSeconds?: number;
|
|
4980
|
+
/** Number of consecutive successes before the probe is considered successful. Defaults to 1. Minimum value is 1. Maps to Kubernetes probe argument 'successThreshold'. */
|
|
4981
|
+
successThreshold?: number;
|
|
4920
4982
|
/** TcpSocketAction probes the health of a container by opening a TCP socket connection. */
|
|
4921
4983
|
tcpSocket?: GoogleCloudAiplatformV1ProbeTcpSocketAction;
|
|
4922
4984
|
/** Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Must be greater or equal to period_seconds. Maps to Kubernetes probe argument 'timeoutSeconds'. */
|
|
@@ -6660,7 +6722,7 @@ declare namespace gapi.client {
|
|
|
6660
6722
|
displayName?: string;
|
|
6661
6723
|
}
|
|
6662
6724
|
interface GoogleCloudAiplatformV1SchemaTextDataItem {
|
|
6663
|
-
/** Output only. Google Cloud Storage URI points to the original text in user's
|
|
6725
|
+
/** 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. */
|
|
6664
6726
|
gcsUri?: string;
|
|
6665
6727
|
}
|
|
6666
6728
|
interface GoogleCloudAiplatformV1SchemaTextDatasetMetadata {
|
|
@@ -14771,7 +14833,7 @@ declare namespace gapi.client {
|
|
|
14771
14833
|
prettyPrint?: boolean;
|
|
14772
14834
|
/** 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. */
|
|
14773
14835
|
quotaUser?: string;
|
|
14774
|
-
/** Field mask is used to specify the fields to be overwritten in the FeatureGroup resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `labels` * `description` * `big_query` * `big_query.entity_id_columns` */
|
|
14836
|
+
/** Field mask is used to specify the fields to be overwritten in the FeatureGroup resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `labels` * `description` * `big_query` * `big_query.entity_id_columns` * `service_agent_type` */
|
|
14775
14837
|
updateMask?: string;
|
|
14776
14838
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
14777
14839
|
upload_protocol?: string;
|
|
@@ -14802,7 +14864,7 @@ declare namespace gapi.client {
|
|
|
14802
14864
|
prettyPrint?: boolean;
|
|
14803
14865
|
/** 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. */
|
|
14804
14866
|
quotaUser?: string;
|
|
14805
|
-
/** Field mask is used to specify the fields to be overwritten in the FeatureGroup resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `labels` * `description` * `big_query` * `big_query.entity_id_columns` */
|
|
14867
|
+
/** Field mask is used to specify the fields to be overwritten in the FeatureGroup resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `labels` * `description` * `big_query` * `big_query.entity_id_columns` * `service_agent_type` */
|
|
14806
14868
|
updateMask?: string;
|
|
14807
14869
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
14808
14870
|
upload_protocol?: string;
|
|
@@ -31879,6 +31941,64 @@ declare namespace gapi.client {
|
|
|
31879
31941
|
},
|
|
31880
31942
|
body: GoogleCloudAiplatformV1CorroborateContentRequest,
|
|
31881
31943
|
): Request<GoogleCloudAiplatformV1CorroborateContentResponse>;
|
|
31944
|
+
/** Evaluates a dataset based on a set of given metrics. */
|
|
31945
|
+
evaluateDataset(request: {
|
|
31946
|
+
/** V1 error format. */
|
|
31947
|
+
'$.xgafv'?: string;
|
|
31948
|
+
/** OAuth access token. */
|
|
31949
|
+
access_token?: string;
|
|
31950
|
+
/** Data format for response. */
|
|
31951
|
+
alt?: string;
|
|
31952
|
+
/** JSONP */
|
|
31953
|
+
callback?: string;
|
|
31954
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
31955
|
+
fields?: string;
|
|
31956
|
+
/** 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. */
|
|
31957
|
+
key?: string;
|
|
31958
|
+
/** Required. The resource name of the Location to evaluate the dataset. Format: `projects/{project}/locations/{location}` */
|
|
31959
|
+
location: string;
|
|
31960
|
+
/** OAuth 2.0 token for the current user. */
|
|
31961
|
+
oauth_token?: string;
|
|
31962
|
+
/** Returns response with indentations and line breaks. */
|
|
31963
|
+
prettyPrint?: boolean;
|
|
31964
|
+
/** 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. */
|
|
31965
|
+
quotaUser?: string;
|
|
31966
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
31967
|
+
upload_protocol?: string;
|
|
31968
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
31969
|
+
uploadType?: string;
|
|
31970
|
+
/** Request body */
|
|
31971
|
+
resource: GoogleCloudAiplatformV1EvaluateDatasetRequest;
|
|
31972
|
+
}): Request<GoogleLongrunningOperation>;
|
|
31973
|
+
evaluateDataset(
|
|
31974
|
+
request: {
|
|
31975
|
+
/** V1 error format. */
|
|
31976
|
+
'$.xgafv'?: string;
|
|
31977
|
+
/** OAuth access token. */
|
|
31978
|
+
access_token?: string;
|
|
31979
|
+
/** Data format for response. */
|
|
31980
|
+
alt?: string;
|
|
31981
|
+
/** JSONP */
|
|
31982
|
+
callback?: string;
|
|
31983
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
31984
|
+
fields?: string;
|
|
31985
|
+
/** 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. */
|
|
31986
|
+
key?: string;
|
|
31987
|
+
/** Required. The resource name of the Location to evaluate the dataset. Format: `projects/{project}/locations/{location}` */
|
|
31988
|
+
location: string;
|
|
31989
|
+
/** OAuth 2.0 token for the current user. */
|
|
31990
|
+
oauth_token?: string;
|
|
31991
|
+
/** Returns response with indentations and line breaks. */
|
|
31992
|
+
prettyPrint?: boolean;
|
|
31993
|
+
/** 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. */
|
|
31994
|
+
quotaUser?: string;
|
|
31995
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
31996
|
+
upload_protocol?: string;
|
|
31997
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
31998
|
+
uploadType?: string;
|
|
31999
|
+
},
|
|
32000
|
+
body: GoogleCloudAiplatformV1EvaluateDatasetRequest,
|
|
32001
|
+
): Request<GoogleLongrunningOperation>;
|
|
31882
32002
|
/** Evaluates instances based on a given metric. */
|
|
31883
32003
|
evaluateInstances(request: {
|
|
31884
32004
|
/** V1 error format. */
|