@maxim_mazurok/gapi.client.aiplatform-v1beta1 0.4.20251117 → 0.4.20251219

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 (3) hide show
  1. package/index.d.ts +359 -45
  2. package/package.json +1 -1
  3. package/readme.md +15 -0
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: 20251117
12
+ // Revision: 20251219
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -577,7 +577,7 @@ declare namespace gapi.client {
577
577
  labels?: {[P in string]: string};
578
578
  /** Immutable. Parameters configuring the batch behavior. Currently only applicable when dedicated_resources are used (in other cases Vertex AI does the tuning itself). */
579
579
  manualBatchTuningParameters?: GoogleCloudAiplatformV1beta1ManualBatchTuningParameters;
580
- /** The name of the Model resource that produces the predictions via this job, must share the same ancestor Location. Starting this job has no impact on any existing deployments of the Model and their resources. Exactly one of model and unmanaged_container_model must be set. The model resource name may contain version id or version alias to specify the version. Example: `projects/{project}/locations/{location}/models/{model}@2` or `projects/{project}/locations/{location}/models/{model}@golden` if no version is specified, the default version will be deployed. The model resource could also be a publisher model. Example: `publishers/{publisher}/models/{model}` or `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}` */
580
+ /** The name of the Model resource that produces the predictions via this job, must share the same ancestor Location. Starting this job has no impact on any existing deployments of the Model and their resources. Exactly one of model, unmanaged_container_model, or endpoint must be set. The model resource name may contain version id or version alias to specify the version. Example: `projects/{project}/locations/{location}/models/{model}@2` or `projects/{project}/locations/{location}/models/{model}@golden` if no version is specified, the default version will be deployed. The model resource could also be a publisher model. Example: `publishers/{publisher}/models/{model}` or `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}` */
581
581
  model?: string;
582
582
  /** Model monitoring config will be used for analysis model behaviors, based on the input and output to the batch prediction job, as well as the provided training dataset. */
583
583
  modelMonitoringConfig?: GoogleCloudAiplatformV1beta1ModelMonitoringConfig;
@@ -609,7 +609,7 @@ declare namespace gapi.client {
609
609
  startTime?: string;
610
610
  /** Output only. The detailed state of the job. */
611
611
  state?: string;
612
- /** Contains model information necessary to perform batch prediction without requiring uploading to model registry. Exactly one of model and unmanaged_container_model must be set. */
612
+ /** Contains model information necessary to perform batch prediction without requiring uploading to model registry. Exactly one of model, unmanaged_container_model, or endpoint must be set. */
613
613
  unmanagedContainerModel?: GoogleCloudAiplatformV1beta1UnmanagedContainerModel;
614
614
  /** Output only. Time when the BatchPredictionJob was most recently updated. */
615
615
  updateTime?: string;
@@ -1688,6 +1688,8 @@ declare namespace gapi.client {
1688
1688
  explanationSpec?: GoogleCloudAiplatformV1beta1ExplanationSpec;
1689
1689
  /** Configuration for faster model deployment. */
1690
1690
  fasterDeploymentConfig?: GoogleCloudAiplatformV1beta1FasterDeploymentConfig;
1691
+ /** Optional. Resources for a full fine tuned model. */
1692
+ fullFineTunedResources?: GoogleCloudAiplatformV1beta1FullFineTunedResources;
1691
1693
  /** GDC pretrained / Gemini model name. The model name is a plain model name, e.g. gemini-1.5-flash-002. */
1692
1694
  gdcConnectedModel?: string;
1693
1695
  /** Immutable. The ID of the DeployedModel. If not provided upon deployment, Vertex AI will generate a value for this ID. This value should be 1-10 characters, and valid characters are `/[0-9]/`. */
@@ -1965,7 +1967,7 @@ declare namespace gapi.client {
1965
1967
  publisherEndpoint?: string;
1966
1968
  }
1967
1969
  interface GoogleCloudAiplatformV1beta1EncryptionSpec {
1968
- /** Required. The Cloud KMS resource identifier of the customer managed encryption key used to protect a resource. Has the form: `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`. The key needs to be in the same region as where the compute resource is created. */
1970
+ /** Required. Resource name of the Cloud KMS key used to protect the resource. The Cloud KMS key must be in the same region as the resource. It must have the format `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`. */
1969
1971
  kmsKeyName?: string;
1970
1972
  }
1971
1973
  interface GoogleCloudAiplatformV1beta1Endpoint {
@@ -2097,6 +2099,8 @@ declare namespace gapi.client {
2097
2099
  autoraterConfig?: GoogleCloudAiplatformV1beta1AutoraterConfig;
2098
2100
  /** Required. The dataset used for evaluation. */
2099
2101
  dataset?: GoogleCloudAiplatformV1beta1EvaluationDataset;
2102
+ /** Required. The resource name of the Location to evaluate the dataset. Format: `projects/{project}/locations/{location}` */
2103
+ location?: string;
2100
2104
  /** Required. The metrics used for evaluation. */
2101
2105
  metrics?: GoogleCloudAiplatformV1beta1Metric[];
2102
2106
  /** Required. Config for evaluation output. */
@@ -2137,6 +2141,8 @@ declare namespace gapi.client {
2137
2141
  groundednessInput?: GoogleCloudAiplatformV1beta1GroundednessInput;
2138
2142
  /** The instance to be evaluated. */
2139
2143
  instance?: GoogleCloudAiplatformV1beta1EvaluationInstance;
2144
+ /** Required. The resource name of the Location to evaluate the instances. Format: `projects/{project}/locations/{location}` */
2145
+ location?: string;
2140
2146
  /** The metrics used for evaluation. Currently, we only support evaluating a single metric. If multiple metrics are provided, only the first one will be evaluated. */
2141
2147
  metrics?: GoogleCloudAiplatformV1beta1Metric[];
2142
2148
  /** Input for Metricx metric. */
@@ -3275,6 +3281,8 @@ declare namespace gapi.client {
3275
3281
  bigtableMetadata?: GoogleCloudAiplatformV1beta1FeatureOnlineStoreBigtableBigtableMetadata;
3276
3282
  /** Optional. It true, enable direct access to the Bigtable instance. */
3277
3283
  enableDirectBigtableAccess?: boolean;
3284
+ /** Optional. The zone where the underlying Bigtable cluster for the primary Bigtable instance will be provisioned. Only the zone must be provided. For example, only "us-central1-a" should be provided. */
3285
+ zone?: string;
3278
3286
  }
3279
3287
  interface GoogleCloudAiplatformV1beta1FeatureOnlineStoreBigtableAutoScaling {
3280
3288
  /** Optional. A percentage of the cluster's CPU capacity. Can be from 10% to 80%. When a cluster's CPU utilization exceeds the target that you have set, Bigtable immediately adds nodes to the cluster. When CPU utilization is substantially lower than the target, Bigtable removes nodes. If not set will default to 50%. */
@@ -3819,6 +3827,12 @@ declare namespace gapi.client {
3819
3827
  /** Optional. Which version to use for evaluation. */
3820
3828
  version?: number;
3821
3829
  }
3830
+ interface GoogleCloudAiplatformV1beta1FullFineTunedResources {
3831
+ /** Required. The kind of deployment. */
3832
+ deploymentType?: string;
3833
+ /** Optional. The number of model inference units to use for this deployment. This can only be specified for DEPLOYMENT_TYPE_PROD. The following table lists the number of model inference units for different model types: * Gemini 2.5 Flash * Foundation FMIU: 25 * Expansion FMIU: 4 * Gemini 2.5 Pro * Foundation FMIU: 32 * Expansion FMIU: 16 * Veo 3.0 (undistilled) * Foundation FMIU: 63 * Expansion FMIU: 7 * Veo 3.0 (distilled) * Foundation FMIU: 30 * Expansion FMIU: 10 */
3834
+ modelInferenceUnitCount?: number;
3835
+ }
3822
3836
  interface GoogleCloudAiplatformV1beta1FullFineTuningSpec {
3823
3837
  /** Optional. Hyperparameters for Full Fine Tuning. */
3824
3838
  hyperParameters?: GoogleCloudAiplatformV1beta1SupervisedHyperParameters;
@@ -4049,6 +4063,8 @@ declare namespace gapi.client {
4049
4063
  agentConfig?: GoogleCloudAiplatformV1beta1EvaluationInstanceAgentConfig;
4050
4064
  /** Required. The prompt to generate rubrics from. For single-turn queries, this is a single instance. For multi-turn queries, this is a repeated field that contains conversation history + latest request. */
4051
4065
  contents?: GoogleCloudAiplatformV1beta1Content[];
4066
+ /** Required. The resource name of the Location to generate rubrics from. Format: `projects/{project}/locations/{location}` */
4067
+ location?: string;
4052
4068
  /** Optional. Specification for using the rubric generation configs of a pre-defined metric, e.g. "generic_quality_v1" and "instruction_following_v1". Some of the configs may be only used in rubric generation and not supporting evaluation, e.g. "fully_customized_generic_quality_v1". If this field is set, the `rubric_generation_spec` field will be ignored. */
4053
4069
  predefinedRubricGenerationSpec?: GoogleCloudAiplatformV1beta1PredefinedMetricSpec;
4054
4070
  /** Optional. Specification for how the rubrics should be generated. */
@@ -4067,6 +4083,12 @@ declare namespace gapi.client {
4067
4083
  disableConsolidation?: boolean;
4068
4084
  /** Optional. If true, no revisions will be created for this request. */
4069
4085
  disableMemoryRevisions?: boolean;
4086
+ /** Optional. User-provided metadata for the generated memories. This is not generated by Memory Bank. */
4087
+ metadata?: {
4088
+ [P in string]: GoogleCloudAiplatformV1beta1MemoryMetadataValue;
4089
+ };
4090
+ /** Optional. The strategy to use when applying metadata to existing memories. */
4091
+ metadataMergeStrategy?: string;
4070
4092
  /** Optional. Timestamp of when the revision is considered expired. If not set, the memory revision will be kept until manually deleted. */
4071
4093
  revisionExpireTime?: string;
4072
4094
  /** Optional. Labels to be applied to the generated memory revisions. For example, you can use this to label a revision with its data source. */
@@ -5231,7 +5253,7 @@ declare namespace gapi.client {
5231
5253
  volumeHandle?: string;
5232
5254
  }
5233
5255
  interface GoogleCloudAiplatformV1beta1MachineSpec {
5234
- /** The number of accelerators to attach to the machine. */
5256
+ /** The number of accelerators to attach to the machine. For accelerator optimized machine types (https://cloud.google.com/compute/docs/accelerator-optimized-machines), One may set the accelerator_count from 1 to N for machine with N GPUs. If accelerator_count is less than or equal to N / 2, Vertex will co-schedule the replicas of the model into the same VM to save cost. For example, if the machine type is a3-highgpu-8g, which has 8 H100 GPUs, one can set accelerator_count to 1 to 8. If accelerator_count is 1, 2, 3, or 4, Vertex will co-schedule 8, 4, 2, or 2 replicas of the model into the same VM to save cost. When co-scheduling, CPU, memory and storage on the VM will be distributed to replicas on the VM. For example, one can expect a co-scheduled replica requesting 2 GPUs out of a 8-GPU VM will receive 25% of the CPU, memory and storage of the VM. Note that the feature is not compatible with multihost_gpu_node_count. When multihost_gpu_node_count is set, the co-scheduling will not be enabled. */
5235
5257
  acceleratorCount?: number;
5236
5258
  /** Immutable. The type of accelerator(s) that may be attached to the machine as per accelerator_count. */
5237
5259
  acceleratorType?: string;
@@ -5279,6 +5301,10 @@ declare namespace gapi.client {
5279
5301
  expireTime?: string;
5280
5302
  /** Required. Semantic knowledge extracted from the source content. */
5281
5303
  fact?: string;
5304
+ /** Optional. User-provided metadata for the Memory. This information was provided when creating, updating, or generating the Memory. It was not generated by Memory Bank. */
5305
+ metadata?: {
5306
+ [P in string]: GoogleCloudAiplatformV1beta1MemoryMetadataValue;
5307
+ };
5282
5308
  /** Identifier. The resource name of the Memory. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/memories/{memory}` */
5283
5309
  name?: string;
5284
5310
  /** Optional. Input only. Timestamp of when the revision is considered expired. If not set, the memory revision will be kept until manually deleted. */
@@ -5297,6 +5323,8 @@ declare namespace gapi.client {
5297
5323
  updateTime?: string;
5298
5324
  }
5299
5325
  interface GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfig {
5326
+ /** Optional. If true, then the memories will be generated in the third person (i.e. "The user generates memories with Memory Bank."). By default, the memories will be generated in the first person (i.e. "I generate memories with Memory Bank.") */
5327
+ enableThirdPersonMemories?: boolean;
5300
5328
  /** Optional. Examples of how to generate memories for a particular scope. */
5301
5329
  generateMemoriesExamples?: GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfigGenerateMemoriesExample[];
5302
5330
  /** Optional. Topics of information that should be extracted from conversations and stored as memories. If not set, then Memory Bank's default topics will be used. */
@@ -5340,6 +5368,30 @@ declare namespace gapi.client {
5340
5368
  /** Required. The managed topic. */
5341
5369
  managedTopicEnum?: string;
5342
5370
  }
5371
+ interface GoogleCloudAiplatformV1beta1MemoryConjunctionFilter {
5372
+ /** Filters that will combined using AND logic. */
5373
+ filters?: GoogleCloudAiplatformV1beta1MemoryFilter[];
5374
+ }
5375
+ interface GoogleCloudAiplatformV1beta1MemoryFilter {
5376
+ /** Key of the filter. For example, "author" would apply to `metadata` entries with the key "author". */
5377
+ key?: string;
5378
+ /** If true, the filter will be negated. */
5379
+ negate?: boolean;
5380
+ /** Operator to apply to the filter. If not set, then EQUAL will be used. */
5381
+ op?: string;
5382
+ /** Value to compare to. */
5383
+ value?: GoogleCloudAiplatformV1beta1MemoryMetadataValue;
5384
+ }
5385
+ interface GoogleCloudAiplatformV1beta1MemoryMetadataValue {
5386
+ /** Boolean value. */
5387
+ boolValue?: boolean;
5388
+ /** Double value. */
5389
+ doubleValue?: number;
5390
+ /** String value. */
5391
+ stringValue?: string;
5392
+ /** Timestamp value. When filtering on timestamp values, only the seconds field will be compared. */
5393
+ timestampValue?: string;
5394
+ }
5343
5395
  interface GoogleCloudAiplatformV1beta1MemoryRevision {
5344
5396
  /** Output only. Timestamp when this Memory Revision was created. */
5345
5397
  createTime?: string;
@@ -6714,7 +6766,7 @@ declare namespace gapi.client {
6714
6766
  interface GoogleCloudAiplatformV1beta1OptimizePromptRequest {
6715
6767
  /** Required. The content to optimize. */
6716
6768
  content?: GoogleCloudAiplatformV1beta1Content;
6717
- /** Optional. The target model to optimize the prompt for. */
6769
+ /** Optional. The optimization strategy for prompt optimization. */
6718
6770
  optimizationTarget?: string;
6719
6771
  }
6720
6772
  interface GoogleCloudAiplatformV1beta1OptimizePromptResponse {
@@ -8038,6 +8090,8 @@ declare namespace gapi.client {
8038
8090
  ragEmbeddingModelConfig?: GoogleCloudAiplatformV1beta1RagEmbeddingModelConfig;
8039
8091
  /** The config for the RAG-managed Vector DB. */
8040
8092
  ragManagedDb?: GoogleCloudAiplatformV1beta1RagVectorDbConfigRagManagedDb;
8093
+ /** The config for the RAG-managed Vertex Vector Search 2.0. */
8094
+ ragManagedVertexVectorSearch?: GoogleCloudAiplatformV1beta1RagVectorDbConfigRagManagedVertexVectorSearch;
8041
8095
  /** The config for the Vertex Feature Store. */
8042
8096
  vertexFeatureStore?: GoogleCloudAiplatformV1beta1RagVectorDbConfigVertexFeatureStore;
8043
8097
  /** The config for the Vertex Vector Search. */
@@ -8062,6 +8116,10 @@ declare namespace gapi.client {
8062
8116
  treeDepth?: number;
8063
8117
  }
8064
8118
  interface GoogleCloudAiplatformV1beta1RagVectorDbConfigRagManagedDbKNN {}
8119
+ interface GoogleCloudAiplatformV1beta1RagVectorDbConfigRagManagedVertexVectorSearch {
8120
+ /** Output only. The resource name of the Vector Search 2.0 Collection that RAG Created for the corpus. Only populated after the corpus is successfully created. Format: `projects/{project}/locations/{location}/collections/{collection_id}` */
8121
+ collectionName?: string;
8122
+ }
8065
8123
  interface GoogleCloudAiplatformV1beta1RagVectorDbConfigVertexFeatureStore {
8066
8124
  /** The resource name of the FeatureView. Format: `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}` */
8067
8125
  featureViewResourceName?: string;
@@ -8291,19 +8349,33 @@ declare namespace gapi.client {
8291
8349
  requirementsGcsUri?: string;
8292
8350
  }
8293
8351
  interface GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpec {
8352
+ /** Source code is in a Git repository managed by Developer Connect. */
8353
+ developerConnectSource?: GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecDeveloperConnectSource;
8294
8354
  /** Source code is provided directly in the request. */
8295
8355
  inlineSource?: GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecInlineSource;
8296
8356
  /** Configuration for a Python application. */
8297
8357
  pythonSpec?: GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecPythonSpec;
8298
8358
  }
8359
+ interface GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecDeveloperConnectConfig {
8360
+ /** Required. Directory, relative to the source root, in which to run the build. */
8361
+ dir?: string;
8362
+ /** Required. The Developer Connect Git repository link, formatted as `projects/*‍/locations/*‍/connections/*‍/gitRepositoryLink/*`. */
8363
+ gitRepositoryLink?: string;
8364
+ /** Required. The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref. */
8365
+ revision?: string;
8366
+ }
8367
+ interface GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecDeveloperConnectSource {
8368
+ /** Required. The Developer Connect configuration that defines the specific repository, revision, and directory to use as the source code root. */
8369
+ config?: GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecDeveloperConnectConfig;
8370
+ }
8299
8371
  interface GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecInlineSource {
8300
- /** Required. Input only. The application source code archive, provided as a compressed tarball (.tar.gz) file. */
8372
+ /** Required. Input only. The application source code archive. It must be a compressed tarball (.tar.gz) file. */
8301
8373
  sourceArchive?: string;
8302
8374
  }
8303
8375
  interface GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecPythonSpec {
8304
- /** Optional. The Python module to load as the entrypoint, specified as a fully qualified module name. For example: path.to.agent. If not specified, defaults to "agent". The project root will be added to Python sys.path, allowing imports to be specified relative to the root. */
8376
+ /** Optional. The Python module to load as the entrypoint, specified as a fully qualified module name. For example: path.to.agent. If not specified, defaults to "agent". The project root will be added to Python sys.path, allowing imports to be specified relative to the root. This field should not be set if the source is `agent_config_source`. */
8305
8377
  entrypointModule?: string;
8306
- /** Optional. The name of the callable object within the `entrypoint_module` to use as the application If not specified, defaults to "root_agent". */
8378
+ /** Optional. The name of the callable object within the `entrypoint_module` to use as the application If not specified, defaults to "root_agent". This field should not be set if the source is `agent_config_source`. */
8307
8379
  entrypointObject?: string;
8308
8380
  /** Optional. The path to the requirements file, relative to the source root. If not specified, defaults to "requirements.txt". */
8309
8381
  requirementsFile?: string;
@@ -8378,7 +8450,7 @@ declare namespace gapi.client {
8378
8450
  exampleIds?: string[];
8379
8451
  }
8380
8452
  interface GoogleCloudAiplatformV1beta1ReplicatedVoiceConfig {
8381
- /** Optional. The mimetype of the voice sample. Currently only mime_type=audio/pcm is supported, which is raw mono 16-bit signed little-endian pcm data, with 24k sampling rate. */
8453
+ /** Optional. The mimetype of the voice sample. The only currently supported value is `audio/wav`. This represents 16-bit signed little-endian wav data, with a 24kHz sampling rate. `mime_type` will default to `audio/wav` if not set. */
8382
8454
  mimeType?: string;
8383
8455
  /** Optional. The sample of the custom voice. */
8384
8456
  voiceSampleAudio?: string;
@@ -8508,6 +8580,8 @@ declare namespace gapi.client {
8508
8580
  interface GoogleCloudAiplatformV1beta1RetrieveMemoriesRequest {
8509
8581
  /** Optional. The standard list filter that will be applied to the retrieved memories. More detail in [AIP-160](https://google.aip.dev/160). Supported fields: * `fact` * `create_time` * `update_time` * `topics` (i.e. `topics.custom_memory_topic_label: "example topic" OR topics.managed_memory_topic: USER_PREFERENCES`) */
8510
8582
  filter?: string;
8583
+ /** Optional. Metadata filters that will be applied to the retrieved memories' `metadata` using OR logic. Filters are defined using disjunctive normal form (OR of ANDs). For example: `filter_groups: [{filters: [{key: "author", value: {string_value: "agent 123"}, op: EQUAL}]}, {filters: [{key: "label", value: {string_value: "travel"}, op: EQUAL}, {key: "author", value: {string_value: "agent 321"}, op: EQUAL}]}]` would be equivalent to the logical expression: `(metadata.author = "agent 123" OR (metadata.label = "travel" AND metadata.author = "agent 321"))`. */
8584
+ filterGroups?: GoogleCloudAiplatformV1beta1MemoryConjunctionFilter[];
8511
8585
  /** Required. The scope of the memories to retrieve. A memory must have exactly the same scope (`Memory.scope`) as the scope provided here to be retrieved (same keys and values). Order does not matter, but it is case-sensitive. */
8512
8586
  scope?: {[P in string]: string};
8513
8587
  /** Parameters for semantic similarity search based retrieval. */
@@ -8884,55 +8958,55 @@ declare namespace gapi.client {
8884
8958
  timeout?: string;
8885
8959
  }
8886
8960
  interface GoogleCloudAiplatformV1beta1Schema {
8887
- /** Optional. Can either be a boolean or an object; controls the presence of additional properties. */
8961
+ /** Optional. If `type` is `OBJECT`, specifies how to handle properties not defined in `properties`. If it is a boolean `false`, no additional properties are allowed. If it is a schema, additional properties are allowed if they conform to the schema. */
8888
8962
  additionalProperties?: any;
8889
- /** Optional. The value should be validated against any (one or more) of the subschemas in the list. */
8963
+ /** Optional. The instance must be valid against any (one or more) of the subschemas listed in `any_of`. */
8890
8964
  anyOf?: GoogleCloudAiplatformV1beta1Schema[];
8891
- /** Optional. Default value of the data. */
8965
+ /** Optional. Default value to use if the field is not specified. */
8892
8966
  default?: any;
8893
- /** Optional. A map of definitions for use by `ref` Only allowed at the root of the schema. */
8967
+ /** Optional. `defs` provides a map of schema definitions that can be reused by `ref` elsewhere in the schema. Only allowed at root level of the schema. */
8894
8968
  defs?: {[P in string]: GoogleCloudAiplatformV1beta1Schema};
8895
- /** Optional. The description of the data. */
8969
+ /** Optional. Description of the schema. */
8896
8970
  description?: string;
8897
- /** Optional. Possible values of the element of primitive type with enum format. Examples: 1. We can define direction as : {type:STRING, format:enum, enum:["EAST", NORTH", "SOUTH", "WEST"]} 2. We can define apartment number as : {type:INTEGER, format:enum, enum:["101", "201", "301"]} */
8971
+ /** Optional. Possible values of the field. This field can be used to restrict a value to a fixed set of values. To mark a field as an enum, set `format` to `enum` and provide the list of possible values in `enum`. For example: 1. To define directions: `{type:STRING, format:enum, enum:["EAST", "NORTH", "SOUTH", "WEST"]}` 2. To define apartment numbers: `{type:INTEGER, format:enum, enum:["101", "201", "301"]}` */
8898
8972
  enum?: string[];
8899
- /** Optional. Example of the object. Will only populated when the object is the root. */
8973
+ /** Optional. Example of an instance of this schema. */
8900
8974
  example?: any;
8901
- /** Optional. The format of the data. Supported formats: for NUMBER type: "float", "double" for INTEGER type: "int32", "int64" for STRING type: "email", "byte", etc */
8975
+ /** Optional. The format of the data. For `NUMBER` type, format can be `float` or `double`. For `INTEGER` type, format can be `int32` or `int64`. For `STRING` type, format can be `email`, `byte`, `date`, `date-time`, `password`, and other formats to further refine the data type. */
8902
8976
  format?: string;
8903
- /** Optional. SCHEMA FIELDS FOR TYPE ARRAY Schema of the elements of Type.ARRAY. */
8977
+ /** Optional. If type is `ARRAY`, `items` specifies the schema of elements in the array. */
8904
8978
  items?: GoogleCloudAiplatformV1beta1Schema;
8905
- /** Optional. Maximum value of the Type.INTEGER and Type.NUMBER */
8979
+ /** Optional. If type is `INTEGER` or `NUMBER`, `maximum` specifies the maximum allowed value. */
8906
8980
  maximum?: number;
8907
- /** Optional. Maximum number of the elements for Type.ARRAY. */
8981
+ /** Optional. If type is `ARRAY`, `max_items` specifies the maximum number of items in an array. */
8908
8982
  maxItems?: string;
8909
- /** Optional. Maximum length of the Type.STRING */
8983
+ /** Optional. If type is `STRING`, `max_length` specifies the maximum length of the string. */
8910
8984
  maxLength?: string;
8911
- /** Optional. Maximum number of the properties for Type.OBJECT. */
8985
+ /** Optional. If type is `OBJECT`, `max_properties` specifies the maximum number of properties that can be provided. */
8912
8986
  maxProperties?: string;
8913
- /** Optional. SCHEMA FIELDS FOR TYPE INTEGER and NUMBER Minimum value of the Type.INTEGER and Type.NUMBER */
8987
+ /** Optional. If type is `INTEGER` or `NUMBER`, `minimum` specifies the minimum allowed value. */
8914
8988
  minimum?: number;
8915
- /** Optional. Minimum number of the elements for Type.ARRAY. */
8989
+ /** Optional. If type is `ARRAY`, `min_items` specifies the minimum number of items in an array. */
8916
8990
  minItems?: string;
8917
- /** Optional. SCHEMA FIELDS FOR TYPE STRING Minimum length of the Type.STRING */
8991
+ /** Optional. If type is `STRING`, `min_length` specifies the minimum length of the string. */
8918
8992
  minLength?: string;
8919
- /** Optional. Minimum number of the properties for Type.OBJECT. */
8993
+ /** Optional. If type is `OBJECT`, `min_properties` specifies the minimum number of properties that can be provided. */
8920
8994
  minProperties?: string;
8921
- /** Optional. Indicates if the value may be null. */
8995
+ /** Optional. Indicates if the value of this field can be null. */
8922
8996
  nullable?: boolean;
8923
- /** Optional. Pattern of the Type.STRING to restrict a string to a regular expression. */
8997
+ /** Optional. If type is `STRING`, `pattern` specifies a regular expression that the string must match. */
8924
8998
  pattern?: string;
8925
- /** Optional. SCHEMA FIELDS FOR TYPE OBJECT Properties of Type.OBJECT. */
8999
+ /** Optional. If type is `OBJECT`, `properties` is a map of property names to schema definitions for each property of the object. */
8926
9000
  properties?: {[P in string]: GoogleCloudAiplatformV1beta1Schema};
8927
- /** Optional. The order of the properties. Not a standard field in open api spec. Only used to support the order of the properties. */
9001
+ /** Optional. Order of properties displayed or used where order matters. This is not a standard field in OpenAPI specification, but can be used to control the order of properties. */
8928
9002
  propertyOrdering?: string[];
8929
- /** Optional. Allows indirect references between schema nodes. The value should be a valid reference to a child of the root `defs`. For example, the following schema defines a reference to a schema node named "Pet": type: object properties: pet: ref: #/defs/Pet defs: Pet: type: object properties: name: type: string The value of the "pet" property is a reference to the schema node named "Pet". See details in https://json-schema.org/understanding-json-schema/structuring */
9003
+ /** Optional. Allows referencing another schema definition to use in place of this schema. The value must be a valid reference to a schema in `defs`. For example, the following schema defines a reference to a schema node named "Pet": type: object properties: pet: ref: #/defs/Pet defs: Pet: type: object properties: name: type: string The value of the "pet" property is a reference to the schema node named "Pet". See details in https://json-schema.org/understanding-json-schema/structuring */
8930
9004
  ref?: string;
8931
- /** Optional. Required properties of Type.OBJECT. */
9005
+ /** Optional. If type is `OBJECT`, `required` lists the names of properties that must be present. */
8932
9006
  required?: string[];
8933
- /** Optional. The title of the Schema. */
9007
+ /** Optional. Title for the schema. */
8934
9008
  title?: string;
8935
- /** Optional. The type of the data. */
9009
+ /** Optional. Data type of the schema field. */
8936
9010
  type?: string;
8937
9011
  }
8938
9012
  interface GoogleCloudAiplatformV1beta1SchemaAnnotationSpecColor {
@@ -9587,6 +9661,8 @@ declare namespace gapi.client {
9587
9661
  interface GoogleCloudAiplatformV1beta1SchemaPromptSpecAppBuilderData {
9588
9662
  /** Serialized state of the code repository. This string will typically contain a JSON representation of the UI's CodeRepositoryService state (files, folders, content, and any metadata). The UI is responsible for serialization and deserialization. */
9589
9663
  codeRepositoryState?: string;
9664
+ /** Optional. Framework used to build the application. */
9665
+ framework?: string;
9590
9666
  /** Linked resources attached to the application by the user. */
9591
9667
  linkedResources?: GoogleCloudAiplatformV1beta1SchemaPromptSpecAppBuilderDataLinkedResource[];
9592
9668
  }
@@ -10328,9 +10404,9 @@ declare namespace gapi.client {
10328
10404
  strideLength?: string;
10329
10405
  }
10330
10406
  interface GoogleCloudAiplatformV1beta1SchemaVertex {
10331
- /** X coordinate. */
10407
+ /** X coordinate of the vertex, normalized to [0.0, 1.0]. */
10332
10408
  x?: number;
10333
- /** Y coordinate. */
10409
+ /** Y coordinate of the vertex, normalized to [0.0, 1.0]. */
10334
10410
  y?: number;
10335
10411
  }
10336
10412
  interface GoogleCloudAiplatformV1beta1SchemaVideoActionRecognitionAnnotation {
@@ -10556,7 +10632,7 @@ declare namespace gapi.client {
10556
10632
  createTime?: string;
10557
10633
  /** Optional. The display name of the session. */
10558
10634
  displayName?: string;
10559
- /** Optional. Timestamp of when this session is considered expired. This is *always* provided on output, regardless of what was sent on input. */
10635
+ /** Optional. Timestamp of when this session is considered expired. This is *always* provided on output, regardless of what was sent on input. The minimum value is 24 hours from the time of creation. */
10560
10636
  expireTime?: string;
10561
10637
  /** The labels with user-defined metadata to organize your Sessions. 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. */
10562
10638
  labels?: {[P in string]: string};
@@ -10564,7 +10640,7 @@ declare namespace gapi.client {
10564
10640
  name?: string;
10565
10641
  /** Optional. Session specific memory which stores key conversation points. */
10566
10642
  sessionState?: {[P in string]: any};
10567
- /** Optional. Input only. The TTL for this session. */
10643
+ /** Optional. Input only. The TTL for this session. The minimum value is 24 hours. */
10568
10644
  ttl?: string;
10569
10645
  /** Output only. Timestamp when the session was updated. */
10570
10646
  updateTime?: string;
@@ -11398,6 +11474,8 @@ declare namespace gapi.client {
11398
11474
  googleSearch?: GoogleCloudAiplatformV1beta1ToolGoogleSearch;
11399
11475
  /** Optional. Specialized retrieval tool that is powered by Google Search. */
11400
11476
  googleSearchRetrieval?: GoogleCloudAiplatformV1beta1GoogleSearchRetrieval;
11477
+ /** Optional. If specified, Vertex AI will use Parallel.ai to search for information to answer user queries. The search results will be grounded on Parallel.ai and presented to the model for response generation */
11478
+ parallelAiSearch?: GoogleCloudAiplatformV1beta1ToolParallelAiSearch;
11401
11479
  /** 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. */
11402
11480
  retrieval?: GoogleCloudAiplatformV1beta1Retrieval;
11403
11481
  /** Optional. Tool to support URL context retrieval. */
@@ -11470,6 +11548,12 @@ declare namespace gapi.client {
11470
11548
  toolNameMatchMetricValues?: GoogleCloudAiplatformV1beta1ToolNameMatchMetricValue[];
11471
11549
  }
11472
11550
  interface GoogleCloudAiplatformV1beta1ToolNameMatchSpec {}
11551
+ interface GoogleCloudAiplatformV1beta1ToolParallelAiSearch {
11552
+ /** Optional. The API key for ParallelAiSearch. If an API key is not provided, the system will attempt to verify access by checking for an active Parallel.ai subscription through the Google Cloud Marketplace. See https://docs.parallel.ai/search/search-quickstart for more details. */
11553
+ apiKey?: string;
11554
+ /** Optional. Custom configs for ParallelAiSearch. This field can be used to pass any parameter from the Parallel.ai Search API. See the Parallel.ai documentation for the full list of available parameters and their usage: https://docs.parallel.ai/api-reference/search-beta/search Currently only `source_policy`, `excerpts`, `max_results`, `mode`, `fetch_policy` can be set via this field. For example: { "source_policy": { "include_domains": ["google.com", "wikipedia.org"], "exclude_domains": ["example.com"] }, "fetch_policy": { "max_age_seconds": 3600 } } */
11555
+ customConfigs?: {[P in string]: any};
11556
+ }
11473
11557
  interface GoogleCloudAiplatformV1beta1ToolParameterKeyMatchInput {
11474
11558
  /** Required. Repeated tool parameter key match instances. */
11475
11559
  instances?: GoogleCloudAiplatformV1beta1ToolParameterKeyMatchInstance[];
@@ -12071,6 +12155,8 @@ declare namespace gapi.client {
12071
12155
  learningRateMultiplier?: number;
12072
12156
  /** Optional. The tuning task. Either I2V or T2V. */
12073
12157
  tuningTask?: string;
12158
+ /** Optional. The ratio of Google internal dataset to use in the training mixture, in range of `[0, 1)`. If `0.2`, it means 20% of Google internal dataset and 80% of user dataset will be used for training. */
12159
+ veoDataMixtureRatio?: number;
12074
12160
  }
12075
12161
  interface GoogleCloudAiplatformV1beta1VeoTuningSpec {
12076
12162
  /** Optional. Hyperparameters for Veo. */
@@ -23914,6 +24000,68 @@ declare namespace gapi.client {
23914
24000
  ): Request<GoogleApiHttpBody>;
23915
24001
  }
23916
24002
  interface OpenapiResource {
24003
+ /** Forwards arbitrary HTTP requests for both streaming and non-streaming cases. To use this method, invoke_route_prefix must be set to allow the paths that will be specified in the request. */
24004
+ completions(request: {
24005
+ /** V1 error format. */
24006
+ '$.xgafv'?: string;
24007
+ /** OAuth access token. */
24008
+ access_token?: string;
24009
+ /** Data format for response. */
24010
+ alt?: string;
24011
+ /** JSONP */
24012
+ callback?: string;
24013
+ /** ID of the DeployedModel that serves the invoke request. */
24014
+ deployedModelId?: string;
24015
+ /** Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
24016
+ endpoint: string;
24017
+ /** Selector specifying which fields to include in a partial response. */
24018
+ fields?: string;
24019
+ /** 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. */
24020
+ key?: string;
24021
+ /** OAuth 2.0 token for the current user. */
24022
+ oauth_token?: string;
24023
+ /** Returns response with indentations and line breaks. */
24024
+ prettyPrint?: boolean;
24025
+ /** 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. */
24026
+ quotaUser?: string;
24027
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
24028
+ upload_protocol?: string;
24029
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
24030
+ uploadType?: string;
24031
+ /** Request body */
24032
+ resource: GoogleApiHttpBody;
24033
+ }): Request<GoogleApiHttpBody>;
24034
+ completions(
24035
+ request: {
24036
+ /** V1 error format. */
24037
+ '$.xgafv'?: string;
24038
+ /** OAuth access token. */
24039
+ access_token?: string;
24040
+ /** Data format for response. */
24041
+ alt?: string;
24042
+ /** JSONP */
24043
+ callback?: string;
24044
+ /** ID of the DeployedModel that serves the invoke request. */
24045
+ deployedModelId?: string;
24046
+ /** Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
24047
+ endpoint: string;
24048
+ /** Selector specifying which fields to include in a partial response. */
24049
+ fields?: string;
24050
+ /** 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. */
24051
+ key?: string;
24052
+ /** OAuth 2.0 token for the current user. */
24053
+ oauth_token?: string;
24054
+ /** Returns response with indentations and line breaks. */
24055
+ prettyPrint?: boolean;
24056
+ /** 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. */
24057
+ quotaUser?: string;
24058
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
24059
+ upload_protocol?: string;
24060
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
24061
+ uploadType?: string;
24062
+ },
24063
+ body: GoogleApiHttpBody,
24064
+ ): Request<GoogleApiHttpBody>;
23917
24065
  /** Forwards arbitrary HTTP requests for both streaming and non-streaming cases. To use this method, invoke_route_prefix must be set to allow the paths that will be specified in the request. */
23918
24066
  embeddings(request: {
23919
24067
  /** V1 error format. */
@@ -25220,7 +25368,7 @@ declare namespace gapi.client {
25220
25368
  alt?: string;
25221
25369
  /** JSONP */
25222
25370
  callback?: string;
25223
- /** Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
25371
+ /** Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` or `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}` */
25224
25372
  endpoint: string;
25225
25373
  /** Selector specifying which fields to include in a partial response. */
25226
25374
  fields?: string;
@@ -25249,7 +25397,7 @@ declare namespace gapi.client {
25249
25397
  alt?: string;
25250
25398
  /** JSONP */
25251
25399
  callback?: string;
25252
- /** Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
25400
+ /** Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` or `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}` */
25253
25401
  endpoint: string;
25254
25402
  /** Selector specifying which fields to include in a partial response. */
25255
25403
  fields?: string;
@@ -39809,7 +39957,7 @@ declare namespace gapi.client {
39809
39957
  prettyPrint?: boolean;
39810
39958
  /** 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. */
39811
39959
  quotaUser?: string;
39812
- /** Required. The update mask applies to the resource. For the `FieldMask` definition, see google.protobuf.FieldMask. Input format: `{paths: "${updated_filed}"}` Updatable fields: * `encryption_spec.kms_key_name` */
39960
+ /** Required. The update mask applies to the resource. For the `FieldMask` definition, see google.protobuf.FieldMask. Input format: `{paths: "${updated_field}"}` Updatable fields: * `encryption_spec.kms_key_name` * `display_name` * `software_config.post_startup_script_config.post_startup_script` * `software_config.post_startup_script_config.post_startup_script_url` * `software_config.post_startup_script_config.post_startup_script_behavior` * `software_config.env` * `software_config.colab_image.release_name` */
39813
39961
  updateMask?: string;
39814
39962
  /** Upload protocol for media (e.g. "raw", "multipart"). */
39815
39963
  upload_protocol?: string;
@@ -39840,7 +39988,7 @@ declare namespace gapi.client {
39840
39988
  prettyPrint?: boolean;
39841
39989
  /** 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. */
39842
39990
  quotaUser?: string;
39843
- /** Required. The update mask applies to the resource. For the `FieldMask` definition, see google.protobuf.FieldMask. Input format: `{paths: "${updated_filed}"}` Updatable fields: * `encryption_spec.kms_key_name` */
39991
+ /** Required. The update mask applies to the resource. For the `FieldMask` definition, see google.protobuf.FieldMask. Input format: `{paths: "${updated_field}"}` Updatable fields: * `encryption_spec.kms_key_name` * `display_name` * `software_config.post_startup_script_config.post_startup_script` * `software_config.post_startup_script_config.post_startup_script_url` * `software_config.post_startup_script_config.post_startup_script_behavior` * `software_config.env` * `software_config.colab_image.release_name` */
39844
39992
  updateMask?: string;
39845
39993
  /** Upload protocol for media (e.g. "raw", "multipart"). */
39846
39994
  upload_protocol?: string;
@@ -41717,7 +41865,7 @@ declare namespace gapi.client {
41717
41865
  alt?: string;
41718
41866
  /** JSONP */
41719
41867
  callback?: string;
41720
- /** Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
41868
+ /** Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` or `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}` */
41721
41869
  endpoint: string;
41722
41870
  /** Selector specifying which fields to include in a partial response. */
41723
41871
  fields?: string;
@@ -41746,7 +41894,7 @@ declare namespace gapi.client {
41746
41894
  alt?: string;
41747
41895
  /** JSONP */
41748
41896
  callback?: string;
41749
- /** Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
41897
+ /** Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` or `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}` */
41750
41898
  endpoint: string;
41751
41899
  /** Selector specifying which fields to include in a partial response. */
41752
41900
  fields?: string;
@@ -55290,6 +55438,170 @@ declare namespace gapi.client {
55290
55438
  interface TuningJobsResource {
55291
55439
  operations: OperationsResource;
55292
55440
  }
55441
+ interface V1beta1Resource {
55442
+ /** Evaluates a dataset based on a set of given metrics. */
55443
+ evaluateDataset(request: {
55444
+ /** V1 error format. */
55445
+ '$.xgafv'?: string;
55446
+ /** OAuth access token. */
55447
+ access_token?: string;
55448
+ /** Data format for response. */
55449
+ alt?: string;
55450
+ /** JSONP */
55451
+ callback?: string;
55452
+ /** Selector specifying which fields to include in a partial response. */
55453
+ fields?: string;
55454
+ /** 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. */
55455
+ key?: string;
55456
+ /** OAuth 2.0 token for the current user. */
55457
+ oauth_token?: string;
55458
+ /** Returns response with indentations and line breaks. */
55459
+ prettyPrint?: boolean;
55460
+ /** 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. */
55461
+ quotaUser?: string;
55462
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
55463
+ upload_protocol?: string;
55464
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
55465
+ uploadType?: string;
55466
+ /** Request body */
55467
+ resource: GoogleCloudAiplatformV1beta1EvaluateDatasetRequest;
55468
+ }): Request<GoogleLongrunningOperation>;
55469
+ evaluateDataset(
55470
+ request: {
55471
+ /** V1 error format. */
55472
+ '$.xgafv'?: string;
55473
+ /** OAuth access token. */
55474
+ access_token?: string;
55475
+ /** Data format for response. */
55476
+ alt?: string;
55477
+ /** JSONP */
55478
+ callback?: string;
55479
+ /** Selector specifying which fields to include in a partial response. */
55480
+ fields?: string;
55481
+ /** 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. */
55482
+ key?: string;
55483
+ /** OAuth 2.0 token for the current user. */
55484
+ oauth_token?: string;
55485
+ /** Returns response with indentations and line breaks. */
55486
+ prettyPrint?: boolean;
55487
+ /** 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. */
55488
+ quotaUser?: string;
55489
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
55490
+ upload_protocol?: string;
55491
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
55492
+ uploadType?: string;
55493
+ },
55494
+ body: GoogleCloudAiplatformV1beta1EvaluateDatasetRequest,
55495
+ ): Request<GoogleLongrunningOperation>;
55496
+ /** Evaluates instances based on a given metric. */
55497
+ evaluateInstances(request: {
55498
+ /** V1 error format. */
55499
+ '$.xgafv'?: string;
55500
+ /** OAuth access token. */
55501
+ access_token?: string;
55502
+ /** Data format for response. */
55503
+ alt?: string;
55504
+ /** JSONP */
55505
+ callback?: string;
55506
+ /** Selector specifying which fields to include in a partial response. */
55507
+ fields?: string;
55508
+ /** 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. */
55509
+ key?: string;
55510
+ /** OAuth 2.0 token for the current user. */
55511
+ oauth_token?: string;
55512
+ /** Returns response with indentations and line breaks. */
55513
+ prettyPrint?: boolean;
55514
+ /** 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. */
55515
+ quotaUser?: string;
55516
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
55517
+ upload_protocol?: string;
55518
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
55519
+ uploadType?: string;
55520
+ /** Request body */
55521
+ resource: GoogleCloudAiplatformV1beta1EvaluateInstancesRequest;
55522
+ }): Request<GoogleCloudAiplatformV1beta1EvaluateInstancesResponse>;
55523
+ evaluateInstances(
55524
+ request: {
55525
+ /** V1 error format. */
55526
+ '$.xgafv'?: string;
55527
+ /** OAuth access token. */
55528
+ access_token?: string;
55529
+ /** Data format for response. */
55530
+ alt?: string;
55531
+ /** JSONP */
55532
+ callback?: string;
55533
+ /** Selector specifying which fields to include in a partial response. */
55534
+ fields?: string;
55535
+ /** 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. */
55536
+ key?: string;
55537
+ /** OAuth 2.0 token for the current user. */
55538
+ oauth_token?: string;
55539
+ /** Returns response with indentations and line breaks. */
55540
+ prettyPrint?: boolean;
55541
+ /** 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. */
55542
+ quotaUser?: string;
55543
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
55544
+ upload_protocol?: string;
55545
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
55546
+ uploadType?: string;
55547
+ },
55548
+ body: GoogleCloudAiplatformV1beta1EvaluateInstancesRequest,
55549
+ ): Request<GoogleCloudAiplatformV1beta1EvaluateInstancesResponse>;
55550
+ /** Generates rubrics for a given prompt. A rubric represents a single testable criterion for evaluation. One input prompt could have multiple rubrics This RPC allows users to get suggested rubrics based on provided prompt, which can then be reviewed and used for subsequent evaluations. */
55551
+ generateInstanceRubrics(request: {
55552
+ /** V1 error format. */
55553
+ '$.xgafv'?: string;
55554
+ /** OAuth access token. */
55555
+ access_token?: string;
55556
+ /** Data format for response. */
55557
+ alt?: string;
55558
+ /** JSONP */
55559
+ callback?: string;
55560
+ /** Selector specifying which fields to include in a partial response. */
55561
+ fields?: string;
55562
+ /** 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. */
55563
+ key?: string;
55564
+ /** OAuth 2.0 token for the current user. */
55565
+ oauth_token?: string;
55566
+ /** Returns response with indentations and line breaks. */
55567
+ prettyPrint?: boolean;
55568
+ /** 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. */
55569
+ quotaUser?: string;
55570
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
55571
+ upload_protocol?: string;
55572
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
55573
+ uploadType?: string;
55574
+ /** Request body */
55575
+ resource: GoogleCloudAiplatformV1beta1GenerateInstanceRubricsRequest;
55576
+ }): Request<GoogleCloudAiplatformV1beta1GenerateInstanceRubricsResponse>;
55577
+ generateInstanceRubrics(
55578
+ request: {
55579
+ /** V1 error format. */
55580
+ '$.xgafv'?: string;
55581
+ /** OAuth access token. */
55582
+ access_token?: string;
55583
+ /** Data format for response. */
55584
+ alt?: string;
55585
+ /** JSONP */
55586
+ callback?: string;
55587
+ /** Selector specifying which fields to include in a partial response. */
55588
+ fields?: string;
55589
+ /** 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. */
55590
+ key?: string;
55591
+ /** OAuth 2.0 token for the current user. */
55592
+ oauth_token?: string;
55593
+ /** Returns response with indentations and line breaks. */
55594
+ prettyPrint?: boolean;
55595
+ /** 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. */
55596
+ quotaUser?: string;
55597
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
55598
+ upload_protocol?: string;
55599
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
55600
+ uploadType?: string;
55601
+ },
55602
+ body: GoogleCloudAiplatformV1beta1GenerateInstanceRubricsRequest,
55603
+ ): Request<GoogleCloudAiplatformV1beta1GenerateInstanceRubricsResponse>;
55604
+ }
55293
55605
 
55294
55606
  const agents: AgentsResource;
55295
55607
 
@@ -55384,5 +55696,7 @@ declare namespace gapi.client {
55384
55696
  const trainingPipelines: TrainingPipelinesResource;
55385
55697
 
55386
55698
  const tuningJobs: TuningJobsResource;
55699
+
55700
+ const v1beta1: V1beta1Resource;
55387
55701
  }
55388
55702
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.aiplatform-v1beta1",
3
- "version": "0.4.20251117",
3
+ "version": "0.4.20251219",
4
4
  "description": "TypeScript typings for Vertex AI API v1beta1",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -240,6 +240,21 @@ await gapi.client.aiplatform.reasoningEngines.query({name: 'name'});
240
240
  Streams queries using a reasoning engine.
241
241
  */
242
242
  await gapi.client.aiplatform.reasoningEngines.streamQuery({name: 'name'});
243
+
244
+ /*
245
+ Evaluates a dataset based on a set of given metrics.
246
+ */
247
+ await gapi.client.aiplatform.evaluateDataset({});
248
+
249
+ /*
250
+ Evaluates instances based on a given metric.
251
+ */
252
+ await gapi.client.aiplatform.evaluateInstances({});
253
+
254
+ /*
255
+ Generates rubrics for a given prompt. A rubric represents a single testable criterion for evaluation. One input prompt could have multiple rubrics This RPC allows users to get suggested rubrics based on provided prompt, which can then be reviewed and used for subsequent evaluations.
256
+ */
257
+ await gapi.client.aiplatform.generateInstanceRubrics({});
243
258
  ```
244
259
 
245
260
  For provenance information see [Provenance section on NPM](https://www.npmjs.com/package/@maxim_mazurok/gapi.client.aiplatform-v1beta1#Provenance:~:text=none-,Provenance,-Built%20and%20signed)