@maxim_mazurok/gapi.client.aiplatform-v1 0.0.20241214 → 0.0.20250114

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.
Files changed (2) hide show
  1. package/index.d.ts +25 -9
  2. 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: 20241214
12
+ // Revision: 20250114
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -1176,7 +1176,7 @@ declare namespace gapi.client {
1176
1176
  metadata?: any;
1177
1177
  /** Output only. Reference to the public base model last used by the dataset version. Only set for prompt dataset versions. */
1178
1178
  modelReference?: string;
1179
- /** Output only. Identifier. The resource name of the DatasetVersion. */
1179
+ /** Output only. Identifier. The resource name of the DatasetVersion. Format: `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}` */
1180
1180
  name?: string;
1181
1181
  /** Output only. Reserved for future use. */
1182
1182
  satisfiesPzi?: boolean;
@@ -4302,7 +4302,7 @@ declare namespace gapi.client {
4302
4302
  name?: string;
4303
4303
  /** The NotebookRuntimeTemplate to source compute configuration from. */
4304
4304
  notebookRuntimeTemplateResourceName?: string;
4305
- /** Output only. The Schedule resource name if this job is triggered by one. Format: `projects/{project_id}/locations/{location}/schedules/{schedule_id}` */
4305
+ /** The Schedule resource name if this job is triggered by one. Format: `projects/{project_id}/locations/{location}/schedules/{schedule_id}` */
4306
4306
  scheduleResourceName?: string;
4307
4307
  /** The service account to run the execution as. */
4308
4308
  serviceAccount?: string;
@@ -5551,6 +5551,12 @@ declare namespace gapi.client {
5551
5551
  /** Set to use data source powered by Vertex RAG store. User data is uploaded via the VertexRagDataService. */
5552
5552
  vertexRagStore?: GoogleCloudAiplatformV1VertexRagStore;
5553
5553
  }
5554
+ interface GoogleCloudAiplatformV1RetrievalConfig {
5555
+ /** The language code of the user. */
5556
+ languageCode?: string;
5557
+ /** The location of the user. */
5558
+ latLng?: GoogleTypeLatLng;
5559
+ }
5554
5560
  interface GoogleCloudAiplatformV1RetrievalMetadata {
5555
5561
  /** 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. */
5556
5562
  googleSearchDynamicRetrievalScore?: number;
@@ -7759,15 +7765,17 @@ declare namespace gapi.client {
7759
7765
  right?: number;
7760
7766
  }
7761
7767
  interface GoogleCloudAiplatformV1SupervisedTuningDataStats {
7768
+ /** Output only. For each index in `truncated_example_indices`, the user-facing reason why the example was dropped. Must not include example itself. */
7769
+ droppedExampleReasons?: string[];
7762
7770
  /** Output only. Number of billable characters in the tuning dataset. */
7763
7771
  totalBillableCharacterCount?: string;
7764
7772
  /** Output only. Number of billable tokens in the tuning dataset. */
7765
7773
  totalBillableTokenCount?: string;
7766
- /** The number of examples in the dataset that have been truncated by any amount. */
7774
+ /** Output only. The number of examples in the dataset that have been dropped. An example can be dropped for reasons including: too many tokens, contains an invalid image, contains too many images, etc. */
7767
7775
  totalTruncatedExampleCount?: string;
7768
7776
  /** Output only. Number of tuning characters in the tuning dataset. */
7769
7777
  totalTuningCharacterCount?: string;
7770
- /** A partial sample of the indices (starting from 1) of the truncated examples. */
7778
+ /** Output only. A partial sample of the indices (starting from 1) of the dropped examples. */
7771
7779
  truncatedExampleIndices?: string[];
7772
7780
  /** Output only. Number of examples in the tuning dataset. */
7773
7781
  tuningDatasetExampleCount?: string;
@@ -8019,6 +8027,8 @@ declare namespace gapi.client {
8019
8027
  interface GoogleCloudAiplatformV1ToolConfig {
8020
8028
  /** Optional. Function calling config. */
8021
8029
  functionCallingConfig?: GoogleCloudAiplatformV1FunctionCallingConfig;
8030
+ /** Optional. Retrieval config. */
8031
+ retrievalConfig?: GoogleCloudAiplatformV1RetrievalConfig;
8022
8032
  }
8023
8033
  interface GoogleCloudAiplatformV1ToolGoogleSearch {}
8024
8034
  interface GoogleCloudAiplatformV1ToolNameMatchInput {
@@ -8685,6 +8695,12 @@ declare namespace gapi.client {
8685
8695
  /** Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start. */
8686
8696
  startTime?: string;
8687
8697
  }
8698
+ interface GoogleTypeLatLng {
8699
+ /** The latitude in degrees. It must be in the range [-90.0, +90.0]. */
8700
+ latitude?: number;
8701
+ /** The longitude in degrees. It must be in the range [-180.0, +180.0]. */
8702
+ longitude?: number;
8703
+ }
8688
8704
  interface GoogleTypeMoney {
8689
8705
  /** The three-letter currency code defined in ISO 4217. */
8690
8706
  currencyCode?: string;
@@ -8859,7 +8875,7 @@ declare namespace gapi.client {
8859
8875
  fields?: string;
8860
8876
  /** 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. */
8861
8877
  key?: string;
8862
- /** Output only. Identifier. The resource name of the DatasetVersion. */
8878
+ /** Output only. Identifier. The resource name of the DatasetVersion. Format: `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}` */
8863
8879
  name: string;
8864
8880
  /** OAuth 2.0 token for the current user. */
8865
8881
  oauth_token?: string;
@@ -8890,7 +8906,7 @@ declare namespace gapi.client {
8890
8906
  fields?: string;
8891
8907
  /** 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. */
8892
8908
  key?: string;
8893
- /** Output only. Identifier. The resource name of the DatasetVersion. */
8909
+ /** Output only. Identifier. The resource name of the DatasetVersion. Format: `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}` */
8894
8910
  name: string;
8895
8911
  /** OAuth 2.0 token for the current user. */
8896
8912
  oauth_token?: string;
@@ -11281,7 +11297,7 @@ declare namespace gapi.client {
11281
11297
  fields?: string;
11282
11298
  /** 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. */
11283
11299
  key?: string;
11284
- /** Output only. Identifier. The resource name of the DatasetVersion. */
11300
+ /** Output only. Identifier. The resource name of the DatasetVersion. Format: `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}` */
11285
11301
  name: string;
11286
11302
  /** OAuth 2.0 token for the current user. */
11287
11303
  oauth_token?: string;
@@ -11312,7 +11328,7 @@ declare namespace gapi.client {
11312
11328
  fields?: string;
11313
11329
  /** 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. */
11314
11330
  key?: string;
11315
- /** Output only. Identifier. The resource name of the DatasetVersion. */
11331
+ /** Output only. Identifier. The resource name of the DatasetVersion. Format: `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}` */
11316
11332
  name: string;
11317
11333
  /** OAuth 2.0 token for the current user. */
11318
11334
  oauth_token?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.aiplatform-v1",
3
- "version": "0.0.20241214",
3
+ "version": "0.0.20250114",
4
4
  "description": "TypeScript typings for Vertex AI API v1",
5
5
  "repository": {
6
6
  "type": "git",