@maxim_mazurok/gapi.client.aiplatform-v1beta1 0.0.20250205 → 0.0.20250226

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 +193 -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: 20250205
12
+ // Revision: 20250226
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -35,6 +35,16 @@ declare namespace gapi.client {
35
35
  raiMediaFilteredCount?: number;
36
36
  /** Returns rai failure reasons if any. */
37
37
  raiMediaFilteredReasons?: string[];
38
+ /** List of videos, used to align naming with the external response. */
39
+ videos?: CloudAiLargeModelsVisionGenerateVideoResponseVideo[];
40
+ }
41
+ interface CloudAiLargeModelsVisionGenerateVideoResponseVideo {
42
+ /** Base64 encoded bytes string representing the video. */
43
+ bytesBase64Encoded?: string;
44
+ /** Cloud Storage URI where the generated video is written. */
45
+ gcsUri?: string;
46
+ /** The MIME type of the content of the video. - video/mp4 */
47
+ mimeType?: string;
38
48
  }
39
49
  interface CloudAiLargeModelsVisionImage {
40
50
  /** Image encoding, encoded as "image/png" or "image/jpg". */
@@ -131,6 +141,8 @@ declare namespace gapi.client {
131
141
  encodedVideo?: string;
132
142
  /** Video encoding, for example "video/mp4". */
133
143
  encoding?: string;
144
+ /** Text/Expanded text input for Help Me Write. */
145
+ text?: string;
134
146
  /** Path to another storage (typically Google Cloud Storage). */
135
147
  uri?: string;
136
148
  /** Raw bytes. */
@@ -350,9 +362,9 @@ declare namespace gapi.client {
350
362
  serviceAccount?: string;
351
363
  }
352
364
  interface GoogleCloudAiplatformV1beta1AutomaticResources {
353
- /** Immutable. The maximum number of replicas this DeployedModel may be deployed on when the traffic against it increases. If the requested value is too large, the deployment will error, but if deployment succeeds then the ability to scale the model to that many replicas is guaranteed (barring service outages). If traffic against the DeployedModel increases beyond what its replicas at maximum may handle, a portion of the traffic will be dropped. If this value is not provided, a no upper bound for scaling under heavy traffic will be assume, though Vertex AI may be unable to scale beyond certain replica number. */
365
+ /** Immutable. The maximum number of replicas that may be deployed on when the traffic against it increases. If the requested value is too large, the deployment will error, but if deployment succeeds then the ability to scale to that many replicas is guaranteed (barring service outages). If traffic increases beyond what its replicas at maximum may handle, a portion of the traffic will be dropped. If this value is not provided, a no upper bound for scaling under heavy traffic will be assume, though Vertex AI may be unable to scale beyond certain replica number. */
354
366
  maxReplicaCount?: number;
355
- /** Immutable. The minimum number of replicas this DeployedModel will be always deployed on. If traffic against it increases, it may dynamically be deployed onto more replicas up to max_replica_count, and as traffic decreases, some of these extra replicas may be freed. If the requested value is too large, the deployment will error. */
367
+ /** Immutable. The minimum number of replicas that will be always deployed on. If traffic against it increases, it may dynamically be deployed onto more replicas up to max_replica_count, and as traffic decreases, some of these extra replicas may be freed. If the requested value is too large, the deployment will error. */
356
368
  minReplicaCount?: number;
357
369
  }
358
370
  interface GoogleCloudAiplatformV1beta1AutoraterConfig {
@@ -663,7 +675,7 @@ declare namespace gapi.client {
663
675
  displayName?: string;
664
676
  /** Timestamp of when this resource is considered expired. This is *always* provided on output, regardless of what was sent on input. */
665
677
  expireTime?: string;
666
- /** Immutable. The name of the publisher model to use for cached content. Format: projects/{project}/locations/{location}/publishers/{publisher}/models/{model} */
678
+ /** Immutable. The name of the `Model` to use for cached content. Currently, only the published Gemini base models are supported, in form of projects/{PROJECT}/locations/{LOCATION}/publishers/google/models/{MODEL} */
667
679
  model?: string;
668
680
  /** Immutable. Identifier. The server-generated resource name of the cached content Format: projects/{project}/locations/{location}/cachedContents/{cached_content} */
669
681
  name?: string;
@@ -1344,13 +1356,13 @@ declare namespace gapi.client {
1344
1356
  interface GoogleCloudAiplatformV1beta1DedicatedResources {
1345
1357
  /** Immutable. The metric specifications that overrides a resource utilization metric (CPU utilization, accelerator's duty cycle, and so on) target value (default to 60 if not set). At most one entry is allowed per metric. If machine_spec.accelerator_count is above 0, the autoscaling will be based on both CPU utilization and accelerator's duty cycle metrics and scale up when either metrics exceeds its target value while scale down if both metrics are under their target value. The default target value is 60 for both metrics. If machine_spec.accelerator_count is 0, the autoscaling will be based on CPU utilization metric only with default target value 60 if not explicitly set. For example, in the case of Online Prediction, if you want to override target CPU utilization to 80, you should set autoscaling_metric_specs.metric_name to `aiplatform.googleapis.com/prediction/online/cpu/utilization` and autoscaling_metric_specs.target to `80`. */
1346
1358
  autoscalingMetricSpecs?: GoogleCloudAiplatformV1beta1AutoscalingMetricSpec[];
1347
- /** Required. Immutable. The specification of a single machine used by the prediction. */
1359
+ /** Required. Immutable. The specification of a single machine being used. */
1348
1360
  machineSpec?: GoogleCloudAiplatformV1beta1MachineSpec;
1349
- /** Immutable. The maximum number of replicas this DeployedModel may be deployed on when the traffic against it increases. If the requested value is too large, the deployment will error, but if deployment succeeds then the ability to scale the model to that many replicas is guaranteed (barring service outages). If traffic against the DeployedModel increases beyond what its replicas at maximum may handle, a portion of the traffic will be dropped. If this value is not provided, will use min_replica_count as the default value. The value of this field impacts the charge against Vertex CPU and GPU quotas. Specifically, you will be charged for (max_replica_count * number of cores in the selected machine type) and (max_replica_count * number of GPUs per replica in the selected machine type). */
1361
+ /** Immutable. The maximum number of replicas that may be deployed on when the traffic against it increases. If the requested value is too large, the deployment will error, but if deployment succeeds then the ability to scale to that many replicas is guaranteed (barring service outages). If traffic increases beyond what its replicas at maximum may handle, a portion of the traffic will be dropped. If this value is not provided, will use min_replica_count as the default value. The value of this field impacts the charge against Vertex CPU and GPU quotas. Specifically, you will be charged for (max_replica_count * number of cores in the selected machine type) and (max_replica_count * number of GPUs per replica in the selected machine type). */
1350
1362
  maxReplicaCount?: number;
1351
- /** Required. Immutable. The minimum number of machine replicas this DeployedModel will be always deployed on. This value must be greater than or equal to 1. If traffic against the DeployedModel increases, it may dynamically be deployed onto more replicas, and as traffic decreases, some of these extra replicas may be freed. */
1363
+ /** Required. Immutable. The minimum number of machine replicas that will be always deployed on. This value must be greater than or equal to 1. If traffic increases, it may dynamically be deployed onto more replicas, and as traffic decreases, some of these extra replicas may be freed. */
1352
1364
  minReplicaCount?: number;
1353
- /** Optional. Number of required available replicas for the deployment to succeed. This field is only needed when partial model deployment/mutation is desired. If set, the model deploy/mutate operation will succeed once available_replica_count reaches required_replica_count, and the rest of the replicas will be retried. If not set, the default required_replica_count will be min_replica_count. */
1365
+ /** Optional. Number of required available replicas for the deployment to succeed. This field is only needed when partial deployment/mutation is desired. If set, the deploy/mutate operation will succeed once available_replica_count reaches required_replica_count, and the rest of the replicas will be retried. If not set, the default required_replica_count will be min_replica_count. */
1354
1366
  requiredReplicaCount?: number;
1355
1367
  /** Optional. If true, schedule the deployment workload on [spot VMs](https://cloud.google.com/kubernetes-engine/docs/concepts/spot-vms). */
1356
1368
  spot?: boolean;
@@ -1560,11 +1572,47 @@ declare namespace gapi.client {
1560
1572
  endpointDisplayName?: string;
1561
1573
  /** Optional. The Hugging Face read access token used to access the model artifacts of gated models. */
1562
1574
  huggingFaceAccessToken?: string;
1563
- /** 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`. */
1575
+ /** Required. The model to deploy. Format: 1. `publishers/{publisher}/models/{publisher_model}@{version_id}`, or `publishers/hf-{hugging-face-author}/models/{hugging-face-model-name}@001`. 2. Hugging Face model ID like `google/gemma-2-2b-it`. 3. Custom model Google Cloud Storage URI like `gs://bucket`. 4. Custom model zip file like `https://abc.com/a.zip`. */
1564
1576
  model?: string;
1565
1577
  /** Optional. The user-specified display name of the uploaded model. If not set, a default name will be used. */
1566
1578
  modelDisplayName?: string;
1567
1579
  }
1580
+ interface GoogleCloudAiplatformV1beta1DeployRequest {
1581
+ /** Optional. The deploy config to use for the deployment. If not specified, the default deploy config will be used. */
1582
+ deployConfig?: GoogleCloudAiplatformV1beta1DeployRequestDeployConfig;
1583
+ /** Optional. The endpoint config to use for the deployment. If not specified, the default endpoint config will be used. */
1584
+ endpointConfig?: GoogleCloudAiplatformV1beta1DeployRequestEndpointConfig;
1585
+ /** The Hugging Face model to deploy. Format: Hugging Face model ID like `google/gemma-2-2b-it`. */
1586
+ huggingFaceModelId?: string;
1587
+ /** Optional. The model config to use for the deployment. If not specified, the default model config will be used. */
1588
+ modelConfig?: GoogleCloudAiplatformV1beta1DeployRequestModelConfig;
1589
+ /** The Model Garden model to deploy. Format: `publishers/{publisher}/models/{publisher_model}@{version_id}`, or `publishers/hf-{hugging-face-author}/models/{hugging-face-model-name}@001`. */
1590
+ publisherModelName?: string;
1591
+ }
1592
+ interface GoogleCloudAiplatformV1beta1DeployRequestDeployConfig {
1593
+ /** Optional. The dedicated resources to use for the endpoint. If not set, the default resources will be used. */
1594
+ dedicatedResources?: GoogleCloudAiplatformV1beta1DedicatedResources;
1595
+ /** Optional. If true, enable the QMT fast tryout feature for this model if possible. */
1596
+ fastTryoutEnabled?: boolean;
1597
+ }
1598
+ interface GoogleCloudAiplatformV1beta1DeployRequestEndpointConfig {
1599
+ /** Optional. If true, the endpoint will be exposed through a dedicated DNS [Endpoint.dedicated_endpoint_dns]. Your request to the dedicated DNS will be isolated from other users' traffic and will have better performance and reliability. Note: Once you enabled dedicated endpoint, you won't be able to send request to the shared DNS {region}-aiplatform.googleapis.com. The limitations will be removed soon. */
1600
+ dedicatedEndpointEnabled?: boolean;
1601
+ /** Optional. The user-specified display name of the endpoint. If not set, a default name will be used. */
1602
+ endpointDisplayName?: string;
1603
+ }
1604
+ interface GoogleCloudAiplatformV1beta1DeployRequestModelConfig {
1605
+ /** Optional. Whether the user accepts the End User License Agreement (EULA) for the model. */
1606
+ acceptEula?: boolean;
1607
+ /** Optional. The specification of the container that is to be used when deploying. If not set, the default container spec will be used. */
1608
+ containerSpec?: GoogleCloudAiplatformV1beta1ModelContainerSpec;
1609
+ /** Optional. The Hugging Face read access token used to access the model artifacts of gated models. */
1610
+ huggingFaceAccessToken?: string;
1611
+ /** Optional. If true, the model will deploy with a cached version instead of directly downloading the model artifacts from Hugging Face. This is suitable for VPC-SC users with limited internet access. */
1612
+ huggingFaceCacheEnabled?: boolean;
1613
+ /** Optional. The user-specified display name of the uploaded model. If not set, a default name will be used. */
1614
+ modelDisplayName?: string;
1615
+ }
1568
1616
  interface GoogleCloudAiplatformV1beta1DeploySolverOperationMetadata {
1569
1617
  /** The generic operation information. */
1570
1618
  genericMetadata?: GoogleCloudAiplatformV1beta1GenericOperationMetadata;
@@ -1690,6 +1738,7 @@ declare namespace gapi.client {
1690
1738
  /** Output only. Timestamp when this Endpoint was last updated. */
1691
1739
  updateTime?: string;
1692
1740
  }
1741
+ interface GoogleCloudAiplatformV1beta1EnterpriseWebSearch {}
1693
1742
  interface GoogleCloudAiplatformV1beta1EntityIdSelector {
1694
1743
  /** Source of Csv */
1695
1744
  csvSource?: GoogleCloudAiplatformV1beta1CsvSource;
@@ -1762,6 +1811,16 @@ declare namespace gapi.client {
1762
1811
  /** Explanation type. For AutoML Image Classification models, possible values are: * `image-integrated-gradients` * `image-xrai` */
1763
1812
  explanationType?: string;
1764
1813
  }
1814
+ interface GoogleCloudAiplatformV1beta1EvaluateDatasetRequest {
1815
+ /** Optional. Autorater config used for evaluation. */
1816
+ autoraterConfig?: GoogleCloudAiplatformV1beta1AutoraterConfig;
1817
+ /** Required. The dataset used for evaluation. */
1818
+ dataset?: GoogleCloudAiplatformV1beta1EvaluationDataset;
1819
+ /** Required. The metrics used for evaluation. */
1820
+ metrics?: GoogleCloudAiplatformV1beta1Metric[];
1821
+ /** Required. Config for evaluation output. */
1822
+ outputConfig?: GoogleCloudAiplatformV1beta1OutputConfig;
1823
+ }
1765
1824
  interface GoogleCloudAiplatformV1beta1EvaluateInstancesRequest {
1766
1825
  /** Optional. Autorater config used for evaluation. */
1767
1826
  autoraterConfig?: GoogleCloudAiplatformV1beta1AutoraterConfig;
@@ -1892,6 +1951,12 @@ declare namespace gapi.client {
1892
1951
  /** Results for trajectory single tool use metric. */
1893
1952
  trajectorySingleToolUseResults?: GoogleCloudAiplatformV1beta1TrajectorySingleToolUseResults;
1894
1953
  }
1954
+ interface GoogleCloudAiplatformV1beta1EvaluationDataset {
1955
+ /** BigQuery source holds the dataset. */
1956
+ bigquerySource?: GoogleCloudAiplatformV1beta1BigQuerySource;
1957
+ /** Cloud storage source holds the dataset. */
1958
+ gcsSource?: GoogleCloudAiplatformV1beta1GcsSource;
1959
+ }
1895
1960
  interface GoogleCloudAiplatformV1beta1Event {
1896
1961
  /** Required. The relative resource name of the Artifact in the Event. */
1897
1962
  artifact?: string;
@@ -3077,7 +3142,11 @@ declare namespace gapi.client {
3077
3142
  promptTokenCount?: number;
3078
3143
  /** Output only. List of modalities that were processed in the request input. */
3079
3144
  promptTokensDetails?: GoogleCloudAiplatformV1beta1ModalityTokenCount[];
3080
- /** Total token count for prompt and response candidates. */
3145
+ /** Output only. Number of tokens present in tool-use prompt(s). */
3146
+ toolUsePromptTokenCount?: number;
3147
+ /** Output only. List of modalities that were processed for tool-use request inputs. */
3148
+ toolUsePromptTokensDetails?: GoogleCloudAiplatformV1beta1ModalityTokenCount[];
3149
+ /** Total token count for prompt, response candidates, and tool-use prompts (if present). */
3081
3150
  totalTokenCount?: number;
3082
3151
  }
3083
3152
  interface GoogleCloudAiplatformV1beta1GenerateVideoResponse {
@@ -3087,6 +3156,16 @@ declare namespace gapi.client {
3087
3156
  raiMediaFilteredCount?: number;
3088
3157
  /** Returns rai failure reasons if any. */
3089
3158
  raiMediaFilteredReasons?: string[];
3159
+ /** List of video bytes or Cloud Storage URIs of the generated videos. */
3160
+ videos?: GoogleCloudAiplatformV1beta1GenerateVideoResponseVideo[];
3161
+ }
3162
+ interface GoogleCloudAiplatformV1beta1GenerateVideoResponseVideo {
3163
+ /** Base64 encoded bytes string representing the video. */
3164
+ bytesBase64Encoded?: string;
3165
+ /** Cloud Storage URI where the generated video is written. */
3166
+ gcsUri?: string;
3167
+ /** The MIME type of the content of the video. - video/mp4 */
3168
+ mimeType?: string;
3090
3169
  }
3091
3170
  interface GoogleCloudAiplatformV1beta1GenerationConfig {
3092
3171
  /** Optional. If enabled, audio timestamp will be included in the request to the model. */
@@ -3121,8 +3200,6 @@ declare namespace gapi.client {
3121
3200
  stopSequences?: string[];
3122
3201
  /** Optional. Controls the randomness of predictions. */
3123
3202
  temperature?: number;
3124
- /** Optional. Config for thinking features. An error will be returned if this field is set for models that don't support thinking. */
3125
- thinkingConfig?: GoogleCloudAiplatformV1beta1GenerationConfigThinkingConfig;
3126
3203
  /** Optional. If specified, top-k sampling will be used. */
3127
3204
  topK?: number;
3128
3205
  /** Optional. If specified, nucleus sampling will be used. */
@@ -3142,10 +3219,6 @@ declare namespace gapi.client {
3142
3219
  /** The model name to use. Only the public LLM models are accepted. e.g. 'gemini-1.5-pro-001'. */
3143
3220
  modelName?: string;
3144
3221
  }
3145
- interface GoogleCloudAiplatformV1beta1GenerationConfigThinkingConfig {
3146
- /** Optional. Indicates whether to include thoughts in the response. If true, thoughts are returned only when available. */
3147
- includeThoughts?: boolean;
3148
- }
3149
3222
  interface GoogleCloudAiplatformV1beta1GenericOperationMetadata {
3150
3223
  /** Output only. Time when the operation was created. */
3151
3224
  createTime?: string;
@@ -4032,6 +4105,20 @@ declare namespace gapi.client {
4032
4105
  /** The disk utilization of the MetadataStore in bytes. */
4033
4106
  diskUtilizationBytes?: string;
4034
4107
  }
4108
+ interface GoogleCloudAiplatformV1beta1Metric {
4109
+ /** Optional. The aggregation metrics to use. */
4110
+ aggregationMetrics?: string[];
4111
+ /** Spec for bleu metric. */
4112
+ bleuSpec?: GoogleCloudAiplatformV1beta1BleuSpec;
4113
+ /** Spec for exact match metric. */
4114
+ exactMatchSpec?: any;
4115
+ /** Spec for pairwise metric. */
4116
+ pairwiseMetricSpec?: GoogleCloudAiplatformV1beta1PairwiseMetricSpec;
4117
+ /** Spec for pointwise metric. */
4118
+ pointwiseMetricSpec?: GoogleCloudAiplatformV1beta1PointwiseMetricSpec;
4119
+ /** Spec for rouge metric. */
4120
+ rougeSpec?: GoogleCloudAiplatformV1beta1RougeSpec;
4121
+ }
4035
4122
  interface GoogleCloudAiplatformV1beta1MetricxInput {
4036
4123
  /** Required. Metricx instance. */
4037
4124
  instance?: GoogleCloudAiplatformV1beta1MetricxInstance;
@@ -4847,6 +4934,8 @@ declare namespace gapi.client {
4847
4934
  checkpointId?: string;
4848
4935
  /** The epoch of the checkpoint. */
4849
4936
  epoch?: string;
4937
+ /** Identifier. The resource name of the ModelVersionCheckpoint. Format: `projects/{project}/locations/{location}/models/{model}/versions/{version}/checkpoints/{checkpoint}` */
4938
+ name?: string;
4850
4939
  /** The step of the checkpoint. */
4851
4940
  step?: string;
4852
4941
  }
@@ -5277,6 +5366,10 @@ declare namespace gapi.client {
5277
5366
  /** Optional. Post startup script config. */
5278
5367
  postStartupScriptConfig?: GoogleCloudAiplatformV1beta1PostStartupScriptConfig;
5279
5368
  }
5369
+ interface GoogleCloudAiplatformV1beta1OutputConfig {
5370
+ /** Cloud storage destination for evaluation output. */
5371
+ gcsDestination?: GoogleCloudAiplatformV1beta1GcsDestination;
5372
+ }
5280
5373
  interface GoogleCloudAiplatformV1beta1PairwiseMetricInput {
5281
5374
  /** Required. Pairwise metric instance. */
5282
5375
  instance?: GoogleCloudAiplatformV1beta1PairwiseMetricInstance;
@@ -6518,9 +6611,17 @@ declare namespace gapi.client {
6518
6611
  interface GoogleCloudAiplatformV1beta1ReasoningEngineSpec {
6519
6612
  /** Optional. Declarations for object class methods in OpenAPI specification format. */
6520
6613
  classMethods?: Array<{[P in string]: any}>;
6614
+ /** Optional. The specification of a Reasoning Engine deployment. */
6615
+ deploymentSpec?: GoogleCloudAiplatformV1beta1ReasoningEngineSpecDeploymentSpec;
6521
6616
  /** Required. User provided package spec of the ReasoningEngine. */
6522
6617
  packageSpec?: GoogleCloudAiplatformV1beta1ReasoningEngineSpecPackageSpec;
6523
6618
  }
6619
+ interface GoogleCloudAiplatformV1beta1ReasoningEngineSpecDeploymentSpec {
6620
+ /** Optional. Environment variables to be set with the Reasoning Engine deployment. The environment variables can be updated through the UpdateReasoningEngine API. */
6621
+ env?: GoogleCloudAiplatformV1beta1EnvVar[];
6622
+ /** Optional. Environment variables where the value is a secret in Cloud Secret Manager. To use this feature, add 'Secret Manager Secret Accessor' role (roles/secretmanager.secretAccessor) to AI Platform Reasoning Engine Service Agent. */
6623
+ secretEnv?: GoogleCloudAiplatformV1beta1SecretEnvVar[];
6624
+ }
6524
6625
  interface GoogleCloudAiplatformV1beta1ReasoningEngineSpecPackageSpec {
6525
6626
  /** Optional. The Cloud Storage URI of the dependency files in tar.gz format. */
6526
6627
  dependencyFilesGcsUri?: string;
@@ -6588,7 +6689,7 @@ declare namespace gapi.client {
6588
6689
  key?: string;
6589
6690
  /** Required. Specifies the reservation affinity type. */
6590
6691
  reservationAffinityType?: string;
6591
- /** Optional. Corresponds to the label values of a reservation resource. This must be the full resource name of the reservation. */
6692
+ /** Optional. Corresponds to the label values of a reservation resource. This must be the full resource name of the reservation or reservation block. */
6592
6693
  values?: string[];
6593
6694
  }
6594
6695
  interface GoogleCloudAiplatformV1beta1ResourcePool {
@@ -7717,7 +7818,7 @@ declare namespace gapi.client {
7717
7818
  displayName?: string;
7718
7819
  }
7719
7820
  interface GoogleCloudAiplatformV1beta1SchemaTextDataItem {
7720
- /** Output only. Google Cloud Storage URI points to the original text in user's bucket. The text file is up to 10MB in size. */
7821
+ /** Output only. Google Cloud Storage URI points to a copy of the original text in the Vertex-managed bucket in the user's project. The text file is up to 10MB in size. */
7721
7822
  gcsUri?: string;
7722
7823
  }
7723
7824
  interface GoogleCloudAiplatformV1beta1SchemaTextDatasetMetadata {
@@ -8510,6 +8611,18 @@ declare namespace gapi.client {
8510
8611
  /** The nearest neighbors of the query entity. */
8511
8612
  nearestNeighbors?: GoogleCloudAiplatformV1beta1NearestNeighbors;
8512
8613
  }
8614
+ interface GoogleCloudAiplatformV1beta1SecretEnvVar {
8615
+ /** Required. Name of the secret environment variable. */
8616
+ name?: string;
8617
+ /** Required. Reference to a secret stored in the Cloud Secret Manager that will provide the value for this environment variable. */
8618
+ secretRef?: GoogleCloudAiplatformV1beta1SecretRef;
8619
+ }
8620
+ interface GoogleCloudAiplatformV1beta1SecretRef {
8621
+ /** Required. The name of the secret in Cloud Secret Manager. Format: {secret_name} if the secret is in the same project. projects/{project}/secrets/{secret_name} if the secret is in a different project. */
8622
+ secret?: string;
8623
+ /** The Cloud Secret Manager secret version. Can be 'latest' for the latest version, an integer for a specific version, or a version alias. */
8624
+ version?: string;
8625
+ }
8513
8626
  interface GoogleCloudAiplatformV1beta1Segment {
8514
8627
  /** Output only. End index in the given Part, measured in bytes. Offset from the start of the Part, exclusive, starting at zero. */
8515
8628
  endIndex?: number;
@@ -9240,8 +9353,10 @@ declare namespace gapi.client {
9240
9353
  tokens?: string[];
9241
9354
  }
9242
9355
  interface GoogleCloudAiplatformV1beta1Tool {
9243
- /** Optional. CodeExecution tool type. Enables the model to execute code as part of generation. This field is only used by the Gemini Developer API services. */
9356
+ /** Optional. CodeExecution tool type. Enables the model to execute code as part of generation. */
9244
9357
  codeExecution?: any;
9358
+ /** Optional. Tool to support searching public web data, powered by Vertex AI Search and Sec4 compliance. */
9359
+ enterpriseWebSearch?: any;
9245
9360
  /** 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 128 function declarations can be provided. */
9246
9361
  functionDeclarations?: GoogleCloudAiplatformV1beta1FunctionDeclaration[];
9247
9362
  /** Optional. GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google. */
@@ -9813,7 +9928,7 @@ declare namespace gapi.client {
9813
9928
  stringValue?: string;
9814
9929
  }
9815
9930
  interface GoogleCloudAiplatformV1beta1VertexAISearch {
9816
- /** Required. Fully-qualified Vertex AI Search data store resource ID. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}` */
9931
+ /** Optional. Fully-qualified Vertex AI Search data store resource ID. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}` */
9817
9932
  datastore?: string;
9818
9933
  }
9819
9934
  interface GoogleCloudAiplatformV1beta1VertexAiSearchConfig {
@@ -36076,6 +36191,64 @@ declare namespace gapi.client {
36076
36191
  },
36077
36192
  body: GoogleCloudAiplatformV1beta1DeployPublisherModelRequest,
36078
36193
  ): Request<GoogleLongrunningOperation>;
36194
+ /** Evaluates a dataset based on a set of given metrics. */
36195
+ evaluateDataset(request: {
36196
+ /** V1 error format. */
36197
+ '$.xgafv'?: string;
36198
+ /** OAuth access token. */
36199
+ access_token?: string;
36200
+ /** Data format for response. */
36201
+ alt?: string;
36202
+ /** JSONP */
36203
+ callback?: string;
36204
+ /** Selector specifying which fields to include in a partial response. */
36205
+ fields?: string;
36206
+ /** 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. */
36207
+ key?: string;
36208
+ /** Required. The resource name of the Location to evaluate the dataset. Format: `projects/{project}/locations/{location}` */
36209
+ location: string;
36210
+ /** OAuth 2.0 token for the current user. */
36211
+ oauth_token?: string;
36212
+ /** Returns response with indentations and line breaks. */
36213
+ prettyPrint?: boolean;
36214
+ /** 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. */
36215
+ quotaUser?: string;
36216
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
36217
+ upload_protocol?: string;
36218
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
36219
+ uploadType?: string;
36220
+ /** Request body */
36221
+ resource: GoogleCloudAiplatformV1beta1EvaluateDatasetRequest;
36222
+ }): Request<GoogleLongrunningOperation>;
36223
+ evaluateDataset(
36224
+ request: {
36225
+ /** V1 error format. */
36226
+ '$.xgafv'?: string;
36227
+ /** OAuth access token. */
36228
+ access_token?: string;
36229
+ /** Data format for response. */
36230
+ alt?: string;
36231
+ /** JSONP */
36232
+ callback?: string;
36233
+ /** Selector specifying which fields to include in a partial response. */
36234
+ fields?: string;
36235
+ /** 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. */
36236
+ key?: string;
36237
+ /** Required. The resource name of the Location to evaluate the dataset. Format: `projects/{project}/locations/{location}` */
36238
+ location: string;
36239
+ /** OAuth 2.0 token for the current user. */
36240
+ oauth_token?: string;
36241
+ /** Returns response with indentations and line breaks. */
36242
+ prettyPrint?: boolean;
36243
+ /** 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. */
36244
+ quotaUser?: string;
36245
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
36246
+ upload_protocol?: string;
36247
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
36248
+ uploadType?: string;
36249
+ },
36250
+ body: GoogleCloudAiplatformV1beta1EvaluateDatasetRequest,
36251
+ ): Request<GoogleLongrunningOperation>;
36079
36252
  /** Evaluates instances based on a given metric. */
36080
36253
  evaluateInstances(request: {
36081
36254
  /** 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.20250205",
3
+ "version": "0.0.20250226",
4
4
  "description": "TypeScript typings for Vertex AI API v1beta1",
5
5
  "repository": {
6
6
  "type": "git",