@maxim_mazurok/gapi.client.aiplatform-v1 0.0.20250304 → 0.0.20250307

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 +26 -4
  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: 20250304
12
+ // Revision: 20250307
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -1455,7 +1455,7 @@ declare namespace gapi.client {
1455
1455
  interface GoogleCloudAiplatformV1DiskSpec {
1456
1456
  /** Size in GB of the boot disk (default is 100GB). */
1457
1457
  bootDiskSizeGb?: number;
1458
- /** Type of the boot disk (default is "pd-ssd"). Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or "pd-standard" (Persistent Disk Hard Disk Drive). */
1458
+ /** Type of the boot disk. For non-A3U machines, the default value is "pd-ssd", for A3U machines, the default value is "hyperdisk-balanced". Valid values: "pd-ssd" (Persistent Disk Solid State Drive), "pd-standard" (Persistent Disk Hard Disk Drive) or "hyperdisk-balanced". */
1459
1459
  bootDiskType?: string;
1460
1460
  }
1461
1461
  interface GoogleCloudAiplatformV1DoubleArray {
@@ -2715,6 +2715,8 @@ declare namespace gapi.client {
2715
2715
  promptTokenCount?: number;
2716
2716
  /** Output only. List of modalities that were processed in the request input. */
2717
2717
  promptTokensDetails?: GoogleCloudAiplatformV1ModalityTokenCount[];
2718
+ /** Output only. Number of tokens present in thoughts output. */
2719
+ thoughtsTokenCount?: number;
2718
2720
  /** Output only. Number of tokens present in tool-use prompt(s). */
2719
2721
  toolUsePromptTokenCount?: number;
2720
2722
  /** Output only. List of modalities that were processed for tool-use request inputs. */
@@ -3003,6 +3005,10 @@ declare namespace gapi.client {
3003
3005
  gcsSource?: GoogleCloudAiplatformV1GcsSource;
3004
3006
  /** Google Drive location. Supports importing individual files as well as Google Drive folders. */
3005
3007
  googleDriveSource?: GoogleCloudAiplatformV1GoogleDriveSource;
3008
+ /** The BigQuery destination to write import result to. It should be a bigquery table resource name (e.g. "bq://projectId.bqDatasetId.bqTableId"). The dataset must exist. If the table does not exist, it will be created with the expected schema. If the table exists, the schema will be validated and data will be added to this existing table. */
3009
+ importResultBigquerySink?: GoogleCloudAiplatformV1BigQueryDestination;
3010
+ /** The Cloud Storage path to write import result to. */
3011
+ importResultGcsSink?: GoogleCloudAiplatformV1GcsDestination;
3006
3012
  /** Jira queries with their corresponding authentication. */
3007
3013
  jiraSource?: GoogleCloudAiplatformV1JiraSource;
3008
3014
  /** Optional. The max number of queries per minute that this job is allowed to make to the embedding model specified on the corpus. This value is specific to this job and not shared across other import jobs. Consult the Quotas page on the project to set an appropriate value here. If unspecified, a default value of 1,000 QPM would be used. */
@@ -3011,6 +3017,8 @@ declare namespace gapi.client {
3011
3017
  partialFailureBigquerySink?: GoogleCloudAiplatformV1BigQueryDestination;
3012
3018
  /** The Cloud Storage path to write partial failures to. Deprecated. Prefer to use `import_result_gcs_sink`. */
3013
3019
  partialFailureGcsSink?: GoogleCloudAiplatformV1GcsDestination;
3020
+ /** Optional. Specifies the parsing config for RagFiles. RAG will use the default parser if this field is not set. */
3021
+ ragFileParsingConfig?: GoogleCloudAiplatformV1RagFileParsingConfig;
3014
3022
  /** Specifies the transformation config for RagFiles. */
3015
3023
  ragFileTransformationConfig?: GoogleCloudAiplatformV1RagFileTransformationConfig;
3016
3024
  /** SharePoint sources. */
@@ -4920,7 +4928,7 @@ declare namespace gapi.client {
4920
4928
  postStartupScript?: string;
4921
4929
  /** Optional. Post startup script behavior that defines download and execution behavior. */
4922
4930
  postStartupScriptBehavior?: string;
4923
- /** Optional. Post startup script url to download. Example: https://bucket/script.sh */
4931
+ /** Optional. Post startup script url to download. Example: `gs://bucket/script.sh` */
4924
4932
  postStartupScriptUrl?: string;
4925
4933
  }
4926
4934
  interface GoogleCloudAiplatformV1PrebuiltVoiceConfig {
@@ -5477,6 +5485,16 @@ declare namespace gapi.client {
5477
5485
  /** The size of the chunks. */
5478
5486
  chunkSize?: number;
5479
5487
  }
5488
+ interface GoogleCloudAiplatformV1RagFileParsingConfig {
5489
+ /** The Layout Parser to use for RagFiles. */
5490
+ layoutParser?: GoogleCloudAiplatformV1RagFileParsingConfigLayoutParser;
5491
+ }
5492
+ interface GoogleCloudAiplatformV1RagFileParsingConfigLayoutParser {
5493
+ /** The maximum number of requests the job is allowed to make to the Document AI processor per minute. Consult https://cloud.google.com/document-ai/quotas and the Quota page for your project to set an appropriate value here. If unspecified, a default value of 120 QPM would be used. */
5494
+ maxParsingRequestsPerMin?: number;
5495
+ /** 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}` */
5496
+ processorName?: string;
5497
+ }
5480
5498
  interface GoogleCloudAiplatformV1RagFileTransformationConfig {
5481
5499
  /** Specifies the chunking config for RagFiles. */
5482
5500
  ragFileChunkingConfig?: GoogleCloudAiplatformV1RagFileChunkingConfig;
@@ -5637,11 +5655,13 @@ declare namespace gapi.client {
5637
5655
  updateTime?: string;
5638
5656
  }
5639
5657
  interface GoogleCloudAiplatformV1ReasoningEngineSpec {
5658
+ /** Optional. The OSS agent framework used to develop the agent. Currently supported values: "langchain", "langgraph", "ag2", "custom". */
5659
+ agentFramework?: string;
5640
5660
  /** Optional. Declarations for object class methods in OpenAPI specification format. */
5641
5661
  classMethods?: Array<{[P in string]: any}>;
5642
5662
  /** Optional. The specification of a Reasoning Engine deployment. */
5643
5663
  deploymentSpec?: GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec;
5644
- /** Required. User provided package spec of the ReasoningEngine. */
5664
+ /** Required. User provided package spec of the ReasoningEngine. Ignored when users directly specify a deployment image through `deployment_spec.first_party_image_override`, but keeping the field_behavior to avoid introducing breaking changes. */
5645
5665
  packageSpec?: GoogleCloudAiplatformV1ReasoningEngineSpecPackageSpec;
5646
5666
  }
5647
5667
  interface GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec {
@@ -8748,6 +8768,8 @@ declare namespace gapi.client {
8748
8768
  interface GoogleCloudAiplatformV1VertexAISearch {
8749
8769
  /** Optional. Fully-qualified Vertex AI Search data store resource ID. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}` */
8750
8770
  datastore?: string;
8771
+ /** Optional. Fully-qualified Vertex AI Search engine resource ID. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` */
8772
+ engine?: string;
8751
8773
  }
8752
8774
  interface GoogleCloudAiplatformV1VertexRagStore {
8753
8775
  /** Optional. The representation of the rag source. It can be used to specify corpus only or ragfiles. Currently only support one corpus or multiple files from one corpus. In the future we may open up multiple corpora support. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.aiplatform-v1",
3
- "version": "0.0.20250304",
3
+ "version": "0.0.20250307",
4
4
  "description": "TypeScript typings for Vertex AI API v1",
5
5
  "repository": {
6
6
  "type": "git",