@maxim_mazurok/gapi.client.aiplatform-v1beta1 0.0.20241210 → 0.0.20250107
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 +46 -10
- 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: 20250107
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -1320,7 +1320,7 @@ declare namespace gapi.client {
|
|
|
1320
1320
|
metadata?: any;
|
|
1321
1321
|
/** Output only. Reference to the public base model last used by the dataset version. Only set for prompt dataset versions. */
|
|
1322
1322
|
modelReference?: string;
|
|
1323
|
-
/** Output only. Identifier. The resource name of the DatasetVersion. */
|
|
1323
|
+
/** Output only. Identifier. The resource name of the DatasetVersion. Format: `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}` */
|
|
1324
1324
|
name?: string;
|
|
1325
1325
|
/** Output only. Reserved for future use. */
|
|
1326
1326
|
satisfiesPzi?: boolean;
|
|
@@ -1544,7 +1544,7 @@ declare namespace gapi.client {
|
|
|
1544
1544
|
endpointDisplayName?: string;
|
|
1545
1545
|
/** Optional. The Hugging Face read access token used to access the model artifacts of gated models. */
|
|
1546
1546
|
huggingFaceAccessToken?: string;
|
|
1547
|
-
/** Required. The name of the PublisherModel resource. Format: `publishers/{publisher}/models/{publisher_model}@{version_id}`, or `publishers/hf-{hugging-face-author}/models/{hugging-face-model-name}@001` */
|
|
1547
|
+
/** Required. The name of the PublisherModel resource. Format: `publishers/{publisher}/models/{publisher_model}@{version_id}`, or `publishers/hf-{hugging-face-author}/models/{hugging-face-model-name}@001` or Hugging Face model ID like `google/gemma-2-2b-it`. */
|
|
1548
1548
|
model?: string;
|
|
1549
1549
|
/** Optional. The user-specified display name of the uploaded model. If not set, a default name will be used. */
|
|
1550
1550
|
modelDisplayName?: string;
|
|
@@ -1605,11 +1605,11 @@ declare namespace gapi.client {
|
|
|
1605
1605
|
baseTeacherModel?: string;
|
|
1606
1606
|
/** Optional. Hyperparameters for Distillation. */
|
|
1607
1607
|
hyperParameters?: GoogleCloudAiplatformV1beta1DistillationHyperParameters;
|
|
1608
|
-
/**
|
|
1608
|
+
/** Deprecated. A path in a Cloud Storage bucket, which will be treated as the root output directory of the distillation pipeline. It is used by the system to generate the paths of output artifacts. */
|
|
1609
1609
|
pipelineRootDirectory?: string;
|
|
1610
1610
|
/** The student model that is being tuned, e.g., "google/gemma-2b-1.1-it". Deprecated. Use base_model instead. */
|
|
1611
1611
|
studentModel?: string;
|
|
1612
|
-
/**
|
|
1612
|
+
/** Deprecated. Cloud Storage path to file containing training dataset for tuning. The dataset must be formatted as a JSONL file. */
|
|
1613
1613
|
trainingDatasetUri?: string;
|
|
1614
1614
|
/** The resource name of the Tuned teacher model. Format: `projects/{project}/locations/{location}/models/{model}`. */
|
|
1615
1615
|
tunedTeacherModelSource?: string;
|
|
@@ -2215,6 +2215,16 @@ declare namespace gapi.client {
|
|
|
2215
2215
|
imageDestination?: GoogleCloudAiplatformV1beta1ContainerRegistryDestination;
|
|
2216
2216
|
}
|
|
2217
2217
|
interface GoogleCloudAiplatformV1beta1ExportModelResponse {}
|
|
2218
|
+
interface GoogleCloudAiplatformV1beta1ExportPublisherModelOperationMetadata {
|
|
2219
|
+
/** The operation generic information. */
|
|
2220
|
+
genericMetadata?: GoogleCloudAiplatformV1beta1GenericOperationMetadata;
|
|
2221
|
+
}
|
|
2222
|
+
interface GoogleCloudAiplatformV1beta1ExportPublisherModelResponse {
|
|
2223
|
+
/** The destination uri of the model weights. */
|
|
2224
|
+
destinationUri?: string;
|
|
2225
|
+
/** The name of the PublisherModel resource. Format: `publishers/{publisher}/models/{publisher_model}@{version_id}` */
|
|
2226
|
+
publisherModel?: string;
|
|
2227
|
+
}
|
|
2218
2228
|
interface GoogleCloudAiplatformV1beta1ExportTensorboardTimeSeriesDataRequest {
|
|
2219
2229
|
/** Exports the TensorboardTimeSeries' data that match the filter expression. */
|
|
2220
2230
|
filter?: string;
|
|
@@ -5045,7 +5055,7 @@ declare namespace gapi.client {
|
|
|
5045
5055
|
name?: string;
|
|
5046
5056
|
/** The NotebookRuntimeTemplate to source compute configuration from. */
|
|
5047
5057
|
notebookRuntimeTemplateResourceName?: string;
|
|
5048
|
-
/**
|
|
5058
|
+
/** The Schedule resource name if this job is triggered by one. Format: `projects/{project_id}/locations/{location}/schedules/{schedule_id}` */
|
|
5049
5059
|
scheduleResourceName?: string;
|
|
5050
5060
|
/** The service account to run the execution as. */
|
|
5051
5061
|
serviceAccount?: string;
|
|
@@ -5282,6 +5292,8 @@ declare namespace gapi.client {
|
|
|
5282
5292
|
inlineData?: GoogleCloudAiplatformV1beta1Blob;
|
|
5283
5293
|
/** Optional. Text part (can be code). */
|
|
5284
5294
|
text?: string;
|
|
5295
|
+
/** Output only. Indicates if the part is thought from the model. */
|
|
5296
|
+
thought?: boolean;
|
|
5285
5297
|
/** Optional. Video metadata. The metadata should only be specified while the video data is presented in inline_data or file_data. */
|
|
5286
5298
|
videoMetadata?: GoogleCloudAiplatformV1beta1VideoMetadata;
|
|
5287
5299
|
}
|
|
@@ -6167,6 +6179,8 @@ declare namespace gapi.client {
|
|
|
6167
6179
|
advancedParser?: GoogleCloudAiplatformV1beta1RagFileParsingConfigAdvancedParser;
|
|
6168
6180
|
/** The Layout Parser to use for RagFiles. */
|
|
6169
6181
|
layoutParser?: GoogleCloudAiplatformV1beta1RagFileParsingConfigLayoutParser;
|
|
6182
|
+
/** The LLM Parser to use for RagFiles. */
|
|
6183
|
+
llmParser?: GoogleCloudAiplatformV1beta1RagFileParsingConfigLlmParser;
|
|
6170
6184
|
/** Whether to use advanced PDF parsing. */
|
|
6171
6185
|
useAdvancedPdfParsing?: boolean;
|
|
6172
6186
|
}
|
|
@@ -6180,6 +6194,14 @@ declare namespace gapi.client {
|
|
|
6180
6194
|
/** The full resource name of a Document AI processor or processor version. The processor must have type `LAYOUT_PARSER_PROCESSOR`. If specified, the `additional_config.parse_as_scanned_pdf` field must be false. Format: * `projects/{project_id}/locations/{location}/processors/{processor_id}` * `projects/{project_id}/locations/{location}/processors/{processor_id}/processorVersions/{processor_version_id}` */
|
|
6181
6195
|
processorName?: string;
|
|
6182
6196
|
}
|
|
6197
|
+
interface GoogleCloudAiplatformV1beta1RagFileParsingConfigLlmParser {
|
|
6198
|
+
/** The prompt to use for parsing. If not specified, a default prompt will be used. */
|
|
6199
|
+
customParsingPrompt?: string;
|
|
6200
|
+
/** The maximum number of requests the job is allowed to make to the LLM model per minute. Consult https://cloud.google.com/vertex-ai/generative-ai/docs/quotas and your document size to set an appropriate value here. If unspecified, a default value of 5000 QPM would be used. */
|
|
6201
|
+
maxParsingRequestsPerMin?: number;
|
|
6202
|
+
/** The name of a LLM model used for parsing. Format: `gemini-1.5-pro-002` */
|
|
6203
|
+
modelName?: string;
|
|
6204
|
+
}
|
|
6183
6205
|
interface GoogleCloudAiplatformV1beta1RagFileTransformationConfig {
|
|
6184
6206
|
/** Specifies the chunking config for RagFiles. */
|
|
6185
6207
|
ragFileChunkingConfig?: GoogleCloudAiplatformV1beta1RagFileChunkingConfig;
|
|
@@ -6514,6 +6536,12 @@ declare namespace gapi.client {
|
|
|
6514
6536
|
/** Set to use data source powered by Vertex RAG store. User data is uploaded via the VertexRagDataService. */
|
|
6515
6537
|
vertexRagStore?: GoogleCloudAiplatformV1beta1VertexRagStore;
|
|
6516
6538
|
}
|
|
6539
|
+
interface GoogleCloudAiplatformV1beta1RetrievalConfig {
|
|
6540
|
+
/** The language code of the user. */
|
|
6541
|
+
languageCode?: string;
|
|
6542
|
+
/** The location of the user. */
|
|
6543
|
+
latLng?: GoogleTypeLatLng;
|
|
6544
|
+
}
|
|
6517
6545
|
interface GoogleCloudAiplatformV1beta1RetrievalMetadata {
|
|
6518
6546
|
/** Optional. Score indicating how likely information from Google Search could help answer the prompt. The score is in the range `[0, 1]`, where 0 is the least likely and 1 is the most likely. This score is only populated when Google Search grounding and dynamic retrieval is enabled. It will be compared to the threshold to determine whether to trigger Google Search. */
|
|
6519
6547
|
googleSearchDynamicRetrievalScore?: number;
|
|
@@ -9114,6 +9142,8 @@ declare namespace gapi.client {
|
|
|
9114
9142
|
interface GoogleCloudAiplatformV1beta1ToolConfig {
|
|
9115
9143
|
/** Optional. Function calling config. */
|
|
9116
9144
|
functionCallingConfig?: GoogleCloudAiplatformV1beta1FunctionCallingConfig;
|
|
9145
|
+
/** Optional. Retrieval config. */
|
|
9146
|
+
retrievalConfig?: GoogleCloudAiplatformV1beta1RetrievalConfig;
|
|
9117
9147
|
}
|
|
9118
9148
|
interface GoogleCloudAiplatformV1beta1ToolGoogleSearch {}
|
|
9119
9149
|
interface GoogleCloudAiplatformV1beta1ToolNameMatchInput {
|
|
@@ -9838,6 +9868,12 @@ declare namespace gapi.client {
|
|
|
9838
9868
|
/** Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start. */
|
|
9839
9869
|
startTime?: string;
|
|
9840
9870
|
}
|
|
9871
|
+
interface GoogleTypeLatLng {
|
|
9872
|
+
/** The latitude in degrees. It must be in the range [-90.0, +90.0]. */
|
|
9873
|
+
latitude?: number;
|
|
9874
|
+
/** The longitude in degrees. It must be in the range [-180.0, +180.0]. */
|
|
9875
|
+
longitude?: number;
|
|
9876
|
+
}
|
|
9841
9877
|
interface GoogleTypeMoney {
|
|
9842
9878
|
/** The three-letter currency code defined in ISO 4217. */
|
|
9843
9879
|
currencyCode?: string;
|
|
@@ -10012,7 +10048,7 @@ declare namespace gapi.client {
|
|
|
10012
10048
|
fields?: string;
|
|
10013
10049
|
/** 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. */
|
|
10014
10050
|
key?: string;
|
|
10015
|
-
/** Output only. Identifier. The resource name of the DatasetVersion. */
|
|
10051
|
+
/** Output only. Identifier. The resource name of the DatasetVersion. Format: `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}` */
|
|
10016
10052
|
name: string;
|
|
10017
10053
|
/** OAuth 2.0 token for the current user. */
|
|
10018
10054
|
oauth_token?: string;
|
|
@@ -10043,7 +10079,7 @@ declare namespace gapi.client {
|
|
|
10043
10079
|
fields?: string;
|
|
10044
10080
|
/** 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. */
|
|
10045
10081
|
key?: string;
|
|
10046
|
-
/** Output only. Identifier. The resource name of the DatasetVersion. */
|
|
10082
|
+
/** Output only. Identifier. The resource name of the DatasetVersion. Format: `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}` */
|
|
10047
10083
|
name: string;
|
|
10048
10084
|
/** OAuth 2.0 token for the current user. */
|
|
10049
10085
|
oauth_token?: string;
|
|
@@ -12730,7 +12766,7 @@ declare namespace gapi.client {
|
|
|
12730
12766
|
fields?: string;
|
|
12731
12767
|
/** 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. */
|
|
12732
12768
|
key?: string;
|
|
12733
|
-
/** Output only. Identifier. The resource name of the DatasetVersion. */
|
|
12769
|
+
/** Output only. Identifier. The resource name of the DatasetVersion. Format: `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}` */
|
|
12734
12770
|
name: string;
|
|
12735
12771
|
/** OAuth 2.0 token for the current user. */
|
|
12736
12772
|
oauth_token?: string;
|
|
@@ -12761,7 +12797,7 @@ declare namespace gapi.client {
|
|
|
12761
12797
|
fields?: string;
|
|
12762
12798
|
/** 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. */
|
|
12763
12799
|
key?: string;
|
|
12764
|
-
/** Output only. Identifier. The resource name of the DatasetVersion. */
|
|
12800
|
+
/** Output only. Identifier. The resource name of the DatasetVersion. Format: `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}` */
|
|
12765
12801
|
name: string;
|
|
12766
12802
|
/** OAuth 2.0 token for the current user. */
|
|
12767
12803
|
oauth_token?: string;
|