@maxim_mazurok/gapi.client.aiplatform-v1beta1 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 +37 -11
  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=v1beta1
12
- // Revision: 20241214
12
+ // Revision: 20250114
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;
@@ -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
- /** Output only. The Schedule resource name if this job is triggered by one. Format: `projects/{project_id}/locations/{location}/schedules/{schedule_id}` */
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,7 +5292,7 @@ declare namespace gapi.client {
5282
5292
  inlineData?: GoogleCloudAiplatformV1beta1Blob;
5283
5293
  /** Optional. Text part (can be code). */
5284
5294
  text?: string;
5285
- /** Optional. Indicates if the part is thought from the model. */
5295
+ /** Output only. Indicates if the part is thought from the model. */
5286
5296
  thought?: boolean;
5287
5297
  /** Optional. Video metadata. The metadata should only be specified while the video data is presented in inline_data or file_data. */
5288
5298
  videoMetadata?: GoogleCloudAiplatformV1beta1VideoMetadata;
@@ -6526,6 +6536,12 @@ declare namespace gapi.client {
6526
6536
  /** Set to use data source powered by Vertex RAG store. User data is uploaded via the VertexRagDataService. */
6527
6537
  vertexRagStore?: GoogleCloudAiplatformV1beta1VertexRagStore;
6528
6538
  }
6539
+ interface GoogleCloudAiplatformV1beta1RetrievalConfig {
6540
+ /** The language code of the user. */
6541
+ languageCode?: string;
6542
+ /** The location of the user. */
6543
+ latLng?: GoogleTypeLatLng;
6544
+ }
6529
6545
  interface GoogleCloudAiplatformV1beta1RetrievalMetadata {
6530
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. */
6531
6547
  googleSearchDynamicRetrievalScore?: number;
@@ -8863,15 +8879,17 @@ declare namespace gapi.client {
8863
8879
  right?: number;
8864
8880
  }
8865
8881
  interface GoogleCloudAiplatformV1beta1SupervisedTuningDataStats {
8882
+ /** Output only. For each index in `truncated_example_indices`, the user-facing reason why the example was dropped. Must not include example itself. */
8883
+ droppedExampleReasons?: string[];
8866
8884
  /** Output only. Number of billable characters in the tuning dataset. */
8867
8885
  totalBillableCharacterCount?: string;
8868
8886
  /** Output only. Number of billable tokens in the tuning dataset. */
8869
8887
  totalBillableTokenCount?: string;
8870
- /** The number of examples in the dataset that have been truncated by any amount. */
8888
+ /** 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. */
8871
8889
  totalTruncatedExampleCount?: string;
8872
8890
  /** Output only. Number of tuning characters in the tuning dataset. */
8873
8891
  totalTuningCharacterCount?: string;
8874
- /** A partial sample of the indices (starting from 1) of the truncated examples. */
8892
+ /** Output only. A partial sample of the indices (starting from 1) of the dropped examples. */
8875
8893
  truncatedExampleIndices?: string[];
8876
8894
  /** Output only. Number of examples in the tuning dataset. */
8877
8895
  tuningDatasetExampleCount?: string;
@@ -9126,6 +9144,8 @@ declare namespace gapi.client {
9126
9144
  interface GoogleCloudAiplatformV1beta1ToolConfig {
9127
9145
  /** Optional. Function calling config. */
9128
9146
  functionCallingConfig?: GoogleCloudAiplatformV1beta1FunctionCallingConfig;
9147
+ /** Optional. Retrieval config. */
9148
+ retrievalConfig?: GoogleCloudAiplatformV1beta1RetrievalConfig;
9129
9149
  }
9130
9150
  interface GoogleCloudAiplatformV1beta1ToolGoogleSearch {}
9131
9151
  interface GoogleCloudAiplatformV1beta1ToolNameMatchInput {
@@ -9850,6 +9870,12 @@ declare namespace gapi.client {
9850
9870
  /** Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start. */
9851
9871
  startTime?: string;
9852
9872
  }
9873
+ interface GoogleTypeLatLng {
9874
+ /** The latitude in degrees. It must be in the range [-90.0, +90.0]. */
9875
+ latitude?: number;
9876
+ /** The longitude in degrees. It must be in the range [-180.0, +180.0]. */
9877
+ longitude?: number;
9878
+ }
9853
9879
  interface GoogleTypeMoney {
9854
9880
  /** The three-letter currency code defined in ISO 4217. */
9855
9881
  currencyCode?: string;
@@ -10024,7 +10050,7 @@ declare namespace gapi.client {
10024
10050
  fields?: string;
10025
10051
  /** 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. */
10026
10052
  key?: string;
10027
- /** Output only. Identifier. The resource name of the DatasetVersion. */
10053
+ /** Output only. Identifier. The resource name of the DatasetVersion. Format: `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}` */
10028
10054
  name: string;
10029
10055
  /** OAuth 2.0 token for the current user. */
10030
10056
  oauth_token?: string;
@@ -10055,7 +10081,7 @@ declare namespace gapi.client {
10055
10081
  fields?: string;
10056
10082
  /** 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. */
10057
10083
  key?: string;
10058
- /** Output only. Identifier. The resource name of the DatasetVersion. */
10084
+ /** Output only. Identifier. The resource name of the DatasetVersion. Format: `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}` */
10059
10085
  name: string;
10060
10086
  /** OAuth 2.0 token for the current user. */
10061
10087
  oauth_token?: string;
@@ -12742,7 +12768,7 @@ declare namespace gapi.client {
12742
12768
  fields?: string;
12743
12769
  /** 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. */
12744
12770
  key?: string;
12745
- /** Output only. Identifier. The resource name of the DatasetVersion. */
12771
+ /** Output only. Identifier. The resource name of the DatasetVersion. Format: `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}` */
12746
12772
  name: string;
12747
12773
  /** OAuth 2.0 token for the current user. */
12748
12774
  oauth_token?: string;
@@ -12773,7 +12799,7 @@ declare namespace gapi.client {
12773
12799
  fields?: string;
12774
12800
  /** 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. */
12775
12801
  key?: string;
12776
- /** Output only. Identifier. The resource name of the DatasetVersion. */
12802
+ /** Output only. Identifier. The resource name of the DatasetVersion. Format: `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}` */
12777
12803
  name: string;
12778
12804
  /** OAuth 2.0 token for the current user. */
12779
12805
  oauth_token?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.aiplatform-v1beta1",
3
- "version": "0.0.20241214",
3
+ "version": "0.0.20250114",
4
4
  "description": "TypeScript typings for Vertex AI API v1beta1",
5
5
  "repository": {
6
6
  "type": "git",