@maxim_mazurok/gapi.client.aiplatform-v1beta1 0.0.20241119 → 0.0.20241203

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 +343 -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=v1beta1
12
- // Revision: 20241119
12
+ // Revision: 20241203
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -1533,6 +1533,20 @@ declare namespace gapi.client {
1533
1533
  /** The DeployedModel that had been deployed in the Endpoint. */
1534
1534
  deployedModel?: GoogleCloudAiplatformV1beta1DeployedModel;
1535
1535
  }
1536
+ interface GoogleCloudAiplatformV1beta1DeployPublisherModelRequest {
1537
+ /** Optional. Whether the user accepts the End User License Agreement (EULA) for the model. */
1538
+ acceptEula?: boolean;
1539
+ /** Optional. The dedicated resources to use for the endpoint. If not set, the default resources will be used. */
1540
+ dedicatedResources?: GoogleCloudAiplatformV1beta1DedicatedResources;
1541
+ /** Optional. The user-specified display name of the endpoint. If not set, a default name will be used. */
1542
+ endpointDisplayName?: string;
1543
+ /** Optional. The Hugging Face read access token used to access the model artifacts of gated models. */
1544
+ huggingFaceAccessToken?: string;
1545
+ /** 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` */
1546
+ model?: string;
1547
+ /** Optional. The user-specified display name of the uploaded model. If not set, a default name will be used. */
1548
+ modelDisplayName?: string;
1549
+ }
1536
1550
  interface GoogleCloudAiplatformV1beta1DeploySolverOperationMetadata {
1537
1551
  /** The generic operation information. */
1538
1552
  genericMetadata?: GoogleCloudAiplatformV1beta1GenericOperationMetadata;
@@ -1589,9 +1603,9 @@ declare namespace gapi.client {
1589
1603
  baseTeacherModel?: string;
1590
1604
  /** Optional. Hyperparameters for Distillation. */
1591
1605
  hyperParameters?: GoogleCloudAiplatformV1beta1DistillationHyperParameters;
1592
- /** Required. A path in a Cloud Storage bucket, which will be treated as the root output directory of the distillation pipeline. It is used by the system to generate the paths of output artifacts. */
1606
+ /** Required. Deprecated. A path in a Cloud Storage bucket, which will be treated as the root output directory of the distillation pipeline. It is used by the system to generate the paths of output artifacts. */
1593
1607
  pipelineRootDirectory?: string;
1594
- /** The student model that is being tuned, e.g., "google/gemma-2b-1.1-it". */
1608
+ /** The student model that is being tuned, e.g., "google/gemma-2b-1.1-it". Deprecated. Use base_model instead. */
1595
1609
  studentModel?: string;
1596
1610
  /** Required. Cloud Storage path to file containing training dataset for tuning. The dataset must be formatted as a JSONL file. */
1597
1611
  trainingDatasetUri?: string;
@@ -1779,6 +1793,18 @@ declare namespace gapi.client {
1779
1793
  toolParameterKeyMatchInput?: GoogleCloudAiplatformV1beta1ToolParameterKeyMatchInput;
1780
1794
  /** Input for tool parameter key value match metric. */
1781
1795
  toolParameterKvMatchInput?: GoogleCloudAiplatformV1beta1ToolParameterKVMatchInput;
1796
+ /** Input for trajectory match any order metric. */
1797
+ trajectoryAnyOrderMatchInput?: GoogleCloudAiplatformV1beta1TrajectoryAnyOrderMatchInput;
1798
+ /** Input for trajectory exact match metric. */
1799
+ trajectoryExactMatchInput?: GoogleCloudAiplatformV1beta1TrajectoryExactMatchInput;
1800
+ /** Input for trajectory in order match metric. */
1801
+ trajectoryInOrderMatchInput?: GoogleCloudAiplatformV1beta1TrajectoryInOrderMatchInput;
1802
+ /** Input for trajectory precision metric. */
1803
+ trajectoryPrecisionInput?: GoogleCloudAiplatformV1beta1TrajectoryPrecisionInput;
1804
+ /** Input for trajectory recall metric. */
1805
+ trajectoryRecallInput?: GoogleCloudAiplatformV1beta1TrajectoryRecallInput;
1806
+ /** Input for trajectory single tool use metric. */
1807
+ trajectorySingleToolUseInput?: GoogleCloudAiplatformV1beta1TrajectorySingleToolUseInput;
1782
1808
  }
1783
1809
  interface GoogleCloudAiplatformV1beta1EvaluateInstancesResponse {
1784
1810
  /** Results for bleu metric. */
@@ -1831,6 +1857,18 @@ declare namespace gapi.client {
1831
1857
  toolParameterKeyMatchResults?: GoogleCloudAiplatformV1beta1ToolParameterKeyMatchResults;
1832
1858
  /** Results for tool parameter key value match metric. */
1833
1859
  toolParameterKvMatchResults?: GoogleCloudAiplatformV1beta1ToolParameterKVMatchResults;
1860
+ /** Result for trajectory any order match metric. */
1861
+ trajectoryAnyOrderMatchResults?: GoogleCloudAiplatformV1beta1TrajectoryAnyOrderMatchResults;
1862
+ /** Result for trajectory exact match metric. */
1863
+ trajectoryExactMatchResults?: GoogleCloudAiplatformV1beta1TrajectoryExactMatchResults;
1864
+ /** Result for trajectory in order match metric. */
1865
+ trajectoryInOrderMatchResults?: GoogleCloudAiplatformV1beta1TrajectoryInOrderMatchResults;
1866
+ /** Result for trajectory precision metric. */
1867
+ trajectoryPrecisionResults?: GoogleCloudAiplatformV1beta1TrajectoryPrecisionResults;
1868
+ /** Results for trajectory recall metric. */
1869
+ trajectoryRecallResults?: GoogleCloudAiplatformV1beta1TrajectoryRecallResults;
1870
+ /** Results for trajectory single tool use metric. */
1871
+ trajectorySingleToolUseResults?: GoogleCloudAiplatformV1beta1TrajectorySingleToolUseResults;
1834
1872
  }
1835
1873
  interface GoogleCloudAiplatformV1beta1Event {
1836
1874
  /** Required. The relative resource name of the Artifact in the Event. */
@@ -2306,6 +2344,10 @@ declare namespace gapi.client {
2306
2344
  labels?: {[P in string]: string};
2307
2345
  /** Identifier. Name of the FeatureGroup. Format: `projects/{project}/locations/{location}/featureGroups/{featureGroup}` */
2308
2346
  name?: string;
2347
+ /** Output only. A Service Account unique to this FeatureGroup. The role bigquery.dataViewer should be granted to this service account to allow Vertex AI Feature Store to access source data while running jobs under this FeatureGroup. */
2348
+ serviceAccountEmail?: string;
2349
+ /** Optional. Service agent type used during jobs under a FeatureGroup. By default, the Vertex AI Service Agent is used. When using an IAM Policy to isolate this FeatureGroup within a project, a separate service account should be provisioned by setting this field to `SERVICE_AGENT_TYPE_FEATURE_GROUP`. This will generate a separate service account to access the BigQuery source table. */
2350
+ serviceAgentType?: string;
2309
2351
  /** Output only. Timestamp when this FeatureGroup was last updated. */
2310
2352
  updateTime?: string;
2311
2353
  }
@@ -3011,16 +3053,22 @@ declare namespace gapi.client {
3011
3053
  responseLogprobs?: boolean;
3012
3054
  /** Optional. Output response mimetype of the generated candidate text. Supported mimetype: - `text/plain`: (default) Text output. - `application/json`: JSON response in the candidates. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. */
3013
3055
  responseMimeType?: string;
3056
+ /** Optional. The modalities of the response. */
3057
+ responseModalities?: string[];
3014
3058
  /** Optional. The `Schema` object allows the definition of input and output data types. These types can be objects, but also primitives and arrays. Represents a select subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema). If set, a compatible response_mime_type must also be set. Compatible mimetypes: `application/json`: Schema for JSON response. */
3015
3059
  responseSchema?: GoogleCloudAiplatformV1beta1Schema;
3016
3060
  /** Optional. Routing configuration. */
3017
3061
  routingConfig?: GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfig;
3018
3062
  /** Optional. Seed. */
3019
3063
  seed?: number;
3064
+ /** Optional. The speech generation config. */
3065
+ speechConfig?: GoogleCloudAiplatformV1beta1SpeechConfig;
3020
3066
  /** Optional. Stop sequences. */
3021
3067
  stopSequences?: string[];
3022
3068
  /** Optional. Controls the randomness of predictions. */
3023
3069
  temperature?: number;
3070
+ /** Optional. If specified, the token resolution specified will be used. */
3071
+ tokenResolution?: string;
3024
3072
  /** Optional. If specified, top-k sampling will be used. */
3025
3073
  topK?: number;
3026
3074
  /** Optional. If specified, nucleus sampling will be used. */
@@ -5038,12 +5086,16 @@ declare namespace gapi.client {
5038
5086
  interface GoogleCloudAiplatformV1beta1NotebookRuntime {
5039
5087
  /** Output only. Timestamp when this NotebookRuntime was created. */
5040
5088
  createTime?: string;
5089
+ /** Output only. The specification of persistent disk attached to the notebook runtime as data disk storage. */
5090
+ dataPersistentDiskSpec?: GoogleCloudAiplatformV1beta1PersistentDiskSpec;
5041
5091
  /** The description of the NotebookRuntime. */
5042
5092
  description?: string;
5043
5093
  /** Required. The display name of the NotebookRuntime. The name can be up to 128 characters long and can consist of any UTF-8 characters. */
5044
5094
  displayName?: string;
5045
5095
  /** Output only. Customer-managed encryption key spec for the notebook runtime. */
5046
5096
  encryptionSpec?: GoogleCloudAiplatformV1beta1EncryptionSpec;
5097
+ /** Output only. EUC configuration of the notebook runtime. */
5098
+ eucConfig?: GoogleCloudAiplatformV1beta1NotebookEucConfig;
5047
5099
  /** Output only. Timestamp when this NotebookRuntime will be expired: 1. System Predefined NotebookRuntime: 24 hours after creation. After expiration, system predifined runtime will be deleted. 2. User created NotebookRuntime: 6 months after last upgrade. After expiration, user created runtime will be stopped and allowed for upgrade. */
5048
5100
  expirationTime?: string;
5049
5101
  /** Output only. The health state of the NotebookRuntime. */
@@ -5054,8 +5106,12 @@ declare namespace gapi.client {
5054
5106
  isUpgradable?: boolean;
5055
5107
  /** The labels with user-defined metadata to organize your NotebookRuntime. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one NotebookRuntime (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable. Following system labels exist for NotebookRuntime: * "aiplatform.googleapis.com/notebook_runtime_gce_instance_id": output only, its value is the Compute Engine instance id. * "aiplatform.googleapis.com/colab_enterprise_entry_service": its value is either "bigquery" or "vertex"; if absent, it should be "vertex". This is to describe the entry service, either BigQuery or Vertex. */
5056
5108
  labels?: {[P in string]: string};
5109
+ /** Output only. The specification of a single machine used by the notebook runtime. */
5110
+ machineSpec?: GoogleCloudAiplatformV1beta1MachineSpec;
5057
5111
  /** Output only. The resource name of the NotebookRuntime. */
5058
5112
  name?: string;
5113
+ /** Output only. Network spec of the notebook runtime. */
5114
+ networkSpec?: GoogleCloudAiplatformV1beta1NetworkSpec;
5059
5115
  /** Optional. The Compute Engine tags to add to runtime (see [Tagging instances](https://cloud.google.com/vpc/docs/add-remove-network-tags)). */
5060
5116
  networkTags?: string[];
5061
5117
  /** Output only. The pointer to NotebookRuntimeTemplate this NotebookRuntime is created from. */
@@ -5072,8 +5128,10 @@ declare namespace gapi.client {
5072
5128
  satisfiesPzi?: boolean;
5073
5129
  /** Output only. Reserved for future use. */
5074
5130
  satisfiesPzs?: boolean;
5075
- /** Output only. The service account that the NotebookRuntime workload runs as. */
5131
+ /** Output only. Deprecated: This field is no longer used and the "Vertex AI Notebook Service Account" (service-PROJECT_NUMBER@gcp-sa-aiplatform-vm.iam.gserviceaccount.com) is used for the runtime workload identity. See https://cloud.google.com/iam/docs/service-agents#vertex-ai-notebook-service-account for more details. The service account that the NotebookRuntime workload runs as. */
5076
5132
  serviceAccount?: string;
5133
+ /** Output only. Runtime Shielded VM spec. */
5134
+ shieldedVmConfig?: GoogleCloudAiplatformV1beta1ShieldedVmConfig;
5077
5135
  /** Output only. Timestamp when this NotebookRuntime was most recently updated. */
5078
5136
  updateTime?: string;
5079
5137
  /** Output only. The VM os image version of NotebookRuntime. */
@@ -5096,7 +5154,7 @@ declare namespace gapi.client {
5096
5154
  eucConfig?: GoogleCloudAiplatformV1beta1NotebookEucConfig;
5097
5155
  /** The idle shutdown configuration of NotebookRuntimeTemplate. This config will only be set when idle shutdown is enabled. */
5098
5156
  idleShutdownConfig?: GoogleCloudAiplatformV1beta1NotebookIdleShutdownConfig;
5099
- /** Output only. The default template to use if not specified. */
5157
+ /** Output only. Deprecated: This field has no behavior. Use notebook_runtime_type = 'ONE_CLICK' instead. The default template to use if not specified. */
5100
5158
  isDefault?: boolean;
5101
5159
  /** The labels with user-defined metadata to organize the NotebookRuntimeTemplates. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels. */
5102
5160
  labels?: {[P in string]: string};
@@ -5110,7 +5168,7 @@ declare namespace gapi.client {
5110
5168
  networkTags?: string[];
5111
5169
  /** Optional. Immutable. The type of the notebook runtime template. */
5112
5170
  notebookRuntimeType?: string;
5113
- /** The service account that the runtime workload runs as. You can use any service account within the same project, but you must have the service account user permission to use the instance. If not specified, the [Compute Engine default service account](https://cloud.google.com/compute/docs/access/service-accounts#default_service_account) is used. */
5171
+ /** Deprecated: This field is ignored and the "Vertex AI Notebook Service Account" (service-PROJECT_NUMBER@gcp-sa-aiplatform-vm.iam.gserviceaccount.com) is used for the runtime workload identity. See https://cloud.google.com/iam/docs/service-agents#vertex-ai-notebook-service-account for more details. For NotebookExecutionJob, use NotebookExecutionJob.service_account instead. The service account that the runtime workload runs as. You can use any service account within the same project, but you must have the service account user permission to use the instance. If not specified, the [Compute Engine default service account](https://cloud.google.com/compute/docs/access/service-accounts#default_service_account) is used. */
5114
5172
  serviceAccount?: string;
5115
5173
  /** Optional. Immutable. Runtime Shielded VM spec. */
5116
5174
  shieldedVmConfig?: GoogleCloudAiplatformV1beta1ShieldedVmConfig;
@@ -5336,7 +5394,7 @@ declare namespace gapi.client {
5336
5394
  taskDetails?: GoogleCloudAiplatformV1beta1PipelineTaskDetail[];
5337
5395
  }
5338
5396
  interface GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfig {
5339
- /** Optional. The default runtime for the PipelineJob. If not provided, Vertex Custom Job(on demand) is used as the runtime. For Vertex Custom Job, please refer to https://cloud.google.com/vertex-ai/docs/training/overview. */
5397
+ /** Optional. The default runtime for the PipelineJob. If not set, Standard Vertex Custom Job(https://cloud.google.com/vertex-ai/docs/training/overview) is used as the runtime. If set, all pipeline tasks will run on the default runtime unless a task is a GCPC custom job component (https://cloud.google.com/vertex-ai/docs/pipelines/customjob-component) based task. If the task is based on a GCPC custom job component, it runs solely according to the component's configuration. */
5340
5398
  defaultRuntime?: GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigDefaultRuntime;
5341
5399
  /** Represents the failure policy of a pipeline. Currently, the default of a pipeline is that the pipeline will continue to run until no more tasks can be executed, also known as PIPELINE_FAILURE_POLICY_FAIL_SLOW. However, if a pipeline is set to PIPELINE_FAILURE_POLICY_FAIL_FAST, it will stop scheduling any new tasks when a task has failed. Any scheduled tasks will continue to completion. */
5342
5400
  failurePolicy?: string;
@@ -5485,6 +5543,10 @@ declare namespace gapi.client {
5485
5543
  /** The number of the port to expose on the pod's IP address. Must be a valid port number, between 1 and 65535 inclusive. */
5486
5544
  containerPort?: number;
5487
5545
  }
5546
+ interface GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig {
5547
+ /** The name of the preset voice to use. */
5548
+ voiceName?: string;
5549
+ }
5488
5550
  interface GoogleCloudAiplatformV1beta1PredefinedSplit {
5489
5551
  /** Required. The key is a name of one of the Dataset's data columns. The value of the key (either the label's value or value in the column) must be one of {`training`, `validation`, `test`}, and it defines to which set the given piece of data is assigned. If for a piece of data the key is not present or has an invalid value, that piece is ignored by the pipeline. */
5490
5552
  key?: string;
@@ -8342,6 +8404,10 @@ declare namespace gapi.client {
8342
8404
  /** The email addresses of workers in the SpecialistPool. */
8343
8405
  specialistWorkerEmails?: string[];
8344
8406
  }
8407
+ interface GoogleCloudAiplatformV1beta1SpeechConfig {
8408
+ /** The configuration for the speaker to use. */
8409
+ voiceConfig?: GoogleCloudAiplatformV1beta1VoiceConfig;
8410
+ }
8345
8411
  interface GoogleCloudAiplatformV1beta1StartNotebookRuntimeOperationMetadata {
8346
8412
  /** The operation generic information. */
8347
8413
  genericMetadata?: GoogleCloudAiplatformV1beta1GenericOperationMetadata;
@@ -8390,6 +8456,12 @@ declare namespace gapi.client {
8390
8456
  /** Required. Selector choosing Features of the target EntityType. Feature IDs will be deduplicated. */
8391
8457
  featureSelector?: GoogleCloudAiplatformV1beta1FeatureSelector;
8392
8458
  }
8459
+ interface GoogleCloudAiplatformV1beta1StreamQueryReasoningEngineRequest {
8460
+ /** Optional. Class method to be used for the stream query. It is optional and defaults to "stream_query" if unspecified. */
8461
+ classMethod?: string;
8462
+ /** Optional. Input content provided by users in JSON object format. Examples include text query, function calling parameters, media bytes, etc. */
8463
+ input?: {[P in string]: any};
8464
+ }
8393
8465
  interface GoogleCloudAiplatformV1beta1StreamRawPredictRequest {
8394
8466
  /** The prediction input. Supports HTTP headers and arbitrary data payload. */
8395
8467
  httpBody?: GoogleApiHttpBody;
@@ -8964,11 +9036,19 @@ declare namespace gapi.client {
8964
9036
  codeExecution?: any;
8965
9037
  /** 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. */
8966
9038
  functionDeclarations?: GoogleCloudAiplatformV1beta1FunctionDeclaration[];
9039
+ /** Optional. GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google. */
9040
+ googleSearch?: any;
8967
9041
  /** Optional. GoogleSearchRetrieval tool type. Specialized retrieval tool that is powered by Google search. */
8968
9042
  googleSearchRetrieval?: GoogleCloudAiplatformV1beta1GoogleSearchRetrieval;
8969
9043
  /** 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. */
8970
9044
  retrieval?: GoogleCloudAiplatformV1beta1Retrieval;
8971
9045
  }
9046
+ interface GoogleCloudAiplatformV1beta1ToolCall {
9047
+ /** Optional. Spec for tool input */
9048
+ toolInput?: string;
9049
+ /** Required. Spec for tool name */
9050
+ toolName?: string;
9051
+ }
8972
9052
  interface GoogleCloudAiplatformV1beta1ToolCallValidInput {
8973
9053
  /** Required. Repeated tool call valid instances. */
8974
9054
  instances?: GoogleCloudAiplatformV1beta1ToolCallValidInstance[];
@@ -8995,6 +9075,7 @@ declare namespace gapi.client {
8995
9075
  /** Optional. Function calling config. */
8996
9076
  functionCallingConfig?: GoogleCloudAiplatformV1beta1FunctionCallingConfig;
8997
9077
  }
9078
+ interface GoogleCloudAiplatformV1beta1ToolGoogleSearch {}
8998
9079
  interface GoogleCloudAiplatformV1beta1ToolNameMatchInput {
8999
9080
  /** Required. Repeated tool name match instances. */
9000
9081
  instances?: GoogleCloudAiplatformV1beta1ToolNameMatchInstance[];
@@ -9123,6 +9204,137 @@ declare namespace gapi.client {
9123
9204
  /** Output only. Time when the TrainingPipeline was most recently updated. */
9124
9205
  updateTime?: string;
9125
9206
  }
9207
+ interface GoogleCloudAiplatformV1beta1Trajectory {
9208
+ /** Required. Tool calls in the trajectory. */
9209
+ toolCalls?: GoogleCloudAiplatformV1beta1ToolCall[];
9210
+ }
9211
+ interface GoogleCloudAiplatformV1beta1TrajectoryAnyOrderMatchInput {
9212
+ /** Required. Repeated TrajectoryAnyOrderMatch instance. */
9213
+ instances?: GoogleCloudAiplatformV1beta1TrajectoryAnyOrderMatchInstance[];
9214
+ /** Required. Spec for TrajectoryAnyOrderMatch metric. */
9215
+ metricSpec?: any;
9216
+ }
9217
+ interface GoogleCloudAiplatformV1beta1TrajectoryAnyOrderMatchInstance {
9218
+ /** Required. Spec for predicted tool call trajectory. */
9219
+ predictedTrajectory?: GoogleCloudAiplatformV1beta1Trajectory;
9220
+ /** Required. Spec for reference tool call trajectory. */
9221
+ referenceTrajectory?: GoogleCloudAiplatformV1beta1Trajectory;
9222
+ }
9223
+ interface GoogleCloudAiplatformV1beta1TrajectoryAnyOrderMatchMetricValue {
9224
+ /** Output only. TrajectoryAnyOrderMatch score. */
9225
+ score?: number;
9226
+ }
9227
+ interface GoogleCloudAiplatformV1beta1TrajectoryAnyOrderMatchResults {
9228
+ /** Output only. TrajectoryAnyOrderMatch metric values. */
9229
+ trajectoryAnyOrderMatchMetricValues?: GoogleCloudAiplatformV1beta1TrajectoryAnyOrderMatchMetricValue[];
9230
+ }
9231
+ interface GoogleCloudAiplatformV1beta1TrajectoryAnyOrderMatchSpec {}
9232
+ interface GoogleCloudAiplatformV1beta1TrajectoryExactMatchInput {
9233
+ /** Required. Repeated TrajectoryExactMatch instance. */
9234
+ instances?: GoogleCloudAiplatformV1beta1TrajectoryExactMatchInstance[];
9235
+ /** Required. Spec for TrajectoryExactMatch metric. */
9236
+ metricSpec?: any;
9237
+ }
9238
+ interface GoogleCloudAiplatformV1beta1TrajectoryExactMatchInstance {
9239
+ /** Required. Spec for predicted tool call trajectory. */
9240
+ predictedTrajectory?: GoogleCloudAiplatformV1beta1Trajectory;
9241
+ /** Required. Spec for reference tool call trajectory. */
9242
+ referenceTrajectory?: GoogleCloudAiplatformV1beta1Trajectory;
9243
+ }
9244
+ interface GoogleCloudAiplatformV1beta1TrajectoryExactMatchMetricValue {
9245
+ /** Output only. TrajectoryExactMatch score. */
9246
+ score?: number;
9247
+ }
9248
+ interface GoogleCloudAiplatformV1beta1TrajectoryExactMatchResults {
9249
+ /** Output only. TrajectoryExactMatch metric values. */
9250
+ trajectoryExactMatchMetricValues?: GoogleCloudAiplatformV1beta1TrajectoryExactMatchMetricValue[];
9251
+ }
9252
+ interface GoogleCloudAiplatformV1beta1TrajectoryExactMatchSpec {}
9253
+ interface GoogleCloudAiplatformV1beta1TrajectoryInOrderMatchInput {
9254
+ /** Required. Repeated TrajectoryInOrderMatch instance. */
9255
+ instances?: GoogleCloudAiplatformV1beta1TrajectoryInOrderMatchInstance[];
9256
+ /** Required. Spec for TrajectoryInOrderMatch metric. */
9257
+ metricSpec?: any;
9258
+ }
9259
+ interface GoogleCloudAiplatformV1beta1TrajectoryInOrderMatchInstance {
9260
+ /** Required. Spec for predicted tool call trajectory. */
9261
+ predictedTrajectory?: GoogleCloudAiplatformV1beta1Trajectory;
9262
+ /** Required. Spec for reference tool call trajectory. */
9263
+ referenceTrajectory?: GoogleCloudAiplatformV1beta1Trajectory;
9264
+ }
9265
+ interface GoogleCloudAiplatformV1beta1TrajectoryInOrderMatchMetricValue {
9266
+ /** Output only. TrajectoryInOrderMatch score. */
9267
+ score?: number;
9268
+ }
9269
+ interface GoogleCloudAiplatformV1beta1TrajectoryInOrderMatchResults {
9270
+ /** Output only. TrajectoryInOrderMatch metric values. */
9271
+ trajectoryInOrderMatchMetricValues?: GoogleCloudAiplatformV1beta1TrajectoryInOrderMatchMetricValue[];
9272
+ }
9273
+ interface GoogleCloudAiplatformV1beta1TrajectoryInOrderMatchSpec {}
9274
+ interface GoogleCloudAiplatformV1beta1TrajectoryPrecisionInput {
9275
+ /** Required. Repeated TrajectoryPrecision instance. */
9276
+ instances?: GoogleCloudAiplatformV1beta1TrajectoryPrecisionInstance[];
9277
+ /** Required. Spec for TrajectoryPrecision metric. */
9278
+ metricSpec?: any;
9279
+ }
9280
+ interface GoogleCloudAiplatformV1beta1TrajectoryPrecisionInstance {
9281
+ /** Required. Spec for predicted tool call trajectory. */
9282
+ predictedTrajectory?: GoogleCloudAiplatformV1beta1Trajectory;
9283
+ /** Required. Spec for reference tool call trajectory. */
9284
+ referenceTrajectory?: GoogleCloudAiplatformV1beta1Trajectory;
9285
+ }
9286
+ interface GoogleCloudAiplatformV1beta1TrajectoryPrecisionMetricValue {
9287
+ /** Output only. TrajectoryPrecision score. */
9288
+ score?: number;
9289
+ }
9290
+ interface GoogleCloudAiplatformV1beta1TrajectoryPrecisionResults {
9291
+ /** Output only. TrajectoryPrecision metric values. */
9292
+ trajectoryPrecisionMetricValues?: GoogleCloudAiplatformV1beta1TrajectoryPrecisionMetricValue[];
9293
+ }
9294
+ interface GoogleCloudAiplatformV1beta1TrajectoryPrecisionSpec {}
9295
+ interface GoogleCloudAiplatformV1beta1TrajectoryRecallInput {
9296
+ /** Required. Repeated TrajectoryRecall instance. */
9297
+ instances?: GoogleCloudAiplatformV1beta1TrajectoryRecallInstance[];
9298
+ /** Required. Spec for TrajectoryRecall metric. */
9299
+ metricSpec?: any;
9300
+ }
9301
+ interface GoogleCloudAiplatformV1beta1TrajectoryRecallInstance {
9302
+ /** Required. Spec for predicted tool call trajectory. */
9303
+ predictedTrajectory?: GoogleCloudAiplatformV1beta1Trajectory;
9304
+ /** Required. Spec for reference tool call trajectory. */
9305
+ referenceTrajectory?: GoogleCloudAiplatformV1beta1Trajectory;
9306
+ }
9307
+ interface GoogleCloudAiplatformV1beta1TrajectoryRecallMetricValue {
9308
+ /** Output only. TrajectoryRecall score. */
9309
+ score?: number;
9310
+ }
9311
+ interface GoogleCloudAiplatformV1beta1TrajectoryRecallResults {
9312
+ /** Output only. TrajectoryRecall metric values. */
9313
+ trajectoryRecallMetricValues?: GoogleCloudAiplatformV1beta1TrajectoryRecallMetricValue[];
9314
+ }
9315
+ interface GoogleCloudAiplatformV1beta1TrajectoryRecallSpec {}
9316
+ interface GoogleCloudAiplatformV1beta1TrajectorySingleToolUseInput {
9317
+ /** Required. Repeated TrajectorySingleToolUse instance. */
9318
+ instances?: GoogleCloudAiplatformV1beta1TrajectorySingleToolUseInstance[];
9319
+ /** Required. Spec for TrajectorySingleToolUse metric. */
9320
+ metricSpec?: GoogleCloudAiplatformV1beta1TrajectorySingleToolUseSpec;
9321
+ }
9322
+ interface GoogleCloudAiplatformV1beta1TrajectorySingleToolUseInstance {
9323
+ /** Required. Spec for predicted tool call trajectory. */
9324
+ predictedTrajectory?: GoogleCloudAiplatformV1beta1Trajectory;
9325
+ }
9326
+ interface GoogleCloudAiplatformV1beta1TrajectorySingleToolUseMetricValue {
9327
+ /** Output only. TrajectorySingleToolUse score. */
9328
+ score?: number;
9329
+ }
9330
+ interface GoogleCloudAiplatformV1beta1TrajectorySingleToolUseResults {
9331
+ /** Output only. TrajectorySingleToolUse metric values. */
9332
+ trajectorySingleToolUseMetricValues?: GoogleCloudAiplatformV1beta1TrajectorySingleToolUseMetricValue[];
9333
+ }
9334
+ interface GoogleCloudAiplatformV1beta1TrajectorySingleToolUseSpec {
9335
+ /** Required. Spec for tool name to be checked for in the predicted trajectory. */
9336
+ toolName?: string;
9337
+ }
9126
9338
  interface GoogleCloudAiplatformV1beta1Trial {
9127
9339
  /** Output only. The identifier of the client that originally requested this Trial. Each client is identified by a unique client_id. When a client asks for a suggestion, Vertex AI Vizier will assign it a Trial. The client should evaluate the Trial, complete it, and report back to Vertex AI Vizier. If suggestion is asked again by same client_id before the Trial is completed, the same Trial will be returned. Multiple clients with different client_ids can ask for suggestions simultaneously, each of them will get their own Trial. */
9128
9340
  clientId?: string;
@@ -9422,6 +9634,10 @@ declare namespace gapi.client {
9422
9634
  /** Optional. The start offset of the video. */
9423
9635
  startOffset?: string;
9424
9636
  }
9637
+ interface GoogleCloudAiplatformV1beta1VoiceConfig {
9638
+ /** The configuration for the prebuilt voice to use. */
9639
+ prebuiltVoiceConfig?: GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig;
9640
+ }
9425
9641
  interface GoogleCloudAiplatformV1beta1WorkerPoolSpec {
9426
9642
  /** The custom container task. */
9427
9643
  containerSpec?: GoogleCloudAiplatformV1beta1ContainerSpec;
@@ -27345,7 +27561,7 @@ declare namespace gapi.client {
27345
27561
  callback?: string;
27346
27562
  /** Selector specifying which fields to include in a partial response. */
27347
27563
  fields?: string;
27348
- /** Optional. An expression for filtering the results of the request. For field names both snake_case and camelCase are supported. * `notebookRuntime` supports = and !=. `notebookRuntime` represents the NotebookRuntime ID, i.e. the last segment of the NotebookRuntime's resource name. * `displayName` supports = and != and regex. * `notebookRuntimeTemplate` supports = and !=. `notebookRuntimeTemplate` represents the NotebookRuntimeTemplate ID, i.e. the last segment of the NotebookRuntimeTemplate's resource name. * `healthState` supports = and !=. healthState enum: [HEALTHY, UNHEALTHY, HEALTH_STATE_UNSPECIFIED]. * `runtimeState` supports = and !=. runtimeState enum: [RUNTIME_STATE_UNSPECIFIED, RUNNING, BEING_STARTED, BEING_STOPPED, STOPPED, BEING_UPGRADED, ERROR, INVALID]. * `runtimeUser` supports = and !=. * API version is UI only: `uiState` supports = and !=. uiState enum: [UI_RESOURCE_STATE_UNSPECIFIED, UI_RESOURCE_STATE_BEING_CREATED, UI_RESOURCE_STATE_ACTIVE, UI_RESOURCE_STATE_BEING_DELETED, UI_RESOURCE_STATE_CREATION_FAILED]. * `notebookRuntimeType` supports = and !=. notebookRuntimeType enum: [USER_DEFINED, ONE_CLICK]. Some examples: * `notebookRuntime="notebookRuntime123"` * `displayName="myDisplayName"` and `displayName=~"myDisplayNameRegex"` * `notebookRuntimeTemplate="notebookRuntimeTemplate321"` * `healthState=HEALTHY` * `runtimeState=RUNNING` * `runtimeUser="test@google.com"` * `uiState=UI_RESOURCE_STATE_BEING_DELETED` * `notebookRuntimeType=USER_DEFINED` */
27564
+ /** Optional. An expression for filtering the results of the request. For field names both snake_case and camelCase are supported. * `notebookRuntime` supports = and !=. `notebookRuntime` represents the NotebookRuntime ID, i.e. the last segment of the NotebookRuntime's resource name. * `displayName` supports = and != and regex. * `notebookRuntimeTemplate` supports = and !=. `notebookRuntimeTemplate` represents the NotebookRuntimeTemplate ID, i.e. the last segment of the NotebookRuntimeTemplate's resource name. * `healthState` supports = and !=. healthState enum: [HEALTHY, UNHEALTHY, HEALTH_STATE_UNSPECIFIED]. * `runtimeState` supports = and !=. runtimeState enum: [RUNTIME_STATE_UNSPECIFIED, RUNNING, BEING_STARTED, BEING_STOPPED, STOPPED, BEING_UPGRADED, ERROR, INVALID]. * `runtimeUser` supports = and !=. * API version is UI only: `uiState` supports = and !=. uiState enum: [UI_RESOURCE_STATE_UNSPECIFIED, UI_RESOURCE_STATE_BEING_CREATED, UI_RESOURCE_STATE_ACTIVE, UI_RESOURCE_STATE_BEING_DELETED, UI_RESOURCE_STATE_CREATION_FAILED]. * `notebookRuntimeType` supports = and !=. notebookRuntimeType enum: [USER_DEFINED, ONE_CLICK]. * `machineType` supports = and !=. * `acceleratorType` supports = and !=. Some examples: * `notebookRuntime="notebookRuntime123"` * `displayName="myDisplayName"` and `displayName=~"myDisplayNameRegex"` * `notebookRuntimeTemplate="notebookRuntimeTemplate321"` * `healthState=HEALTHY` * `runtimeState=RUNNING` * `runtimeUser="test@google.com"` * `uiState=UI_RESOURCE_STATE_BEING_DELETED` * `notebookRuntimeType=USER_DEFINED` * `machineType=e2-standard-4` * `acceleratorType=NVIDIA_TESLA_T4` */
27349
27565
  filter?: string;
27350
27566
  /** 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. */
27351
27567
  key?: string;
@@ -27906,7 +28122,7 @@ declare namespace gapi.client {
27906
28122
  callback?: string;
27907
28123
  /** Selector specifying which fields to include in a partial response. */
27908
28124
  fields?: string;
27909
- /** Optional. An expression for filtering the results of the request. For field names both snake_case and camelCase are supported. * `notebookRuntimeTemplate` supports = and !=. `notebookRuntimeTemplate` represents the NotebookRuntimeTemplate ID, i.e. the last segment of the NotebookRuntimeTemplate's resource name. * `display_name` supports = and != * `labels` supports general map functions that is: * `labels.key=value` - key:value equality * `labels.key:* or labels:key - key existence * A key including a space must be quoted. `labels."a key"`. * `notebookRuntimeType` supports = and !=. notebookRuntimeType enum: [USER_DEFINED, ONE_CLICK]. Some examples: * `notebookRuntimeTemplate=notebookRuntimeTemplate123` * `displayName="myDisplayName"` * `labels.myKey="myValue"` * `notebookRuntimeType=USER_DEFINED` */
28125
+ /** Optional. An expression for filtering the results of the request. For field names both snake_case and camelCase are supported. * `notebookRuntimeTemplate` supports = and !=. `notebookRuntimeTemplate` represents the NotebookRuntimeTemplate ID, i.e. the last segment of the NotebookRuntimeTemplate's resource name. * `display_name` supports = and != * `labels` supports general map functions that is: * `labels.key=value` - key:value equality * `labels.key:* or labels:key - key existence * A key including a space must be quoted. `labels."a key"`. * `notebookRuntimeType` supports = and !=. notebookRuntimeType enum: [USER_DEFINED, ONE_CLICK]. * `machineType` supports = and !=. * `acceleratorType` supports = and !=. Some examples: * `notebookRuntimeTemplate=notebookRuntimeTemplate123` * `displayName="myDisplayName"` * `labels.myKey="myValue"` * `notebookRuntimeType=USER_DEFINED` * `machineType=e2-standard-4` * `acceleratorType=NVIDIA_TESLA_T4` */
27910
28126
  filter?: string;
27911
28127
  /** 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. */
27912
28128
  key?: string;
@@ -30756,6 +30972,64 @@ declare namespace gapi.client {
30756
30972
  },
30757
30973
  body: GoogleCloudAiplatformV1beta1QueryReasoningEngineRequest
30758
30974
  ): Request<GoogleCloudAiplatformV1beta1QueryReasoningEngineResponse>;
30975
+ /** Streams queries using a reasoning engine. */
30976
+ streamQuery(request: {
30977
+ /** V1 error format. */
30978
+ '$.xgafv'?: string;
30979
+ /** OAuth access token. */
30980
+ access_token?: string;
30981
+ /** Data format for response. */
30982
+ alt?: string;
30983
+ /** JSONP */
30984
+ callback?: string;
30985
+ /** Selector specifying which fields to include in a partial response. */
30986
+ fields?: string;
30987
+ /** 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. */
30988
+ key?: string;
30989
+ /** Required. The name of the ReasoningEngine resource to use. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
30990
+ name: string;
30991
+ /** OAuth 2.0 token for the current user. */
30992
+ oauth_token?: string;
30993
+ /** Returns response with indentations and line breaks. */
30994
+ prettyPrint?: boolean;
30995
+ /** 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. */
30996
+ quotaUser?: string;
30997
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
30998
+ upload_protocol?: string;
30999
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
31000
+ uploadType?: string;
31001
+ /** Request body */
31002
+ resource: GoogleCloudAiplatformV1beta1StreamQueryReasoningEngineRequest;
31003
+ }): Request<GoogleApiHttpBody>;
31004
+ streamQuery(
31005
+ request: {
31006
+ /** V1 error format. */
31007
+ '$.xgafv'?: string;
31008
+ /** OAuth access token. */
31009
+ access_token?: string;
31010
+ /** Data format for response. */
31011
+ alt?: string;
31012
+ /** JSONP */
31013
+ callback?: string;
31014
+ /** Selector specifying which fields to include in a partial response. */
31015
+ fields?: string;
31016
+ /** 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. */
31017
+ key?: string;
31018
+ /** Required. The name of the ReasoningEngine resource to use. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
31019
+ name: string;
31020
+ /** OAuth 2.0 token for the current user. */
31021
+ oauth_token?: string;
31022
+ /** Returns response with indentations and line breaks. */
31023
+ prettyPrint?: boolean;
31024
+ /** 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. */
31025
+ quotaUser?: string;
31026
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
31027
+ upload_protocol?: string;
31028
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
31029
+ uploadType?: string;
31030
+ },
31031
+ body: GoogleCloudAiplatformV1beta1StreamQueryReasoningEngineRequest
31032
+ ): Request<GoogleApiHttpBody>;
30759
31033
  operations: OperationsResource;
30760
31034
  }
30761
31035
  interface OperationsResource {
@@ -35289,6 +35563,64 @@ declare namespace gapi.client {
35289
35563
  },
35290
35564
  body: GoogleCloudAiplatformV1beta1CorroborateContentRequest
35291
35565
  ): Request<GoogleCloudAiplatformV1beta1CorroborateContentResponse>;
35566
+ /** Deploys publisher models. */
35567
+ deploy(request: {
35568
+ /** V1 error format. */
35569
+ '$.xgafv'?: string;
35570
+ /** OAuth access token. */
35571
+ access_token?: string;
35572
+ /** Data format for response. */
35573
+ alt?: string;
35574
+ /** JSONP */
35575
+ callback?: string;
35576
+ /** Required. The resource name of the Location to deploy the model in. Format: `projects/{project}/locations/{location}` */
35577
+ destination: string;
35578
+ /** Selector specifying which fields to include in a partial response. */
35579
+ fields?: string;
35580
+ /** 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. */
35581
+ key?: string;
35582
+ /** OAuth 2.0 token for the current user. */
35583
+ oauth_token?: string;
35584
+ /** Returns response with indentations and line breaks. */
35585
+ prettyPrint?: boolean;
35586
+ /** 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. */
35587
+ quotaUser?: string;
35588
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
35589
+ upload_protocol?: string;
35590
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
35591
+ uploadType?: string;
35592
+ /** Request body */
35593
+ resource: GoogleCloudAiplatformV1beta1DeployPublisherModelRequest;
35594
+ }): Request<GoogleLongrunningOperation>;
35595
+ deploy(
35596
+ request: {
35597
+ /** V1 error format. */
35598
+ '$.xgafv'?: string;
35599
+ /** OAuth access token. */
35600
+ access_token?: string;
35601
+ /** Data format for response. */
35602
+ alt?: string;
35603
+ /** JSONP */
35604
+ callback?: string;
35605
+ /** Required. The resource name of the Location to deploy the model in. Format: `projects/{project}/locations/{location}` */
35606
+ destination: string;
35607
+ /** Selector specifying which fields to include in a partial response. */
35608
+ fields?: string;
35609
+ /** 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. */
35610
+ key?: string;
35611
+ /** OAuth 2.0 token for the current user. */
35612
+ oauth_token?: string;
35613
+ /** Returns response with indentations and line breaks. */
35614
+ prettyPrint?: boolean;
35615
+ /** 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. */
35616
+ quotaUser?: string;
35617
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
35618
+ upload_protocol?: string;
35619
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
35620
+ uploadType?: string;
35621
+ },
35622
+ body: GoogleCloudAiplatformV1beta1DeployPublisherModelRequest
35623
+ ): Request<GoogleLongrunningOperation>;
35292
35624
  /** Evaluates instances based on a given metric. */
35293
35625
  evaluateInstances(request: {
35294
35626
  /** V1 error format. */
@@ -35824,6 +36156,8 @@ declare namespace gapi.client {
35824
36156
  key?: string;
35825
36157
  /** Optional. The IETF BCP-47 language code representing the language in which the publisher models' text information should be written in. If not set, by default English (en). */
35826
36158
  languageCode?: string;
36159
+ /** Optional. List all publisher model versions if the flag is set to true. */
36160
+ listAllVersions?: boolean;
35827
36161
  /** OAuth 2.0 token for the current user. */
35828
36162
  oauth_token?: string;
35829
36163
  /** Optional. A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.aiplatform-v1beta1",
3
- "version": "0.0.20241119",
3
+ "version": "0.0.20241203",
4
4
  "description": "TypeScript typings for Vertex AI API v1beta1",
5
5
  "repository": {
6
6
  "type": "git",