@maxim_mazurok/gapi.client.aiplatform-v1beta1 0.0.20250728 → 0.0.20250731

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 +176 -20
  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: 20250728
12
+ // Revision: 20250731
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -277,10 +277,6 @@ declare namespace gapi.client {
277
277
  interface GoogleCloudAiplatformV1beta1AssembleDataRequest {
278
278
  /** Optional. The read config for the dataset. */
279
279
  geminiRequestReadConfig?: GoogleCloudAiplatformV1beta1GeminiRequestReadConfig;
280
- /** Optional. Config for assembling templates with a Gemini API structure. */
281
- geminiTemplateConfig?: GoogleCloudAiplatformV1beta1GeminiTemplateConfig;
282
- /** Optional. The column name in the underlying table that contains already fully assembled requests. If this field is set, the original request will be copied to the output table. */
283
- requestColumnName?: string;
284
280
  }
285
281
  interface GoogleCloudAiplatformV1beta1AssessDataRequest {
286
282
  /** Optional. Configuration for the batch prediction resource usage assessment. */
@@ -289,10 +285,6 @@ declare namespace gapi.client {
289
285
  batchPredictionValidationAssessmentConfig?: GoogleCloudAiplatformV1beta1AssessDataRequestBatchPredictionValidationAssessmentConfig;
290
286
  /** Optional. The Gemini request read config for the dataset. */
291
287
  geminiRequestReadConfig?: GoogleCloudAiplatformV1beta1GeminiRequestReadConfig;
292
- /** Optional. Config for assembling templates with a Gemini API structure to assess assembled data. */
293
- geminiTemplateConfig?: GoogleCloudAiplatformV1beta1GeminiTemplateConfig;
294
- /** Optional. The column name in the underlying table that contains already fully assembled requests. */
295
- requestColumnName?: string;
296
288
  /** Optional. Configuration for the tuning resource usage assessment. */
297
289
  tuningResourceUsageAssessmentConfig?: GoogleCloudAiplatformV1beta1AssessDataRequestTuningResourceUsageAssessmentConfig;
298
290
  /** Optional. Configuration for the tuning validation assessment. */
@@ -425,7 +417,7 @@ declare namespace gapi.client {
425
417
  samplingCount?: number;
426
418
  }
427
419
  interface GoogleCloudAiplatformV1beta1AutoscalingMetricSpec {
428
- /** Required. The resource metric name. Supported metrics: * For Online Prediction: * `aiplatform.googleapis.com/prediction/online/accelerator/duty_cycle` * `aiplatform.googleapis.com/prediction/online/cpu/utilization` */
420
+ /** Required. The resource metric name. Supported metrics: * For Online Prediction: * `aiplatform.googleapis.com/prediction/online/accelerator/duty_cycle` * `aiplatform.googleapis.com/prediction/online/cpu/utilization` * `aiplatform.googleapis.com/prediction/online/request_count` */
429
421
  metricName?: string;
430
422
  /** The target resource utilization in percentage (1% - 100%) for the given metric; once the real usage deviates from the target by a certain percentage, the machine replicas change. The default value is 60 (representing 60%) if not provided. */
431
423
  target?: number;
@@ -471,10 +463,14 @@ declare namespace gapi.client {
471
463
  tensorboardTimeSeries?: GoogleCloudAiplatformV1beta1TensorboardTimeSeries[];
472
464
  }
473
465
  interface GoogleCloudAiplatformV1beta1BatchDedicatedResources {
466
+ /** Optional. Immutable. If set, use DWS resource to schedule the deployment workload. reference: (https://cloud.google.com/blog/products/compute/introducing-dynamic-workload-scheduler) */
467
+ flexStart?: GoogleCloudAiplatformV1beta1FlexStart;
474
468
  /** Required. Immutable. The specification of a single machine. */
475
469
  machineSpec?: GoogleCloudAiplatformV1beta1MachineSpec;
476
470
  /** Immutable. The maximum number of machine replicas the batch operation may be scaled to. The default value is 10. */
477
471
  maxReplicaCount?: number;
472
+ /** Optional. If true, schedule the deployment workload on [spot VMs](https://cloud.google.com/kubernetes-engine/docs/concepts/spot-vms). */
473
+ spot?: boolean;
478
474
  /** Immutable. The number of machine replicas used at the start of the batch operation. If not set, Vertex AI decides starting number, not greater than max_replica_count */
479
475
  startingReplicaCount?: number;
480
476
  }
@@ -1529,6 +1525,8 @@ declare namespace gapi.client {
1529
1525
  deployedIndexAuthConfig?: GoogleCloudAiplatformV1beta1DeployedIndexAuthConfig;
1530
1526
  /** Optional. The deployment group can be no longer than 64 characters (eg: 'test', 'prod'). If not set, we will use the 'default' deployment group. Creating `deployment_groups` with `reserved_ip_ranges` is a recommended practice when the peered network has multiple peering ranges. This creates your deployments from predictable IP spaces for easier traffic administration. Also, one deployment_group (except 'default') can only be used with the same reserved_ip_ranges which means if the deployment_group has been used with reserved_ip_ranges: [a, b, c], using it with [a, b] or [d, e] is disallowed. Note: we only support up to 5 deployment groups(not including 'default'). */
1531
1527
  deploymentGroup?: string;
1528
+ /** Optional. The deployment tier that the index is deployed to. DEPLOYMENT_TIER_UNSPECIFIED defaults to PERFORMANCE. */
1529
+ deploymentTier?: string;
1532
1530
  /** The display name of the DeployedIndex. If not provided upon creation, the Index's display_name is used. */
1533
1531
  displayName?: string;
1534
1532
  /** Optional. If true, private endpoint's access logs are sent to Cloud Logging. These logs are like standard server access logs, containing information like timestamp and latency for each MatchRequest. Note that logs may incur a cost, especially if the deployed index receives a high queries per second rate (QPS). Estimate your costs before enabling this option. */
@@ -1871,7 +1869,10 @@ declare namespace gapi.client {
1871
1869
  /** Output only. Timestamp when this Endpoint was last updated. */
1872
1870
  updateTime?: string;
1873
1871
  }
1874
- interface GoogleCloudAiplatformV1beta1EnterpriseWebSearch {}
1872
+ interface GoogleCloudAiplatformV1beta1EnterpriseWebSearch {
1873
+ /** Optional. List of domains to be excluded from the search results. The default limit is 2000 domains. */
1874
+ excludeDomains?: string[];
1875
+ }
1875
1876
  interface GoogleCloudAiplatformV1beta1EntityIdSelector {
1876
1877
  /** Source of Csv */
1877
1878
  csvSource?: GoogleCloudAiplatformV1beta1CsvSource;
@@ -3387,6 +3388,18 @@ declare namespace gapi.client {
3387
3388
  /** Optional. A list of `Tools` the model may use to generate the next response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the model. */
3388
3389
  tools?: GoogleCloudAiplatformV1beta1Tool[];
3389
3390
  }
3391
+ interface GoogleCloudAiplatformV1beta1GeminiPreferenceExample {
3392
+ /** List of completions for a given prompt. */
3393
+ completions?: GoogleCloudAiplatformV1beta1GeminiPreferenceExampleCompletion[];
3394
+ /** Multi-turn contents that represents the Prompt. */
3395
+ contents?: GoogleCloudAiplatformV1beta1Content[];
3396
+ }
3397
+ interface GoogleCloudAiplatformV1beta1GeminiPreferenceExampleCompletion {
3398
+ /** Single turn completion for the given prompt. */
3399
+ completion?: GoogleCloudAiplatformV1beta1Content;
3400
+ /** The score for the given completion. */
3401
+ score?: number;
3402
+ }
3390
3403
  interface GoogleCloudAiplatformV1beta1GeminiRequestReadConfig {
3391
3404
  /** Optional. Column name in the dataset table that contains already fully assembled Gemini requests. */
3392
3405
  assembledRequestColumnName?: string;
@@ -3488,6 +3501,8 @@ declare namespace gapi.client {
3488
3501
  interface GoogleCloudAiplatformV1beta1GenerateMemoriesRequest {
3489
3502
  /** Defines a direct source of content as the source content from which to generate memories. */
3490
3503
  directContentsSource?: GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectContentsSource;
3504
+ /** Defines a direct source of memories that should be uploaded to Memory Bank. This is similar to `CreateMemory`, but it allows for consolidation between these new memories and existing memories for the same scope. */
3505
+ directMemoriesSource?: GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectMemoriesSource;
3491
3506
  /** Optional. If true, generated memories will not be consolidated with existing memories; all generated memories will be added as new memories regardless of whether they are duplicates of or contradictory to existing memories. By default, memory consolidation is enabled. */
3492
3507
  disableConsolidation?: boolean;
3493
3508
  /** Optional. The scope of the memories that should be generated. Memories will be consolidated across memories with the same scope. Must be provided unless the scope is defined in the source content. If `scope` is provided, it will override the scope defined in the source content. Scope values cannot contain the wildcard character '*'. */
@@ -3503,6 +3518,14 @@ declare namespace gapi.client {
3503
3518
  /** Required. A single piece of content from which to generate memories. */
3504
3519
  content?: GoogleCloudAiplatformV1beta1Content;
3505
3520
  }
3521
+ interface GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectMemoriesSource {
3522
+ /** Required. The direct memories to upload to Memory Bank. At most 5 direct memories are allowed per request. */
3523
+ directMemories?: GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectMemoriesSourceDirectMemory[];
3524
+ }
3525
+ interface GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectMemoriesSourceDirectMemory {
3526
+ /** Required. The fact to consolidate with existing memories. */
3527
+ fact?: string;
3528
+ }
3506
3529
  interface GoogleCloudAiplatformV1beta1GenerateMemoriesRequestVertexSessionSource {
3507
3530
  /** Optional. End time (exclusive) of the time range. If not set, the end time is unbounded. */
3508
3531
  endTime?: string;
@@ -5912,6 +5935,14 @@ declare namespace gapi.client {
5912
5935
  /** Optional. Post startup script config. */
5913
5936
  postStartupScriptConfig?: GoogleCloudAiplatformV1beta1PostStartupScriptConfig;
5914
5937
  }
5938
+ interface GoogleCloudAiplatformV1beta1OptimizePromptRequest {
5939
+ /** Required. The content to optimize. */
5940
+ content?: GoogleCloudAiplatformV1beta1Content;
5941
+ }
5942
+ interface GoogleCloudAiplatformV1beta1OptimizePromptResponse {
5943
+ /** Output only. The optimized prompt content. */
5944
+ content?: GoogleCloudAiplatformV1beta1Content;
5945
+ }
5915
5946
  interface GoogleCloudAiplatformV1beta1OutputConfig {
5916
5947
  /** Cloud storage destination for evaluation output. */
5917
5948
  gcsDestination?: GoogleCloudAiplatformV1beta1GcsDestination;
@@ -6373,12 +6404,56 @@ declare namespace gapi.client {
6373
6404
  /** Immutable. Points to a YAML file stored on Google Cloud Storage describing the format of a single prediction produced by this Model, which are returned via PredictResponse.predictions, ExplainResponse.explanations, and BatchPredictionJob.output_config. The schema is defined as an OpenAPI 3.0.2 [Schema Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). AutoML Models always have this field populated by Vertex AI. Note: The URI given on output will be immutable and probably different, including the URI scheme, than the one given on input. The output URI will point to a location where the user only has a read access. */
6374
6405
  predictionSchemaUri?: string;
6375
6406
  }
6407
+ interface GoogleCloudAiplatformV1beta1PreferenceOptimizationDataStats {
6408
+ /** Output only. Dataset distributions for scores. */
6409
+ scoresDistribution?: GoogleCloudAiplatformV1beta1DatasetDistribution;
6410
+ /** Output only. Dataset distributions for scores variance per example. */
6411
+ scoreVariancePerExampleDistribution?: GoogleCloudAiplatformV1beta1DatasetDistribution;
6412
+ /** Output only. Number of billable tokens in the tuning dataset. */
6413
+ totalBillableTokenCount?: string;
6414
+ /** Output only. Number of examples in the tuning dataset. */
6415
+ tuningDatasetExampleCount?: string;
6416
+ /** Output only. Number of tuning steps for this Tuning Job. */
6417
+ tuningStepCount?: string;
6418
+ /** Output only. Sample user examples in the training dataset. */
6419
+ userDatasetExamples?: GoogleCloudAiplatformV1beta1GeminiPreferenceExample[];
6420
+ /** Output only. Dataset distributions for the user input tokens. */
6421
+ userInputTokenDistribution?: GoogleCloudAiplatformV1beta1DatasetDistribution;
6422
+ /** Output only. Dataset distributions for the user output tokens. */
6423
+ userOutputTokenDistribution?: GoogleCloudAiplatformV1beta1DatasetDistribution;
6424
+ }
6425
+ interface GoogleCloudAiplatformV1beta1PreferenceOptimizationHyperParameters {
6426
+ /** Optional. Adapter size for preference optimization. */
6427
+ adapterSize?: string;
6428
+ /** Optional. Weight for KL Divergence regularization. */
6429
+ beta?: number;
6430
+ /** Optional. Number of complete passes the model makes over the entire training dataset during training. */
6431
+ epochCount?: string;
6432
+ /** Optional. Multiplier for adjusting the default learning rate. */
6433
+ learningRateMultiplier?: number;
6434
+ }
6435
+ interface GoogleCloudAiplatformV1beta1PreferenceOptimizationSpec {
6436
+ /** Optional. Hyperparameters for Preference Optimization. */
6437
+ hyperParameters?: GoogleCloudAiplatformV1beta1PreferenceOptimizationHyperParameters;
6438
+ /** Required. Cloud Storage path to file containing training dataset for preference optimization tuning. The dataset must be formatted as a JSONL file. */
6439
+ trainingDatasetUri?: string;
6440
+ /** Optional. Cloud Storage path to file containing validation dataset for preference optimization tuning. The dataset must be formatted as a JSONL file. */
6441
+ validationDatasetUri?: string;
6442
+ }
6376
6443
  interface GoogleCloudAiplatformV1beta1Presets {
6377
6444
  /** The modality of the uploaded model, which automatically configures the distance measurement and feature normalization for the underlying example index and queries. If your model does not precisely fit one of these types, it is okay to choose the closest type. */
6378
6445
  modality?: string;
6379
6446
  /** Preset option controlling parameters for speed-precision trade-off when querying for examples. If omitted, defaults to `PRECISE`. */
6380
6447
  query?: string;
6381
6448
  }
6449
+ interface GoogleCloudAiplatformV1beta1PreTunedModel {
6450
+ /** Output only. The name of the base model this PreTunedModel was tuned from. */
6451
+ baseModel?: string;
6452
+ /** Optional. The source checkpoint id. If not specified, the default checkpoint will be used. */
6453
+ checkpointId?: string;
6454
+ /** The resource name of the Model. E.g., a model resource name with a specified version id or alias: `projects/{project}/locations/{location}/models/{model}@{version_id}` `projects/{project}/locations/{location}/models/{model}@{alias}` Or, omit the version id to use the default version: `projects/{project}/locations/{location}/models/{model}` */
6455
+ tunedModelName?: string;
6456
+ }
6382
6457
  interface GoogleCloudAiplatformV1beta1PrivateEndpoints {
6383
6458
  /** Output only. Http(s) path to send explain requests. */
6384
6459
  explainHttpUri?: string;
@@ -10236,16 +10311,14 @@ declare namespace gapi.client {
10236
10311
  interface GoogleCloudAiplatformV1beta1Tool {
10237
10312
  /** Optional. CodeExecution tool type. Enables the model to execute code as part of generation. */
10238
10313
  codeExecution?: any;
10239
- /** Optional. Tool to support the model interacting directly with the computer. If enabled, it automatically populates computer-use specific Function Declarations. */
10240
- computerUse?: GoogleCloudAiplatformV1beta1ToolComputerUse;
10241
10314
  /** Optional. Tool to support searching public web data, powered by Vertex AI Search and Sec4 compliance. */
10242
- enterpriseWebSearch?: any;
10315
+ enterpriseWebSearch?: GoogleCloudAiplatformV1beta1EnterpriseWebSearch;
10243
10316
  /** Optional. Function tool type. One or more function declarations to be passed to the model along with the current user query. Model may decide to call a subset of these functions by populating FunctionCall in the response. User should provide a FunctionResponse for each function call in the next turn. Based on the function responses, Model will generate the final response back to the user. Maximum 512 function declarations can be provided. */
10244
10317
  functionDeclarations?: GoogleCloudAiplatformV1beta1FunctionDeclaration[];
10245
10318
  /** Optional. GoogleMaps tool type. Tool to support Google Maps in Model. */
10246
10319
  googleMaps?: GoogleCloudAiplatformV1beta1GoogleMaps;
10247
10320
  /** Optional. GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google. */
10248
- googleSearch?: any;
10321
+ googleSearch?: GoogleCloudAiplatformV1beta1ToolGoogleSearch;
10249
10322
  /** Optional. GoogleSearchRetrieval tool type. Specialized retrieval tool that is powered by Google search. */
10250
10323
  googleSearchRetrieval?: GoogleCloudAiplatformV1beta1GoogleSearchRetrieval;
10251
10324
  /** Optional. Retrieval tool type. System will always execute the provided retrieval tool(s) to get external knowledge to answer the prompt. Retrieval results are presented to the model for generation. */
@@ -10281,17 +10354,16 @@ declare namespace gapi.client {
10281
10354
  }
10282
10355
  interface GoogleCloudAiplatformV1beta1ToolCallValidSpec {}
10283
10356
  interface GoogleCloudAiplatformV1beta1ToolCodeExecution {}
10284
- interface GoogleCloudAiplatformV1beta1ToolComputerUse {
10285
- /** Required. The environment being operated. */
10286
- environment?: string;
10287
- }
10288
10357
  interface GoogleCloudAiplatformV1beta1ToolConfig {
10289
10358
  /** Optional. Function calling config. */
10290
10359
  functionCallingConfig?: GoogleCloudAiplatformV1beta1FunctionCallingConfig;
10291
10360
  /** Optional. Retrieval config. */
10292
10361
  retrievalConfig?: GoogleCloudAiplatformV1beta1RetrievalConfig;
10293
10362
  }
10294
- interface GoogleCloudAiplatformV1beta1ToolGoogleSearch {}
10363
+ interface GoogleCloudAiplatformV1beta1ToolGoogleSearch {
10364
+ /** Optional. List of domains to be excluded from the search results. The default limit is 2000 domains. Example: ["amazon.com", "facebook.com"]. */
10365
+ excludeDomains?: string[];
10366
+ }
10295
10367
  interface GoogleCloudAiplatformV1beta1ToolNameMatchInput {
10296
10368
  /** Required. Repeated tool name match instances. */
10297
10369
  instances?: GoogleCloudAiplatformV1beta1ToolNameMatchInstance[];
@@ -10618,6 +10690,8 @@ declare namespace gapi.client {
10618
10690
  interface GoogleCloudAiplatformV1beta1TuningDataStats {
10619
10691
  /** Output only. Statistics for distillation. */
10620
10692
  distillationDataStats?: GoogleCloudAiplatformV1beta1DistillationDataStats;
10693
+ /** Output only. Statistics for preference optimization. */
10694
+ preferenceOptimizationDataStats?: GoogleCloudAiplatformV1beta1PreferenceOptimizationDataStats;
10621
10695
  /** The SFT Tuning data stats. */
10622
10696
  supervisedTuningDataStats?: GoogleCloudAiplatformV1beta1SupervisedTuningDataStats;
10623
10697
  }
@@ -10650,6 +10724,10 @@ declare namespace gapi.client {
10650
10724
  partnerModelTuningSpec?: GoogleCloudAiplatformV1beta1PartnerModelTuningSpec;
10651
10725
  /** Output only. The resource name of the PipelineJob associated with the TuningJob. Format: `projects/{project}/locations/{location}/pipelineJobs/{pipeline_job}`. */
10652
10726
  pipelineJob?: string;
10727
+ /** Tuning Spec for Preference Optimization. */
10728
+ preferenceOptimizationSpec?: GoogleCloudAiplatformV1beta1PreferenceOptimizationSpec;
10729
+ /** The pre-tuned model for continuous tuning. */
10730
+ preTunedModel?: GoogleCloudAiplatformV1beta1PreTunedModel;
10653
10731
  /** Output only. Reserved for future use. */
10654
10732
  satisfiesPzi?: boolean;
10655
10733
  /** Output only. Reserved for future use. */
@@ -10670,6 +10748,8 @@ declare namespace gapi.client {
10670
10748
  tuningDataStats?: GoogleCloudAiplatformV1beta1TuningDataStats;
10671
10749
  /** Output only. Time when the TuningJob was most recently updated. */
10672
10750
  updateTime?: string;
10751
+ /** Tuning Spec for Veo Tuning. */
10752
+ veoTuningSpec?: GoogleCloudAiplatformV1beta1VeoTuningSpec;
10673
10753
  }
10674
10754
  interface GoogleCloudAiplatformV1beta1UndeployIndexOperationMetadata {
10675
10755
  /** The operation generic information. */
@@ -10869,6 +10949,22 @@ declare namespace gapi.client {
10869
10949
  /** A string value. */
10870
10950
  stringValue?: string;
10871
10951
  }
10952
+ interface GoogleCloudAiplatformV1beta1VeoHyperParameters {
10953
+ /** Optional. Number of complete passes the model makes over the entire training dataset during training. */
10954
+ epochCount?: string;
10955
+ /** Optional. Multiplier for adjusting the default learning rate. */
10956
+ learningRateMultiplier?: number;
10957
+ /** Optional. The tuning task. Either I2V or T2V. */
10958
+ tuningTask?: string;
10959
+ }
10960
+ interface GoogleCloudAiplatformV1beta1VeoTuningSpec {
10961
+ /** Optional. Hyperparameters for Veo. */
10962
+ hyperParameters?: GoogleCloudAiplatformV1beta1VeoHyperParameters;
10963
+ /** Required. Training dataset used for tuning. The dataset can be specified as either a Cloud Storage path to a JSONL file or as the resource name of a Vertex Multimodal Dataset. */
10964
+ trainingDatasetUri?: string;
10965
+ /** Optional. Validation dataset used for tuning. The dataset can be specified as either a Cloud Storage path to a JSONL file or as the resource name of a Vertex Multimodal Dataset. */
10966
+ validationDatasetUri?: string;
10967
+ }
10872
10968
  interface GoogleCloudAiplatformV1beta1VertexAISearch {
10873
10969
  /** Optional. Fully-qualified Vertex AI Search data store resource ID. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}` */
10874
10970
  datastore?: string;
@@ -10914,6 +11010,8 @@ declare namespace gapi.client {
10914
11010
  interface GoogleCloudAiplatformV1beta1VideoMetadata {
10915
11011
  /** Optional. The end offset of the video. */
10916
11012
  endOffset?: string;
11013
+ /** Optional. The frame rate of the video sent to the model. If not specified, the default value will be 1.0. The fps range is (0.0, 24.0]. */
11014
+ fps?: number;
10917
11015
  /** Optional. The start offset of the video. */
10918
11016
  startOffset?: string;
10919
11017
  }
@@ -39715,6 +39813,64 @@ declare namespace gapi.client {
39715
39813
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
39716
39814
  uploadType?: string;
39717
39815
  }): Request<GoogleCloudAiplatformV1beta1ListTuningJobsResponse>;
39816
+ /** Optimizes a prompt. */
39817
+ optimizePrompt(request: {
39818
+ /** V1 error format. */
39819
+ '$.xgafv'?: string;
39820
+ /** OAuth access token. */
39821
+ access_token?: string;
39822
+ /** Data format for response. */
39823
+ alt?: string;
39824
+ /** JSONP */
39825
+ callback?: string;
39826
+ /** Selector specifying which fields to include in a partial response. */
39827
+ fields?: string;
39828
+ /** 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. */
39829
+ key?: string;
39830
+ /** OAuth 2.0 token for the current user. */
39831
+ oauth_token?: string;
39832
+ /** Required. The resource name of the Location to optimize the prompt in. Format: `projects/{project}/locations/{location}` */
39833
+ parent: string;
39834
+ /** Returns response with indentations and line breaks. */
39835
+ prettyPrint?: boolean;
39836
+ /** 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. */
39837
+ quotaUser?: string;
39838
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
39839
+ upload_protocol?: string;
39840
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
39841
+ uploadType?: string;
39842
+ /** Request body */
39843
+ resource: GoogleCloudAiplatformV1beta1OptimizePromptRequest;
39844
+ }): Request<GoogleCloudAiplatformV1beta1OptimizePromptResponse>;
39845
+ optimizePrompt(
39846
+ request: {
39847
+ /** V1 error format. */
39848
+ '$.xgafv'?: string;
39849
+ /** OAuth access token. */
39850
+ access_token?: string;
39851
+ /** Data format for response. */
39852
+ alt?: string;
39853
+ /** JSONP */
39854
+ callback?: string;
39855
+ /** Selector specifying which fields to include in a partial response. */
39856
+ fields?: string;
39857
+ /** 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. */
39858
+ key?: string;
39859
+ /** OAuth 2.0 token for the current user. */
39860
+ oauth_token?: string;
39861
+ /** Required. The resource name of the Location to optimize the prompt in. Format: `projects/{project}/locations/{location}` */
39862
+ parent: string;
39863
+ /** Returns response with indentations and line breaks. */
39864
+ prettyPrint?: boolean;
39865
+ /** 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. */
39866
+ quotaUser?: string;
39867
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
39868
+ upload_protocol?: string;
39869
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
39870
+ uploadType?: string;
39871
+ },
39872
+ body: GoogleCloudAiplatformV1beta1OptimizePromptRequest,
39873
+ ): Request<GoogleCloudAiplatformV1beta1OptimizePromptResponse>;
39718
39874
  /** Rebase a TunedModel. */
39719
39875
  rebaseTunedModel(request: {
39720
39876
  /** V1 error format. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.aiplatform-v1beta1",
3
- "version": "0.0.20250728",
3
+ "version": "0.0.20250731",
4
4
  "description": "TypeScript typings for Vertex AI API v1beta1",
5
5
  "repository": {
6
6
  "type": "git",