{
  "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."
        }
      }
    }
  },
  "title": "Vector Search API",
  "basePath": "",
  "baseUrl": "https://vectorsearch.googleapis.com/",
  "icons": {
    "x16": "http://www.google.com/images/icons/product/search-16.gif",
    "x32": "http://www.google.com/images/icons/product/search-32.gif"
  },
  "id": "vectorsearch:v1",
  "protocol": "rest",
  "resources": {
    "projects": {
      "resources": {
        "locations": {
          "methods": {
            "get": {
              "path": "v1/{+name}",
              "scopes": [
                "https://www.googleapis.com/auth/cloud-platform"
              ],
              "parameters": {
                "name": {
                  "description": "Resource name for the location.",
                  "type": "string",
                  "location": "path",
                  "required": true,
                  "pattern": "^projects/[^/]+/locations/[^/]+$"
                }
              },
              "description": "Gets information about a location.",
              "flatPath": "v1/projects/{projectsId}/locations/{locationsId}",
              "httpMethod": "GET",
              "parameterOrder": [
                "name"
              ],
              "id": "vectorsearch.projects.locations.get",
              "response": {
                "$ref": "GoogleCloudLocationLocation"
              }
            },
            "list": {
              "flatPath": "v1/projects/{projectsId}/locations",
              "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.",
              "scopes": [
                "https://www.googleapis.com/auth/cloud-platform"
              ],
              "httpMethod": "GET",
              "parameterOrder": [
                "name"
              ],
              "id": "vectorsearch.projects.locations.list",
              "parameters": {
                "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).",
                  "type": "string",
                  "location": "query"
                },
                "pageToken": {
                  "description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.",
                  "type": "string",
                  "location": "query"
                },
                "pageSize": {
                  "format": "int32",
                  "type": "integer",
                  "location": "query",
                  "description": "The maximum number of results to return. If not set, the service selects a default."
                },
                "extraLocationTypes": {
                  "repeated": true,
                  "description": "Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage.",
                  "type": "string",
                  "location": "query"
                },
                "name": {
                  "pattern": "^projects/[^/]+$",
                  "description": "The resource that owns the locations collection, if applicable.",
                  "type": "string",
                  "location": "path",
                  "required": true
                }
              },
              "path": "v1/{+name}/locations",
              "response": {
                "$ref": "GoogleCloudLocationListLocationsResponse"
              }
            }
          },
          "resources": {
            "collections": {
              "methods": {
                "get": {
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}",
                  "parameters": {
                    "name": {
                      "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$",
                      "location": "path",
                      "required": true,
                      "description": "Required. Name of the resource",
                      "type": "string"
                    }
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "description": "Gets details of a single Collection.",
                  "id": "vectorsearch.projects.locations.collections.get",
                  "path": "v1/{+name}",
                  "httpMethod": "GET",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "response": {
                    "$ref": "GoogleCloudVectorsearchV1Collection"
                  }
                },
                "patch": {
                  "description": "Updates the parameters of a single Collection.",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "id": "vectorsearch.projects.locations.collections.patch",
                  "path": "v1/{+name}",
                  "parameters": {
                    "updateMask": {
                      "location": "query",
                      "type": "string",
                      "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.",
                      "format": "google-fieldmask"
                    },
                    "name": {
                      "description": "Identifier. name of resource",
                      "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    },
                    "requestId": {
                      "location": "query",
                      "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).",
                      "type": "string"
                    }
                  },
                  "response": {
                    "$ref": "GoogleLongrunningOperation"
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}",
                  "request": {
                    "$ref": "GoogleCloudVectorsearchV1Collection"
                  },
                  "httpMethod": "PATCH"
                },
                "create": {
                  "id": "vectorsearch.projects.locations.collections.create",
                  "httpMethod": "POST",
                  "response": {
                    "$ref": "GoogleLongrunningOperation"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "request": {
                    "$ref": "GoogleCloudVectorsearchV1Collection"
                  },
                  "parameters": {
                    "requestId": {
                      "location": "query",
                      "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).",
                      "type": "string"
                    },
                    "parent": {
                      "location": "path",
                      "required": true,
                      "type": "string",
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "description": "Required. Value for parent."
                    },
                    "collectionId": {
                      "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])?`.",
                      "type": "string",
                      "location": "query"
                    }
                  },
                  "description": "Creates a new Collection in a given project and location.",
                  "parameterOrder": [
                    "parent"
                  ],
                  "path": "v1/{+parent}/collections",
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections"
                },
                "importDataObjects": {
                  "response": {
                    "$ref": "GoogleLongrunningOperation"
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "parameters": {
                    "name": {
                      "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$",
                      "description": "Required. The resource name of the Collection to import DataObjects into. Format: `projects/{project}/locations/{location}/collections/{collection}`.",
                      "type": "string",
                      "location": "path",
                      "required": true
                    }
                  },
                  "id": "vectorsearch.projects.locations.collections.importDataObjects",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "request": {
                    "$ref": "GoogleCloudVectorsearchV1ImportDataObjectsRequest"
                  },
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}:importDataObjects",
                  "description": "Initiates a Long-Running Operation to import DataObjects into a Collection.",
                  "httpMethod": "POST",
                  "path": "v1/{+name}:importDataObjects"
                },
                "delete": {
                  "parameters": {
                    "force": {
                      "description": "Optional. If set to true, any Indexes and DataObjects from this Collection will also be deleted. (Otherwise, the request will only work if the Collection has no Indexes and DataObjects.)",
                      "location": "query",
                      "type": "boolean"
                    },
                    "requestId": {
                      "location": "query",
                      "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).",
                      "type": "string"
                    },
                    "name": {
                      "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$",
                      "description": "Required. Name of the resource",
                      "type": "string",
                      "location": "path",
                      "required": true
                    }
                  },
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}",
                  "description": "Deletes a single Collection.",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "id": "vectorsearch.projects.locations.collections.delete",
                  "path": "v1/{+name}",
                  "httpMethod": "DELETE",
                  "parameterOrder": [
                    "name"
                  ],
                  "response": {
                    "$ref": "GoogleLongrunningOperation"
                  }
                },
                "list": {
                  "path": "v1/{+parent}/collections",
                  "httpMethod": "GET",
                  "response": {
                    "$ref": "GoogleCloudVectorsearchV1ListCollectionsResponse"
                  },
                  "parameterOrder": [
                    "parent"
                  ],
                  "id": "vectorsearch.projects.locations.collections.list",
                  "parameters": {
                    "pageSize": {
                      "location": "query",
                      "description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.",
                      "format": "int32",
                      "type": "integer"
                    },
                    "filter": {
                      "type": "string",
                      "location": "query",
                      "description": "Optional. Filtering results"
                    },
                    "orderBy": {
                      "type": "string",
                      "description": "Optional. Hint for how to order the results",
                      "location": "query"
                    },
                    "parent": {
                      "type": "string",
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "location": "path",
                      "required": true,
                      "description": "Required. Parent value for ListCollectionsRequest"
                    },
                    "pageToken": {
                      "location": "query",
                      "type": "string",
                      "description": "Optional. A token identifying a page of results the server should return."
                    }
                  },
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections",
                  "description": "Lists Collections in a given project and location.",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ]
                },
                "exportDataObjects": {
                  "parameters": {
                    "name": {
                      "location": "path",
                      "required": true,
                      "description": "Required. The resource name of the Collection from which we want to export Data Objects. Format: `projects/{project}/locations/{location}/collections/{collection}`.",
                      "type": "string",
                      "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$"
                    }
                  },
                  "path": "v1/{+name}:exportDataObjects",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}:exportDataObjects",
                  "request": {
                    "$ref": "GoogleCloudVectorsearchV1ExportDataObjectsRequest"
                  },
                  "httpMethod": "POST",
                  "parameterOrder": [
                    "name"
                  ],
                  "description": "Initiates a Long-Running Operation to export DataObjects from a Collection.",
                  "response": {
                    "$ref": "GoogleLongrunningOperation"
                  },
                  "id": "vectorsearch.projects.locations.collections.exportDataObjects"
                }
              },
              "resources": {
                "indexes": {
                  "methods": {
                    "patch": {
                      "parameters": {
                        "requestId": {
                          "location": "query",
                          "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).",
                          "type": "string"
                        },
                        "name": {
                          "type": "string",
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/indexes/[^/]+$",
                          "location": "path",
                          "required": true,
                          "description": "Identifier. name of resource"
                        },
                        "updateMask": {
                          "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",
                          "type": "string",
                          "format": "google-fieldmask"
                        }
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/indexes/{indexesId}",
                      "path": "v1/{+name}",
                      "response": {
                        "$ref": "GoogleLongrunningOperation"
                      },
                      "httpMethod": "PATCH",
                      "parameterOrder": [
                        "name"
                      ],
                      "request": {
                        "$ref": "GoogleCloudVectorsearchV1Index"
                      },
                      "description": "Updates the parameters of a single Index.",
                      "id": "vectorsearch.projects.locations.collections.indexes.patch"
                    },
                    "get": {
                      "description": "Gets details of a single Index.",
                      "id": "vectorsearch.projects.locations.collections.indexes.get",
                      "response": {
                        "$ref": "GoogleCloudVectorsearchV1Index"
                      },
                      "httpMethod": "GET",
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/indexes/{indexesId}",
                      "parameterOrder": [
                        "name"
                      ],
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "parameters": {
                        "name": {
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/indexes/[^/]+$",
                          "description": "Required. Name of the resource",
                          "type": "string",
                          "location": "path",
                          "required": true
                        }
                      },
                      "path": "v1/{+name}"
                    },
                    "create": {
                      "description": "Creates a new Index in a given project and location.",
                      "response": {
                        "$ref": "GoogleLongrunningOperation"
                      },
                      "path": "v1/{+parent}/indexes",
                      "id": "vectorsearch.projects.locations.collections.indexes.create",
                      "httpMethod": "POST",
                      "parameters": {
                        "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"
                        },
                        "parent": {
                          "description": "Required. The resource name of the Collection for which to create the Index. Format: `projects/{project}/locations/{location}/collections/{collection}`",
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$",
                          "type": "string",
                          "location": "path",
                          "required": true
                        },
                        "indexId": {
                          "location": "query",
                          "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])?`."
                        }
                      },
                      "request": {
                        "$ref": "GoogleCloudVectorsearchV1Index"
                      },
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/indexes",
                      "parameterOrder": [
                        "parent"
                      ],
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ]
                    },
                    "list": {
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/indexes",
                      "httpMethod": "GET",
                      "path": "v1/{+parent}/indexes",
                      "id": "vectorsearch.projects.locations.collections.indexes.list",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "parameters": {
                        "orderBy": {
                          "type": "string",
                          "location": "query",
                          "description": "Optional. Hint for how to order the results"
                        },
                        "pageToken": {
                          "location": "query",
                          "type": "string",
                          "description": "Optional. A token identifying a page of results the server should return."
                        },
                        "pageSize": {
                          "format": "int32",
                          "location": "query",
                          "description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.",
                          "type": "integer"
                        },
                        "filter": {
                          "type": "string",
                          "description": "Optional. Filtering results",
                          "location": "query"
                        },
                        "parent": {
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$",
                          "description": "Required. Parent value for ListIndexesRequest",
                          "location": "path",
                          "required": true,
                          "type": "string"
                        }
                      },
                      "description": "Lists Indexes in a given project and location.",
                      "parameterOrder": [
                        "parent"
                      ],
                      "response": {
                        "$ref": "GoogleCloudVectorsearchV1ListIndexesResponse"
                      }
                    },
                    "delete": {
                      "path": "v1/{+name}",
                      "response": {
                        "$ref": "GoogleLongrunningOperation"
                      },
                      "parameterOrder": [
                        "name"
                      ],
                      "parameters": {
                        "requestId": {
                          "location": "query",
                          "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)."
                        },
                        "name": {
                          "description": "Required. The resource name of the Index to delete. Format: `projects/{project}/locations/{location}/collections/{collection}/indexes/{index}`",
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/indexes/[^/]+$",
                          "location": "path",
                          "required": true,
                          "type": "string"
                        }
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "httpMethod": "DELETE",
                      "description": "Deletes a single Index.",
                      "id": "vectorsearch.projects.locations.collections.indexes.delete",
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/indexes/{indexesId}"
                    }
                  }
                },
                "dataObjects": {
                  "methods": {
                    "batchCreate": {
                      "request": {
                        "$ref": "GoogleCloudVectorsearchV1BatchCreateDataObjectsRequest"
                      },
                      "parameterOrder": [
                        "parent"
                      ],
                      "parameters": {
                        "parent": {
                          "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.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$",
                          "type": "string",
                          "location": "path",
                          "required": true
                        }
                      },
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataObjects:batchCreate",
                      "description": "Creates a batch of dataObjects.",
                      "response": {
                        "$ref": "GoogleCloudVectorsearchV1BatchCreateDataObjectsResponse"
                      },
                      "httpMethod": "POST",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "path": "v1/{+parent}/dataObjects:batchCreate",
                      "id": "vectorsearch.projects.locations.collections.dataObjects.batchCreate"
                    },
                    "aggregate": {
                      "description": "Aggregates data objects.",
                      "response": {
                        "$ref": "GoogleCloudVectorsearchV1AggregateDataObjectsResponse"
                      },
                      "id": "vectorsearch.projects.locations.collections.dataObjects.aggregate",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "parameters": {
                        "parent": {
                          "description": "Required. The resource name of the Collection for which to query. Format: `projects/{project}/locations/{location}/collections/{collection}`",
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$",
                          "location": "path",
                          "required": true,
                          "type": "string"
                        }
                      },
                      "path": "v1/{+parent}/dataObjects:aggregate",
                      "httpMethod": "POST",
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataObjects:aggregate",
                      "request": {
                        "$ref": "GoogleCloudVectorsearchV1AggregateDataObjectsRequest"
                      },
                      "parameterOrder": [
                        "parent"
                      ]
                    },
                    "batchDelete": {
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "parameters": {
                        "parent": {
                          "location": "path",
                          "required": true,
                          "type": "string",
                          "description": "Required. The resource name of the Collection to delete the DataObjects in. Format: `projects/{project}/locations/{location}/collections/{collection}`.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$"
                        }
                      },
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataObjects:batchDelete",
                      "id": "vectorsearch.projects.locations.collections.dataObjects.batchDelete",
                      "request": {
                        "$ref": "GoogleCloudVectorsearchV1BatchDeleteDataObjectsRequest"
                      },
                      "description": "Deletes dataObjects in a batch.",
                      "httpMethod": "POST",
                      "path": "v1/{+parent}/dataObjects:batchDelete",
                      "parameterOrder": [
                        "parent"
                      ],
                      "response": {
                        "$ref": "Empty"
                      }
                    },
                    "create": {
                      "description": "Creates a dataObject.",
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataObjects",
                      "id": "vectorsearch.projects.locations.collections.dataObjects.create",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "httpMethod": "POST",
                      "request": {
                        "$ref": "GoogleCloudVectorsearchV1DataObject"
                      },
                      "path": "v1/{+parent}/dataObjects",
                      "parameters": {
                        "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])?`.",
                          "location": "query",
                          "type": "string"
                        },
                        "parent": {
                          "location": "path",
                          "required": true,
                          "type": "string",
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$",
                          "description": "Required. The resource name of the Collection to create the DataObject in. Format: `projects/{project}/locations/{location}/collections/{collection}`"
                        }
                      },
                      "parameterOrder": [
                        "parent"
                      ],
                      "response": {
                        "$ref": "GoogleCloudVectorsearchV1DataObject"
                      }
                    },
                    "patch": {
                      "description": "Updates a dataObject.",
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataObjects/{dataObjectsId}",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "request": {
                        "$ref": "GoogleCloudVectorsearchV1DataObject"
                      },
                      "httpMethod": "PATCH",
                      "parameterOrder": [
                        "name"
                      ],
                      "id": "vectorsearch.projects.locations.collections.dataObjects.patch",
                      "path": "v1/{+name}",
                      "response": {
                        "$ref": "GoogleCloudVectorsearchV1DataObject"
                      },
                      "parameters": {
                        "updateMask": {
                          "location": "query",
                          "format": "google-fieldmask",
                          "type": "string",
                          "description": "Optional. The update mask applies to the resource. See google.protobuf.FieldMask."
                        },
                        "name": {
                          "location": "path",
                          "required": true,
                          "type": "string",
                          "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).",
                          "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?"
                        }
                      }
                    },
                    "delete": {
                      "parameters": {
                        "name": {
                          "description": "Required. The name of the DataObject resource to be deleted. Format: `projects/{project}/locations/{location}/collections/{collection}/dataObjects/{dataObject}`",
                          "type": "string",
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataObjects/[^/]+$",
                          "location": "path",
                          "required": true
                        },
                        "etag": {
                          "type": "string",
                          "location": "query",
                          "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."
                        }
                      },
                      "description": "Deletes a dataObject.",
                      "path": "v1/{+name}",
                      "parameterOrder": [
                        "name"
                      ],
                      "response": {
                        "$ref": "Empty"
                      },
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataObjects/{dataObjectsId}",
                      "httpMethod": "DELETE",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "id": "vectorsearch.projects.locations.collections.dataObjects.delete"
                    },
                    "search": {
                      "path": "v1/{+parent}/dataObjects:search",
                      "description": "Searches data objects.",
                      "id": "vectorsearch.projects.locations.collections.dataObjects.search",
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataObjects:search",
                      "parameters": {
                        "parent": {
                          "type": "string",
                          "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",
                          "required": true
                        }
                      },
                      "parameterOrder": [
                        "parent"
                      ],
                      "response": {
                        "$ref": "GoogleCloudVectorsearchV1SearchDataObjectsResponse"
                      },
                      "httpMethod": "POST",
                      "request": {
                        "$ref": "GoogleCloudVectorsearchV1SearchDataObjectsRequest"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ]
                    },
                    "batchUpdate": {
                      "parameterOrder": [
                        "parent"
                      ],
                      "parameters": {
                        "parent": {
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$",
                          "type": "string",
                          "location": "path",
                          "required": true,
                          "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."
                        }
                      },
                      "id": "vectorsearch.projects.locations.collections.dataObjects.batchUpdate",
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataObjects:batchUpdate",
                      "request": {
                        "$ref": "GoogleCloudVectorsearchV1BatchUpdateDataObjectsRequest"
                      },
                      "response": {
                        "$ref": "GoogleCloudVectorsearchV1BatchUpdateDataObjectsResponse"
                      },
                      "httpMethod": "POST",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "path": "v1/{+parent}/dataObjects:batchUpdate",
                      "description": "Updates dataObjects in a batch."
                    },
                    "batchSearch": {
                      "parameterOrder": [
                        "parent"
                      ],
                      "parameters": {
                        "parent": {
                          "location": "path",
                          "required": true,
                          "description": "Required. The resource name of the Collection for which to search. Format: `projects/{project}/locations/{location}/collections/{collection}`",
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$",
                          "type": "string"
                        }
                      },
                      "id": "vectorsearch.projects.locations.collections.dataObjects.batchSearch",
                      "request": {
                        "$ref": "GoogleCloudVectorsearchV1BatchSearchDataObjectsRequest"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "response": {
                        "$ref": "GoogleCloudVectorsearchV1BatchSearchDataObjectsResponse"
                      },
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataObjects:batchSearch",
                      "description": "Batch searches data objects.",
                      "path": "v1/{+parent}/dataObjects:batchSearch",
                      "httpMethod": "POST"
                    },
                    "get": {
                      "parameterOrder": [
                        "name"
                      ],
                      "httpMethod": "GET",
                      "id": "vectorsearch.projects.locations.collections.dataObjects.get",
                      "path": "v1/{+name}",
                      "response": {
                        "$ref": "GoogleCloudVectorsearchV1DataObject"
                      },
                      "description": "Gets a data object.",
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataObjects/{dataObjectsId}",
                      "parameters": {
                        "name": {
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataObjects/[^/]+$",
                          "description": "Required. The name of the DataObject resource. Format: `projects/{project}/locations/{location}/collections/{collection}/dataObjects/{dataObject}`",
                          "location": "path",
                          "required": true,
                          "type": "string"
                        }
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ]
                    },
                    "query": {
                      "response": {
                        "$ref": "GoogleCloudVectorsearchV1QueryDataObjectsResponse"
                      },
                      "path": "v1/{+parent}/dataObjects:query",
                      "request": {
                        "$ref": "GoogleCloudVectorsearchV1QueryDataObjectsRequest"
                      },
                      "parameters": {
                        "parent": {
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$",
                          "type": "string",
                          "description": "Required. The resource name of the Collection for which to query. Format: `projects/{project}/locations/{location}/collections/{collection}`",
                          "location": "path",
                          "required": true
                        }
                      },
                      "description": "Queries data objects.",
                      "parameterOrder": [
                        "parent"
                      ],
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataObjects:query",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "httpMethod": "POST",
                      "id": "vectorsearch.projects.locations.collections.dataObjects.query"
                    }
                  }
                }
              }
            },
            "operations": {
              "methods": {
                "get": {
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}",
                  "parameterOrder": [
                    "name"
                  ],
                  "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.",
                  "parameters": {
                    "name": {
                      "type": "string",
                      "location": "path",
                      "required": true,
                      "description": "The name of the operation resource.",
                      "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$"
                    }
                  },
                  "id": "vectorsearch.projects.locations.operations.get",
                  "httpMethod": "GET",
                  "path": "v1/{+name}",
                  "response": {
                    "$ref": "GoogleLongrunningOperation"
                  }
                },
                "delete": {
                  "response": {
                    "$ref": "Empty"
                  },
                  "parameters": {
                    "name": {
                      "type": "string",
                      "description": "The name of the operation resource to be deleted.",
                      "location": "path",
                      "required": true,
                      "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$"
                    }
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "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`.",
                  "httpMethod": "DELETE",
                  "id": "vectorsearch.projects.locations.operations.delete",
                  "path": "v1/{+name}",
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}"
                },
                "cancel": {
                  "parameters": {
                    "name": {
                      "description": "The name of the operation resource to be cancelled.",
                      "type": "string",
                      "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$",
                      "location": "path",
                      "required": true
                    }
                  },
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "request": {
                    "$ref": "GoogleLongrunningCancelOperationRequest"
                  },
                  "path": "v1/{+name}:cancel",
                  "httpMethod": "POST",
                  "id": "vectorsearch.projects.locations.operations.cancel",
                  "response": {
                    "$ref": "Empty"
                  },
                  "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`.",
                  "parameterOrder": [
                    "name"
                  ]
                },
                "list": {
                  "id": "vectorsearch.projects.locations.operations.list",
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations",
                  "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.",
                  "parameters": {
                    "filter": {
                      "description": "The standard list filter.",
                      "type": "string",
                      "location": "query"
                    },
                    "pageToken": {
                      "type": "string",
                      "location": "query",
                      "description": "The standard list page token."
                    },
                    "name": {
                      "description": "The name of the operation's parent resource.",
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "type": "string",
                      "location": "path",
                      "required": true
                    },
                    "pageSize": {
                      "description": "The standard list page size.",
                      "type": "integer",
                      "location": "query",
                      "format": "int32"
                    },
                    "returnPartialSuccess": {
                      "location": "query",
                      "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."
                    }
                  },
                  "path": "v1/{+name}/operations",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "httpMethod": "GET",
                  "response": {
                    "$ref": "GoogleLongrunningListOperationsResponse"
                  },
                  "parameterOrder": [
                    "name"
                  ]
                }
              }
            }
          }
        }
      }
    }
  },
  "rootUrl": "https://vectorsearch.googleapis.com/",
  "name": "vectorsearch",
  "version_module": true,
  "ownerName": "Google",
  "fullyEncodeReservedExpansion": true,
  "mtlsRootUrl": "https://vectorsearch.mtls.googleapis.com/",
  "batchPath": "batch",
  "discoveryVersion": "v1",
  "version": "v1",
  "kind": "discovery#restDescription",
  "canonicalName": "Vector Search",
  "revision": "20260930",
  "ownerDomain": "google.com",
  "endpoints": [
    {
      "location": "us",
      "endpointUrl": "https://vectorsearch.us.rep.googleapis.com/",
      "description": "Regional Endpoint"
    }
  ],
  "schemas": {
    "GoogleCloudVectorsearchV1AggregateDataObjectsRequest": {
      "description": "Request message for DataObjectSearchService.AggregateDataObjects.",
      "type": "object",
      "id": "GoogleCloudVectorsearchV1AggregateDataObjectsRequest",
      "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."
          }
        },
        "aggregate": {
          "enumDescriptions": [
            "Should not be used.",
            "Count the number of data objects that match the filter."
          ],
          "enum": [
            "AGGREGATION_METHOD_UNSPECIFIED",
            "COUNT"
          ],
          "description": "Required. The aggregation method to apply to the query.",
          "type": "string"
        }
      }
    },
    "GoogleCloudVectorsearchV1VectorField": {
      "properties": {
        "denseVector": {
          "$ref": "GoogleCloudVectorsearchV1DenseVectorField",
          "description": "Dense vector field."
        },
        "sparseVector": {
          "description": "Sparse vector field.",
          "$ref": "GoogleCloudVectorsearchV1SparseVectorField"
        }
      },
      "id": "GoogleCloudVectorsearchV1VectorField",
      "type": "object",
      "description": "Message describing a vector field."
    },
    "GoogleCloudVectorsearchV1DedicatedInfrastructure": {
      "description": "Represents dedicated infrastructure for the index.",
      "type": "object",
      "properties": {
        "autoscalingSpec": {
          "$ref": "GoogleCloudVectorsearchV1DedicatedInfrastructureAutoscalingSpec",
          "description": "Optional. Autoscaling specification."
        },
        "mode": {
          "description": "Optional. Mode of the dedicated infrastructure.",
          "enum": [
            "MODE_UNSPECIFIED",
            "STORAGE_OPTIMIZED",
            "PERFORMANCE_OPTIMIZED"
          ],
          "enumDescriptions": [
            "Default will use `PERFORMANCE_OPTIMIZED`.",
            "This is storage optimized variation.",
            "This is Performance optimized on E2 or equivalent family."
          ],
          "type": "string"
        }
      },
      "id": "GoogleCloudVectorsearchV1DedicatedInfrastructure"
    },
    "GoogleCloudVectorsearchV1SemanticSearch": {
      "id": "GoogleCloudVectorsearchV1SemanticSearch",
      "description": "Defines a semantic search operation.",
      "type": "object",
      "properties": {
        "topK": {
          "type": "integer",
          "description": "Optional. The number of data objects to return.",
          "format": "int32"
        },
        "searchText": {
          "description": "Optional. The query text, which is used to generate an embedding according to the embedding model specified in the collection config. Required when using the text search mode.",
          "type": "string"
        },
        "searchHint": {
          "$ref": "GoogleCloudVectorsearchV1SearchHint",
          "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."
        },
        "outputFields": {
          "description": "Optional. The fields to return in the search results.",
          "$ref": "GoogleCloudVectorsearchV1OutputFields"
        },
        "filter": {
          "type": "object",
          "additionalProperties": {
            "description": "Properties of the object.",
            "type": "any"
          },
          "description": "Optional. A JSON filter expression, e.g. {\"genre\": {\"$eq\": \"sci-fi\"}}, represented as a google.protobuf.Struct."
        },
        "taskType": {
          "type": "string",
          "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."
          ],
          "enum": [
            "EMBEDDING_TASK_TYPE_UNSPECIFIED",
            "RETRIEVAL_QUERY",
            "RETRIEVAL_DOCUMENT",
            "SEMANTIC_SIMILARITY",
            "CLASSIFICATION",
            "CLUSTERING",
            "QUESTION_ANSWERING",
            "FACT_VERIFICATION",
            "CODE_RETRIEVAL_QUERY"
          ],
          "description": "Optional. The task type of the query embedding. Must be specified for text-only embedding models, see Not needed for multi modal embedding models, see "
        },
        "searchField": {
          "description": "Required. The vector field to search.",
          "type": "string"
        }
      }
    },
    "GoogleCloudVectorsearchV1Search": {
      "properties": {
        "textSearch": {
          "$ref": "GoogleCloudVectorsearchV1TextSearch",
          "description": "A text search operation."
        },
        "vectorSearch": {
          "description": "A vector-based search.",
          "$ref": "GoogleCloudVectorsearchV1VectorSearch"
        },
        "semanticSearch": {
          "description": "A semantic search.",
          "$ref": "GoogleCloudVectorsearchV1SemanticSearch"
        }
      },
      "type": "object",
      "description": "A single search request within a batch operation.",
      "id": "GoogleCloudVectorsearchV1Search"
    },
    "GoogleCloudVectorsearchV1VertexRankerTextRecordSpec": {
      "id": "GoogleCloudVectorsearchV1VertexRankerTextRecordSpec",
      "description": "The record spec for text search.",
      "properties": {
        "query": {
          "description": "Required. The query against which the records are ranked and scored.",
          "type": "string"
        },
        "contentTemplate": {
          "description": "Optional. The template used to generate the record's content.",
          "type": "string"
        },
        "titleTemplate": {
          "type": "string",
          "description": "Optional. The template used to generate the record's title."
        }
      },
      "type": "object"
    },
    "GoogleCloudVectorsearchV1SearchHint": {
      "properties": {
        "indexHint": {
          "description": "Optional. Specifies that the search should use a particular index.",
          "$ref": "GoogleCloudVectorsearchV1SearchHintIndexHint"
        },
        "knnHint": {
          "description": "Optional. If set, the search will use the system's default K-Nearest Neighbor (KNN) index engine.",
          "$ref": "GoogleCloudVectorsearchV1SearchHintKnnHint"
        }
      },
      "type": "object",
      "description": "Represents a hint to the search index engine.",
      "id": "GoogleCloudVectorsearchV1SearchHint"
    },
    "GoogleCloudVectorsearchV1ListIndexesResponse": {
      "type": "object",
      "properties": {
        "nextPageToken": {
          "type": "string",
          "description": "A token identifying a page of results the server should return."
        },
        "indexes": {
          "description": "The list of Index",
          "items": {
            "$ref": "GoogleCloudVectorsearchV1Index"
          },
          "type": "array"
        }
      },
      "description": "Message for response to listing Indexes",
      "id": "GoogleCloudVectorsearchV1ListIndexesResponse"
    },
    "GoogleCloudVectorsearchV1TextSearch": {
      "properties": {
        "topK": {
          "type": "integer",
          "format": "int32",
          "description": "Optional. The number of results to return."
        },
        "searchText": {
          "description": "Optional. The query text. Required when using the default text search mode.",
          "type": "string"
        },
        "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"
        },
        "outputFields": {
          "description": "Optional. The fields to return in the search results.",
          "$ref": "GoogleCloudVectorsearchV1OutputFields"
        },
        "dataFieldNames": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "Optional. The data field names to search. Required when using the default text search mode."
        }
      },
      "description": "Defines a text search operation.",
      "id": "GoogleCloudVectorsearchV1TextSearch",
      "type": "object"
    },
    "GoogleCloudVectorsearchV1BatchCreateDataObjectsRequest": {
      "id": "GoogleCloudVectorsearchV1BatchCreateDataObjectsRequest",
      "type": "object",
      "description": "Request message for DataObjectService.BatchCreateDataObjects.",
      "properties": {
        "requests": {
          "items": {
            "$ref": "GoogleCloudVectorsearchV1CreateDataObjectRequest"
          },
          "description": "Required. The request message specifying the resources to create. A maximum of 1000 DataObjects can be created in a batch.",
          "type": "array"
        }
      }
    },
    "GoogleCloudVectorsearchV1DenseScannIndex": {
      "properties": {
        "featureNormType": {
          "description": "Optional. Feature norm type.",
          "enumDescriptions": [
            "Unspecified feature norm type.",
            "No norm applied.",
            "Unit L2 norm."
          ],
          "type": "string",
          "enum": [
            "FEATURE_NORM_TYPE_UNSPECIFIED",
            "NONE",
            "UNIT_L2_NORM"
          ]
        }
      },
      "id": "GoogleCloudVectorsearchV1DenseScannIndex",
      "description": "Dense ScaNN index configuration.",
      "type": "object"
    },
    "GoogleCloudVectorsearchV1UpdateDataObjectRequest": {
      "properties": {
        "updateMask": {
          "description": "Optional. The update mask applies to the resource. See google.protobuf.FieldMask.",
          "format": "google-fieldmask",
          "type": "string"
        },
        "dataObject": {
          "description": "Required. The DataObject which replaces the resource on the server.",
          "$ref": "GoogleCloudVectorsearchV1DataObject"
        }
      },
      "type": "object",
      "id": "GoogleCloudVectorsearchV1UpdateDataObjectRequest",
      "description": "Request message for DataObjectService.UpdateDataObject."
    },
    "GoogleCloudVectorsearchV1SearchHintIndexHintDenseScannParams": {
      "type": "object",
      "description": "Parameters for dense ScaNN.",
      "properties": {
        "targetRecall": {
          "format": "double",
          "type": "number",
          "description": "Optional. The target recall for the search. Must be a double in the range [0, 1]. While the search aims to achieve this level of recall, it is not guaranteed."
        }
      },
      "id": "GoogleCloudVectorsearchV1SearchHintIndexHintDenseScannParams"
    },
    "GoogleCloudVectorsearchV1ExportDataObjectsRequestFieldFilterFieldList": {
      "properties": {
        "fields": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Required. The list of top-level Data Object JSON field names. Allowed values are `id`, `data`, `vectors`, `etag`."
        }
      },
      "description": "Wrapper for a repeated string. Wrapping in a message lets the surrounding `oneof` distinguish \"field set to an empty list\" (which is rejected as INVALID_ARGUMENT) from \"field not set\".",
      "id": "GoogleCloudVectorsearchV1ExportDataObjectsRequestFieldFilterFieldList",
      "type": "object"
    },
    "GoogleCloudVectorsearchV1SearchDataObjectsResponse": {
      "type": "object",
      "id": "GoogleCloudVectorsearchV1SearchDataObjectsResponse",
      "properties": {
        "results": {
          "readOnly": true,
          "description": "Output only. The list of dataObjects that match the search criteria.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudVectorsearchV1SearchResult"
          }
        },
        "nextPageToken": {
          "readOnly": true,
          "description": "Output only. A token to retrieve next page of results. Pass to DataObjectSearchService.SearchDataObjectsRequest.page_token to obtain that page.",
          "type": "string"
        }
      },
      "description": "Response for a search request."
    },
    "GoogleCloudVectorsearchV1BatchUpdateDataObjectsRequest": {
      "type": "object",
      "id": "GoogleCloudVectorsearchV1BatchUpdateDataObjectsRequest",
      "description": "Request message for DataObjectService.BatchUpdateDataObjects.",
      "properties": {
        "requests": {
          "type": "array",
          "description": "Required. The request message specifying the resources to update. A maximum of 1000 DataObjects can be updated in a batch.",
          "items": {
            "$ref": "GoogleCloudVectorsearchV1UpdateDataObjectRequest"
          }
        }
      }
    },
    "GoogleCloudVectorsearchV1SparseVector": {
      "type": "object",
      "id": "GoogleCloudVectorsearchV1SparseVector",
      "properties": {
        "indices": {
          "description": "Required. The corresponding indices for the values.",
          "items": {
            "type": "integer",
            "format": "int32"
          },
          "type": "array"
        },
        "values": {
          "description": "Required. The values of the vector.",
          "type": "array",
          "items": {
            "type": "number",
            "format": "float"
          }
        }
      },
      "description": "A sparse vector."
    },
    "GoogleCloudLocationLocation": {
      "properties": {
        "labels": {
          "description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}",
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "metadata": {
          "type": "object",
          "additionalProperties": {
            "description": "Properties of the object. Contains field @type with type URL.",
            "type": "any"
          },
          "description": "Service-specific metadata. For example the available capacity at the given location."
        },
        "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"
        },
        "name": {
          "type": "string",
          "description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`"
        }
      },
      "type": "object",
      "description": "A resource that represents a Google Cloud location.",
      "id": "GoogleCloudLocationLocation"
    },
    "GoogleLongrunningCancelOperationRequest": {
      "id": "GoogleLongrunningCancelOperationRequest",
      "description": "The request message for Operations.CancelOperation.",
      "type": "object",
      "properties": {}
    },
    "GoogleCloudVectorsearchV1ImportDataObjectsRequest": {
      "type": "object",
      "properties": {
        "gcsImport": {
          "$ref": "GoogleCloudVectorsearchV1ImportDataObjectsRequestGcsImportConfig",
          "description": "The Cloud Storage location of the input content."
        }
      },
      "description": "Request message for VectorSearchService.ImportDataObjects.",
      "id": "GoogleCloudVectorsearchV1ImportDataObjectsRequest"
    },
    "GoogleCloudVectorsearchV1Vector": {
      "id": "GoogleCloudVectorsearchV1Vector",
      "properties": {
        "dense": {
          "$ref": "GoogleCloudVectorsearchV1DenseVector",
          "description": "A dense vector."
        },
        "sparse": {
          "description": "A sparse vector.",
          "$ref": "GoogleCloudVectorsearchV1SparseVector"
        }
      },
      "type": "object",
      "description": "A vector which can be either dense or sparse."
    },
    "GoogleCloudVectorsearchV1SearchResult": {
      "type": "object",
      "properties": {
        "distance": {
          "format": "double",
          "description": "Output only. Similarity distance or ranker score returned by BatchSearchDataObjects.",
          "type": "number",
          "readOnly": true
        },
        "dataObject": {
          "readOnly": true,
          "description": "Output only. The matching data object.",
          "$ref": "GoogleCloudVectorsearchV1DataObject"
        }
      },
      "id": "GoogleCloudVectorsearchV1SearchResult",
      "description": "A single search result."
    },
    "GoogleCloudVectorsearchV1VertexRanker": {
      "properties": {
        "textRecordSpec": {
          "description": "The record spec for text search.",
          "$ref": "GoogleCloudVectorsearchV1VertexRankerTextRecordSpec"
        },
        "topN": {
          "format": "int32",
          "type": "integer",
          "description": "Required. The number of documents to be processed for ranking."
        },
        "model": {
          "type": "string",
          "description": "Required. The model used for ranking documents. The list of available models is described in . Currently, only `semantic-ranker-fast@latest` is supported."
        }
      },
      "type": "object",
      "id": "GoogleCloudVectorsearchV1VertexRanker",
      "description": "Defines a ranker using the Vertex AI ranking service. See for details."
    },
    "GoogleCloudVectorsearchV1BatchSearchDataObjectsRequest": {
      "description": "A request to perform a batch of search operations.",
      "properties": {
        "combine": {
          "$ref": "GoogleCloudVectorsearchV1BatchSearchDataObjectsRequestCombineResultsOptions",
          "description": "Optional. Options for combining the results of the batch search operations."
        },
        "searches": {
          "description": "Required. A list of search requests to execute in parallel.",
          "items": {
            "$ref": "GoogleCloudVectorsearchV1Search"
          },
          "type": "array"
        }
      },
      "id": "GoogleCloudVectorsearchV1BatchSearchDataObjectsRequest",
      "type": "object"
    },
    "GoogleCloudVectorsearchV1DeleteDataObjectRequest": {
      "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"
        }
      },
      "id": "GoogleCloudVectorsearchV1DeleteDataObjectRequest",
      "description": "Request message for DataObjectService.DeleteDataObject.",
      "type": "object"
    },
    "GoogleCloudVectorsearchV1VectorSearch": {
      "properties": {
        "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"
        },
        "sparseVector": {
          "description": "A sparse vector for the query.",
          "$ref": "GoogleCloudVectorsearchV1SparseVector"
        },
        "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"
        },
        "distanceMetric": {
          "description": "Optional. The distance metric to use for the KNN search. If not specified, DOT_PRODUCT will be used as the default.",
          "type": "string",
          "enumDescriptions": [
            "Default value, distance metric is not specified.",
            "Dot product distance metric.",
            "Cosine distance metric."
          ],
          "enum": [
            "DISTANCE_METRIC_UNSPECIFIED",
            "DOT_PRODUCT",
            "COSINE_DISTANCE"
          ]
        },
        "searchField": {
          "description": "Required. The vector field to search.",
          "type": "string"
        },
        "vector": {
          "description": "A dense vector for the query.",
          "$ref": "GoogleCloudVectorsearchV1DenseVector"
        },
        "outputFields": {
          "$ref": "GoogleCloudVectorsearchV1OutputFields",
          "description": "Optional. Mask specifying which fields to return."
        },
        "topK": {
          "description": "Optional. The number of nearest neighbors to return.",
          "format": "int32",
          "type": "integer"
        }
      },
      "id": "GoogleCloudVectorsearchV1VectorSearch",
      "description": "Defines a search operation using a query vector.",
      "type": "object"
    },
    "GoogleCloudVectorsearchV1OutputFields": {
      "type": "object",
      "properties": {
        "metadataFields": {
          "items": {
            "type": "string"
          },
          "description": "Optional. The fields from the DataObject metadata to include in the output.",
          "type": "array"
        },
        "dataFields": {
          "type": "array",
          "description": "Optional. The fields from the data fields to include in the output.",
          "items": {
            "type": "string"
          }
        },
        "vectorFields": {
          "items": {
            "type": "string"
          },
          "description": "Optional. The fields from the vector fields to include in the output.",
          "type": "array"
        }
      },
      "id": "GoogleCloudVectorsearchV1OutputFields",
      "description": "Defines a output fields struct for data in DataObject."
    },
    "GoogleCloudVectorsearchV1SearchHintIndexHint": {
      "id": "GoogleCloudVectorsearchV1SearchHintIndexHint",
      "properties": {
        "denseScannParams": {
          "description": "Optional. Dense ScaNN parameters.",
          "$ref": "GoogleCloudVectorsearchV1SearchHintIndexHintDenseScannParams"
        },
        "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}`"
        }
      },
      "description": "Message to specify the index to use for the search.",
      "type": "object"
    },
    "GoogleCloudVectorsearchV1SparseVectorField": {
      "properties": {},
      "id": "GoogleCloudVectorsearchV1SparseVectorField",
      "type": "object",
      "description": "Message describing a sparse vector field."
    },
    "GoogleCloudVectorsearchV1DenseVectorField": {
      "description": "Message describing a dense vector field.",
      "id": "GoogleCloudVectorsearchV1DenseVectorField",
      "type": "object",
      "properties": {
        "vertexEmbeddingConfig": {
          "$ref": "GoogleCloudVectorsearchV1VertexEmbeddingConfig",
          "description": "Optional. Configuration for generating embeddings for the vector field. If not specified, the embedding field must be populated in the DataObject."
        },
        "dimensions": {
          "description": "Dimensionality of the vector field.",
          "format": "int32",
          "type": "integer"
        }
      }
    },
    "GoogleCloudVectorsearchV1BatchDeleteDataObjectsRequest": {
      "properties": {
        "requests": {
          "description": "Required. The request message specifying the resources to delete. A maximum of 1000 DataObjects can be deleted in a batch.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudVectorsearchV1DeleteDataObjectRequest"
          }
        }
      },
      "description": "Request message for DataObjectService.BatchDeleteDataObjects.",
      "type": "object",
      "id": "GoogleCloudVectorsearchV1BatchDeleteDataObjectsRequest"
    },
    "GoogleRpcStatus": {
      "id": "GoogleRpcStatus",
      "properties": {
        "message": {
          "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.",
          "type": "string"
        },
        "details": {
          "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.",
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": {
              "type": "any",
              "description": "Properties of the object. Contains field @type with type URL."
            }
          }
        },
        "code": {
          "description": "The status code, which should be an enum value of google.rpc.Code.",
          "type": "integer",
          "format": "int32"
        }
      },
      "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)."
    },
    "GoogleCloudVectorsearchV1DataObject": {
      "description": "A dataObject resource in Vector Search.",
      "id": "GoogleCloudVectorsearchV1DataObject",
      "properties": {
        "data": {
          "description": "Optional. The data of the dataObject.",
          "type": "object",
          "additionalProperties": {
            "description": "Properties of the object.",
            "type": "any"
          }
        },
        "updateTime": {
          "readOnly": true,
          "type": "string",
          "format": "google-datetime",
          "description": "Output only. Timestamp the dataObject was last updated."
        },
        "dataObjectId": {
          "readOnly": true,
          "description": "Output only. The id of the dataObject.",
          "type": "string"
        },
        "createTime": {
          "type": "string",
          "format": "google-datetime",
          "description": "Output only. Timestamp the dataObject was created at.",
          "readOnly": true
        },
        "vectors": {
          "additionalProperties": {
            "$ref": "GoogleCloudVectorsearchV1Vector"
          },
          "description": "Optional. The vectors of the dataObject.",
          "type": "object"
        },
        "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).",
          "type": "string"
        },
        "etag": {
          "type": "string",
          "description": "Optional. The etag of the dataObject."
        }
      },
      "type": "object"
    },
    "GoogleCloudVectorsearchV1Ranker": {
      "description": "Defines a ranker to combine results from multiple searches.",
      "type": "object",
      "id": "GoogleCloudVectorsearchV1Ranker",
      "properties": {
        "vertexRanker": {
          "description": "Optional. Vertex AI ranking.",
          "$ref": "GoogleCloudVectorsearchV1VertexRanker"
        },
        "rrf": {
          "$ref": "GoogleCloudVectorsearchV1ReciprocalRankFusion",
          "description": "Reciprocal Rank Fusion ranking."
        }
      }
    },
    "GoogleCloudVectorsearchV1ExportDataObjectsRequestGcsExportDestination": {
      "type": "object",
      "description": "Google Cloud Storage configuration for the export.",
      "id": "GoogleCloudVectorsearchV1ExportDataObjectsRequestGcsExportDestination",
      "properties": {
        "exportUri": {
          "type": "string",
          "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."
        },
        "format": {
          "description": "Required. The format of the exported Data Objects.",
          "type": "string",
          "enum": [
            "FORMAT_UNSPECIFIED",
            "JSONL"
          ],
          "enumDescriptions": [
            "Unspecified format.",
            "Exports Data Objects in `JSONL` format."
          ]
        }
      }
    },
    "GoogleCloudVectorsearchV1EncryptionSpec": {
      "properties": {
        "cryptoKeyName": {
          "type": "string",
          "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": "object",
      "id": "GoogleCloudVectorsearchV1EncryptionSpec",
      "description": "Represents a customer-managed encryption key specification that can be applied to a Vector Search collection."
    },
    "GoogleCloudVectorsearchV1BatchUpdateDataObjectsResponse": {
      "description": "Response message for DataObjectService.BatchUpdateDataObjects.",
      "type": "object",
      "properties": {},
      "id": "GoogleCloudVectorsearchV1BatchUpdateDataObjectsResponse"
    },
    "GoogleCloudVectorsearchV1ReciprocalRankFusion": {
      "type": "object",
      "properties": {
        "weights": {
          "description": "Required. The weights to apply to each search result set during fusion.",
          "items": {
            "type": "number",
            "format": "double"
          },
          "type": "array"
        }
      },
      "id": "GoogleCloudVectorsearchV1ReciprocalRankFusion",
      "description": "Defines the Reciprocal Rank Fusion (RRF) algorithm for result ranking."
    },
    "GoogleCloudVectorsearchV1CreateDataObjectRequest": {
      "description": "Request message for DataObjectService.CreateDataObject.",
      "type": "object",
      "properties": {
        "dataObject": {
          "$ref": "GoogleCloudVectorsearchV1DataObject",
          "description": "Required. The DataObject to create."
        },
        "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}`"
        }
      },
      "id": "GoogleCloudVectorsearchV1CreateDataObjectRequest"
    },
    "GoogleCloudVectorsearchV1Collection": {
      "properties": {
        "name": {
          "description": "Identifier. name of resource",
          "type": "string"
        },
        "updateTime": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. [Output only] Update time stamp",
          "format": "google-datetime"
        },
        "displayName": {
          "description": "Optional. User-specified display name of the collection",
          "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"
        },
        "dataSchema": {
          "additionalProperties": {
            "description": "Properties of the object.",
            "type": "any"
          },
          "type": "object",
          "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)."
        },
        "createTime": {
          "format": "google-datetime",
          "readOnly": true,
          "description": "Output only. [Output only] Create time stamp",
          "type": "string"
        },
        "vectorSchema": {
          "type": "object",
          "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"
          }
        },
        "labels": {
          "description": "Optional. Labels as key value pairs.",
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        },
        "description": {
          "description": "Optional. User-specified description of the collection",
          "type": "string"
        }
      },
      "type": "object",
      "description": "Message describing Collection object",
      "id": "GoogleCloudVectorsearchV1Collection"
    },
    "GoogleCloudVectorsearchV1VertexEmbeddingConfig": {
      "properties": {
        "textTemplate": {
          "type": "string",
          "description": "Optional. 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}\". Required when using the text-only path."
        },
        "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."
        },
        "taskType": {
          "description": "Optional. Optional: Task type for the embeddings. Required for text-only embedding models, see https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/embeddings/task-types Not needed for multi modal embedding models, see https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/embeddings/get-multimodal-embeddings#specify-task-instructions",
          "enum": [
            "EMBEDDING_TASK_TYPE_UNSPECIFIED",
            "RETRIEVAL_QUERY",
            "RETRIEVAL_DOCUMENT",
            "SEMANTIC_SIMILARITY",
            "CLASSIFICATION",
            "CLUSTERING",
            "QUESTION_ANSWERING",
            "FACT_VERIFICATION",
            "CODE_RETRIEVAL_QUERY"
          ],
          "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."
          ],
          "type": "string"
        }
      },
      "id": "GoogleCloudVectorsearchV1VertexEmbeddingConfig",
      "description": "Message describing the configuration for generating embeddings for a vector field using Vertex AI embeddings API.",
      "type": "object"
    },
    "GoogleCloudVectorsearchV1BatchSearchDataObjectsResponse": {
      "id": "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.",
      "type": "object"
    },
    "GoogleCloudVectorsearchV1ExportDataObjectsRequestFieldFilter": {
      "type": "object",
      "description": "Selects which top-level Data Object fields are emitted at export time.",
      "properties": {
        "includedFields": {
          "description": "Optional. Only these top-level fields will appear in each exported record.",
          "$ref": "GoogleCloudVectorsearchV1ExportDataObjectsRequestFieldFilterFieldList"
        },
        "excludedFields": {
          "description": "Optional. Every top-level field except these will appear in each exported record.",
          "$ref": "GoogleCloudVectorsearchV1ExportDataObjectsRequestFieldFilterFieldList"
        }
      },
      "id": "GoogleCloudVectorsearchV1ExportDataObjectsRequestFieldFilter"
    },
    "GoogleCloudVectorsearchV1DedicatedInfrastructureAutoscalingSpec": {
      "id": "GoogleCloudVectorsearchV1DedicatedInfrastructureAutoscalingSpec",
      "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": {
          "format": "int32",
          "type": "integer",
          "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`."
        }
      },
      "type": "object",
      "description": "Specification for autoscaling."
    },
    "GoogleCloudVectorsearchV1QueryDataObjectsRequest": {
      "description": "Request message for DataObjectSearchService.QueryDataObjects.",
      "properties": {
        "pageSize": {
          "description": "Optional. The standard list page size. Default is 100. The maximum value is 1000; values above 1000 will be coerced to 1000.",
          "type": "integer",
          "format": "int32"
        },
        "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"
        },
        "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"
        }
      },
      "id": "GoogleCloudVectorsearchV1QueryDataObjectsRequest",
      "type": "object"
    },
    "GoogleCloudVectorsearchV1SearchHintKnnHint": {
      "description": "KnnHint will be used if search should be explicitly done on system's default K-Nearest Neighbor (KNN) index engine.",
      "properties": {},
      "type": "object",
      "id": "GoogleCloudVectorsearchV1SearchHintKnnHint"
    },
    "GoogleCloudLocationListLocationsResponse": {
      "id": "GoogleCloudLocationListLocationsResponse",
      "description": "The response message for Locations.ListLocations.",
      "type": "object",
      "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."
        }
      }
    },
    "GoogleCloudVectorsearchV1OperationMetadata": {
      "id": "GoogleCloudVectorsearchV1OperationMetadata",
      "description": "Represents the metadata of the long-running operation.",
      "type": "object",
      "properties": {
        "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"
        },
        "endTime": {
          "format": "google-datetime",
          "readOnly": true,
          "description": "Output only. The time the operation finished running.",
          "type": "string"
        },
        "createTime": {
          "readOnly": true,
          "description": "Output only. The time the operation was created.",
          "type": "string",
          "format": "google-datetime"
        },
        "apiVersion": {
          "description": "Output only. API version used to start the operation.",
          "readOnly": true,
          "type": "string"
        },
        "target": {
          "readOnly": true,
          "description": "Output only. Server-defined resource path for the target of the operation.",
          "type": "string"
        },
        "verb": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. Name of the verb executed by the operation."
        },
        "statusMessage": {
          "type": "string",
          "description": "Output only. Human-readable status of the operation, if any.",
          "readOnly": true
        }
      }
    },
    "GoogleCloudVectorsearchV1ImportDataObjectsRequestGcsImportConfig": {
      "properties": {
        "outputUri": {
          "type": "string",
          "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."
        },
        "contentsUri": {
          "description": "Required. URI prefix of the Cloud Storage DataObjects to import.",
          "type": "string"
        },
        "errorUri": {
          "description": "Required. URI prefix of the Cloud Storage location to write any errors encountered during the import.",
          "type": "string"
        }
      },
      "type": "object",
      "id": "GoogleCloudVectorsearchV1ImportDataObjectsRequestGcsImportConfig",
      "description": "Google Cloud Storage configuration for the import."
    },
    "GoogleCloudVectorsearchV1ListCollectionsResponse": {
      "type": "object",
      "id": "GoogleCloudVectorsearchV1ListCollectionsResponse",
      "description": "Message for response to listing Collections",
      "properties": {
        "nextPageToken": {
          "description": "A token identifying a page of results the server should return.",
          "type": "string"
        },
        "collections": {
          "type": "array",
          "items": {
            "$ref": "GoogleCloudVectorsearchV1Collection"
          },
          "description": "The list of Collection"
        },
        "unreachable": {
          "type": "array",
          "description": "Unordered list. Locations that could not be reached.",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "GoogleCloudVectorsearchV1DenseVector": {
      "type": "object",
      "description": "A dense vector.",
      "id": "GoogleCloudVectorsearchV1DenseVector",
      "properties": {
        "values": {
          "items": {
            "type": "number",
            "format": "float"
          },
          "type": "array",
          "description": "Required. The values of the vector."
        }
      }
    },
    "Empty": {
      "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",
      "properties": {}
    },
    "GoogleLongrunningListOperationsResponse": {
      "description": "The response message for Operations.ListOperations.",
      "properties": {
        "operations": {
          "description": "A list of operations that matches the specified filter in the request.",
          "items": {
            "$ref": "GoogleLongrunningOperation"
          },
          "type": "array"
        },
        "nextPageToken": {
          "type": "string",
          "description": "The standard List next-page token."
        },
        "unreachable": {
          "items": {
            "type": "string"
          },
          "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"
        }
      },
      "id": "GoogleLongrunningListOperationsResponse",
      "type": "object"
    },
    "GoogleCloudVectorsearchV1QueryDataObjectsResponse": {
      "type": "object",
      "description": "Response message for DataObjectSearchService.QueryDataObjects.",
      "id": "GoogleCloudVectorsearchV1QueryDataObjectsResponse",
      "properties": {
        "dataObjects": {
          "description": "Output only. The list of dataObjects that match the query.",
          "readOnly": true,
          "items": {
            "$ref": "GoogleCloudVectorsearchV1DataObject"
          },
          "type": "array"
        },
        "nextPageToken": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. A token to retrieve next page of results. Pass to DataObjectSearchService.QueryDataObjectsRequest.page_token to obtain that page."
        }
      }
    },
    "GoogleCloudVectorsearchV1AggregateDataObjectsResponse": {
      "type": "object",
      "id": "GoogleCloudVectorsearchV1AggregateDataObjectsResponse",
      "properties": {
        "aggregateResults": {
          "type": "array",
          "description": "Output only. The aggregated results of the query.",
          "readOnly": true,
          "items": {
            "type": "object",
            "additionalProperties": {
              "description": "Properties of the object.",
              "type": "any"
            }
          }
        }
      },
      "description": "Response message for DataObjectSearchService.AggregateDataObjects."
    },
    "GoogleCloudVectorsearchV1BatchCreateDataObjectsResponse": {
      "description": "Response message for DataObjectService.BatchCreateDataObjects.",
      "type": "object",
      "id": "GoogleCloudVectorsearchV1BatchCreateDataObjectsResponse",
      "properties": {
        "dataObjects": {
          "description": "Output only. DataObjects created.",
          "type": "array",
          "readOnly": true,
          "items": {
            "$ref": "GoogleCloudVectorsearchV1DataObject"
          }
        }
      }
    },
    "GoogleCloudVectorsearchV1SearchDataObjectsRequest": {
      "description": "Request for performing a single search.",
      "type": "object",
      "properties": {
        "textSearch": {
          "description": "Optional. A text search operation.",
          "$ref": "GoogleCloudVectorsearchV1TextSearch"
        },
        "pageToken": {
          "description": "Optional. The standard list page token. Typically obtained via SearchDataObjectsResponse.next_page_token of the previous DataObjectSearchService.SearchDataObjects call.",
          "type": "string"
        },
        "vectorSearch": {
          "$ref": "GoogleCloudVectorsearchV1VectorSearch",
          "description": "A vector search operation."
        },
        "pageSize": {
          "type": "integer",
          "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.",
          "format": "int32"
        },
        "semanticSearch": {
          "$ref": "GoogleCloudVectorsearchV1SemanticSearch",
          "description": "A semantic search operation."
        }
      },
      "id": "GoogleCloudVectorsearchV1SearchDataObjectsRequest"
    },
    "GoogleCloudVectorsearchV1BatchSearchDataObjectsRequestCombineResultsOptions": {
      "description": "Options for combining the results of the batch search operations.",
      "id": "GoogleCloudVectorsearchV1BatchSearchDataObjectsRequestCombineResultsOptions",
      "properties": {
        "ranker": {
          "$ref": "GoogleCloudVectorsearchV1Ranker",
          "description": "Required. The ranker to use for combining the results."
        },
        "outputFields": {
          "description": "Optional. Mask specifying which fields to return.",
          "$ref": "GoogleCloudVectorsearchV1OutputFields"
        },
        "topK": {
          "description": "Optional. The number of results to return. If not set, a default value will be used.",
          "format": "int32",
          "type": "integer"
        }
      },
      "type": "object"
    },
    "GoogleCloudVectorsearchV1Index": {
      "properties": {
        "labels": {
          "additionalProperties": {
            "type": "string"
          },
          "description": "Optional. Labels as key value pairs.",
          "type": "object"
        },
        "storeFields": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "Optional. The fields to push into the index to enable inline data retrieval."
        },
        "displayName": {
          "type": "string",
          "description": "Optional. User-specified display name of the index"
        },
        "name": {
          "type": "string",
          "description": "Identifier. name of resource"
        },
        "updateTime": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. [Output only] Update time stamp",
          "format": "google-datetime"
        },
        "filterFields": {
          "description": "Optional. The fields to push into the index to enable fast ANN inline filtering.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "denseScann": {
          "description": "Optional. Dense ScaNN index.",
          "$ref": "GoogleCloudVectorsearchV1DenseScannIndex"
        },
        "createTime": {
          "format": "google-datetime",
          "readOnly": true,
          "description": "Output only. [Output only] Create time stamp",
          "type": "string"
        },
        "indexField": {
          "description": "Required. The collection schema field to index.",
          "type": "string"
        },
        "dedicatedInfrastructure": {
          "$ref": "GoogleCloudVectorsearchV1DedicatedInfrastructure",
          "description": "Optional. Dedicated infrastructure for the index."
        },
        "distanceMetric": {
          "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."
          ],
          "type": "string"
        },
        "description": {
          "description": "Optional. User-specified description of the index",
          "type": "string"
        }
      },
      "id": "GoogleCloudVectorsearchV1Index",
      "description": "Message describing Index object",
      "type": "object"
    },
    "GoogleLongrunningOperation": {
      "description": "This resource represents a long-running operation that is the result of a network API call.",
      "properties": {
        "error": {
          "description": "The error result of the operation in case of failure or cancellation.",
          "$ref": "GoogleRpcStatus"
        },
        "response": {
          "type": "object",
          "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`.",
          "additionalProperties": {
            "description": "Properties of the object. Contains field @type with type URL.",
            "type": "any"
          }
        },
        "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}`."
        },
        "metadata": {
          "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.",
          "additionalProperties": {
            "description": "Properties of the object. Contains field @type with type URL.",
            "type": "any"
          },
          "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"
        }
      },
      "id": "GoogleLongrunningOperation",
      "type": "object"
    },
    "GoogleCloudVectorsearchV1ExportDataObjectsRequest": {
      "id": "GoogleCloudVectorsearchV1ExportDataObjectsRequest",
      "type": "object",
      "properties": {
        "gcsDestination": {
          "description": "The Cloud Storage location where user wants to export Data Objects.",
          "$ref": "GoogleCloudVectorsearchV1ExportDataObjectsRequestGcsExportDestination"
        },
        "fieldFilter": {
          "description": "Optional. Restricts which top-level Data Object fields appear in each exported JSONL record. If unset, every field is exported (the existing behavior). The primary use case is excluding the per-object `etag` so that the exported records can be imported into a Collection in a different region without optimistic-concurrency conflicts. Allowed field names are `id`, `data`, `vectors`, `etag`.",
          "$ref": "GoogleCloudVectorsearchV1ExportDataObjectsRequestFieldFilter"
        }
      },
      "description": "Request message for VectorSearchService.ExportDataObjects."
    }
  },
  "parameters": {
    "callback": {
      "type": "string",
      "location": "query",
      "description": "JSONP"
    },
    "uploadType": {
      "location": "query",
      "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
      "type": "string"
    },
    "$.xgafv": {
      "description": "V1 error format.",
      "type": "string",
      "location": "query",
      "enumDescriptions": [
        "v1 error format",
        "v2 error format"
      ],
      "enum": [
        "1",
        "2"
      ]
    },
    "upload_protocol": {
      "type": "string",
      "location": "query",
      "description": "Upload protocol for media (e.g. \"raw\", \"multipart\")."
    },
    "key": {
      "location": "query",
      "type": "string",
      "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."
    },
    "fields": {
      "description": "Selector specifying which fields to include in a partial response.",
      "type": "string",
      "location": "query"
    },
    "quotaUser": {
      "type": "string",
      "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"
    },
    "alt": {
      "enum": [
        "json",
        "media",
        "proto"
      ],
      "enumDescriptions": [
        "Responses with Content-Type of application/json",
        "Media download with context-dependent Content-Type",
        "Responses with Content-Type of application/x-protobuf"
      ],
      "default": "json",
      "location": "query",
      "type": "string",
      "description": "Data format for response."
    },
    "oauth_token": {
      "type": "string",
      "description": "OAuth 2.0 token for the current user.",
      "location": "query"
    },
    "access_token": {
      "description": "OAuth access token.",
      "type": "string",
      "location": "query"
    },
    "prettyPrint": {
      "location": "query",
      "default": "true",
      "description": "Returns response with indentations and line breaks.",
      "type": "boolean"
    }
  },
  "servicePath": "",
  "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.",
  "documentationLink": "https://docs.cloud.google.com/vertex-ai/docs/vector-search-2/overview"
}
