@maxim_mazurok/gapi.client.aiplatform-v1 0.0.20250606 → 0.0.20250625
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 +117 -7
- 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: 20250625
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -621,7 +621,7 @@ declare namespace gapi.client {
|
|
|
621
621
|
interface GoogleCloudAiplatformV1Blob {
|
|
622
622
|
/** Required. Raw bytes. */
|
|
623
623
|
data?: string;
|
|
624
|
-
/** Optional. Display name of the blob. Used to provide a label or filename to distinguish blobs. This field is only returned in PromptMessage for prompt management. It is
|
|
624
|
+
/** Optional. Display name of the blob. Used to provide a label or filename to distinguish blobs. This field is only returned in PromptMessage for prompt management. It is currently used in the Gemini GenerateContent calls only when server side tools (code_execution, google_search, and url_context) are enabled. */
|
|
625
625
|
displayName?: string;
|
|
626
626
|
/** Required. The IANA standard MIME type of the source data. */
|
|
627
627
|
mimeType?: string;
|
|
@@ -2684,7 +2684,7 @@ declare namespace gapi.client {
|
|
|
2684
2684
|
operationName?: string;
|
|
2685
2685
|
}
|
|
2686
2686
|
interface GoogleCloudAiplatformV1FileData {
|
|
2687
|
-
/** Optional. Display name of the file data. Used to provide a label or filename to distinguish file datas. This field is only returned in PromptMessage for prompt management. It is
|
|
2687
|
+
/** Optional. Display name of the file data. Used to provide a label or filename to distinguish file datas. This field is only returned in PromptMessage for prompt management. It is currently used in the Gemini GenerateContent calls only when server side tools (code_execution, google_search, and url_context) are enabled. */
|
|
2688
2688
|
displayName?: string;
|
|
2689
2689
|
/** Required. URI. */
|
|
2690
2690
|
fileUri?: string;
|
|
@@ -2994,7 +2994,7 @@ declare namespace gapi.client {
|
|
|
2994
2994
|
interface GoogleCloudAiplatformV1GenerationConfigThinkingConfig {
|
|
2995
2995
|
/** Optional. Indicates whether to include thoughts in the response. If true, thoughts are returned only when available. */
|
|
2996
2996
|
includeThoughts?: boolean;
|
|
2997
|
-
/** Optional. Indicates the thinking budget in tokens.
|
|
2997
|
+
/** Optional. Indicates the thinking budget in tokens. */
|
|
2998
2998
|
thinkingBudget?: number;
|
|
2999
2999
|
}
|
|
3000
3000
|
interface GoogleCloudAiplatformV1GenericOperationMetadata {
|
|
@@ -4078,7 +4078,7 @@ declare namespace gapi.client {
|
|
|
4078
4078
|
healthRoute?: string;
|
|
4079
4079
|
/** 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. */
|
|
4080
4080
|
imageUri?: string;
|
|
4081
|
-
/** 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
|
|
4081
|
+
/** 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 invoke http call eg: "/invoke/foo/bar", however the [PredictionService.Invoke] RPC is not supported yet. 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. */
|
|
4082
4082
|
invokeRoutePrefix?: string;
|
|
4083
4083
|
/** Immutable. Specification for Kubernetes liveness probe. */
|
|
4084
4084
|
livenessProbe?: GoogleCloudAiplatformV1Probe;
|
|
@@ -5247,6 +5247,8 @@ declare namespace gapi.client {
|
|
|
5247
5247
|
enablePrivateServiceConnect?: boolean;
|
|
5248
5248
|
/** A list of Projects from which the forwarding rule will target the service attachment. */
|
|
5249
5249
|
projectAllowlist?: string[];
|
|
5250
|
+
/** Optional. List of projects and networks where the PSC endpoints will be created. This field is used by Online Inference(Prediction) only. */
|
|
5251
|
+
pscAutomationConfigs?: GoogleCloudAiplatformV1PSCAutomationConfig[];
|
|
5250
5252
|
/** Output only. The name of the generated service attachment resource. This is only populated if the endpoint is deployed with PrivateServiceConnect. */
|
|
5251
5253
|
serviceAttachment?: string;
|
|
5252
5254
|
}
|
|
@@ -5319,7 +5321,7 @@ declare namespace gapi.client {
|
|
|
5319
5321
|
forwardingRule?: string;
|
|
5320
5322
|
/** Output only. IP address rule created by the PSC service automation. */
|
|
5321
5323
|
ipAddress?: string;
|
|
5322
|
-
/** 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/
|
|
5324
|
+
/** 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/get): `projects/{project}/global/networks/{network}`. */
|
|
5323
5325
|
network?: string;
|
|
5324
5326
|
/** Required. Project id used to create forwarding rule. */
|
|
5325
5327
|
projectId?: string;
|
|
@@ -5705,6 +5707,8 @@ declare namespace gapi.client {
|
|
|
5705
5707
|
description?: string;
|
|
5706
5708
|
/** Required. The display name of the RagCorpus. The name can be up to 128 characters long and can consist of any UTF-8 characters. */
|
|
5707
5709
|
displayName?: string;
|
|
5710
|
+
/** Optional. Immutable. The CMEK key name used to encrypt at-rest data related to this Corpus. Only applicable to RagManagedDb option for Vector DB. This field can only be set at corpus creation time, and cannot be updated or deleted. */
|
|
5711
|
+
encryptionSpec?: GoogleCloudAiplatformV1EncryptionSpec;
|
|
5708
5712
|
/** Output only. The resource name of the RagCorpus. */
|
|
5709
5713
|
name?: string;
|
|
5710
5714
|
/** Output only. Timestamp when this RagCorpus was last updated. */
|
|
@@ -5726,6 +5730,12 @@ declare namespace gapi.client {
|
|
|
5726
5730
|
/** Output only. Version ID of the model that is deployed on the endpoint. Present only when the endpoint is not a publisher model. */
|
|
5727
5731
|
modelVersionId?: string;
|
|
5728
5732
|
}
|
|
5733
|
+
interface GoogleCloudAiplatformV1RagEngineConfig {
|
|
5734
|
+
/** Identifier. The name of the RagEngineConfig. Format: `projects/{project}/locations/{location}/ragEngineConfig` */
|
|
5735
|
+
name?: string;
|
|
5736
|
+
/** The config of the RagManagedDb used by RagEngine. */
|
|
5737
|
+
ragManagedDbConfig?: GoogleCloudAiplatformV1RagManagedDbConfig;
|
|
5738
|
+
}
|
|
5729
5739
|
interface GoogleCloudAiplatformV1RagFile {
|
|
5730
5740
|
/** Output only. Timestamp when this RagFile was created. */
|
|
5731
5741
|
createTime?: string;
|
|
@@ -5751,6 +5761,8 @@ declare namespace gapi.client {
|
|
|
5751
5761
|
slackSource?: GoogleCloudAiplatformV1SlackSource;
|
|
5752
5762
|
/** Output only. Timestamp when this RagFile was last updated. */
|
|
5753
5763
|
updateTime?: string;
|
|
5764
|
+
/** Output only. The metadata for metadata search. The user_metadata Needs to be in JSON format. */
|
|
5765
|
+
userMetadata?: string;
|
|
5754
5766
|
}
|
|
5755
5767
|
interface GoogleCloudAiplatformV1RagFileChunkingConfig {
|
|
5756
5768
|
/** Specifies the fixed length chunking config. */
|
|
@@ -5786,6 +5798,17 @@ declare namespace gapi.client {
|
|
|
5786
5798
|
/** Specifies the chunking config for RagFiles. */
|
|
5787
5799
|
ragFileChunkingConfig?: GoogleCloudAiplatformV1RagFileChunkingConfig;
|
|
5788
5800
|
}
|
|
5801
|
+
interface GoogleCloudAiplatformV1RagManagedDbConfig {
|
|
5802
|
+
/** Sets the RagManagedDb to the Basic tier. */
|
|
5803
|
+
basic?: any;
|
|
5804
|
+
/** Sets the RagManagedDb to the Scaled tier. */
|
|
5805
|
+
scaled?: any;
|
|
5806
|
+
/** Sets the RagManagedDb to the Unprovisioned tier. */
|
|
5807
|
+
unprovisioned?: any;
|
|
5808
|
+
}
|
|
5809
|
+
interface GoogleCloudAiplatformV1RagManagedDbConfigBasic {}
|
|
5810
|
+
interface GoogleCloudAiplatformV1RagManagedDbConfigScaled {}
|
|
5811
|
+
interface GoogleCloudAiplatformV1RagManagedDbConfigUnprovisioned {}
|
|
5789
5812
|
interface GoogleCloudAiplatformV1RagQuery {
|
|
5790
5813
|
/** Optional. The retrieval config for the query. */
|
|
5791
5814
|
ragRetrievalConfig?: GoogleCloudAiplatformV1RagRetrievalConfig;
|
|
@@ -6185,6 +6208,8 @@ declare namespace gapi.client {
|
|
|
6185
6208
|
blocked?: boolean;
|
|
6186
6209
|
/** Output only. Harm category. */
|
|
6187
6210
|
category?: string;
|
|
6211
|
+
/** Output only. The overwritten threshold for the safety category of Gemini 2.0 image out. If minors are detected in the output image, the threshold of each safety category will be overwritten if user sets a lower threshold. */
|
|
6212
|
+
overwrittenThreshold?: string;
|
|
6188
6213
|
/** Output only. Harm probability levels in the content. */
|
|
6189
6214
|
probability?: string;
|
|
6190
6215
|
/** Output only. Harm probability score. */
|
|
@@ -8328,7 +8353,7 @@ declare namespace gapi.client {
|
|
|
8328
8353
|
adapterSize?: string;
|
|
8329
8354
|
/** Optional. Number of complete passes the model makes over the entire training dataset during training. */
|
|
8330
8355
|
epochCount?: string;
|
|
8331
|
-
/** Optional. Multiplier for adjusting the default learning rate. */
|
|
8356
|
+
/** Optional. Multiplier for adjusting the default learning rate. Mutually exclusive with `learning_rate`. */
|
|
8332
8357
|
learningRateMultiplier?: number;
|
|
8333
8358
|
}
|
|
8334
8359
|
interface GoogleCloudAiplatformV1SupervisedTuningDatasetDistribution {
|
|
@@ -33156,6 +33181,33 @@ declare namespace gapi.client {
|
|
|
33156
33181
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
33157
33182
|
uploadType?: string;
|
|
33158
33183
|
}): Request<GoogleCloudLocationLocation>;
|
|
33184
|
+
/** Gets a RagEngineConfig. */
|
|
33185
|
+
getRagEngineConfig(request?: {
|
|
33186
|
+
/** V1 error format. */
|
|
33187
|
+
'$.xgafv'?: string;
|
|
33188
|
+
/** OAuth access token. */
|
|
33189
|
+
access_token?: string;
|
|
33190
|
+
/** Data format for response. */
|
|
33191
|
+
alt?: string;
|
|
33192
|
+
/** JSONP */
|
|
33193
|
+
callback?: string;
|
|
33194
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
33195
|
+
fields?: string;
|
|
33196
|
+
/** 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. */
|
|
33197
|
+
key?: string;
|
|
33198
|
+
/** Required. The name of the RagEngineConfig resource. Format: `projects/{project}/locations/{location}/ragEngineConfig` */
|
|
33199
|
+
name: string;
|
|
33200
|
+
/** OAuth 2.0 token for the current user. */
|
|
33201
|
+
oauth_token?: string;
|
|
33202
|
+
/** Returns response with indentations and line breaks. */
|
|
33203
|
+
prettyPrint?: boolean;
|
|
33204
|
+
/** 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. */
|
|
33205
|
+
quotaUser?: string;
|
|
33206
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
33207
|
+
upload_protocol?: string;
|
|
33208
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
33209
|
+
uploadType?: string;
|
|
33210
|
+
}): Request<GoogleCloudAiplatformV1RagEngineConfig>;
|
|
33159
33211
|
/** Lists information about the supported locations for this service. */
|
|
33160
33212
|
list(request?: {
|
|
33161
33213
|
/** V1 error format. */
|
|
@@ -33249,6 +33301,64 @@ declare namespace gapi.client {
|
|
|
33249
33301
|
},
|
|
33250
33302
|
body: GoogleCloudAiplatformV1RetrieveContextsRequest,
|
|
33251
33303
|
): Request<GoogleCloudAiplatformV1RetrieveContextsResponse>;
|
|
33304
|
+
/** Updates a RagEngineConfig. */
|
|
33305
|
+
updateRagEngineConfig(request: {
|
|
33306
|
+
/** V1 error format. */
|
|
33307
|
+
'$.xgafv'?: string;
|
|
33308
|
+
/** OAuth access token. */
|
|
33309
|
+
access_token?: string;
|
|
33310
|
+
/** Data format for response. */
|
|
33311
|
+
alt?: string;
|
|
33312
|
+
/** JSONP */
|
|
33313
|
+
callback?: string;
|
|
33314
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
33315
|
+
fields?: string;
|
|
33316
|
+
/** 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. */
|
|
33317
|
+
key?: string;
|
|
33318
|
+
/** Identifier. The name of the RagEngineConfig. Format: `projects/{project}/locations/{location}/ragEngineConfig` */
|
|
33319
|
+
name: string;
|
|
33320
|
+
/** OAuth 2.0 token for the current user. */
|
|
33321
|
+
oauth_token?: string;
|
|
33322
|
+
/** Returns response with indentations and line breaks. */
|
|
33323
|
+
prettyPrint?: boolean;
|
|
33324
|
+
/** 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. */
|
|
33325
|
+
quotaUser?: string;
|
|
33326
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
33327
|
+
upload_protocol?: string;
|
|
33328
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
33329
|
+
uploadType?: string;
|
|
33330
|
+
/** Request body */
|
|
33331
|
+
resource: GoogleCloudAiplatformV1RagEngineConfig;
|
|
33332
|
+
}): Request<GoogleLongrunningOperation>;
|
|
33333
|
+
updateRagEngineConfig(
|
|
33334
|
+
request: {
|
|
33335
|
+
/** V1 error format. */
|
|
33336
|
+
'$.xgafv'?: string;
|
|
33337
|
+
/** OAuth access token. */
|
|
33338
|
+
access_token?: string;
|
|
33339
|
+
/** Data format for response. */
|
|
33340
|
+
alt?: string;
|
|
33341
|
+
/** JSONP */
|
|
33342
|
+
callback?: string;
|
|
33343
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
33344
|
+
fields?: string;
|
|
33345
|
+
/** 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. */
|
|
33346
|
+
key?: string;
|
|
33347
|
+
/** Identifier. The name of the RagEngineConfig. Format: `projects/{project}/locations/{location}/ragEngineConfig` */
|
|
33348
|
+
name: string;
|
|
33349
|
+
/** OAuth 2.0 token for the current user. */
|
|
33350
|
+
oauth_token?: string;
|
|
33351
|
+
/** Returns response with indentations and line breaks. */
|
|
33352
|
+
prettyPrint?: boolean;
|
|
33353
|
+
/** 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. */
|
|
33354
|
+
quotaUser?: string;
|
|
33355
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
33356
|
+
upload_protocol?: string;
|
|
33357
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
33358
|
+
uploadType?: string;
|
|
33359
|
+
},
|
|
33360
|
+
body: GoogleCloudAiplatformV1RagEngineConfig,
|
|
33361
|
+
): Request<GoogleLongrunningOperation>;
|
|
33252
33362
|
batchPredictionJobs: BatchPredictionJobsResource;
|
|
33253
33363
|
cachedContents: CachedContentsResource;
|
|
33254
33364
|
customJobs: CustomJobsResource;
|