@maxim_mazurok/gapi.client.aiplatform-v1 0.0.20250606 → 0.0.20250613
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 +112 -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: 20250613
|
|
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;
|
|
@@ -5705,6 +5705,8 @@ declare namespace gapi.client {
|
|
|
5705
5705
|
description?: string;
|
|
5706
5706
|
/** 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
5707
|
displayName?: string;
|
|
5708
|
+
/** 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. */
|
|
5709
|
+
encryptionSpec?: GoogleCloudAiplatformV1EncryptionSpec;
|
|
5708
5710
|
/** Output only. The resource name of the RagCorpus. */
|
|
5709
5711
|
name?: string;
|
|
5710
5712
|
/** Output only. Timestamp when this RagCorpus was last updated. */
|
|
@@ -5726,6 +5728,12 @@ declare namespace gapi.client {
|
|
|
5726
5728
|
/** Output only. Version ID of the model that is deployed on the endpoint. Present only when the endpoint is not a publisher model. */
|
|
5727
5729
|
modelVersionId?: string;
|
|
5728
5730
|
}
|
|
5731
|
+
interface GoogleCloudAiplatformV1RagEngineConfig {
|
|
5732
|
+
/** Identifier. The name of the RagEngineConfig. Format: `projects/{project}/locations/{location}/ragEngineConfig` */
|
|
5733
|
+
name?: string;
|
|
5734
|
+
/** The config of the RagManagedDb used by RagEngine. */
|
|
5735
|
+
ragManagedDbConfig?: GoogleCloudAiplatformV1RagManagedDbConfig;
|
|
5736
|
+
}
|
|
5729
5737
|
interface GoogleCloudAiplatformV1RagFile {
|
|
5730
5738
|
/** Output only. Timestamp when this RagFile was created. */
|
|
5731
5739
|
createTime?: string;
|
|
@@ -5751,6 +5759,8 @@ declare namespace gapi.client {
|
|
|
5751
5759
|
slackSource?: GoogleCloudAiplatformV1SlackSource;
|
|
5752
5760
|
/** Output only. Timestamp when this RagFile was last updated. */
|
|
5753
5761
|
updateTime?: string;
|
|
5762
|
+
/** Output only. The metadata for metadata search. The user_metadata Needs to be in JSON format. */
|
|
5763
|
+
userMetadata?: string;
|
|
5754
5764
|
}
|
|
5755
5765
|
interface GoogleCloudAiplatformV1RagFileChunkingConfig {
|
|
5756
5766
|
/** Specifies the fixed length chunking config. */
|
|
@@ -5786,6 +5796,17 @@ declare namespace gapi.client {
|
|
|
5786
5796
|
/** Specifies the chunking config for RagFiles. */
|
|
5787
5797
|
ragFileChunkingConfig?: GoogleCloudAiplatformV1RagFileChunkingConfig;
|
|
5788
5798
|
}
|
|
5799
|
+
interface GoogleCloudAiplatformV1RagManagedDbConfig {
|
|
5800
|
+
/** Sets the RagManagedDb to the Basic tier. */
|
|
5801
|
+
basic?: any;
|
|
5802
|
+
/** Sets the RagManagedDb to the Scaled tier. */
|
|
5803
|
+
scaled?: any;
|
|
5804
|
+
/** Sets the RagManagedDb to the Unprovisioned tier. */
|
|
5805
|
+
unprovisioned?: any;
|
|
5806
|
+
}
|
|
5807
|
+
interface GoogleCloudAiplatformV1RagManagedDbConfigBasic {}
|
|
5808
|
+
interface GoogleCloudAiplatformV1RagManagedDbConfigScaled {}
|
|
5809
|
+
interface GoogleCloudAiplatformV1RagManagedDbConfigUnprovisioned {}
|
|
5789
5810
|
interface GoogleCloudAiplatformV1RagQuery {
|
|
5790
5811
|
/** Optional. The retrieval config for the query. */
|
|
5791
5812
|
ragRetrievalConfig?: GoogleCloudAiplatformV1RagRetrievalConfig;
|
|
@@ -6185,6 +6206,8 @@ declare namespace gapi.client {
|
|
|
6185
6206
|
blocked?: boolean;
|
|
6186
6207
|
/** Output only. Harm category. */
|
|
6187
6208
|
category?: string;
|
|
6209
|
+
/** 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. */
|
|
6210
|
+
overwrittenThreshold?: string;
|
|
6188
6211
|
/** Output only. Harm probability levels in the content. */
|
|
6189
6212
|
probability?: string;
|
|
6190
6213
|
/** Output only. Harm probability score. */
|
|
@@ -8328,7 +8351,7 @@ declare namespace gapi.client {
|
|
|
8328
8351
|
adapterSize?: string;
|
|
8329
8352
|
/** Optional. Number of complete passes the model makes over the entire training dataset during training. */
|
|
8330
8353
|
epochCount?: string;
|
|
8331
|
-
/** Optional. Multiplier for adjusting the default learning rate. */
|
|
8354
|
+
/** Optional. Multiplier for adjusting the default learning rate. Mutually exclusive with `learning_rate`. */
|
|
8332
8355
|
learningRateMultiplier?: number;
|
|
8333
8356
|
}
|
|
8334
8357
|
interface GoogleCloudAiplatformV1SupervisedTuningDatasetDistribution {
|
|
@@ -33156,6 +33179,33 @@ declare namespace gapi.client {
|
|
|
33156
33179
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
33157
33180
|
uploadType?: string;
|
|
33158
33181
|
}): Request<GoogleCloudLocationLocation>;
|
|
33182
|
+
/** Gets a RagEngineConfig. */
|
|
33183
|
+
getRagEngineConfig(request?: {
|
|
33184
|
+
/** V1 error format. */
|
|
33185
|
+
'$.xgafv'?: string;
|
|
33186
|
+
/** OAuth access token. */
|
|
33187
|
+
access_token?: string;
|
|
33188
|
+
/** Data format for response. */
|
|
33189
|
+
alt?: string;
|
|
33190
|
+
/** JSONP */
|
|
33191
|
+
callback?: string;
|
|
33192
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
33193
|
+
fields?: string;
|
|
33194
|
+
/** 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. */
|
|
33195
|
+
key?: string;
|
|
33196
|
+
/** Required. The name of the RagEngineConfig resource. Format: `projects/{project}/locations/{location}/ragEngineConfig` */
|
|
33197
|
+
name: string;
|
|
33198
|
+
/** OAuth 2.0 token for the current user. */
|
|
33199
|
+
oauth_token?: string;
|
|
33200
|
+
/** Returns response with indentations and line breaks. */
|
|
33201
|
+
prettyPrint?: boolean;
|
|
33202
|
+
/** 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. */
|
|
33203
|
+
quotaUser?: string;
|
|
33204
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
33205
|
+
upload_protocol?: string;
|
|
33206
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
33207
|
+
uploadType?: string;
|
|
33208
|
+
}): Request<GoogleCloudAiplatformV1RagEngineConfig>;
|
|
33159
33209
|
/** Lists information about the supported locations for this service. */
|
|
33160
33210
|
list(request?: {
|
|
33161
33211
|
/** V1 error format. */
|
|
@@ -33249,6 +33299,64 @@ declare namespace gapi.client {
|
|
|
33249
33299
|
},
|
|
33250
33300
|
body: GoogleCloudAiplatformV1RetrieveContextsRequest,
|
|
33251
33301
|
): Request<GoogleCloudAiplatformV1RetrieveContextsResponse>;
|
|
33302
|
+
/** Updates a RagEngineConfig. */
|
|
33303
|
+
updateRagEngineConfig(request: {
|
|
33304
|
+
/** V1 error format. */
|
|
33305
|
+
'$.xgafv'?: string;
|
|
33306
|
+
/** OAuth access token. */
|
|
33307
|
+
access_token?: string;
|
|
33308
|
+
/** Data format for response. */
|
|
33309
|
+
alt?: string;
|
|
33310
|
+
/** JSONP */
|
|
33311
|
+
callback?: string;
|
|
33312
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
33313
|
+
fields?: string;
|
|
33314
|
+
/** 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. */
|
|
33315
|
+
key?: string;
|
|
33316
|
+
/** Identifier. The name of the RagEngineConfig. Format: `projects/{project}/locations/{location}/ragEngineConfig` */
|
|
33317
|
+
name: string;
|
|
33318
|
+
/** OAuth 2.0 token for the current user. */
|
|
33319
|
+
oauth_token?: string;
|
|
33320
|
+
/** Returns response with indentations and line breaks. */
|
|
33321
|
+
prettyPrint?: boolean;
|
|
33322
|
+
/** 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. */
|
|
33323
|
+
quotaUser?: string;
|
|
33324
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
33325
|
+
upload_protocol?: string;
|
|
33326
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
33327
|
+
uploadType?: string;
|
|
33328
|
+
/** Request body */
|
|
33329
|
+
resource: GoogleCloudAiplatformV1RagEngineConfig;
|
|
33330
|
+
}): Request<GoogleLongrunningOperation>;
|
|
33331
|
+
updateRagEngineConfig(
|
|
33332
|
+
request: {
|
|
33333
|
+
/** V1 error format. */
|
|
33334
|
+
'$.xgafv'?: string;
|
|
33335
|
+
/** OAuth access token. */
|
|
33336
|
+
access_token?: string;
|
|
33337
|
+
/** Data format for response. */
|
|
33338
|
+
alt?: string;
|
|
33339
|
+
/** JSONP */
|
|
33340
|
+
callback?: string;
|
|
33341
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
33342
|
+
fields?: string;
|
|
33343
|
+
/** 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. */
|
|
33344
|
+
key?: string;
|
|
33345
|
+
/** Identifier. The name of the RagEngineConfig. Format: `projects/{project}/locations/{location}/ragEngineConfig` */
|
|
33346
|
+
name: string;
|
|
33347
|
+
/** OAuth 2.0 token for the current user. */
|
|
33348
|
+
oauth_token?: string;
|
|
33349
|
+
/** Returns response with indentations and line breaks. */
|
|
33350
|
+
prettyPrint?: boolean;
|
|
33351
|
+
/** 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. */
|
|
33352
|
+
quotaUser?: string;
|
|
33353
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
33354
|
+
upload_protocol?: string;
|
|
33355
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
33356
|
+
uploadType?: string;
|
|
33357
|
+
},
|
|
33358
|
+
body: GoogleCloudAiplatformV1RagEngineConfig,
|
|
33359
|
+
): Request<GoogleLongrunningOperation>;
|
|
33252
33360
|
batchPredictionJobs: BatchPredictionJobsResource;
|
|
33253
33361
|
cachedContents: CachedContentsResource;
|
|
33254
33362
|
customJobs: CustomJobsResource;
|