|
23425 | 23425 | }
|
23426 | 23426 | }
|
23427 | 23427 | },
|
23428 |
| - "revision": "20250502", |
| 23428 | + "revision": "20250519", |
23429 | 23429 | "rootUrl": "https://aiplatform.googleapis.com/",
|
23430 | 23430 | "schemas": {
|
23431 | 23431 | "CloudAiLargeModelsVisionGenerateVideoResponse": {
|
|
24078 | 24078 | "apiKeySecretVersion": {
|
24079 | 24079 | "description": "Required. The SecretManager secret version resource name storing API key. e.g. projects/{project}/secrets/{secret}/versions/{version}",
|
24080 | 24080 | "type": "string"
|
| 24081 | + }, |
| 24082 | + "apiKeyString": { |
| 24083 | + "description": "The API key string. Either this or `api_key_secret_version` must be set.", |
| 24084 | + "type": "string" |
24081 | 24085 | }
|
24082 | 24086 | },
|
24083 | 24087 | "type": "object"
|
|
30623 | 30627 | },
|
30624 | 30628 | "type": "object"
|
30625 | 30629 | },
|
| 30630 | + "GoogleCloudAiplatformV1beta1ExternalApi": { |
| 30631 | + "description": "Retrieve from data source powered by external API for grounding. The external API is not owned by Google, but need to follow the pre-defined API spec.", |
| 30632 | + "id": "GoogleCloudAiplatformV1beta1ExternalApi", |
| 30633 | + "properties": { |
| 30634 | + "apiAuth": { |
| 30635 | + "$ref": "GoogleCloudAiplatformV1beta1ApiAuth", |
| 30636 | + "deprecated": true, |
| 30637 | + "description": "The authentication config to access the API. Deprecated. Please use auth_config instead." |
| 30638 | + }, |
| 30639 | + "apiSpec": { |
| 30640 | + "description": "The API spec that the external API implements.", |
| 30641 | + "enum": [ |
| 30642 | + "API_SPEC_UNSPECIFIED", |
| 30643 | + "SIMPLE_SEARCH", |
| 30644 | + "ELASTIC_SEARCH" |
| 30645 | + ], |
| 30646 | + "enumDescriptions": [ |
| 30647 | + "Unspecified API spec. This value should not be used.", |
| 30648 | + "Simple search API spec.", |
| 30649 | + "Elastic search API spec." |
| 30650 | + ], |
| 30651 | + "type": "string" |
| 30652 | + }, |
| 30653 | + "authConfig": { |
| 30654 | + "$ref": "GoogleCloudAiplatformV1beta1AuthConfig", |
| 30655 | + "description": "The authentication config to access the API." |
| 30656 | + }, |
| 30657 | + "elasticSearchParams": { |
| 30658 | + "$ref": "GoogleCloudAiplatformV1beta1ExternalApiElasticSearchParams", |
| 30659 | + "description": "Parameters for the elastic search API." |
| 30660 | + }, |
| 30661 | + "endpoint": { |
| 30662 | + "description": "The endpoint of the external API. The system will call the API at this endpoint to retrieve the data for grounding. Example: https://acme.com:443/search", |
| 30663 | + "type": "string" |
| 30664 | + }, |
| 30665 | + "simpleSearchParams": { |
| 30666 | + "$ref": "GoogleCloudAiplatformV1beta1ExternalApiSimpleSearchParams", |
| 30667 | + "description": "Parameters for the simple search API." |
| 30668 | + } |
| 30669 | + }, |
| 30670 | + "type": "object" |
| 30671 | + }, |
| 30672 | + "GoogleCloudAiplatformV1beta1ExternalApiElasticSearchParams": { |
| 30673 | + "description": "The search parameters to use for the ELASTIC_SEARCH spec.", |
| 30674 | + "id": "GoogleCloudAiplatformV1beta1ExternalApiElasticSearchParams", |
| 30675 | + "properties": { |
| 30676 | + "index": { |
| 30677 | + "description": "The ElasticSearch index to use.", |
| 30678 | + "type": "string" |
| 30679 | + }, |
| 30680 | + "numHits": { |
| 30681 | + "description": "Optional. Number of hits (chunks) to request. When specified, it is passed to Elasticsearch as the `num_hits` param.", |
| 30682 | + "format": "int32", |
| 30683 | + "type": "integer" |
| 30684 | + }, |
| 30685 | + "searchTemplate": { |
| 30686 | + "description": "The ElasticSearch search template to use.", |
| 30687 | + "type": "string" |
| 30688 | + } |
| 30689 | + }, |
| 30690 | + "type": "object" |
| 30691 | + }, |
| 30692 | + "GoogleCloudAiplatformV1beta1ExternalApiSimpleSearchParams": { |
| 30693 | + "description": "The search parameters to use for SIMPLE_SEARCH spec.", |
| 30694 | + "id": "GoogleCloudAiplatformV1beta1ExternalApiSimpleSearchParams", |
| 30695 | + "properties": {}, |
| 30696 | + "type": "object" |
| 30697 | + }, |
30626 | 30698 | "GoogleCloudAiplatformV1beta1Fact": {
|
30627 | 30699 | "description": "The fact used in grounding.",
|
30628 | 30700 | "id": "GoogleCloudAiplatformV1beta1Fact",
|
|
31245 | 31317 | "id": "GoogleCloudAiplatformV1beta1FeatureSelectionConfigFeatureConfig",
|
31246 | 31318 | "properties": {
|
31247 | 31319 | "driftThreshold": {
|
31248 |
| - "description": "Optional. Drift threshold. If calculated difference with baseline data larger than threshold, it will be considered as the feature has drift. If not present, the threshold will be default to 0.3.", |
| 31320 | + "description": "Optional. Drift threshold. If calculated difference with baseline data larger than threshold, it will be considered as the feature has drift. If not present, the threshold will be default to 0.3. Must be in range [0, 1).", |
31249 | 31321 | "format": "double",
|
31250 | 31322 | "type": "number"
|
31251 | 31323 | },
|
|
34123 | 34195 | "$ref": "GoogleCloudAiplatformV1beta1RagFileTransformationConfig",
|
34124 | 34196 | "description": "Specifies the transformation config for RagFiles."
|
34125 | 34197 | },
|
| 34198 | + "rebuildAnnIndex": { |
| 34199 | + "description": "Rebuilds the ANN index to optimize for recall on the imported data. Only applicable for RagCorpora running on RagManagedDb with `retrieval_strategy` set to `ANN`. The rebuild will be performed using the existing ANN config set on the RagCorpus. To change the ANN config, please use the UpdateRagCorpus API. Default is false, i.e., index is not rebuilt.", |
| 34200 | + "type": "boolean" |
| 34201 | + }, |
34126 | 34202 | "sharePointSources": {
|
34127 | 34203 | "$ref": "GoogleCloudAiplatformV1beta1SharePointSources",
|
34128 | 34204 | "description": "SharePoint sources."
|
|
37463 | 37539 | "description": "The display name of the ModelMonitor. The name can be up to 128 characters long and can consist of any UTF-8.",
|
37464 | 37540 | "type": "string"
|
37465 | 37541 | },
|
| 37542 | + "encryptionSpec": { |
| 37543 | + "$ref": "GoogleCloudAiplatformV1beta1EncryptionSpec", |
| 37544 | + "description": "Customer-managed encryption key spec for a ModelMonitor. If set, this ModelMonitor and all sub-resources of this ModelMonitor will be secured by this key." |
| 37545 | + }, |
37466 | 37546 | "explanationSpec": {
|
37467 | 37547 | "$ref": "GoogleCloudAiplatformV1beta1ExplanationSpec",
|
37468 | 37548 | "description": "Optional model explanation spec. It is used for feature attribution monitoring."
|
|
42683 | 42763 | "description": "Required. The display name of the RagCorpus. The name can be up to 128 characters long and can consist of any UTF-8 characters.",
|
42684 | 42764 | "type": "string"
|
42685 | 42765 | },
|
| 42766 | + "encryptionSpec": { |
| 42767 | + "$ref": "GoogleCloudAiplatformV1beta1EncryptionSpec", |
| 42768 | + "description": "Optional. Immutable. The CMEK key name used to encrypt at-rest data related to this Corpus. Only applicable to RagManagedDb option for Vector DB. This field can only be set at corpus creation time, and cannot be updated or deleted." |
| 42769 | + }, |
42686 | 42770 | "name": {
|
42687 | 42771 | "description": "Output only. The resource name of the RagCorpus.",
|
42688 | 42772 | "readOnly": true,
|
|
43001 | 43085 | "type": "object"
|
43002 | 43086 | },
|
43003 | 43087 | "GoogleCloudAiplatformV1beta1RagFileParsingConfigLlmParser": {
|
43004 |
| - "description": "Specifies the advanced parsing for RagFiles.", |
| 43088 | + "description": "Specifies the LLM parsing for RagFiles.", |
43005 | 43089 | "id": "GoogleCloudAiplatformV1beta1RagFileParsingConfigLlmParser",
|
43006 | 43090 | "properties": {
|
43007 | 43091 | "customParsingPrompt": {
|
|
43244 | 43328 | "GoogleCloudAiplatformV1beta1RagVectorDbConfigRagManagedDb": {
|
43245 | 43329 | "description": "The config for the default RAG-managed Vector DB.",
|
43246 | 43330 | "id": "GoogleCloudAiplatformV1beta1RagVectorDbConfigRagManagedDb",
|
| 43331 | + "properties": { |
| 43332 | + "ann": { |
| 43333 | + "$ref": "GoogleCloudAiplatformV1beta1RagVectorDbConfigRagManagedDbANN", |
| 43334 | + "description": "Performs an ANN search on RagCorpus. Use this if you have a lot of files (\u003e 10K) in your RagCorpus and want to reduce the search latency." |
| 43335 | + }, |
| 43336 | + "knn": { |
| 43337 | + "$ref": "GoogleCloudAiplatformV1beta1RagVectorDbConfigRagManagedDbKNN", |
| 43338 | + "description": "Performs a KNN search on RagCorpus. Default choice if not specified." |
| 43339 | + } |
| 43340 | + }, |
| 43341 | + "type": "object" |
| 43342 | + }, |
| 43343 | + "GoogleCloudAiplatformV1beta1RagVectorDbConfigRagManagedDbANN": { |
| 43344 | + "description": "Config for ANN search. RagManagedDb uses a tree-based structure to partition data and facilitate faster searches. As a tradeoff, it requires longer indexing time and manual triggering of index rebuild via the ImportRagFiles and UpdateRagCorpus API.", |
| 43345 | + "id": "GoogleCloudAiplatformV1beta1RagVectorDbConfigRagManagedDbANN", |
| 43346 | + "properties": { |
| 43347 | + "leafCount": { |
| 43348 | + "description": "Number of leaf nodes in the tree-based structure. Each leaf node contains groups of closely related vectors along with their corresponding centroid. Recommended value is 10 * sqrt(num of RagFiles in your RagCorpus). Default value is 500.", |
| 43349 | + "format": "int32", |
| 43350 | + "type": "integer" |
| 43351 | + }, |
| 43352 | + "treeDepth": { |
| 43353 | + "description": "The depth of the tree-based structure. Only depth values of 2 and 3 are supported. Recommended value is 2 if you have if you have O(10K) files in the RagCorpus and set this to 3 if more than that. Default value is 2.", |
| 43354 | + "format": "int32", |
| 43355 | + "type": "integer" |
| 43356 | + } |
| 43357 | + }, |
| 43358 | + "type": "object" |
| 43359 | + }, |
| 43360 | + "GoogleCloudAiplatformV1beta1RagVectorDbConfigRagManagedDbKNN": { |
| 43361 | + "description": "Config for KNN search.", |
| 43362 | + "id": "GoogleCloudAiplatformV1beta1RagVectorDbConfigRagManagedDbKNN", |
43247 | 43363 | "properties": {},
|
43248 | 43364 | "type": "object"
|
43249 | 43365 | },
|
|
44073 | 44189 | "description": "Optional. Deprecated. This option is no longer supported.",
|
44074 | 44190 | "type": "boolean"
|
44075 | 44191 | },
|
| 44192 | + "externalApi": { |
| 44193 | + "$ref": "GoogleCloudAiplatformV1beta1ExternalApi", |
| 44194 | + "description": "Use data source powered by external API for grounding." |
| 44195 | + }, |
44076 | 44196 | "vertexAiSearch": {
|
44077 | 44197 | "$ref": "GoogleCloudAiplatformV1beta1VertexAISearch",
|
44078 | 44198 | "description": "Set to use data source powered by Vertex AI Search."
|
|
53883 | 54003 | "description": "Retrieve from Vertex AI Search datastore or engine for grounding. datastore and engine are mutually exclusive. See https://cloud.google.com/products/agent-builder",
|
53884 | 54004 | "id": "GoogleCloudAiplatformV1beta1VertexAISearch",
|
53885 | 54005 | "properties": {
|
| 54006 | + "dataStoreSpecs": { |
| 54007 | + "description": "Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. It should only be set if engine is used.", |
| 54008 | + "items": { |
| 54009 | + "$ref": "GoogleCloudAiplatformV1beta1VertexAISearchDataStoreSpec" |
| 54010 | + }, |
| 54011 | + "type": "array" |
| 54012 | + }, |
53886 | 54013 | "datastore": {
|
53887 | 54014 | "description": "Optional. Fully-qualified Vertex AI Search data store resource ID. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}`",
|
53888 | 54015 | "type": "string"
|
|
53903 | 54030 | },
|
53904 | 54031 | "type": "object"
|
53905 | 54032 | },
|
| 54033 | + "GoogleCloudAiplatformV1beta1VertexAISearchDataStoreSpec": { |
| 54034 | + "description": "Define data stores within engine to filter on in a search call and configurations for those data stores. For more information, see https://cloud.google.com/generative-ai-app-builder/docs/reference/rpc/google.cloud.discoveryengine.v1#datastorespec", |
| 54035 | + "id": "GoogleCloudAiplatformV1beta1VertexAISearchDataStoreSpec", |
| 54036 | + "properties": { |
| 54037 | + "dataStore": { |
| 54038 | + "description": "Full resource name of DataStore, such as Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}`", |
| 54039 | + "type": "string" |
| 54040 | + }, |
| 54041 | + "filter": { |
| 54042 | + "description": "Optional. Filter specification to filter documents in the data store specified by data_store field. For more information on filtering, see [Filtering](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata)", |
| 54043 | + "type": "string" |
| 54044 | + } |
| 54045 | + }, |
| 54046 | + "type": "object" |
| 54047 | + }, |
53906 | 54048 | "GoogleCloudAiplatformV1beta1VertexAiSearchConfig": {
|
53907 | 54049 | "description": "Config for the Vertex AI Search.",
|
53908 | 54050 | "id": "GoogleCloudAiplatformV1beta1VertexAiSearchConfig",
|
|
0 commit comments