@maxim_mazurok/gapi.client.aiplatform-v1 0.0.20250131 → 0.0.20250205
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 +30 -4
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://aiplatform.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20250205
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -297,6 +297,14 @@ declare namespace gapi.client {
|
|
|
297
297
|
/** Immutable. The minimum number of replicas this DeployedModel 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;
|
|
@@ -1569,6 +1577,8 @@ declare namespace gapi.client {
|
|
|
1569
1577
|
explanationType?: string;
|
|
1570
1578
|
}
|
|
1571
1579
|
interface GoogleCloudAiplatformV1EvaluateInstancesRequest {
|
|
1580
|
+
/** Optional. Autorater config used for evaluation. */
|
|
1581
|
+
autoraterConfig?: GoogleCloudAiplatformV1AutoraterConfig;
|
|
1572
1582
|
/** Instances and metric spec for bleu metric. */
|
|
1573
1583
|
bleuInput?: GoogleCloudAiplatformV1BleuInput;
|
|
1574
1584
|
/** Input for coherence metric. */
|
|
@@ -3498,6 +3508,8 @@ declare namespace gapi.client {
|
|
|
3498
3508
|
acceleratorType?: string;
|
|
3499
3509
|
/** 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
3510
|
machineType?: string;
|
|
3511
|
+
/** Optional. Immutable. The number of nodes per replica for multihost GPU deployments. */
|
|
3512
|
+
multihostGpuNodeCount?: number;
|
|
3501
3513
|
/** Optional. Immutable. Configuration controlling how this resource pool consumes reservation. */
|
|
3502
3514
|
reservationAffinity?: GoogleCloudAiplatformV1ReservationAffinity;
|
|
3503
3515
|
/** Immutable. The topology of the TPUs. Corresponds to the TPU topologies available from GKE. (Example: tpu_topology: "2x2x1"). */
|
|
@@ -3974,7 +3986,7 @@ declare namespace gapi.client {
|
|
|
3974
3986
|
interface GoogleCloudAiplatformV1ModelExportFormat {
|
|
3975
3987
|
/** Output only. The content of this Model that may be exported. */
|
|
3976
3988
|
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. */
|
|
3989
|
+
/** 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
3990
|
id?: string;
|
|
3979
3991
|
}
|
|
3980
3992
|
interface GoogleCloudAiplatformV1ModelGardenSource {
|
|
@@ -4537,8 +4549,14 @@ declare namespace gapi.client {
|
|
|
4537
4549
|
pairwiseChoice?: string;
|
|
4538
4550
|
}
|
|
4539
4551
|
interface GoogleCloudAiplatformV1PairwiseMetricSpec {
|
|
4552
|
+
/** Optional. The field name of the baseline response. */
|
|
4553
|
+
baselineResponseFieldName?: string;
|
|
4554
|
+
/** Optional. The field name of the candidate response. */
|
|
4555
|
+
candidateResponseFieldName?: string;
|
|
4540
4556
|
/** Required. Metric prompt template for pairwise metric. */
|
|
4541
4557
|
metricPromptTemplate?: string;
|
|
4558
|
+
/** Optional. System instructions for pairwise metric. */
|
|
4559
|
+
systemInstruction?: string;
|
|
4542
4560
|
}
|
|
4543
4561
|
interface GoogleCloudAiplatformV1PairwiseQuestionAnsweringQualityInput {
|
|
4544
4562
|
/** Required. Pairwise question answering quality instance. */
|
|
@@ -4821,6 +4839,8 @@ declare namespace gapi.client {
|
|
|
4821
4839
|
interface GoogleCloudAiplatformV1PointwiseMetricSpec {
|
|
4822
4840
|
/** Required. Metric prompt template for pointwise metric. */
|
|
4823
4841
|
metricPromptTemplate?: string;
|
|
4842
|
+
/** Optional. System instructions for pointwise metric. */
|
|
4843
|
+
systemInstruction?: string;
|
|
4824
4844
|
}
|
|
4825
4845
|
interface GoogleCloudAiplatformV1Port {
|
|
4826
4846
|
/** 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 +4931,18 @@ declare namespace gapi.client {
|
|
|
4911
4931
|
interface GoogleCloudAiplatformV1Probe {
|
|
4912
4932
|
/** ExecAction probes the health of a container by executing a command. */
|
|
4913
4933
|
exec?: GoogleCloudAiplatformV1ProbeExecAction;
|
|
4934
|
+
/** Number of consecutive failures before the probe is considered failed. Defaults to 3. Minimum value is 1. Maps to Kubernetes probe argument 'failureThreshold'. */
|
|
4935
|
+
failureThreshold?: number;
|
|
4914
4936
|
/** GrpcAction probes the health of a container by sending a gRPC request. */
|
|
4915
4937
|
grpc?: GoogleCloudAiplatformV1ProbeGrpcAction;
|
|
4916
4938
|
/** HttpGetAction probes the health of a container by sending an HTTP GET request. */
|
|
4917
4939
|
httpGet?: GoogleCloudAiplatformV1ProbeHttpGetAction;
|
|
4940
|
+
/** Number of seconds to wait before starting the probe. Defaults to 0. Minimum value is 0. Maps to Kubernetes probe argument 'initialDelaySeconds'. */
|
|
4941
|
+
initialDelaySeconds?: number;
|
|
4918
4942
|
/** 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
4943
|
periodSeconds?: number;
|
|
4944
|
+
/** Number of consecutive successes before the probe is considered successful. Defaults to 1. Minimum value is 1. Maps to Kubernetes probe argument 'successThreshold'. */
|
|
4945
|
+
successThreshold?: number;
|
|
4920
4946
|
/** TcpSocketAction probes the health of a container by opening a TCP socket connection. */
|
|
4921
4947
|
tcpSocket?: GoogleCloudAiplatformV1ProbeTcpSocketAction;
|
|
4922
4948
|
/** 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'. */
|
|
@@ -14771,7 +14797,7 @@ declare namespace gapi.client {
|
|
|
14771
14797
|
prettyPrint?: boolean;
|
|
14772
14798
|
/** 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
14799
|
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` */
|
|
14800
|
+
/** 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
14801
|
updateMask?: string;
|
|
14776
14802
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
14777
14803
|
upload_protocol?: string;
|
|
@@ -14802,7 +14828,7 @@ declare namespace gapi.client {
|
|
|
14802
14828
|
prettyPrint?: boolean;
|
|
14803
14829
|
/** 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
14830
|
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` */
|
|
14831
|
+
/** 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
14832
|
updateMask?: string;
|
|
14807
14833
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
14808
14834
|
upload_protocol?: string;
|