@maxim_mazurok/gapi.client.aiplatform-v1beta1 0.0.20250602 → 0.0.20250606
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 +35 -5
- 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=v1beta1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20250606
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -782,6 +782,8 @@ declare namespace gapi.client {
|
|
|
782
782
|
logprobsResult?: GoogleCloudAiplatformV1beta1LogprobsResult;
|
|
783
783
|
/** Output only. List of ratings for the safety of a response candidate. There is at most one rating per category. */
|
|
784
784
|
safetyRatings?: GoogleCloudAiplatformV1beta1SafetyRating[];
|
|
785
|
+
/** Output only. Metadata related to url context retrieval tool. */
|
|
786
|
+
urlContextMetadata?: GoogleCloudAiplatformV1beta1UrlContextMetadata;
|
|
785
787
|
}
|
|
786
788
|
interface GoogleCloudAiplatformV1beta1Checkpoint {
|
|
787
789
|
/** The ID of the checkpoint. */
|
|
@@ -1581,7 +1583,7 @@ declare namespace gapi.client {
|
|
|
1581
1583
|
fasterDeploymentConfig?: GoogleCloudAiplatformV1beta1FasterDeploymentConfig;
|
|
1582
1584
|
/** Immutable. The ID of the DeployedModel. If not provided upon deployment, Vertex AI will generate a value for this ID. This value should be 1-10 characters, and valid characters are `/[0-9]/`. */
|
|
1583
1585
|
id?: string;
|
|
1584
|
-
/**
|
|
1586
|
+
/** The resource name of the Model that this is the deployment of. Note that the Model may be in a different location than the DeployedModel's Endpoint. The resource name may contain version id or version alias to specify the version. Example: `projects/{project}/locations/{location}/models/{model}@2` or `projects/{project}/locations/{location}/models/{model}@golden` if no version is specified, the default version will be deployed. */
|
|
1585
1587
|
model?: string;
|
|
1586
1588
|
/** Output only. The version ID of the model that is deployed. */
|
|
1587
1589
|
modelVersionId?: string;
|
|
@@ -1781,6 +1783,14 @@ declare namespace gapi.client {
|
|
|
1781
1783
|
/** Optional. Cloud Storage path to file containing validation dataset for tuning. The dataset must be formatted as a JSONL file. */
|
|
1782
1784
|
validationDatasetUri?: string;
|
|
1783
1785
|
}
|
|
1786
|
+
interface GoogleCloudAiplatformV1beta1DnsPeeringConfig {
|
|
1787
|
+
/** Required. The DNS name suffix of the zone being peered to, e.g., "my-internal-domain.corp.". Must end with a dot. */
|
|
1788
|
+
domain?: string;
|
|
1789
|
+
/** Required. The VPC network name in the target_project where the DNS zone specified by 'domain' is visible. */
|
|
1790
|
+
targetNetwork?: string;
|
|
1791
|
+
/** Required. The project ID hosting the Cloud DNS managed zone that contains the 'domain'. The Vertex AI Service Agent requires the dns.peer role on this project. */
|
|
1792
|
+
targetProject?: string;
|
|
1793
|
+
}
|
|
1784
1794
|
interface GoogleCloudAiplatformV1beta1DoubleArray {
|
|
1785
1795
|
/** A list of double values. */
|
|
1786
1796
|
values?: number[];
|
|
@@ -3618,7 +3628,7 @@ declare namespace gapi.client {
|
|
|
3618
3628
|
webSearchQueries?: string[];
|
|
3619
3629
|
}
|
|
3620
3630
|
interface GoogleCloudAiplatformV1beta1GroundingSupport {
|
|
3621
|
-
/** Confidence score of the support references. Ranges from 0 to 1. 1 is the most confident.
|
|
3631
|
+
/** 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. */
|
|
3622
3632
|
confidenceScores?: number[];
|
|
3623
3633
|
/** A list of indices (into 'grounding_chunk') specifying the citations associated with the claim. For instance [1,3,4] means that grounding_chunk[1], grounding_chunk[3], grounding_chunk[4] are the retrieved content attributed to the claim. */
|
|
3624
3634
|
groundingChunkIndices?: number[];
|
|
@@ -4722,6 +4732,8 @@ declare namespace gapi.client {
|
|
|
4722
4732
|
healthRoute?: string;
|
|
4723
4733
|
/** Required. Immutable. URI of the Docker image to be used as the custom container for serving predictions. This URI must identify an image in Artifact Registry or Container Registry. Learn more about the [container publishing requirements](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#publishing), including permissions requirements for the Vertex AI Service Agent. The container image is ingested upon ModelService.UploadModel, stored internally, and this original path is afterwards not used. To learn about the requirements for the Docker image itself, see [Custom container requirements](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#). You can use the URI to one of Vertex AI's [pre-built container images for prediction](https://cloud.google.com/vertex-ai/docs/predictions/pre-built-containers) in this field. */
|
|
4724
4734
|
imageUri?: string;
|
|
4735
|
+
/** Immutable. Invoke route prefix for the custom container. "/*" is the only supported value right now. By setting this field, any non-root route on this model will be accessible with [PredictionService.Invoke] eg: "/invoke/foo/bar". Only one of `predict_route` or `invoke_route_prefix` can be set, and we default to using `predict_route` if this field is not set. If this field is set, the Model can only be deployed to dedicated endpoint. */
|
|
4736
|
+
invokeRoutePrefix?: string;
|
|
4725
4737
|
/** Immutable. Specification for Kubernetes liveness probe. */
|
|
4726
4738
|
livenessProbe?: GoogleCloudAiplatformV1beta1Probe;
|
|
4727
4739
|
/** Immutable. List of ports to expose from the container. Vertex AI sends any prediction requests that it receives to the first port on this list. Vertex AI also sends [liveness and health checks](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#liveness) to this port. If you do not specify this field, it defaults to following value: ```json [ { "containerPort": 8080 } ] ``` Vertex AI does not use ports other than the first one listed. This field corresponds to the `ports` field of the Kubernetes Containers [v1 core API](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#container-v1-core). */
|
|
@@ -6314,16 +6326,22 @@ declare namespace gapi.client {
|
|
|
6314
6326
|
projectId?: string;
|
|
6315
6327
|
}
|
|
6316
6328
|
interface GoogleCloudAiplatformV1beta1PSCAutomationConfig {
|
|
6317
|
-
/** Output only.
|
|
6329
|
+
/** Output only. Error message if the PSC service automation failed. */
|
|
6330
|
+
errorMessage?: string;
|
|
6331
|
+
/** Output only. Forwarding rule created by the PSC service automation. */
|
|
6318
6332
|
forwardingRule?: string;
|
|
6319
|
-
/** Output only. IP address rule created by the PSC service automation.
|
|
6333
|
+
/** Output only. IP address rule created by the PSC service automation. */
|
|
6320
6334
|
ipAddress?: string;
|
|
6321
6335
|
/** Required. The full name of the Google Compute Engine [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks). [Format](https://cloud.google.com/compute/docs/reference/rest/v1/networks/insert): `projects/{project}/global/networks/{network}`. Where {project} is a project number, as in '12345', and {network} is network name. */
|
|
6322
6336
|
network?: string;
|
|
6323
6337
|
/** Required. Project id used to create forwarding rule. */
|
|
6324
6338
|
projectId?: string;
|
|
6339
|
+
/** Output only. The state of the PSC service automation. */
|
|
6340
|
+
state?: string;
|
|
6325
6341
|
}
|
|
6326
6342
|
interface GoogleCloudAiplatformV1beta1PscInterfaceConfig {
|
|
6343
|
+
/** Optional. DNS peering configurations. When specified, Vertex AI will attempt to configure DNS peering zones in the tenant project VPC to resolve the specified domains using the target network's Cloud DNS. The user must grant the dns.peer role to the Vertex AI Service Agent on the target project. */
|
|
6344
|
+
dnsPeeringConfigs?: GoogleCloudAiplatformV1beta1DnsPeeringConfig[];
|
|
6327
6345
|
/** Optional. The name of the Compute Engine [network attachment](https://cloud.google.com/vpc/docs/about-network-attachments) to attach to the resource within the region and user project. To specify this field, you must have already [created a network attachment] (https://cloud.google.com/vpc/docs/create-manage-network-attachments#create-network-attachments). This field is only used for resources using PSC-I. */
|
|
6328
6346
|
networkAttachment?: string;
|
|
6329
6347
|
}
|
|
@@ -6436,6 +6454,8 @@ declare namespace gapi.client {
|
|
|
6436
6454
|
resourceTitle?: string;
|
|
6437
6455
|
/** Optional. Use case (CUJ) of the resource. */
|
|
6438
6456
|
resourceUseCase?: string;
|
|
6457
|
+
/** Optional. For notebook resource, whether the notebook supports Workbench. */
|
|
6458
|
+
supportsWorkbench?: boolean;
|
|
6439
6459
|
/** Required. */
|
|
6440
6460
|
title?: string;
|
|
6441
6461
|
}
|
|
@@ -10583,6 +10603,16 @@ declare namespace gapi.client {
|
|
|
10583
10603
|
status?: GoogleRpcStatus;
|
|
10584
10604
|
}
|
|
10585
10605
|
interface GoogleCloudAiplatformV1beta1UrlContext {}
|
|
10606
|
+
interface GoogleCloudAiplatformV1beta1UrlContextMetadata {
|
|
10607
|
+
/** Output only. List of url context. */
|
|
10608
|
+
urlMetadata?: GoogleCloudAiplatformV1beta1UrlMetadata[];
|
|
10609
|
+
}
|
|
10610
|
+
interface GoogleCloudAiplatformV1beta1UrlMetadata {
|
|
10611
|
+
/** Retrieved url by the tool. */
|
|
10612
|
+
retrievedUrl?: string;
|
|
10613
|
+
/** Status of the url retrieval. */
|
|
10614
|
+
urlRetrievalStatus?: string;
|
|
10615
|
+
}
|
|
10586
10616
|
interface GoogleCloudAiplatformV1beta1UserActionReference {
|
|
10587
10617
|
/** For API calls that start a LabelingJob. Resource name of the LabelingJob. Format: `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}` */
|
|
10588
10618
|
dataLabelingJob?: string;
|