{
  "ownerName": "Google",
  "endpoints": [
    {
      "endpointUrl": "https://vectorsearch.us.rep.googleapis.com/",
      "location": "us",
      "description": "Regional Endpoint"
    }
  ],
  "revision": "20260615",
  "documentationLink": "https://docs.cloud.google.com/vertex-ai/docs/vector-search-2/overview",
  "fullyEncodeReservedExpansion": true,
  "mtlsRootUrl": "https://vectorsearch.mtls.googleapis.com/",
  "version_module": true,
  "description": "The Vector Search API provides a fully-managed, highly performant, and scalable vector database designed to power next-generation search, recommendation, and generative AI applications. It allows you to store, index, and query your data and its corresponding vector embeddings through a simple, intuitive interface. With Vector Search, you can define custom schemas for your data, insert objects with associated metadata, automatically generate embeddings from your data, and perform fast approximate nearest neighbor (ANN) searches to find semantically similar items at scale.",
  "id": "vectorsearch:v1",
  "icons": {
    "x16": "http://www.google.com/images/icons/product/search-16.gif",
    "x32": "http://www.google.com/images/icons/product/search-32.gif"
  },
  "ownerDomain": "google.com",
  "discoveryVersion": "v1",
  "title": "Vector Search API",
  "version": "v1",
  "protocol": "rest",
  "rootUrl": "https://vectorsearch.googleapis.com/",
  "batchPath": "batch",
  "basePath": "",
  "kind": "discovery#restDescription",
  "name": "vectorsearch",
  "baseUrl": "https://vectorsearch.googleapis.com/",
  "parameters": {
    "oauth_token": {
      "description": "OAuth 2.0 token for the current user.",
      "location": "query",
      "type": "string"
    },
    "quotaUser": {
      "description": "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.",
      "location": "query",
      "type": "string"
    },
    "access_token": {
      "type": "string",
      "description": "OAuth access token.",
      "location": "query"
    },
    "alt": {
      "default": "json",
      "type": "string",
      "description": "Data format for response.",
      "enumDescriptions": [
        "Responses with Content-Type of application/json",
        "Media download with context-dependent Content-Type",
        "Responses with Content-Type of application/x-protobuf"
      ],
      "location": "query",
      "enum": [
        "json",
        "media",
        "proto"
      ]
    },
    "callback": {
      "description": "JSONP",
      "location": "query",
      "type": "string"
    },
    "fields": {
      "type": "string",
      "description": "Selector specifying which fields to include in a partial response.",
      "location": "query"
    },
    "$.xgafv": {
      "type": "string",
      "description": "V1 error format.",
      "enumDescriptions": [
        "v1 error format",
        "v2 error format"
      ],
      "location": "query",
      "enum": [
        "1",
        "2"
      ]
    },
    "key": {
      "description": "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.",
      "location": "query",
      "type": "string"
    },
    "uploadType": {
      "type": "string",
      "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
      "location": "query"
    },
    "prettyPrint": {
      "default": "true",
      "type": "boolean",
      "description": "Returns response with indentations and line breaks.",
      "location": "query"
    },
    "upload_protocol": {
      "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
      "location": "query",
      "type": "string"
    }
  },
  "servicePath": "",
  "auth": {
    "oauth2": {
      "scopes": {
        "https://www.googleapis.com/auth/cloud-platform": {
          "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account."
        }
      }
    }
  },
  "resources": {
    "projects": {
      "resources": {
        "locations": {
          "resources": {
            "operations": {
              "methods": {
                "list": {
                  "parameters": {
                    "name": {
                      "required": true,
                      "type": "string",
                      "description": "The name of the operation's parent resource.",
                      "location": "path",
                      "pattern": "^projects/[^/]+/locations/[^/]+$"
                    },
                    "pageSize": {
                      "type": "integer",
                      "format": "int32",
                      "description": "The standard list page size.",
                      "location": "query"
                    },
                    "filter": {
                      "description": "The standard list filter.",
                      "location": "query",
                      "type": "string"
                    },
                    "pageToken": {
                      "description": "The standard list page token.",
                      "location": "query",
                      "type": "string"
                    },
                    "returnPartialSuccess": {
                      "type": "boolean",
                      "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.",
                      "location": "query"
                    }
                  },
                  "response": {
                    "$ref": "GoogleLongrunningListOperationsResponse"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "path": "v1/{+name}/operations",
                  "id": "vectorsearch.projects.locations.operations.list",
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations",
                  "httpMethod": "GET",
                  "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.",
                  "parameterOrder": [
                    "name"
                  ]
                },
                "get": {
                  "parameters": {
                    "name": {
                      "required": true,
                      "type": "string",
                      "description": "The name of the operation resource.",
                      "location": "path",
                      "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$"
                    }
                  },
                  "response": {
                    "$ref": "GoogleLongrunningOperation"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "path": "v1/{+name}",
                  "id": "vectorsearch.projects.locations.operations.get",
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}",
                  "httpMethod": "GET",
                  "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.",
                  "parameterOrder": [
                    "name"
                  ]
                },
                "delete": {
                  "path": "v1/{+name}",
                  "response": {
                    "$ref": "Empty"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "parameters": {
                    "name": {
                      "required": true,
                      "type": "string",
                      "description": "The name of the operation resource to be deleted.",
                      "location": "path",
                      "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$"
                    }
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}",
                  "httpMethod": "DELETE",
                  "description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.",
                  "id": "vectorsearch.projects.locations.operations.delete"
                },
                "cancel": {
                  "parameterOrder": [
                    "name"
                  ],
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel",
                  "httpMethod": "POST",
                  "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.",
                  "id": "vectorsearch.projects.locations.operations.cancel",
                  "request": {
                    "$ref": "GoogleLongrunningCancelOperationRequest"
                  },
                  "path": "v1/{+name}:cancel",
                  "response": {
                    "$ref": "Empty"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "parameters": {
                    "name": {
                      "description": "The name of the operation resource to be cancelled.",
                      "location": "path",
                      "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$",
                      "required": true,
                      "type": "string"
                    }
                  }
                }
              }
            },
            "collections": {
              "methods": {
                "list": {
                  "parameters": {
                    "pageSize": {
                      "description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.",
                      "location": "query",
                      "type": "integer",
                      "format": "int32"
                    },
                    "parent": {
                      "description": "Required. Parent value for ListCollectionsRequest",
                      "location": "path",
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "required": true,
                      "type": "string"
                    },
                    "orderBy": {
                      "type": "string",
                      "description": "Optional. Hint for how to order the results",
                      "location": "query"
                    },
                    "pageToken": {
                      "description": "Optional. A token identifying a page of results the server should return.",
                      "location": "query",
                      "type": "string"
                    },
                    "filter": {
                      "description": "Optional. Filtering results",
                      "location": "query",
                      "type": "string"
                    }
                  },
                  "response": {
                    "$ref": "GoogleCloudVectorsearchV1ListCollectionsResponse"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "path": "v1/{+parent}/collections",
                  "id": "vectorsearch.projects.locations.collections.list",
                  "httpMethod": "GET",
                  "description": "Lists Collections in a given project and location.",
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections",
                  "parameterOrder": [
                    "parent"
                  ]
                },
                "importDataObjects": {
                  "path": "v1/{+name}:importDataObjects",
                  "response": {
                    "$ref": "GoogleLongrunningOperation"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "parameters": {
                    "name": {
                      "required": true,
                      "type": "string",
                      "description": "Required. The resource name of the Collection to import DataObjects into. Format: `projects/{project}/locations/{location}/collections/{collection}`.",
                      "location": "path",
                      "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$"
                    }
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}:importDataObjects",
                  "httpMethod": "POST",
                  "description": "Initiates a Long-Running Operation to import DataObjects into a Collection.",
                  "id": "vectorsearch.projects.locations.collections.importDataObjects",
                  "request": {
                    "$ref": "GoogleCloudVectorsearchV1ImportDataObjectsRequest"
                  }
                },
                "create": {
                  "parameterOrder": [
                    "parent"
                  ],
                  "httpMethod": "POST",
                  "description": "Creates a new Collection in a given project and location.",
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections",
                  "id": "vectorsearch.projects.locations.collections.create",
                  "request": {
                    "$ref": "GoogleCloudVectorsearchV1Collection"
                  },
                  "path": "v1/{+parent}/collections",
                  "response": {
                    "$ref": "GoogleLongrunningOperation"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "parameters": {
                    "parent": {
                      "description": "Required. Value for parent.",
                      "location": "path",
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "required": true,
                      "type": "string"
                    },
                    "collectionId": {
                      "type": "string",
                      "description": "Required. ID of the Collection to create. The id must be 1-63 characters long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt). Specifically, it must be 1-63 characters long and match the regular expression `[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?`.",
                      "location": "query"
                    },
                    "requestId": {
                      "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
                      "location": "query",
                      "type": "string"
                    }
                  }
                },
                "get": {
                  "response": {
                    "$ref": "GoogleCloudVectorsearchV1Collection"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "path": "v1/{+name}",
                  "parameters": {
                    "name": {
                      "description": "Required. Name of the resource",
                      "location": "path",
                      "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$",
                      "required": true,
                      "type": "string"
                    }
                  },
                  "httpMethod": "GET",
                  "description": "Gets details of a single Collection.",
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}",
                  "parameterOrder": [
                    "name"
                  ],
                  "id": "vectorsearch.projects.locations.collections.get"
                },
                "delete": {
                  "response": {
                    "$ref": "GoogleLongrunningOperation"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "path": "v1/{+name}",
                  "parameters": {
                    "name": {
                      "required": true,
                      "type": "string",
                      "description": "Required. Name of the resource",
                      "location": "path",
                      "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$"
                    },
                    "requestId": {
                      "type": "string",
                      "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
                      "location": "query"
                    }
                  },
                  "httpMethod": "DELETE",
                  "description": "Deletes a single Collection.",
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}",
                  "parameterOrder": [
                    "name"
                  ],
                  "id": "vectorsearch.projects.locations.collections.delete"
                },
                "exportDataObjects": {
                  "parameters": {
                    "name": {
                      "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$",
                      "description": "Required. The resource name of the Collection from which we want to export Data Objects. Format: `projects/{project}/locations/{location}/collections/{collection}`.",
                      "location": "path",
                      "type": "string",
                      "required": true
                    }
                  },
                  "response": {
                    "$ref": "GoogleLongrunningOperation"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "path": "v1/{+name}:exportDataObjects",
                  "request": {
                    "$ref": "GoogleCloudVectorsearchV1ExportDataObjectsRequest"
                  },
                  "id": "vectorsearch.projects.locations.collections.exportDataObjects",
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}:exportDataObjects",
                  "httpMethod": "POST",
                  "description": "Initiates a Long-Running Operation to export DataObjects from a Collection.",
                  "parameterOrder": [
                    "name"
                  ]
                },
                "patch": {
                  "parameterOrder": [
                    "name"
                  ],
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}",
                  "httpMethod": "PATCH",
                  "description": "Updates the parameters of a single Collection.",
                  "id": "vectorsearch.projects.locations.collections.patch",
                  "request": {
                    "$ref": "GoogleCloudVectorsearchV1Collection"
                  },
                  "path": "v1/{+name}",
                  "response": {
                    "$ref": "GoogleLongrunningOperation"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "parameters": {
                    "updateMask": {
                      "type": "string",
                      "format": "google-fieldmask",
                      "description": "Optional. Field mask is used to specify the fields to be overwritten in the Collection resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields present in the request will be overwritten. The following fields support update: `display_name`, `description`, `labels`, `data_schema`, `vector_schema`. For `data_schema` and `vector_schema`, fields can only be added, not deleted, but `vertex_embedding_config` in `vector_schema` can be added or removed. Partial updates for `data_schema` and `vector_schema` are also supported by using sub-field paths in `update_mask`, e.g. `data_schema.properties.foo` or `vector_schema.my_vector_field`. If `*` is provided in the update_mask, full replacement will be performed.",
                      "location": "query"
                    },
                    "name": {
                      "type": "string",
                      "required": true,
                      "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$",
                      "description": "Identifier. name of resource",
                      "location": "path"
                    },
                    "requestId": {
                      "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
                      "location": "query",
                      "type": "string"
                    }
                  }
                }
              },
              "resources": {
                "indexes": {
                  "methods": {
                    "list": {
                      "id": "vectorsearch.projects.locations.collections.indexes.list",
                      "parameterOrder": [
                        "parent"
                      ],
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/indexes",
                      "httpMethod": "GET",
                      "description": "Lists Indexes in a given project and location.",
                      "parameters": {
                        "pageSize": {
                          "description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.",
                          "location": "query",
                          "type": "integer",
                          "format": "int32"
                        },
                        "filter": {
                          "type": "string",
                          "description": "Optional. Filtering results",
                          "location": "query"
                        },
                        "parent": {
                          "description": "Required. Parent value for ListIndexesRequest",
                          "location": "path",
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$",
                          "required": true,
                          "type": "string"
                        },
                        "orderBy": {
                          "description": "Optional. Hint for how to order the results",
                          "location": "query",
                          "type": "string"
                        },
                        "pageToken": {
                          "description": "Optional. A token identifying a page of results the server should return.",
                          "location": "query",
                          "type": "string"
                        }
                      },
                      "path": "v1/{+parent}/indexes",
                      "response": {
                        "$ref": "GoogleCloudVectorsearchV1ListIndexesResponse"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ]
                    },
                    "create": {
                      "id": "vectorsearch.projects.locations.collections.indexes.create",
                      "request": {
                        "$ref": "GoogleCloudVectorsearchV1Index"
                      },
                      "parameterOrder": [
                        "parent"
                      ],
                      "httpMethod": "POST",
                      "description": "Creates a new Index in a given project and location.",
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/indexes",
                      "parameters": {
                        "requestId": {
                          "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
                          "location": "query",
                          "type": "string"
                        },
                        "parent": {
                          "type": "string",
                          "required": true,
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$",
                          "description": "Required. The resource name of the Collection for which to create the Index. Format: `projects/{project}/locations/{location}/collections/{collection}`",
                          "location": "path"
                        },
                        "indexId": {
                          "type": "string",
                          "description": "Required. ID of the Index to create. The id must be 1-63 characters long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt). Specifically, it must be 1-63 characters long and match the regular expression `[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?`.",
                          "location": "query"
                        }
                      },
                      "path": "v1/{+parent}/indexes",
                      "response": {
                        "$ref": "GoogleLongrunningOperation"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ]
                    },
                    "get": {
                      "response": {
                        "$ref": "GoogleCloudVectorsearchV1Index"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "path": "v1/{+name}",
                      "parameters": {
                        "name": {
                          "required": true,
                          "type": "string",
                          "description": "Required. Name of the resource",
                          "location": "path",
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/indexes/[^/]+$"
                        }
                      },
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/indexes/{indexesId}",
                      "httpMethod": "GET",
                      "description": "Gets details of a single Index.",
                      "parameterOrder": [
                        "name"
                      ],
                      "id": "vectorsearch.projects.locations.collections.indexes.get"
                    },
                    "delete": {
                      "id": "vectorsearch.projects.locations.collections.indexes.delete",
                      "parameterOrder": [
                        "name"
                      ],
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/indexes/{indexesId}",
                      "httpMethod": "DELETE",
                      "description": "Deletes a single Index.",
                      "parameters": {
                        "name": {
                          "type": "string",
                          "required": true,
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/indexes/[^/]+$",
                          "description": "Required. The resource name of the Index to delete. Format: `projects/{project}/locations/{location}/collections/{collection}/indexes/{index}`",
                          "location": "path"
                        },
                        "requestId": {
                          "type": "string",
                          "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
                          "location": "query"
                        }
                      },
                      "path": "v1/{+name}",
                      "response": {
                        "$ref": "GoogleLongrunningOperation"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ]
                    },
                    "patch": {
                      "parameterOrder": [
                        "name"
                      ],
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/indexes/{indexesId}",
                      "httpMethod": "PATCH",
                      "description": "Updates the parameters of a single Index.",
                      "id": "vectorsearch.projects.locations.collections.indexes.patch",
                      "request": {
                        "$ref": "GoogleCloudVectorsearchV1Index"
                      },
                      "path": "v1/{+name}",
                      "response": {
                        "$ref": "GoogleLongrunningOperation"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "parameters": {
                        "updateMask": {
                          "type": "string",
                          "format": "google-fieldmask",
                          "description": "Optional. Specifies the fields to be overwritten in the Index resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields present in the request with non-empty values will be overwritten. The following fields support update: * `display_name` * `description` * `labels` * `dedicated_infrastructure.autoscaling_spec.min_replica_count` * `dedicated_infrastructure.autoscaling_spec.max_replica_count` If `*` is provided in the `update_mask`, full replacement of mutable fields will be performed.",
                          "location": "query"
                        },
                        "name": {
                          "type": "string",
                          "required": true,
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/indexes/[^/]+$",
                          "description": "Identifier. name of resource",
                          "location": "path"
                        },
                        "requestId": {
                          "type": "string",
                          "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
                          "location": "query"
                        }
                      }
                    }
                  }
                },
                "dataObjects": {
                  "methods": {
                    "get": {
                      "parameters": {
                        "name": {
                          "type": "string",
                          "required": true,
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataObjects/[^/]+$",
                          "description": "Required. The name of the DataObject resource. Format: `projects/{project}/locations/{location}/collections/{collection}/dataObjects/{dataObject}`",
                          "location": "path"
                        }
                      },
                      "response": {
                        "$ref": "GoogleCloudVectorsearchV1DataObject"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "path": "v1/{+name}",
                      "id": "vectorsearch.projects.locations.collections.dataObjects.get",
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataObjects/{dataObjectsId}",
                      "httpMethod": "GET",
                      "description": "Gets a data object.",
                      "parameterOrder": [
                        "name"
                      ]
                    },
                    "search": {
                      "parameters": {
                        "parent": {
                          "type": "string",
                          "required": true,
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$",
                          "description": "Required. The resource name of the Collection for which to search. Format: `projects/{project}/locations/{location}/collections/{collection}`",
                          "location": "path"
                        }
                      },
                      "response": {
                        "$ref": "GoogleCloudVectorsearchV1SearchDataObjectsResponse"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "path": "v1/{+parent}/dataObjects:search",
                      "request": {
                        "$ref": "GoogleCloudVectorsearchV1SearchDataObjectsRequest"
                      },
                      "id": "vectorsearch.projects.locations.collections.dataObjects.search",
                      "httpMethod": "POST",
                      "description": "Searches data objects.",
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataObjects:search",
                      "parameterOrder": [
                        "parent"
                      ]
                    },
                    "batchDelete": {
                      "id": "vectorsearch.projects.locations.collections.dataObjects.batchDelete",
                      "request": {
                        "$ref": "GoogleCloudVectorsearchV1BatchDeleteDataObjectsRequest"
                      },
                      "parameterOrder": [
                        "parent"
                      ],
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataObjects:batchDelete",
                      "httpMethod": "POST",
                      "description": "Deletes dataObjects in a batch.",
                      "parameters": {
                        "parent": {
                          "description": "Required. The resource name of the Collection to delete the DataObjects in. Format: `projects/{project}/locations/{location}/collections/{collection}`.",
                          "location": "path",
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$",
                          "required": true,
                          "type": "string"
                        }
                      },
                      "path": "v1/{+parent}/dataObjects:batchDelete",
                      "response": {
                        "$ref": "Empty"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ]
                    },
                    "batchUpdate": {
                      "request": {
                        "$ref": "GoogleCloudVectorsearchV1BatchUpdateDataObjectsRequest"
                      },
                      "id": "vectorsearch.projects.locations.collections.dataObjects.batchUpdate",
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataObjects:batchUpdate",
                      "httpMethod": "POST",
                      "description": "Updates dataObjects in a batch.",
                      "parameterOrder": [
                        "parent"
                      ],
                      "parameters": {
                        "parent": {
                          "type": "string",
                          "required": true,
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$",
                          "description": "Required. The resource name of the Collection to update the DataObjects in. Format: `projects/{project}/locations/{location}/collections/{collection}`. The parent field in the UpdateDataObjectRequest messages must match this field.",
                          "location": "path"
                        }
                      },
                      "response": {
                        "$ref": "GoogleCloudVectorsearchV1BatchUpdateDataObjectsResponse"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "path": "v1/{+parent}/dataObjects:batchUpdate"
                    },
                    "query": {
                      "parameters": {
                        "parent": {
                          "description": "Required. The resource name of the Collection for which to query. Format: `projects/{project}/locations/{location}/collections/{collection}`",
                          "location": "path",
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$",
                          "required": true,
                          "type": "string"
                        }
                      },
                      "path": "v1/{+parent}/dataObjects:query",
                      "response": {
                        "$ref": "GoogleCloudVectorsearchV1QueryDataObjectsResponse"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "id": "vectorsearch.projects.locations.collections.dataObjects.query",
                      "request": {
                        "$ref": "GoogleCloudVectorsearchV1QueryDataObjectsRequest"
                      },
                      "parameterOrder": [
                        "parent"
                      ],
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataObjects:query",
                      "httpMethod": "POST",
                      "description": "Queries data objects."
                    },
                    "create": {
                      "path": "v1/{+parent}/dataObjects",
                      "response": {
                        "$ref": "GoogleCloudVectorsearchV1DataObject"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "parameters": {
                        "parent": {
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$",
                          "description": "Required. The resource name of the Collection to create the DataObject in. Format: `projects/{project}/locations/{location}/collections/{collection}`",
                          "location": "path",
                          "type": "string",
                          "required": true
                        },
                        "dataObjectId": {
                          "type": "string",
                          "description": "Required. The id of the dataObject to create. The id must be 1-63 characters long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt). Specifically, it must be 1-63 characters long and match the regular expression `[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?`.",
                          "location": "query"
                        }
                      },
                      "parameterOrder": [
                        "parent"
                      ],
                      "httpMethod": "POST",
                      "description": "Creates a dataObject.",
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataObjects",
                      "id": "vectorsearch.projects.locations.collections.dataObjects.create",
                      "request": {
                        "$ref": "GoogleCloudVectorsearchV1DataObject"
                      }
                    },
                    "batchSearch": {
                      "httpMethod": "POST",
                      "description": "Batch searches data objects.",
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataObjects:batchSearch",
                      "parameterOrder": [
                        "parent"
                      ],
                      "request": {
                        "$ref": "GoogleCloudVectorsearchV1BatchSearchDataObjectsRequest"
                      },
                      "id": "vectorsearch.projects.locations.collections.dataObjects.batchSearch",
                      "response": {
                        "$ref": "GoogleCloudVectorsearchV1BatchSearchDataObjectsResponse"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "path": "v1/{+parent}/dataObjects:batchSearch",
                      "parameters": {
                        "parent": {
                          "description": "Required. The resource name of the Collection for which to search. Format: `projects/{project}/locations/{location}/collections/{collection}`",
                          "location": "path",
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$",
                          "required": true,
                          "type": "string"
                        }
                      }
                    },
                    "delete": {
                      "httpMethod": "DELETE",
                      "description": "Deletes a dataObject.",
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataObjects/{dataObjectsId}",
                      "parameterOrder": [
                        "name"
                      ],
                      "id": "vectorsearch.projects.locations.collections.dataObjects.delete",
                      "response": {
                        "$ref": "Empty"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "path": "v1/{+name}",
                      "parameters": {
                        "name": {
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataObjects/[^/]+$",
                          "description": "Required. The name of the DataObject resource to be deleted. Format: `projects/{project}/locations/{location}/collections/{collection}/dataObjects/{dataObject}`",
                          "location": "path",
                          "type": "string",
                          "required": true
                        },
                        "etag": {
                          "type": "string",
                          "description": "Optional. The current etag of the DataObject. If an etag is provided and does not match the current etag of the DataObject, deletion will be blocked and an ABORTED error will be returned.",
                          "location": "query"
                        }
                      }
                    },
                    "patch": {
                      "parameters": {
                        "name": {
                          "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
                          "description": "Identifier. The fully qualified resource name of the dataObject. Format: `projects/{project}/locations/{location}/collections/{collection}/dataObjects/{data_object_id}` The data_object_id must be 1-63 characters long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).",
                          "location": "path",
                          "type": "string",
                          "required": true
                        },
                        "updateMask": {
                          "description": "Optional. The update mask applies to the resource. See google.protobuf.FieldMask.",
                          "location": "query",
                          "type": "string",
                          "format": "google-fieldmask"
                        }
                      },
                      "path": "v1/{+name}",
                      "response": {
                        "$ref": "GoogleCloudVectorsearchV1DataObject"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "id": "vectorsearch.projects.locations.collections.dataObjects.patch",
                      "request": {
                        "$ref": "GoogleCloudVectorsearchV1DataObject"
                      },
                      "parameterOrder": [
                        "name"
                      ],
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataObjects/{dataObjectsId}",
                      "httpMethod": "PATCH",
                      "description": "Updates a dataObject."
                    },
                    "batchCreate": {
                      "response": {
                        "$ref": "GoogleCloudVectorsearchV1BatchCreateDataObjectsResponse"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "path": "v1/{+parent}/dataObjects:batchCreate",
                      "parameters": {
                        "parent": {
                          "required": true,
                          "type": "string",
                          "description": "Required. The resource name of the Collection to create the DataObjects in. Format: `projects/{project}/locations/{location}/collections/{collection}`. The parent field in the CreateDataObjectRequest messages must match this field.",
                          "location": "path",
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$"
                        }
                      },
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataObjects:batchCreate",
                      "httpMethod": "POST",
                      "description": "Creates a batch of dataObjects.",
                      "parameterOrder": [
                        "parent"
                      ],
                      "request": {
                        "$ref": "GoogleCloudVectorsearchV1BatchCreateDataObjectsRequest"
                      },
                      "id": "vectorsearch.projects.locations.collections.dataObjects.batchCreate"
                    },
                    "aggregate": {
                      "parameters": {
                        "parent": {
                          "required": true,
                          "type": "string",
                          "description": "Required. The resource name of the Collection for which to query. Format: `projects/{project}/locations/{location}/collections/{collection}`",
                          "location": "path",
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$"
                        }
                      },
                      "response": {
                        "$ref": "GoogleCloudVectorsearchV1AggregateDataObjectsResponse"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "path": "v1/{+parent}/dataObjects:aggregate",
                      "request": {
                        "$ref": "GoogleCloudVectorsearchV1AggregateDataObjectsRequest"
                      },
                      "id": "vectorsearch.projects.locations.collections.dataObjects.aggregate",
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataObjects:aggregate",
                      "httpMethod": "POST",
                      "description": "Aggregates data objects.",
                      "parameterOrder": [
                        "parent"
                      ]
                    }
                  }
                }
              }
            }
          },
          "methods": {
            "list": {
              "id": "vectorsearch.projects.locations.list",
              "parameterOrder": [
                "name"
              ],
              "flatPath": "v1/projects/{projectsId}/locations",
              "httpMethod": "GET",
              "description": "Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the ListLocationsRequest.name field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version.",
              "parameters": {
                "name": {
                  "type": "string",
                  "required": true,
                  "pattern": "^projects/[^/]+$",
                  "description": "The resource that owns the locations collection, if applicable.",
                  "location": "path"
                },
                "pageSize": {
                  "type": "integer",
                  "format": "int32",
                  "description": "The maximum number of results to return. If not set, the service selects a default.",
                  "location": "query"
                },
                "extraLocationTypes": {
                  "type": "string",
                  "repeated": true,
                  "description": "Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage.",
                  "location": "query"
                },
                "filter": {
                  "description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).",
                  "location": "query",
                  "type": "string"
                },
                "pageToken": {
                  "type": "string",
                  "description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.",
                  "location": "query"
                }
              },
              "path": "v1/{+name}/locations",
              "response": {
                "$ref": "GoogleCloudLocationListLocationsResponse"
              },
              "scopes": [
                "https://www.googleapis.com/auth/cloud-platform"
              ]
            },
            "get": {
              "httpMethod": "GET",
              "description": "Gets information about a location.",
              "flatPath": "v1/projects/{projectsId}/locations/{locationsId}",
              "parameterOrder": [
                "name"
              ],
              "id": "vectorsearch.projects.locations.get",
              "response": {
                "$ref": "GoogleCloudLocationLocation"
              },
              "scopes": [
                "https://www.googleapis.com/auth/cloud-platform"
              ],
              "path": "v1/{+name}",
              "parameters": {
                "name": {
                  "required": true,
                  "type": "string",
                  "description": "Resource name for the location.",
                  "location": "path",
                  "pattern": "^projects/[^/]+/locations/[^/]+$"
                }
              }
            }
          }
        }
      }
    }
  },
  "canonicalName": "Vector Search",
  "schemas": {
    "Empty": {
      "properties": {},
      "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }",
      "id": "Empty",
      "type": "object"
    },
    "GoogleCloudVectorsearchV1VectorField": {
      "id": "GoogleCloudVectorsearchV1VectorField",
      "type": "object",
      "description": "Message describing a vector field.",
      "properties": {
        "denseVector": {
          "description": "Dense vector field.",
          "$ref": "GoogleCloudVectorsearchV1DenseVectorField"
        },
        "sparseVector": {
          "description": "Sparse vector field.",
          "$ref": "GoogleCloudVectorsearchV1SparseVectorField"
        }
      }
    },
    "GoogleCloudVectorsearchV1SearchDataObjectsRequest": {
      "description": "Request for performing a single search.",
      "properties": {
        "pageToken": {
          "type": "string",
          "description": "Optional. The standard list page token. Typically obtained via SearchDataObjectsResponse.next_page_token of the previous DataObjectSearchService.SearchDataObjects call."
        },
        "textSearch": {
          "description": "Optional. A text search operation.",
          "$ref": "GoogleCloudVectorsearchV1TextSearch"
        },
        "vectorSearch": {
          "description": "A vector search operation.",
          "$ref": "GoogleCloudVectorsearchV1VectorSearch"
        },
        "pageSize": {
          "description": "Optional. The standard list page size. Only supported for KNN. If not set, up to search_type.top_k results will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.",
          "type": "integer",
          "format": "int32"
        },
        "semanticSearch": {
          "description": "A semantic search operation.",
          "$ref": "GoogleCloudVectorsearchV1SemanticSearch"
        }
      },
      "id": "GoogleCloudVectorsearchV1SearchDataObjectsRequest",
      "type": "object"
    },
    "GoogleCloudVectorsearchV1DenseVectorField": {
      "description": "Message describing a dense vector field.",
      "properties": {
        "dimensions": {
          "type": "integer",
          "format": "int32",
          "description": "Dimensionality of the vector field."
        },
        "vertexEmbeddingConfig": {
          "description": "Optional. Configuration for generating embeddings for the vector field. If not specified, the embedding field must be populated in the DataObject.",
          "$ref": "GoogleCloudVectorsearchV1VertexEmbeddingConfig"
        }
      },
      "id": "GoogleCloudVectorsearchV1DenseVectorField",
      "type": "object"
    },
    "GoogleCloudVectorsearchV1VectorSearch": {
      "id": "GoogleCloudVectorsearchV1VectorSearch",
      "type": "object",
      "description": "Defines a search operation using a query vector.",
      "properties": {
        "filter": {
          "type": "object",
          "description": "Optional. A JSON filter expression, e.g. {\"genre\": {\"$eq\": \"sci-fi\"}}, represented as a google.protobuf.Struct.",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object."
          }
        },
        "topK": {
          "type": "integer",
          "format": "int32",
          "description": "Optional. The number of nearest neighbors to return."
        },
        "searchHint": {
          "description": "Optional. Sets the search hint. If no strategy is specified, the service will use an index if one is available, and fall back to the default KNN search otherwise.",
          "$ref": "GoogleCloudVectorsearchV1SearchHint"
        },
        "sparseVector": {
          "description": "A sparse vector for the query.",
          "$ref": "GoogleCloudVectorsearchV1SparseVector"
        },
        "outputFields": {
          "description": "Optional. Mask specifying which fields to return.",
          "$ref": "GoogleCloudVectorsearchV1OutputFields"
        },
        "searchField": {
          "description": "Required. The vector field to search.",
          "type": "string"
        },
        "vector": {
          "description": "A dense vector for the query.",
          "$ref": "GoogleCloudVectorsearchV1DenseVector"
        },
        "distanceMetric": {
          "description": "Optional. The distance metric to use for the KNN search. If not specified, DOT_PRODUCT will be used as the default.",
          "enumDescriptions": [
            "Default value, distance metric is not specified.",
            "Dot product distance metric.",
            "Cosine distance metric."
          ],
          "type": "string",
          "enum": [
            "DISTANCE_METRIC_UNSPECIFIED",
            "DOT_PRODUCT",
            "COSINE_DISTANCE"
          ]
        }
      }
    },
    "GoogleCloudVectorsearchV1Search": {
      "properties": {
        "vectorSearch": {
          "description": "A vector-based search.",
          "$ref": "GoogleCloudVectorsearchV1VectorSearch"
        },
        "semanticSearch": {
          "description": "A semantic search.",
          "$ref": "GoogleCloudVectorsearchV1SemanticSearch"
        },
        "textSearch": {
          "description": "A text search operation.",
          "$ref": "GoogleCloudVectorsearchV1TextSearch"
        }
      },
      "description": "A single search request within a batch operation.",
      "id": "GoogleCloudVectorsearchV1Search",
      "type": "object"
    },
    "GoogleCloudVectorsearchV1QueryDataObjectsResponse": {
      "id": "GoogleCloudVectorsearchV1QueryDataObjectsResponse",
      "type": "object",
      "description": "Response message for DataObjectSearchService.QueryDataObjects.",
      "properties": {
        "dataObjects": {
          "description": "Output only. The list of dataObjects that match the query.",
          "readOnly": true,
          "type": "array",
          "items": {
            "$ref": "GoogleCloudVectorsearchV1DataObject"
          }
        },
        "nextPageToken": {
          "description": "Output only. A token to retrieve next page of results. Pass to DataObjectSearchService.QueryDataObjectsRequest.page_token to obtain that page.",
          "readOnly": true,
          "type": "string"
        }
      }
    },
    "GoogleCloudVectorsearchV1DenseVector": {
      "properties": {
        "values": {
          "type": "array",
          "items": {
            "type": "number",
            "format": "float"
          },
          "description": "Required. The values of the vector."
        }
      },
      "description": "A dense vector.",
      "id": "GoogleCloudVectorsearchV1DenseVector",
      "type": "object"
    },
    "GoogleCloudVectorsearchV1QueryDataObjectsRequest": {
      "id": "GoogleCloudVectorsearchV1QueryDataObjectsRequest",
      "type": "object",
      "properties": {
        "pageSize": {
          "type": "integer",
          "format": "int32",
          "description": "Optional. The standard list page size. Default is 100. The maximum value is 1000; values above 1000 will be coerced to 1000."
        },
        "pageToken": {
          "description": "Optional. The standard list page token. Typically obtained via QueryDataObjectsResponse.next_page_token of the previous DataObjectSearchService.QueryDataObjects call.",
          "type": "string"
        },
        "outputFields": {
          "description": "Optional. Mask specifying which fields to return.",
          "$ref": "GoogleCloudVectorsearchV1OutputFields"
        },
        "filter": {
          "description": "Optional. A JSON filter expression, e.g. {\"genre\": {\"$eq\": \"sci-fi\"}}, represented as a google.protobuf.Struct.",
          "additionalProperties": {
            "description": "Properties of the object.",
            "type": "any"
          },
          "type": "object"
        }
      },
      "description": "Request message for DataObjectSearchService.QueryDataObjects."
    },
    "GoogleCloudVectorsearchV1DenseScannIndex": {
      "description": "Dense ScaNN index configuration.",
      "properties": {
        "featureNormType": {
          "type": "string",
          "enum": [
            "FEATURE_NORM_TYPE_UNSPECIFIED",
            "NONE",
            "UNIT_L2_NORM"
          ],
          "description": "Optional. Feature norm type.",
          "enumDescriptions": [
            "Unspecified feature norm type.",
            "No norm applied.",
            "Unit L2 norm."
          ]
        }
      },
      "id": "GoogleCloudVectorsearchV1DenseScannIndex",
      "type": "object"
    },
    "GoogleCloudVectorsearchV1EncryptionSpec": {
      "properties": {
        "cryptoKeyName": {
          "description": "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}`.",
          "type": "string"
        }
      },
      "description": "Represents a customer-managed encryption key specification that can be applied to a Vector Search collection.",
      "id": "GoogleCloudVectorsearchV1EncryptionSpec",
      "type": "object"
    },
    "GoogleCloudVectorsearchV1BatchUpdateDataObjectsResponse": {
      "id": "GoogleCloudVectorsearchV1BatchUpdateDataObjectsResponse",
      "type": "object",
      "properties": {},
      "description": "Response message for DataObjectService.BatchUpdateDataObjects."
    },
    "GoogleCloudVectorsearchV1Collection": {
      "properties": {
        "labels": {
          "description": "Optional. Labels as key value pairs.",
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        },
        "description": {
          "type": "string",
          "description": "Optional. User-specified description of the collection"
        },
        "displayName": {
          "type": "string",
          "description": "Optional. User-specified display name of the collection"
        },
        "updateTime": {
          "readOnly": true,
          "type": "string",
          "format": "google-datetime",
          "description": "Output only. [Output only] Update time stamp"
        },
        "dataSchema": {
          "additionalProperties": {
            "description": "Properties of the object.",
            "type": "any"
          },
          "description": "Optional. JSON Schema for data. Field names must contain only alphanumeric characters, underscores, and hyphens. The schema must be compliant with [JSON Schema Draft 7](https://json-schema.org/draft-07/schema).",
          "type": "object"
        },
        "vectorSchema": {
          "description": "Optional. Schema for vector fields. Only vector fields in this schema will be searchable. Field names must contain only alphanumeric characters, underscores, and hyphens.",
          "additionalProperties": {
            "$ref": "GoogleCloudVectorsearchV1VectorField"
          },
          "type": "object"
        },
        "createTime": {
          "readOnly": true,
          "type": "string",
          "format": "google-datetime",
          "description": "Output only. [Output only] Create time stamp"
        },
        "name": {
          "description": "Identifier. name of resource",
          "type": "string"
        },
        "encryptionSpec": {
          "description": "Optional. Immutable. Specifies the customer-managed encryption key spec for a Collection. If set, this Collection and all sub-resources of this Collection will be secured by this key.",
          "$ref": "GoogleCloudVectorsearchV1EncryptionSpec"
        }
      },
      "description": "Message describing Collection object",
      "id": "GoogleCloudVectorsearchV1Collection",
      "type": "object"
    },
    "GoogleCloudVectorsearchV1ReciprocalRankFusion": {
      "id": "GoogleCloudVectorsearchV1ReciprocalRankFusion",
      "type": "object",
      "properties": {
        "weights": {
          "type": "array",
          "items": {
            "type": "number",
            "format": "double"
          },
          "description": "Required. The weights to apply to each search result set during fusion."
        }
      },
      "description": "Defines the Reciprocal Rank Fusion (RRF) algorithm for result ranking."
    },
    "GoogleCloudVectorsearchV1ExportDataObjectsRequest": {
      "properties": {
        "gcsDestination": {
          "description": "The Cloud Storage location where user wants to export Data Objects.",
          "$ref": "GoogleCloudVectorsearchV1ExportDataObjectsRequestGcsExportDestination"
        }
      },
      "description": "Request message for VectorSearchService.ExportDataObjects.",
      "id": "GoogleCloudVectorsearchV1ExportDataObjectsRequest",
      "type": "object"
    },
    "GoogleCloudVectorsearchV1SearchHintIndexHint": {
      "description": "Message to specify the index to use for the search.",
      "properties": {
        "name": {
          "type": "string",
          "description": "Required. The resource name of the index to use for the search. The index must be in the same project, location, and collection. Format: `projects/{project}/locations/{location}/collections/{collection}/indexes/{index}`"
        }
      },
      "id": "GoogleCloudVectorsearchV1SearchHintIndexHint",
      "type": "object"
    },
    "GoogleCloudVectorsearchV1OperationMetadata": {
      "properties": {
        "verb": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. Name of the verb executed by the operation."
        },
        "target": {
          "description": "Output only. Server-defined resource path for the target of the operation.",
          "readOnly": true,
          "type": "string"
        },
        "apiVersion": {
          "description": "Output only. API version used to start the operation.",
          "readOnly": true,
          "type": "string"
        },
        "endTime": {
          "description": "Output only. The time the operation finished running.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "createTime": {
          "readOnly": true,
          "type": "string",
          "format": "google-datetime",
          "description": "Output only. The time the operation was created."
        },
        "statusMessage": {
          "description": "Output only. Human-readable status of the operation, if any.",
          "readOnly": true,
          "type": "string"
        },
        "requestedCancellation": {
          "description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have google.longrunning.Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.",
          "readOnly": true,
          "type": "boolean"
        }
      },
      "description": "Represents the metadata of the long-running operation.",
      "id": "GoogleCloudVectorsearchV1OperationMetadata",
      "type": "object"
    },
    "GoogleLongrunningOperation": {
      "description": "This resource represents a long-running operation that is the result of a network API call.",
      "properties": {
        "name": {
          "type": "string",
          "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`."
        },
        "error": {
          "description": "The error result of the operation in case of failure or cancellation.",
          "$ref": "GoogleRpcStatus"
        },
        "response": {
          "additionalProperties": {
            "description": "Properties of the object. Contains field @type with type URL.",
            "type": "any"
          },
          "description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.",
          "type": "object"
        },
        "done": {
          "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.",
          "type": "boolean"
        },
        "metadata": {
          "type": "object",
          "additionalProperties": {
            "description": "Properties of the object. Contains field @type with type URL.",
            "type": "any"
          },
          "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any."
        }
      },
      "id": "GoogleLongrunningOperation",
      "type": "object"
    },
    "GoogleCloudVectorsearchV1AggregateDataObjectsResponse": {
      "id": "GoogleCloudVectorsearchV1AggregateDataObjectsResponse",
      "type": "object",
      "properties": {
        "aggregateResults": {
          "description": "Output only. The aggregated results of the query.",
          "readOnly": true,
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": {
              "description": "Properties of the object.",
              "type": "any"
            }
          }
        }
      },
      "description": "Response message for DataObjectSearchService.AggregateDataObjects."
    },
    "GoogleCloudVectorsearchV1SearchHintKnnHint": {
      "id": "GoogleCloudVectorsearchV1SearchHintKnnHint",
      "type": "object",
      "properties": {},
      "description": "KnnHint will be used if search should be explicitly done on system's default K-Nearest Neighbor (KNN) index engine."
    },
    "GoogleLongrunningListOperationsResponse": {
      "id": "GoogleLongrunningListOperationsResponse",
      "type": "object",
      "description": "The response message for Operations.ListOperations.",
      "properties": {
        "nextPageToken": {
          "type": "string",
          "description": "The standard List next-page token."
        },
        "operations": {
          "description": "A list of operations that matches the specified filter in the request.",
          "type": "array",
          "items": {
            "$ref": "GoogleLongrunningOperation"
          }
        },
        "unreachable": {
          "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.",
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "GoogleCloudVectorsearchV1ListIndexesResponse": {
      "id": "GoogleCloudVectorsearchV1ListIndexesResponse",
      "type": "object",
      "properties": {
        "indexes": {
          "description": "The list of Index",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudVectorsearchV1Index"
          }
        },
        "nextPageToken": {
          "description": "A token identifying a page of results the server should return.",
          "type": "string"
        }
      },
      "description": "Message for response to listing Indexes"
    },
    "GoogleCloudVectorsearchV1BatchCreateDataObjectsRequest": {
      "description": "Request message for DataObjectService.BatchCreateDataObjects.",
      "properties": {
        "requests": {
          "type": "array",
          "items": {
            "$ref": "GoogleCloudVectorsearchV1CreateDataObjectRequest"
          },
          "description": "Required. The request message specifying the resources to create. A maximum of 1000 DataObjects can be created in a batch."
        }
      },
      "id": "GoogleCloudVectorsearchV1BatchCreateDataObjectsRequest",
      "type": "object"
    },
    "GoogleCloudVectorsearchV1VertexEmbeddingConfig": {
      "properties": {
        "modelId": {
          "type": "string",
          "description": "Required. Required: ID of the embedding model to use. See https://cloud.google.com/vertex-ai/generative-ai/docs/learn/models#embeddings-models for the list of supported models."
        },
        "textTemplate": {
          "description": "Required. Required: Text template for the input to the model. The template must contain one or more references to fields in the DataObject, e.g.: \"Movie Title: {title} ---- Movie Plot: {plot}\".",
          "type": "string"
        },
        "taskType": {
          "enum": [
            "EMBEDDING_TASK_TYPE_UNSPECIFIED",
            "RETRIEVAL_QUERY",
            "RETRIEVAL_DOCUMENT",
            "SEMANTIC_SIMILARITY",
            "CLASSIFICATION",
            "CLUSTERING",
            "QUESTION_ANSWERING",
            "FACT_VERIFICATION",
            "CODE_RETRIEVAL_QUERY"
          ],
          "type": "string",
          "description": "Required. Required: Task type for the embeddings.",
          "enumDescriptions": [
            "Unspecified task type.",
            "Specifies the given text is a query in a search/retrieval setting.",
            "Specifies the given text is a document from the corpus being searched.",
            "Specifies the given text will be used for STS.",
            "Specifies that the given text will be classified.",
            "Specifies that the embeddings will be used for clustering.",
            "Specifies that the embeddings will be used for question answering.",
            "Specifies that the embeddings will be used for fact verification.",
            "Specifies that the embeddings will be used for code retrieval."
          ]
        }
      },
      "description": "Message describing the configuration for generating embeddings for a vector field using Vertex AI embeddings API.",
      "id": "GoogleCloudVectorsearchV1VertexEmbeddingConfig",
      "type": "object"
    },
    "GoogleCloudVectorsearchV1ExportDataObjectsRequestGcsExportDestination": {
      "id": "GoogleCloudVectorsearchV1ExportDataObjectsRequestGcsExportDestination",
      "type": "object",
      "properties": {
        "exportUri": {
          "description": "Required. URI prefix of the Cloud Storage where to export Data Objects. The bucket is required to be in the same region as the collection.",
          "type": "string"
        },
        "format": {
          "type": "string",
          "enum": [
            "FORMAT_UNSPECIFIED",
            "JSONL"
          ],
          "description": "Required. The format of the exported Data Objects.",
          "enumDescriptions": [
            "Unspecified format.",
            "Exports Data Objects in `JSONL` format."
          ]
        }
      },
      "description": "Google Cloud Storage configuration for the export."
    },
    "GoogleCloudVectorsearchV1ListCollectionsResponse": {
      "properties": {
        "collections": {
          "type": "array",
          "items": {
            "$ref": "GoogleCloudVectorsearchV1Collection"
          },
          "description": "The list of Collection"
        },
        "nextPageToken": {
          "type": "string",
          "description": "A token identifying a page of results the server should return."
        },
        "unreachable": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Unordered list. Locations that could not be reached."
        }
      },
      "description": "Message for response to listing Collections",
      "id": "GoogleCloudVectorsearchV1ListCollectionsResponse",
      "type": "object"
    },
    "GoogleCloudVectorsearchV1BatchCreateDataObjectsResponse": {
      "description": "Response message for DataObjectService.BatchCreateDataObjects.",
      "properties": {
        "dataObjects": {
          "readOnly": true,
          "type": "array",
          "items": {
            "$ref": "GoogleCloudVectorsearchV1DataObject"
          },
          "description": "Output only. DataObjects created."
        }
      },
      "id": "GoogleCloudVectorsearchV1BatchCreateDataObjectsResponse",
      "type": "object"
    },
    "GoogleCloudVectorsearchV1SemanticSearch": {
      "description": "Defines a semantic search operation.",
      "properties": {
        "outputFields": {
          "description": "Optional. The fields to return in the search results.",
          "$ref": "GoogleCloudVectorsearchV1OutputFields"
        },
        "searchHint": {
          "description": "Optional. Sets the search hint. If no strategy is specified, the service will use an index if one is available, and fall back to KNN search otherwise.",
          "$ref": "GoogleCloudVectorsearchV1SearchHint"
        },
        "searchText": {
          "type": "string",
          "description": "Required. The query text, which is used to generate an embedding according to the embedding model specified in the collection config."
        },
        "filter": {
          "type": "object",
          "description": "Optional. A JSON filter expression, e.g. {\"genre\": {\"$eq\": \"sci-fi\"}}, represented as a google.protobuf.Struct.",
          "additionalProperties": {
            "description": "Properties of the object.",
            "type": "any"
          }
        },
        "topK": {
          "type": "integer",
          "format": "int32",
          "description": "Optional. The number of data objects to return."
        },
        "taskType": {
          "type": "string",
          "enum": [
            "EMBEDDING_TASK_TYPE_UNSPECIFIED",
            "RETRIEVAL_QUERY",
            "RETRIEVAL_DOCUMENT",
            "SEMANTIC_SIMILARITY",
            "CLASSIFICATION",
            "CLUSTERING",
            "QUESTION_ANSWERING",
            "FACT_VERIFICATION",
            "CODE_RETRIEVAL_QUERY"
          ],
          "description": "Required. The task type of the query embedding.",
          "enumDescriptions": [
            "Unspecified task type.",
            "Specifies the given text is a query in a search/retrieval setting.",
            "Specifies the given text is a document from the corpus being searched.",
            "Specifies the given text will be used for STS.",
            "Specifies that the given text will be classified.",
            "Specifies that the embeddings will be used for clustering.",
            "Specifies that the embeddings will be used for question answering.",
            "Specifies that the embeddings will be used for fact verification.",
            "Specifies that the embeddings will be used for code retrieval."
          ]
        },
        "searchField": {
          "description": "Required. The vector field to search.",
          "type": "string"
        }
      },
      "id": "GoogleCloudVectorsearchV1SemanticSearch",
      "type": "object"
    },
    "GoogleCloudVectorsearchV1AggregateDataObjectsRequest": {
      "properties": {
        "filter": {
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object."
          },
          "description": "Optional. A JSON filter expression, e.g. {\"genre\": {\"$eq\": \"sci-fi\"}}, represented as a google.protobuf.Struct.",
          "type": "object"
        },
        "aggregate": {
          "type": "string",
          "enum": [
            "AGGREGATION_METHOD_UNSPECIFIED",
            "COUNT"
          ],
          "description": "Required. The aggregation method to apply to the query.",
          "enumDescriptions": [
            "Should not be used.",
            "Count the number of data objects that match the filter."
          ]
        }
      },
      "description": "Request message for DataObjectSearchService.AggregateDataObjects.",
      "id": "GoogleCloudVectorsearchV1AggregateDataObjectsRequest",
      "type": "object"
    },
    "GoogleCloudVectorsearchV1OutputFields": {
      "properties": {
        "metadataFields": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Optional. The fields from the DataObject metadata to include in the output."
        },
        "vectorFields": {
          "description": "Optional. The fields from the vector fields to include in the output.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "dataFields": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Optional. The fields from the data fields to include in the output."
        }
      },
      "description": "Defines a output fields struct for data in DataObject.",
      "id": "GoogleCloudVectorsearchV1OutputFields",
      "type": "object"
    },
    "GoogleCloudVectorsearchV1CreateDataObjectRequest": {
      "id": "GoogleCloudVectorsearchV1CreateDataObjectRequest",
      "type": "object",
      "description": "Request message for DataObjectService.CreateDataObject.",
      "properties": {
        "dataObjectId": {
          "description": "Required. The id of the dataObject to create. The id must be 1-63 characters long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt). Specifically, it must be 1-63 characters long and match the regular expression `[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?`.",
          "type": "string"
        },
        "parent": {
          "type": "string",
          "description": "Required. The resource name of the Collection to create the DataObject in. Format: `projects/{project}/locations/{location}/collections/{collection}`"
        },
        "dataObject": {
          "description": "Required. The DataObject to create.",
          "$ref": "GoogleCloudVectorsearchV1DataObject"
        }
      }
    },
    "GoogleCloudVectorsearchV1BatchSearchDataObjectsRequest": {
      "id": "GoogleCloudVectorsearchV1BatchSearchDataObjectsRequest",
      "type": "object",
      "description": "A request to perform a batch of search operations.",
      "properties": {
        "searches": {
          "description": "Required. A list of search requests to execute in parallel.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudVectorsearchV1Search"
          }
        },
        "combine": {
          "description": "Optional. Options for combining the results of the batch search operations.",
          "$ref": "GoogleCloudVectorsearchV1BatchSearchDataObjectsRequestCombineResultsOptions"
        }
      }
    },
    "GoogleCloudVectorsearchV1Ranker": {
      "description": "Defines a ranker to combine results from multiple searches.",
      "properties": {
        "rrf": {
          "description": "Reciprocal Rank Fusion ranking.",
          "$ref": "GoogleCloudVectorsearchV1ReciprocalRankFusion"
        }
      },
      "id": "GoogleCloudVectorsearchV1Ranker",
      "type": "object"
    },
    "GoogleCloudVectorsearchV1SparseVectorField": {
      "id": "GoogleCloudVectorsearchV1SparseVectorField",
      "type": "object",
      "description": "Message describing a sparse vector field.",
      "properties": {}
    },
    "GoogleCloudLocationLocation": {
      "id": "GoogleCloudLocationLocation",
      "type": "object",
      "properties": {
        "metadata": {
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object. Contains field @type with type URL."
          },
          "description": "Service-specific metadata. For example the available capacity at the given location.",
          "type": "object"
        },
        "locationId": {
          "description": "The canonical id for this location. For example: `\"us-east1\"`.",
          "type": "string"
        },
        "displayName": {
          "description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".",
          "type": "string"
        },
        "labels": {
          "additionalProperties": {
            "type": "string"
          },
          "description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}",
          "type": "object"
        },
        "name": {
          "type": "string",
          "description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`"
        }
      },
      "description": "A resource that represents a Google Cloud location."
    },
    "GoogleCloudVectorsearchV1SearchHint": {
      "description": "Represents a hint to the search index engine.",
      "properties": {
        "knnHint": {
          "description": "Optional. If set, the search will use the system's default K-Nearest Neighbor (KNN) index engine.",
          "$ref": "GoogleCloudVectorsearchV1SearchHintKnnHint"
        },
        "indexHint": {
          "description": "Optional. Specifies that the search should use a particular index.",
          "$ref": "GoogleCloudVectorsearchV1SearchHintIndexHint"
        }
      },
      "id": "GoogleCloudVectorsearchV1SearchHint",
      "type": "object"
    },
    "GoogleCloudVectorsearchV1DedicatedInfrastructureAutoscalingSpec": {
      "id": "GoogleCloudVectorsearchV1DedicatedInfrastructureAutoscalingSpec",
      "type": "object",
      "properties": {
        "minReplicaCount": {
          "type": "integer",
          "format": "int32",
          "description": "Optional. The minimum number of replicas. If not set or set to `0`, defaults to `2`. Must be \u003e= `1` and \u003c= `1000`."
        },
        "maxReplicaCount": {
          "type": "integer",
          "format": "int32",
          "description": "Optional. The maximum number of replicas. Must be \u003e= `min_replica_count` and \u003c= `1000`. For the v1beta version, if not set or set to `0`, defaults to the greater of `min_replica_count` and `5`. For all other versions, if not set or set to `0`, defaults to the greater of `min_replica_count` and `2`."
        }
      },
      "description": "Specification for autoscaling."
    },
    "GoogleCloudVectorsearchV1DataObject": {
      "id": "GoogleCloudVectorsearchV1DataObject",
      "type": "object",
      "properties": {
        "updateTime": {
          "readOnly": true,
          "type": "string",
          "format": "google-datetime",
          "description": "Output only. Timestamp the dataObject was last updated."
        },
        "vectors": {
          "description": "Optional. The vectors of the dataObject.",
          "additionalProperties": {
            "$ref": "GoogleCloudVectorsearchV1Vector"
          },
          "type": "object"
        },
        "name": {
          "type": "string",
          "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
          "description": "Identifier. The fully qualified resource name of the dataObject. Format: `projects/{project}/locations/{location}/collections/{collection}/dataObjects/{data_object_id}` The data_object_id must be 1-63 characters long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt)."
        },
        "createTime": {
          "readOnly": true,
          "type": "string",
          "format": "google-datetime",
          "description": "Output only. Timestamp the dataObject was created at."
        },
        "etag": {
          "type": "string",
          "description": "Optional. The etag of the dataObject."
        },
        "dataObjectId": {
          "description": "Output only. The id of the dataObject.",
          "readOnly": true,
          "type": "string"
        },
        "data": {
          "type": "object",
          "additionalProperties": {
            "description": "Properties of the object.",
            "type": "any"
          },
          "description": "Optional. The data of the dataObject."
        }
      },
      "description": "A dataObject resource in Vector Search."
    },
    "GoogleCloudVectorsearchV1DedicatedInfrastructure": {
      "id": "GoogleCloudVectorsearchV1DedicatedInfrastructure",
      "type": "object",
      "description": "Represents dedicated infrastructure for the index.",
      "properties": {
        "autoscalingSpec": {
          "description": "Optional. Autoscaling specification.",
          "$ref": "GoogleCloudVectorsearchV1DedicatedInfrastructureAutoscalingSpec"
        },
        "mode": {
          "enum": [
            "MODE_UNSPECIFIED",
            "STORAGE_OPTIMIZED",
            "PERFORMANCE_OPTIMIZED"
          ],
          "type": "string",
          "description": "Optional. Mode of the dedicated infrastructure.",
          "enumDescriptions": [
            "Default will use `PERFORMANCE_OPTIMIZED`.",
            "This is storage optimized variation.",
            "This is Performance optimized on E2 or equivalent family."
          ]
        }
      }
    },
    "GoogleCloudVectorsearchV1ImportDataObjectsRequestGcsImportConfig": {
      "id": "GoogleCloudVectorsearchV1ImportDataObjectsRequestGcsImportConfig",
      "type": "object",
      "properties": {
        "errorUri": {
          "description": "Required. URI prefix of the Cloud Storage location to write any errors encountered during the import.",
          "type": "string"
        },
        "outputUri": {
          "description": "Optional. URI prefix of the Cloud Storage location to write DataObject `IDs` and `etags` of DataObjects that were successfully imported. The service will write the successfully imported DataObjects to sharded files under this prefix. If this field is empty, no output will be written.",
          "type": "string"
        },
        "contentsUri": {
          "description": "Required. URI prefix of the Cloud Storage DataObjects to import.",
          "type": "string"
        }
      },
      "description": "Google Cloud Storage configuration for the import."
    },
    "GoogleCloudVectorsearchV1TextSearch": {
      "id": "GoogleCloudVectorsearchV1TextSearch",
      "type": "object",
      "properties": {
        "outputFields": {
          "description": "Optional. The fields to return in the search results.",
          "$ref": "GoogleCloudVectorsearchV1OutputFields"
        },
        "searchText": {
          "description": "Required. The query text.",
          "type": "string"
        },
        "topK": {
          "description": "Optional. The number of results to return.",
          "type": "integer",
          "format": "int32"
        },
        "filter": {
          "type": "object",
          "description": "Optional. A JSON filter expression, e.g. `{\"genre\": {\"$eq\": \"sci-fi\"}}`, represented as a `google.protobuf.Struct`.",
          "additionalProperties": {
            "description": "Properties of the object.",
            "type": "any"
          }
        },
        "dataFieldNames": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Required. The data field names to search."
        }
      },
      "description": "Defines a text search operation."
    },
    "GoogleCloudVectorsearchV1BatchSearchDataObjectsResponse": {
      "properties": {
        "results": {
          "readOnly": true,
          "type": "array",
          "items": {
            "$ref": "GoogleCloudVectorsearchV1SearchDataObjectsResponse"
          },
          "description": "Output only. A list of search responses, one for each request in the batch. If a ranker is used, a single ranked list of results is returned."
        }
      },
      "description": "A response from a batch search operation.",
      "id": "GoogleCloudVectorsearchV1BatchSearchDataObjectsResponse",
      "type": "object"
    },
    "GoogleCloudVectorsearchV1SearchDataObjectsResponse": {
      "description": "Response for a search request.",
      "properties": {
        "results": {
          "description": "Output only. The list of dataObjects that match the search criteria.",
          "readOnly": true,
          "type": "array",
          "items": {
            "$ref": "GoogleCloudVectorsearchV1SearchResult"
          }
        },
        "nextPageToken": {
          "description": "Output only. A token to retrieve next page of results. Pass to DataObjectSearchService.SearchDataObjectsRequest.page_token to obtain that page.",
          "readOnly": true,
          "type": "string"
        }
      },
      "id": "GoogleCloudVectorsearchV1SearchDataObjectsResponse",
      "type": "object"
    },
    "GoogleCloudVectorsearchV1SearchResult": {
      "id": "GoogleCloudVectorsearchV1SearchResult",
      "type": "object",
      "properties": {
        "dataObject": {
          "description": "Output only. The matching data object.",
          "readOnly": true,
          "$ref": "GoogleCloudVectorsearchV1DataObject"
        },
        "distance": {
          "description": "Output only. Similarity distance or ranker score returned by BatchSearchDataObjects.",
          "readOnly": true,
          "type": "number",
          "format": "double"
        }
      },
      "description": "A single search result."
    },
    "GoogleCloudVectorsearchV1UpdateDataObjectRequest": {
      "description": "Request message for DataObjectService.UpdateDataObject.",
      "properties": {
        "dataObject": {
          "description": "Required. The DataObject which replaces the resource on the server.",
          "$ref": "GoogleCloudVectorsearchV1DataObject"
        },
        "updateMask": {
          "description": "Optional. The update mask applies to the resource. See google.protobuf.FieldMask.",
          "type": "string",
          "format": "google-fieldmask"
        }
      },
      "id": "GoogleCloudVectorsearchV1UpdateDataObjectRequest",
      "type": "object"
    },
    "GoogleRpcStatus": {
      "id": "GoogleRpcStatus",
      "type": "object",
      "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).",
      "properties": {
        "code": {
          "type": "integer",
          "format": "int32",
          "description": "The status code, which should be an enum value of google.rpc.Code."
        },
        "message": {
          "type": "string",
          "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client."
        },
        "details": {
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": {
              "description": "Properties of the object. Contains field @type with type URL.",
              "type": "any"
            }
          },
          "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use."
        }
      }
    },
    "GoogleCloudVectorsearchV1ImportDataObjectsRequest": {
      "id": "GoogleCloudVectorsearchV1ImportDataObjectsRequest",
      "type": "object",
      "properties": {
        "gcsImport": {
          "description": "The Cloud Storage location of the input content.",
          "$ref": "GoogleCloudVectorsearchV1ImportDataObjectsRequestGcsImportConfig"
        }
      },
      "description": "Request message for VectorSearchService.ImportDataObjects."
    },
    "GoogleCloudVectorsearchV1Index": {
      "id": "GoogleCloudVectorsearchV1Index",
      "type": "object",
      "description": "Message describing Index object",
      "properties": {
        "name": {
          "type": "string",
          "description": "Identifier. name of resource"
        },
        "indexField": {
          "description": "Required. The collection schema field to index.",
          "type": "string"
        },
        "storeFields": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Optional. The fields to push into the index to enable inline data retrieval."
        },
        "description": {
          "type": "string",
          "description": "Optional. User-specified description of the index"
        },
        "labels": {
          "type": "object",
          "description": "Optional. Labels as key value pairs.",
          "additionalProperties": {
            "type": "string"
          }
        },
        "updateTime": {
          "readOnly": true,
          "type": "string",
          "format": "google-datetime",
          "description": "Output only. [Output only] Update time stamp"
        },
        "distanceMetric": {
          "type": "string",
          "enum": [
            "DISTANCE_METRIC_UNSPECIFIED",
            "DOT_PRODUCT",
            "COSINE_DISTANCE"
          ],
          "description": "Optional. Distance metric used for indexing. If not specified, will default to DOT_PRODUCT.",
          "enumDescriptions": [
            "Default value, distance metric is not specified.",
            "Dot product distance metric.",
            "Cosine distance metric."
          ]
        },
        "dedicatedInfrastructure": {
          "description": "Optional. Dedicated infrastructure for the index.",
          "$ref": "GoogleCloudVectorsearchV1DedicatedInfrastructure"
        },
        "displayName": {
          "description": "Optional. User-specified display name of the index",
          "type": "string"
        },
        "denseScann": {
          "description": "Optional. Dense ScaNN index.",
          "$ref": "GoogleCloudVectorsearchV1DenseScannIndex"
        },
        "filterFields": {
          "description": "Optional. The fields to push into the index to enable fast ANN inline filtering.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "createTime": {
          "description": "Output only. [Output only] Create time stamp",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        }
      }
    },
    "GoogleCloudLocationListLocationsResponse": {
      "id": "GoogleCloudLocationListLocationsResponse",
      "type": "object",
      "description": "The response message for Locations.ListLocations.",
      "properties": {
        "nextPageToken": {
          "type": "string",
          "description": "The standard List next-page token."
        },
        "locations": {
          "type": "array",
          "items": {
            "$ref": "GoogleCloudLocationLocation"
          },
          "description": "A list of locations that matches the specified filter in the request."
        }
      }
    },
    "GoogleCloudVectorsearchV1Vector": {
      "id": "GoogleCloudVectorsearchV1Vector",
      "type": "object",
      "properties": {
        "dense": {
          "description": "A dense vector.",
          "$ref": "GoogleCloudVectorsearchV1DenseVector"
        },
        "sparse": {
          "description": "A sparse vector.",
          "$ref": "GoogleCloudVectorsearchV1SparseVector"
        }
      },
      "description": "A vector which can be either dense or sparse."
    },
    "GoogleCloudVectorsearchV1DeleteDataObjectRequest": {
      "id": "GoogleCloudVectorsearchV1DeleteDataObjectRequest",
      "type": "object",
      "description": "Request message for DataObjectService.DeleteDataObject.",
      "properties": {
        "name": {
          "type": "string",
          "description": "Required. The name of the DataObject resource to be deleted. Format: `projects/{project}/locations/{location}/collections/{collection}/dataObjects/{dataObject}`"
        },
        "etag": {
          "description": "Optional. The current etag of the DataObject. If an etag is provided and does not match the current etag of the DataObject, deletion will be blocked and an ABORTED error will be returned.",
          "type": "string"
        }
      }
    },
    "GoogleLongrunningCancelOperationRequest": {
      "properties": {},
      "description": "The request message for Operations.CancelOperation.",
      "id": "GoogleLongrunningCancelOperationRequest",
      "type": "object"
    },
    "GoogleCloudVectorsearchV1BatchSearchDataObjectsRequestCombineResultsOptions": {
      "id": "GoogleCloudVectorsearchV1BatchSearchDataObjectsRequestCombineResultsOptions",
      "type": "object",
      "properties": {
        "topK": {
          "type": "integer",
          "format": "int32",
          "description": "Optional. The number of results to return. If not set, a default value will be used."
        },
        "ranker": {
          "description": "Required. The ranker to use for combining the results.",
          "$ref": "GoogleCloudVectorsearchV1Ranker"
        },
        "outputFields": {
          "description": "Optional. Mask specifying which fields to return.",
          "$ref": "GoogleCloudVectorsearchV1OutputFields"
        }
      },
      "description": "Options for combining the results of the batch search operations."
    },
    "GoogleCloudVectorsearchV1SparseVector": {
      "id": "GoogleCloudVectorsearchV1SparseVector",
      "type": "object",
      "description": "A sparse vector.",
      "properties": {
        "values": {
          "type": "array",
          "items": {
            "type": "number",
            "format": "float"
          },
          "description": "Required. The values of the vector."
        },
        "indices": {
          "type": "array",
          "items": {
            "type": "integer",
            "format": "int32"
          },
          "description": "Required. The corresponding indices for the values."
        }
      }
    },
    "GoogleCloudVectorsearchV1BatchUpdateDataObjectsRequest": {
      "description": "Request message for DataObjectService.BatchUpdateDataObjects.",
      "properties": {
        "requests": {
          "type": "array",
          "items": {
            "$ref": "GoogleCloudVectorsearchV1UpdateDataObjectRequest"
          },
          "description": "Required. The request message specifying the resources to update. A maximum of 1000 DataObjects can be updated in a batch."
        }
      },
      "id": "GoogleCloudVectorsearchV1BatchUpdateDataObjectsRequest",
      "type": "object"
    },
    "GoogleCloudVectorsearchV1BatchDeleteDataObjectsRequest": {
      "id": "GoogleCloudVectorsearchV1BatchDeleteDataObjectsRequest",
      "type": "object",
      "properties": {
        "requests": {
          "type": "array",
          "items": {
            "$ref": "GoogleCloudVectorsearchV1DeleteDataObjectRequest"
          },
          "description": "Required. The request message specifying the resources to delete. A maximum of 1000 DataObjects can be deleted in a batch."
        }
      },
      "description": "Request message for DataObjectService.BatchDeleteDataObjects."
    }
  }
}
