{
  "canonicalName": "Vector Search",
  "icons": {
    "x16": "http://www.google.com/images/icons/product/search-16.gif",
    "x32": "http://www.google.com/images/icons/product/search-32.gif"
  },
  "mtlsRootUrl": "https://vectorsearch.mtls.googleapis.com/",
  "resources": {
    "projects": {
      "resources": {
        "locations": {
          "methods": {
            "get": {
              "response": {
                "$ref": "GoogleCloudLocationLocation"
              },
              "description": "Gets information about a location.",
              "httpMethod": "GET",
              "id": "vectorsearch.projects.locations.get",
              "parameterOrder": [
                "name"
              ],
              "parameters": {
                "name": {
                  "location": "path",
                  "pattern": "^projects/[^/]+/locations/[^/]+$",
                  "type": "string",
                  "description": "Resource name for the location.",
                  "required": true
                }
              },
              "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}",
              "path": "v1beta/{+name}",
              "scopes": [
                "https://www.googleapis.com/auth/cloud-platform"
              ]
            },
            "list": {
              "flatPath": "v1beta/projects/{projectsId}/locations",
              "parameters": {
                "name": {
                  "description": "The resource that owns the locations collection, if applicable.",
                  "required": true,
                  "pattern": "^projects/[^/]+$",
                  "type": "string",
                  "location": "path"
                },
                "pageSize": {
                  "format": "int32",
                  "description": "The maximum number of results to return. If not set, the service selects a default.",
                  "type": "integer",
                  "location": "query"
                },
                "extraLocationTypes": {
                  "location": "query",
                  "type": "string",
                  "repeated": true,
                  "description": "Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage."
                },
                "filter": {
                  "type": "string",
                  "location": "query",
                  "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)."
                },
                "pageToken": {
                  "location": "query",
                  "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"
                }
              },
              "scopes": [
                "https://www.googleapis.com/auth/cloud-platform"
              ],
              "httpMethod": "GET",
              "response": {
                "$ref": "GoogleCloudLocationListLocationsResponse"
              },
              "id": "vectorsearch.projects.locations.list",
              "path": "v1beta/{+name}/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.",
              "parameterOrder": [
                "name"
              ]
            }
          },
          "resources": {
            "collections": {
              "methods": {
                "exportDataObjects": {
                  "path": "v1beta/{+name}:exportDataObjects",
                  "id": "vectorsearch.projects.locations.collections.exportDataObjects",
                  "request": {
                    "$ref": "GoogleCloudVectorsearchV1betaExportDataObjectsRequest"
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}:exportDataObjects",
                  "parameters": {
                    "name": {
                      "location": "path",
                      "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$",
                      "type": "string",
                      "description": "Required. The resource name of the Collection from which we want to export Data Objects. Format: `projects/{project}/locations/{location}/collections/{collection}`.",
                      "required": true
                    }
                  },
                  "description": "Initiates a Long-Running Operation to export DataObjects from a Collection.",
                  "httpMethod": "POST",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "response": {
                    "$ref": "GoogleLongrunningOperation"
                  }
                },
                "create": {
                  "request": {
                    "$ref": "GoogleCloudVectorsearchV1betaCollection"
                  },
                  "response": {
                    "$ref": "GoogleLongrunningOperation"
                  },
                  "id": "vectorsearch.projects.locations.collections.create",
                  "parameterOrder": [
                    "parent"
                  ],
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "path": "v1beta/{+parent}/collections",
                  "description": "Creates a new Collection in a given project and location.",
                  "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/collections",
                  "httpMethod": "POST",
                  "parameters": {
                    "requestId": {
                      "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
                      "type": "string",
                      "location": "query"
                    },
                    "parent": {
                      "location": "path",
                      "type": "string",
                      "description": "Required. Value for parent.",
                      "required": true,
                      "pattern": "^projects/[^/]+/locations/[^/]+$"
                    },
                    "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])?`.",
                      "location": "query",
                      "type": "string"
                    }
                  }
                },
                "patch": {
                  "id": "vectorsearch.projects.locations.collections.patch",
                  "request": {
                    "$ref": "GoogleCloudVectorsearchV1betaCollection"
                  },
                  "path": "v1beta/{+name}",
                  "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "parameters": {
                    "updateMask": {
                      "format": "google-fieldmask",
                      "location": "query",
                      "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.",
                      "type": "string"
                    },
                    "name": {
                      "location": "path",
                      "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$",
                      "required": true,
                      "type": "string",
                      "description": "Identifier. name of resource"
                    },
                    "requestId": {
                      "type": "string",
                      "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)."
                    }
                  },
                  "description": "Updates the parameters of a single Collection.",
                  "parameterOrder": [
                    "name"
                  ],
                  "response": {
                    "$ref": "GoogleLongrunningOperation"
                  },
                  "httpMethod": "PATCH"
                },
                "list": {
                  "parameterOrder": [
                    "parent"
                  ],
                  "response": {
                    "$ref": "GoogleCloudVectorsearchV1betaListCollectionsResponse"
                  },
                  "path": "v1beta/{+parent}/collections",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "id": "vectorsearch.projects.locations.collections.list",
                  "description": "Lists Collections in a given project and location.",
                  "httpMethod": "GET",
                  "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/collections",
                  "parameters": {
                    "orderBy": {
                      "type": "string",
                      "description": "Optional. Hint for how to order the results",
                      "location": "query"
                    },
                    "filter": {
                      "location": "query",
                      "description": "Optional. Filtering results",
                      "type": "string"
                    },
                    "pageToken": {
                      "location": "query",
                      "type": "string",
                      "description": "Optional. A token identifying a page of results the server should return."
                    },
                    "pageSize": {
                      "type": "integer",
                      "description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.",
                      "location": "query",
                      "format": "int32"
                    },
                    "parent": {
                      "description": "Required. Parent value for ListCollectionsRequest",
                      "location": "path",
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "type": "string",
                      "required": true
                    }
                  }
                },
                "get": {
                  "parameters": {
                    "name": {
                      "location": "path",
                      "description": "Required. Name of the resource",
                      "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$",
                      "required": true,
                      "type": "string"
                    }
                  },
                  "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}",
                  "description": "Gets details of a single Collection.",
                  "httpMethod": "GET",
                  "path": "v1beta/{+name}",
                  "response": {
                    "$ref": "GoogleCloudVectorsearchV1betaCollection"
                  },
                  "id": "vectorsearch.projects.locations.collections.get",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "parameterOrder": [
                    "name"
                  ]
                },
                "importDataObjects": {
                  "request": {
                    "$ref": "GoogleCloudVectorsearchV1betaImportDataObjectsRequest"
                  },
                  "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}:importDataObjects",
                  "id": "vectorsearch.projects.locations.collections.importDataObjects",
                  "parameterOrder": [
                    "name"
                  ],
                  "parameters": {
                    "name": {
                      "description": "Required. The resource name of the Collection to import DataObjects into. Format: `projects/{project}/locations/{location}/collections/{collection}`.",
                      "required": true,
                      "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$",
                      "location": "path",
                      "type": "string"
                    }
                  },
                  "httpMethod": "POST",
                  "description": "Initiates a Long-Running Operation to import DataObjects into a Collection.",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "response": {
                    "$ref": "GoogleLongrunningOperation"
                  },
                  "path": "v1beta/{+name}:importDataObjects"
                },
                "delete": {
                  "id": "vectorsearch.projects.locations.collections.delete",
                  "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}",
                  "parameters": {
                    "force": {
                      "location": "query",
                      "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.)",
                      "type": "boolean"
                    },
                    "name": {
                      "type": "string",
                      "required": true,
                      "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$",
                      "location": "path",
                      "description": "Required. Name of the resource"
                    },
                    "requestId": {
                      "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
                      "location": "query",
                      "type": "string"
                    }
                  },
                  "description": "Deletes a single Collection.",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "httpMethod": "DELETE",
                  "path": "v1beta/{+name}",
                  "parameterOrder": [
                    "name"
                  ],
                  "response": {
                    "$ref": "GoogleLongrunningOperation"
                  }
                }
              },
              "resources": {
                "indexes": {
                  "methods": {
                    "delete": {
                      "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/indexes/{indexesId}",
                      "description": "Deletes a single Index.",
                      "id": "vectorsearch.projects.locations.collections.indexes.delete",
                      "path": "v1beta/{+name}",
                      "response": {
                        "$ref": "GoogleLongrunningOperation"
                      },
                      "parameters": {
                        "name": {
                          "required": true,
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/indexes/[^/]+$",
                          "type": "string",
                          "location": "path",
                          "description": "Required. The resource name of the Index to delete. Format: `projects/{project}/locations/{location}/collections/{collection}/indexes/{index}`"
                        },
                        "requestId": {
                          "type": "string",
                          "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)."
                        }
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "httpMethod": "DELETE",
                      "parameterOrder": [
                        "name"
                      ]
                    },
                    "get": {
                      "httpMethod": "GET",
                      "parameters": {
                        "name": {
                          "location": "path",
                          "type": "string",
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/indexes/[^/]+$",
                          "required": true,
                          "description": "Required. Name of the resource"
                        }
                      },
                      "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/indexes/{indexesId}",
                      "id": "vectorsearch.projects.locations.collections.indexes.get",
                      "description": "Gets details of a single Index.",
                      "path": "v1beta/{+name}",
                      "parameterOrder": [
                        "name"
                      ],
                      "response": {
                        "$ref": "GoogleCloudVectorsearchV1betaIndex"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ]
                    },
                    "patch": {
                      "response": {
                        "$ref": "GoogleLongrunningOperation"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "description": "Updates the parameters of a single Index.",
                      "request": {
                        "$ref": "GoogleCloudVectorsearchV1betaIndex"
                      },
                      "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/indexes/{indexesId}",
                      "parameters": {
                        "requestId": {
                          "type": "string",
                          "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)."
                        },
                        "name": {
                          "required": true,
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/indexes/[^/]+$",
                          "location": "path",
                          "type": "string",
                          "description": "Identifier. name of resource"
                        },
                        "updateMask": {
                          "location": "query",
                          "type": "string",
                          "format": "google-fieldmask",
                          "description": "Optional. Specifies the fields to be overwritten in the Index resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields present in the request with non-empty values will be overwritten. The following fields support update: * `display_name` * `description` * `labels` * `dedicated_infrastructure.autoscaling_spec.min_replica_count` * `dedicated_infrastructure.autoscaling_spec.max_replica_count` If `*` is provided in the `update_mask`, full replacement of mutable fields will be performed."
                        }
                      },
                      "parameterOrder": [
                        "name"
                      ],
                      "id": "vectorsearch.projects.locations.collections.indexes.patch",
                      "httpMethod": "PATCH",
                      "path": "v1beta/{+name}"
                    },
                    "list": {
                      "path": "v1beta/{+parent}/indexes",
                      "parameterOrder": [
                        "parent"
                      ],
                      "response": {
                        "$ref": "GoogleCloudVectorsearchV1betaListIndexesResponse"
                      },
                      "parameters": {
                        "parent": {
                          "required": true,
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$",
                          "description": "Required. Parent value for ListIndexesRequest",
                          "location": "path",
                          "type": "string"
                        },
                        "pageSize": {
                          "type": "integer",
                          "location": "query",
                          "format": "int32",
                          "description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default."
                        },
                        "pageToken": {
                          "type": "string",
                          "location": "query",
                          "description": "Optional. A token identifying a page of results the server should return."
                        },
                        "orderBy": {
                          "type": "string",
                          "description": "Optional. Hint for how to order the results",
                          "location": "query"
                        },
                        "filter": {
                          "description": "Optional. Filtering results",
                          "location": "query",
                          "type": "string"
                        }
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "httpMethod": "GET",
                      "description": "Lists Indexes in a given project and location.",
                      "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/indexes",
                      "id": "vectorsearch.projects.locations.collections.indexes.list"
                    },
                    "create": {
                      "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)."
                        },
                        "parent": {
                          "required": true,
                          "description": "Required. The resource name of the Collection for which to create the Index. Format: `projects/{project}/locations/{location}/collections/{collection}`",
                          "type": "string",
                          "location": "path",
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$"
                        },
                        "indexId": {
                          "type": "string",
                          "description": "Required. ID of the Index to create. The id must be 1-63 characters long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt). Specifically, it must be 1-63 characters long and match the regular expression `[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?`.",
                          "location": "query"
                        }
                      },
                      "request": {
                        "$ref": "GoogleCloudVectorsearchV1betaIndex"
                      },
                      "httpMethod": "POST",
                      "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/indexes",
                      "parameterOrder": [
                        "parent"
                      ],
                      "id": "vectorsearch.projects.locations.collections.indexes.create",
                      "response": {
                        "$ref": "GoogleLongrunningOperation"
                      },
                      "path": "v1beta/{+parent}/indexes",
                      "description": "Creates a new Index in a given project and location.",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ]
                    }
                  }
                },
                "dataObjects": {
                  "methods": {
                    "batchSearch": {
                      "response": {
                        "$ref": "GoogleCloudVectorsearchV1betaBatchSearchDataObjectsResponse"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "parameters": {
                        "parent": {
                          "location": "path",
                          "type": "string",
                          "description": "Required. The resource name of the Collection for which to search. Format: `projects/{project}/locations/{location}/collections/{collection}`",
                          "required": true,
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$"
                        }
                      },
                      "httpMethod": "POST",
                      "id": "vectorsearch.projects.locations.collections.dataObjects.batchSearch",
                      "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataObjects:batchSearch",
                      "path": "v1beta/{+parent}/dataObjects:batchSearch",
                      "request": {
                        "$ref": "GoogleCloudVectorsearchV1betaBatchSearchDataObjectsRequest"
                      },
                      "parameterOrder": [
                        "parent"
                      ],
                      "description": "Batch searches data objects."
                    },
                    "aggregate": {
                      "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataObjects:aggregate",
                      "request": {
                        "$ref": "GoogleCloudVectorsearchV1betaAggregateDataObjectsRequest"
                      },
                      "parameters": {
                        "parent": {
                          "description": "Required. The resource name of the Collection for which to query. Format: `projects/{project}/locations/{location}/collections/{collection}`",
                          "location": "path",
                          "type": "string",
                          "required": true,
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$"
                        }
                      },
                      "description": "Aggregates data objects.",
                      "parameterOrder": [
                        "parent"
                      ],
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "httpMethod": "POST",
                      "response": {
                        "$ref": "GoogleCloudVectorsearchV1betaAggregateDataObjectsResponse"
                      },
                      "id": "vectorsearch.projects.locations.collections.dataObjects.aggregate",
                      "path": "v1beta/{+parent}/dataObjects:aggregate"
                    },
                    "search": {
                      "request": {
                        "$ref": "GoogleCloudVectorsearchV1betaSearchDataObjectsRequest"
                      },
                      "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataObjects:search",
                      "id": "vectorsearch.projects.locations.collections.dataObjects.search",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "parameterOrder": [
                        "parent"
                      ],
                      "parameters": {
                        "parent": {
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$",
                          "type": "string",
                          "description": "Required. The resource name of the Collection for which to search. Format: `projects/{project}/locations/{location}/collections/{collection}`",
                          "required": true,
                          "location": "path"
                        }
                      },
                      "path": "v1beta/{+parent}/dataObjects:search",
                      "response": {
                        "$ref": "GoogleCloudVectorsearchV1betaSearchDataObjectsResponse"
                      },
                      "httpMethod": "POST",
                      "description": "Searches data objects."
                    },
                    "patch": {
                      "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataObjects/{dataObjectsId}",
                      "parameterOrder": [
                        "name"
                      ],
                      "path": "v1beta/{+name}",
                      "id": "vectorsearch.projects.locations.collections.dataObjects.patch",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "description": "Updates a dataObject.",
                      "parameters": {
                        "updateMask": {
                          "type": "string",
                          "location": "query",
                          "format": "google-fieldmask",
                          "description": "Optional. The update mask applies to the resource. See google.protobuf.FieldMask."
                        },
                        "name": {
                          "location": "path",
                          "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])?",
                          "required": true
                        }
                      },
                      "response": {
                        "$ref": "GoogleCloudVectorsearchV1betaDataObject"
                      },
                      "httpMethod": "PATCH",
                      "request": {
                        "$ref": "GoogleCloudVectorsearchV1betaDataObject"
                      }
                    },
                    "delete": {
                      "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataObjects/{dataObjectsId}",
                      "parameterOrder": [
                        "name"
                      ],
                      "description": "Deletes a dataObject.",
                      "path": "v1beta/{+name}",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "response": {
                        "$ref": "Empty"
                      },
                      "httpMethod": "DELETE",
                      "parameters": {
                        "name": {
                          "location": "path",
                          "description": "Required. The name of the DataObject resource to be deleted. Format: `projects/{project}/locations/{location}/collections/{collection}/dataObjects/{dataObject}`",
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataObjects/[^/]+$",
                          "type": "string",
                          "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."
                        }
                      },
                      "id": "vectorsearch.projects.locations.collections.dataObjects.delete"
                    },
                    "get": {
                      "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataObjects/{dataObjectsId}",
                      "httpMethod": "GET",
                      "parameterOrder": [
                        "name"
                      ],
                      "parameters": {
                        "name": {
                          "description": "Required. The name of the DataObject resource. Format: `projects/{project}/locations/{location}/collections/{collection}/dataObjects/{dataObject}`",
                          "type": "string",
                          "required": true,
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataObjects/[^/]+$",
                          "location": "path"
                        }
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "response": {
                        "$ref": "GoogleCloudVectorsearchV1betaDataObject"
                      },
                      "path": "v1beta/{+name}",
                      "description": "Gets a data object.",
                      "id": "vectorsearch.projects.locations.collections.dataObjects.get"
                    },
                    "batchUpdate": {
                      "request": {
                        "$ref": "GoogleCloudVectorsearchV1betaBatchUpdateDataObjectsRequest"
                      },
                      "parameters": {
                        "parent": {
                          "type": "string",
                          "location": "path",
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$",
                          "description": "Required. The resource name of the Collection to update the DataObjects in. Format: `projects/{project}/locations/{location}/collections/{collection}`. The parent field in the UpdateDataObjectRequest messages must match this field.",
                          "required": true
                        }
                      },
                      "id": "vectorsearch.projects.locations.collections.dataObjects.batchUpdate",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "response": {
                        "$ref": "GoogleCloudVectorsearchV1betaBatchUpdateDataObjectsResponse"
                      },
                      "parameterOrder": [
                        "parent"
                      ],
                      "path": "v1beta/{+parent}/dataObjects:batchUpdate",
                      "httpMethod": "POST",
                      "description": "Updates dataObjects in a batch.",
                      "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataObjects:batchUpdate"
                    },
                    "query": {
                      "parameters": {
                        "parent": {
                          "required": true,
                          "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"
                        }
                      },
                      "response": {
                        "$ref": "GoogleCloudVectorsearchV1betaQueryDataObjectsResponse"
                      },
                      "request": {
                        "$ref": "GoogleCloudVectorsearchV1betaQueryDataObjectsRequest"
                      },
                      "path": "v1beta/{+parent}/dataObjects:query",
                      "id": "vectorsearch.projects.locations.collections.dataObjects.query",
                      "httpMethod": "POST",
                      "parameterOrder": [
                        "parent"
                      ],
                      "description": "Queries data objects.",
                      "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataObjects:query",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ]
                    },
                    "create": {
                      "parameters": {
                        "parent": {
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$",
                          "description": "Required. The resource name of the Collection to create the DataObject in. Format: `projects/{project}/locations/{location}/collections/{collection}`",
                          "location": "path",
                          "type": "string",
                          "required": true
                        },
                        "dataObjectId": {
                          "type": "string",
                          "description": "Required. The id of the dataObject to create. The id must be 1-63 characters long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt). Specifically, it must be 1-63 characters long and match the regular expression `[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?`.",
                          "location": "query"
                        }
                      },
                      "id": "vectorsearch.projects.locations.collections.dataObjects.create",
                      "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataObjects",
                      "httpMethod": "POST",
                      "description": "Creates a dataObject.",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "response": {
                        "$ref": "GoogleCloudVectorsearchV1betaDataObject"
                      },
                      "request": {
                        "$ref": "GoogleCloudVectorsearchV1betaDataObject"
                      },
                      "path": "v1beta/{+parent}/dataObjects",
                      "parameterOrder": [
                        "parent"
                      ]
                    },
                    "batchCreate": {
                      "description": "Creates a batch of dataObjects.",
                      "path": "v1beta/{+parent}/dataObjects:batchCreate",
                      "parameterOrder": [
                        "parent"
                      ],
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "response": {
                        "$ref": "GoogleCloudVectorsearchV1betaBatchCreateDataObjectsResponse"
                      },
                      "httpMethod": "POST",
                      "request": {
                        "$ref": "GoogleCloudVectorsearchV1betaBatchCreateDataObjectsRequest"
                      },
                      "id": "vectorsearch.projects.locations.collections.dataObjects.batchCreate",
                      "parameters": {
                        "parent": {
                          "required": true,
                          "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.",
                          "type": "string",
                          "location": "path",
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$"
                        }
                      },
                      "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataObjects:batchCreate"
                    },
                    "batchDelete": {
                      "path": "v1beta/{+parent}/dataObjects:batchDelete",
                      "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataObjects:batchDelete",
                      "id": "vectorsearch.projects.locations.collections.dataObjects.batchDelete",
                      "response": {
                        "$ref": "Empty"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "parameterOrder": [
                        "parent"
                      ],
                      "parameters": {
                        "parent": {
                          "description": "Required. The resource name of the Collection to delete the DataObjects in. Format: `projects/{project}/locations/{location}/collections/{collection}`.",
                          "location": "path",
                          "type": "string",
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$",
                          "required": true
                        }
                      },
                      "description": "Deletes dataObjects in a batch.",
                      "request": {
                        "$ref": "GoogleCloudVectorsearchV1betaBatchDeleteDataObjectsRequest"
                      },
                      "httpMethod": "POST"
                    }
                  }
                }
              }
            },
            "operations": {
              "methods": {
                "cancel": {
                  "parameters": {
                    "name": {
                      "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$",
                      "required": true,
                      "description": "The name of the operation resource to be cancelled.",
                      "location": "path",
                      "type": "string"
                    }
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "id": "vectorsearch.projects.locations.operations.cancel",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "httpMethod": "POST",
                  "response": {
                    "$ref": "Empty"
                  },
                  "request": {
                    "$ref": "GoogleLongrunningCancelOperationRequest"
                  },
                  "path": "v1beta/{+name}:cancel",
                  "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`.",
                  "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel"
                },
                "delete": {
                  "parameters": {
                    "name": {
                      "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$",
                      "required": true,
                      "description": "The name of the operation resource to be deleted.",
                      "location": "path",
                      "type": "string"
                    }
                  },
                  "response": {
                    "$ref": "Empty"
                  },
                  "httpMethod": "DELETE",
                  "path": "v1beta/{+name}",
                  "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "id": "vectorsearch.projects.locations.operations.delete",
                  "parameterOrder": [
                    "name"
                  ],
                  "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`."
                },
                "get": {
                  "parameterOrder": [
                    "name"
                  ],
                  "parameters": {
                    "name": {
                      "type": "string",
                      "required": true,
                      "description": "The name of the operation resource.",
                      "location": "path",
                      "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$"
                    }
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}",
                  "httpMethod": "GET",
                  "path": "v1beta/{+name}",
                  "response": {
                    "$ref": "GoogleLongrunningOperation"
                  },
                  "id": "vectorsearch.projects.locations.operations.get",
                  "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service."
                },
                "list": {
                  "response": {
                    "$ref": "GoogleLongrunningListOperationsResponse"
                  },
                  "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.",
                  "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/operations",
                  "parameterOrder": [
                    "name"
                  ],
                  "httpMethod": "GET",
                  "id": "vectorsearch.projects.locations.operations.list",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "parameters": {
                    "pageSize": {
                      "location": "query",
                      "description": "The standard list page size.",
                      "format": "int32",
                      "type": "integer"
                    },
                    "name": {
                      "type": "string",
                      "location": "path",
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "description": "The name of the operation's parent resource.",
                      "required": true
                    },
                    "returnPartialSuccess": {
                      "type": "boolean",
                      "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.",
                      "location": "query"
                    },
                    "filter": {
                      "description": "The standard list filter.",
                      "location": "query",
                      "type": "string"
                    },
                    "pageToken": {
                      "location": "query",
                      "type": "string",
                      "description": "The standard list page token."
                    }
                  },
                  "path": "v1beta/{+name}/operations"
                }
              }
            }
          }
        }
      }
    }
  },
  "basePath": "",
  "id": "vectorsearch:v1beta",
  "rootUrl": "https://vectorsearch.googleapis.com/",
  "version_module": true,
  "revision": "20260723",
  "parameters": {
    "key": {
      "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.",
      "location": "query"
    },
    "access_token": {
      "description": "OAuth access token.",
      "type": "string",
      "location": "query"
    },
    "upload_protocol": {
      "type": "string",
      "location": "query",
      "description": "Upload protocol for media (e.g. \"raw\", \"multipart\")."
    },
    "callback": {
      "location": "query",
      "type": "string",
      "description": "JSONP"
    },
    "uploadType": {
      "type": "string",
      "location": "query",
      "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\")."
    },
    "oauth_token": {
      "type": "string",
      "description": "OAuth 2.0 token for the current user.",
      "location": "query"
    },
    "prettyPrint": {
      "description": "Returns response with indentations and line breaks.",
      "location": "query",
      "default": "true",
      "type": "boolean"
    },
    "$.xgafv": {
      "enumDescriptions": [
        "v1 error format",
        "v2 error format"
      ],
      "location": "query",
      "description": "V1 error format.",
      "enum": [
        "1",
        "2"
      ],
      "type": "string"
    },
    "alt": {
      "enumDescriptions": [
        "Responses with Content-Type of application/json",
        "Media download with context-dependent Content-Type",
        "Responses with Content-Type of application/x-protobuf"
      ],
      "enum": [
        "json",
        "media",
        "proto"
      ],
      "type": "string",
      "location": "query",
      "description": "Data format for response.",
      "default": "json"
    },
    "quotaUser": {
      "type": "string",
      "location": "query",
      "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."
    },
    "fields": {
      "location": "query",
      "description": "Selector specifying which fields to include in a partial response.",
      "type": "string"
    }
  },
  "ownerDomain": "google.com",
  "discoveryVersion": "v1",
  "baseUrl": "https://vectorsearch.googleapis.com/",
  "endpoints": [
    {
      "endpointUrl": "https://vectorsearch.us.rep.googleapis.com/",
      "description": "Regional Endpoint",
      "location": "us"
    }
  ],
  "fullyEncodeReservedExpansion": true,
  "description": "The Vector Search API provides a fully-managed, highly performant, and scalable vector database designed to power next-generation search, recommendation, and generative AI applications. It allows you to store, index, and query your data and its corresponding vector embeddings through a simple, intuitive interface. With Vector Search, you can define custom schemas for your data, insert objects with associated metadata, automatically generate embeddings from your data, and perform fast approximate nearest neighbor (ANN) searches to find semantically similar items at scale.",
  "batchPath": "batch",
  "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."
        }
      }
    }
  },
  "version": "v1beta",
  "kind": "discovery#restDescription",
  "protocol": "rest",
  "title": "Vector Search API",
  "name": "vectorsearch",
  "ownerName": "Google",
  "documentationLink": "https://docs.cloud.google.com/vertex-ai/docs/vector-search-2/overview",
  "servicePath": "",
  "schemas": {
    "GoogleCloudVectorsearchV1betaSearchResponseMetadataIndexInfo": {
      "id": "GoogleCloudVectorsearchV1betaSearchResponseMetadataIndexInfo",
      "type": "object",
      "description": "Message that indicates the index used for the search.",
      "properties": {
        "name": {
          "readOnly": true,
          "description": "Output only. The resource name of the index used for the search. Format: `projects/{project}/locations/{location}/collections/{collection}/indexes/{index}`",
          "type": "string"
        }
      }
    },
    "GoogleCloudVectorsearchV1betaListIndexesResponse": {
      "description": "Message for response to listing Indexes",
      "properties": {
        "indexes": {
          "type": "array",
          "items": {
            "$ref": "GoogleCloudVectorsearchV1betaIndex"
          },
          "description": "The list of Index"
        },
        "nextPageToken": {
          "description": "A token identifying a page of results the server should return.",
          "type": "string"
        }
      },
      "type": "object",
      "id": "GoogleCloudVectorsearchV1betaListIndexesResponse"
    },
    "GoogleCloudVectorsearchV1betaExportDataObjectsRequestFieldFilterFieldList": {
      "type": "object",
      "id": "GoogleCloudVectorsearchV1betaExportDataObjectsRequestFieldFilterFieldList",
      "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\".",
      "properties": {
        "fields": {
          "type": "array",
          "description": "Required. The list of top-level Data Object JSON field names. Allowed values are `id`, `data`, `vectors`, `etag`.",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "GoogleCloudVectorsearchV1betaSearchDataObjectsResponse": {
      "description": "Response for a search request.",
      "id": "GoogleCloudVectorsearchV1betaSearchDataObjectsResponse",
      "properties": {
        "searchResponseMetadata": {
          "readOnly": true,
          "description": "Output only. Metadata about the search execution.",
          "$ref": "GoogleCloudVectorsearchV1betaSearchResponseMetadata"
        },
        "nextPageToken": {
          "description": "Output only. A token to retrieve next page of results. Pass to DataObjectSearchService.SearchDataObjectsRequest.page_token to obtain that page.",
          "type": "string",
          "readOnly": true
        },
        "results": {
          "type": "array",
          "items": {
            "$ref": "GoogleCloudVectorsearchV1betaSearchResult"
          },
          "description": "Output only. The list of dataObjects that match the search criteria.",
          "readOnly": true
        }
      },
      "type": "object"
    },
    "GoogleCloudVectorsearchV1betaSearchResponseMetadata": {
      "id": "GoogleCloudVectorsearchV1betaSearchResponseMetadata",
      "description": "Metadata about the search execution.",
      "type": "object",
      "properties": {
        "warnings": {
          "readOnly": true,
          "items": {
            "$ref": "GoogleRpcStatus"
          },
          "type": "array",
          "description": "Output only. Warnings or non-fatal errors that occurred during execution."
        },
        "usedKnn": {
          "description": "Output only. If true, the search used the system's default K-Nearest Neighbor (KNN) index engine.",
          "readOnly": true,
          "type": "boolean"
        },
        "usedIndex": {
          "$ref": "GoogleCloudVectorsearchV1betaSearchResponseMetadataIndexInfo",
          "description": "Indicates that the search used a particular index."
        }
      }
    },
    "GoogleCloudVectorsearchV1betaSearchHintIndexHintDenseScannParams": {
      "type": "object",
      "id": "GoogleCloudVectorsearchV1betaSearchHintIndexHintDenseScannParams",
      "properties": {
        "initialCandidateCount": {
          "description": "Optional. The number of initial candidates. Must be a positive integer (\u003e 0).",
          "format": "int32",
          "type": "integer"
        },
        "searchLeavesPct": {
          "description": "Optional. Dense ANN param overrides to control recall and latency. The percentage of leaves to search, in the range [0, 100].",
          "format": "int32",
          "type": "integer"
        }
      },
      "description": "Parameters for dense ScaNN."
    },
    "GoogleCloudLocationListLocationsResponse": {
      "type": "object",
      "description": "The response message for Locations.ListLocations.",
      "id": "GoogleCloudLocationListLocationsResponse",
      "properties": {
        "locations": {
          "type": "array",
          "items": {
            "$ref": "GoogleCloudLocationLocation"
          },
          "description": "A list of locations that matches the specified filter in the request."
        },
        "nextPageToken": {
          "type": "string",
          "description": "The standard List next-page token."
        }
      }
    },
    "GoogleCloudVectorsearchV1betaVector": {
      "description": "A vector which can be either dense or sparse.",
      "properties": {
        "dense": {
          "description": "A dense vector.",
          "$ref": "GoogleCloudVectorsearchV1betaDenseVector"
        },
        "sparse": {
          "$ref": "GoogleCloudVectorsearchV1betaSparseVector",
          "description": "A sparse vector."
        },
        "values": {
          "items": {
            "type": "number",
            "format": "float"
          },
          "type": "array",
          "description": "Deprecated: Use `dense` or `sparse` instead.",
          "deprecated": true
        }
      },
      "id": "GoogleCloudVectorsearchV1betaVector",
      "type": "object"
    },
    "GoogleCloudVectorsearchV1betaBatchSearchDataObjectsRequest": {
      "properties": {
        "combine": {
          "description": "Optional. Options for combining the results of the batch search operations.",
          "$ref": "GoogleCloudVectorsearchV1betaBatchSearchDataObjectsRequestCombineResultsOptions"
        },
        "searches": {
          "description": "Required. A list of search requests to execute in parallel.",
          "items": {
            "$ref": "GoogleCloudVectorsearchV1betaSearch"
          },
          "type": "array"
        }
      },
      "id": "GoogleCloudVectorsearchV1betaBatchSearchDataObjectsRequest",
      "type": "object",
      "description": "A request to perform a batch of search operations."
    },
    "GoogleCloudVectorsearchV1betaDedicatedInfrastructureAutoscalingSpec": {
      "properties": {
        "minReplicaCount": {
          "description": "Optional. The minimum number of replicas. If not set or set to `0`, defaults to `2`. Must be \u003e= `1` and \u003c= `1000`.",
          "type": "integer",
          "format": "int32"
        },
        "maxReplicaCount": {
          "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`.",
          "format": "int32",
          "type": "integer"
        }
      },
      "description": "Specification for autoscaling.",
      "type": "object",
      "id": "GoogleCloudVectorsearchV1betaDedicatedInfrastructureAutoscalingSpec"
    },
    "GoogleCloudVectorsearchV1betaBatchSearchDataObjectsRequestCombineResultsOptions": {
      "id": "GoogleCloudVectorsearchV1betaBatchSearchDataObjectsRequestCombineResultsOptions",
      "description": "Options for combining the results of the batch search operations.",
      "type": "object",
      "properties": {
        "ranker": {
          "$ref": "GoogleCloudVectorsearchV1betaRanker",
          "description": "Required. The ranker to use for combining the results."
        },
        "outputFields": {
          "description": "Optional. Mask specifying which fields to return.",
          "$ref": "GoogleCloudVectorsearchV1betaOutputFields"
        },
        "topK": {
          "description": "Optional. The number of results to return. If not set, a default value will be used.",
          "format": "int32",
          "type": "integer"
        }
      }
    },
    "GoogleCloudVectorsearchV1betaOperationMetadata": {
      "description": "Represents the metadata of the long-running operation.",
      "properties": {
        "endTime": {
          "readOnly": true,
          "description": "Output only. The time the operation finished running.",
          "type": "string",
          "format": "google-datetime"
        },
        "createTime": {
          "description": "Output only. The time the operation was created.",
          "format": "google-datetime",
          "type": "string",
          "readOnly": true
        },
        "apiVersion": {
          "type": "string",
          "description": "Output only. API version used to start the operation.",
          "readOnly": true
        },
        "requestedCancellation": {
          "readOnly": true,
          "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`.",
          "type": "boolean"
        },
        "verb": {
          "description": "Output only. Name of the verb executed by the operation.",
          "readOnly": true,
          "type": "string"
        },
        "statusMessage": {
          "readOnly": true,
          "description": "Output only. Human-readable status of the operation, if any.",
          "type": "string"
        },
        "target": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. Server-defined resource path for the target of the operation."
        }
      },
      "type": "object",
      "id": "GoogleCloudVectorsearchV1betaOperationMetadata"
    },
    "GoogleCloudVectorsearchV1betaBatchDeleteDataObjectsRequest": {
      "id": "GoogleCloudVectorsearchV1betaBatchDeleteDataObjectsRequest",
      "description": "Request message for DataObjectService.BatchDeleteDataObjects.",
      "properties": {
        "requests": {
          "items": {
            "$ref": "GoogleCloudVectorsearchV1betaDeleteDataObjectRequest"
          },
          "type": "array",
          "description": "Required. The request message specifying the resources to delete. A maximum of 1000 DataObjects can be deleted in a batch."
        }
      },
      "type": "object"
    },
    "GoogleCloudVectorsearchV1betaVertexEmbeddingConfig": {
      "properties": {
        "modelId": {
          "type": "string",
          "description": "Required. Required: ID of the embedding model to use. See https://cloud.google.com/vertex-ai/generative-ai/docs/learn/models#embeddings-models for the list of supported models."
        },
        "taskType": {
          "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",
          "description": "Required. Required: Task type for the embeddings."
        },
        "textTemplate": {
          "description": "Required. Required: Text template for the input to the model. The template must contain one or more references to fields in the DataObject, e.g.: \"Movie Title: {title} ---- Movie Plot: {plot}\".",
          "type": "string"
        }
      },
      "type": "object",
      "description": "Message describing the configuration for generating embeddings for a vector field using Vertex AI embeddings API.",
      "id": "GoogleCloudVectorsearchV1betaVertexEmbeddingConfig"
    },
    "GoogleCloudVectorsearchV1betaBatchCreateDataObjectsRequest": {
      "properties": {
        "requests": {
          "description": "Required. The request message specifying the resources to create. A maximum of 1000 DataObjects can be created in a batch.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudVectorsearchV1betaCreateDataObjectRequest"
          }
        }
      },
      "type": "object",
      "id": "GoogleCloudVectorsearchV1betaBatchCreateDataObjectsRequest",
      "description": "Request message for DataObjectService.BatchCreateDataObjects."
    },
    "GoogleRpcStatus": {
      "id": "GoogleRpcStatus",
      "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).",
      "type": "object",
      "properties": {
        "message": {
          "type": "string",
          "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client."
        },
        "code": {
          "type": "integer",
          "description": "The status code, which should be an enum value of google.rpc.Code.",
          "format": "int32"
        },
        "details": {
          "type": "array",
          "items": {
            "additionalProperties": {
              "type": "any",
              "description": "Properties of the object. Contains field @type with type URL."
            },
            "type": "object"
          },
          "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use."
        }
      }
    },
    "GoogleCloudVectorsearchV1betaSemanticSearch": {
      "id": "GoogleCloudVectorsearchV1betaSemanticSearch",
      "description": "Defines a semantic search operation.",
      "properties": {
        "outputFields": {
          "description": "Optional. The fields to return in the search results.",
          "$ref": "GoogleCloudVectorsearchV1betaOutputFields"
        },
        "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": "Required. The task type of the query embedding."
        },
        "searchField": {
          "description": "Required. The vector field to search.",
          "type": "string"
        },
        "searchText": {
          "description": "Required. The query text, which is used to generate an embedding according to the embedding model specified in the collection config.",
          "type": "string"
        },
        "searchHint": {
          "$ref": "GoogleCloudVectorsearchV1betaSearchHint",
          "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."
        },
        "filter": {
          "description": "Optional. A JSON filter expression, e.g. {\"genre\": {\"$eq\": \"sci-fi\"}}, represented as a google.protobuf.Struct.",
          "type": "object",
          "additionalProperties": {
            "description": "Properties of the object.",
            "type": "any"
          }
        },
        "topK": {
          "description": "Optional. The number of data objects to return.",
          "type": "integer",
          "format": "int32"
        }
      },
      "type": "object"
    },
    "GoogleLongrunningCancelOperationRequest": {
      "properties": {},
      "description": "The request message for Operations.CancelOperation.",
      "type": "object",
      "id": "GoogleLongrunningCancelOperationRequest"
    },
    "GoogleCloudVectorsearchV1betaRanker": {
      "id": "GoogleCloudVectorsearchV1betaRanker",
      "type": "object",
      "description": "Defines a ranker to combine results from multiple searches.",
      "properties": {
        "rrf": {
          "$ref": "GoogleCloudVectorsearchV1betaReciprocalRankFusion",
          "description": "Reciprocal Rank Fusion ranking."
        },
        "vertexRanker": {
          "$ref": "GoogleCloudVectorsearchV1betaVertexRanker",
          "description": "Optional. Vertex AI ranking."
        }
      }
    },
    "GoogleCloudVectorsearchV1betaEncryptionSpec": {
      "type": "object",
      "description": "Represents a customer-managed encryption key specification that can be applied to a Vector Search collection.",
      "properties": {
        "cryptoKeyName": {
          "description": "Required. Resource name of the Cloud KMS key used to protect the resource. The Cloud KMS key must be in the same region as the resource. It must have the format `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.",
          "type": "string"
        }
      },
      "id": "GoogleCloudVectorsearchV1betaEncryptionSpec"
    },
    "GoogleCloudVectorsearchV1betaIndex": {
      "properties": {
        "createTime": {
          "readOnly": true,
          "type": "string",
          "format": "google-datetime",
          "description": "Output only. [Output only] Create time stamp"
        },
        "description": {
          "type": "string",
          "description": "Optional. User-specified description of the index"
        },
        "dedicatedInfrastructure": {
          "description": "Optional. Dedicated infrastructure for the index.",
          "$ref": "GoogleCloudVectorsearchV1betaDedicatedInfrastructure"
        },
        "distanceMetric": {
          "enumDescriptions": [
            "Default value, distance metric is not specified.",
            "Dot product distance metric.",
            "Cosine distance metric."
          ],
          "type": "string",
          "description": "Optional. Distance metric used for indexing. If not specified, will default to DOT_PRODUCT.",
          "enum": [
            "DISTANCE_METRIC_UNSPECIFIED",
            "DOT_PRODUCT",
            "COSINE_DISTANCE"
          ]
        },
        "denseScann": {
          "description": "Optional. Dense ScaNN index.",
          "$ref": "GoogleCloudVectorsearchV1betaDenseScannIndex"
        },
        "labels": {
          "additionalProperties": {
            "type": "string"
          },
          "description": "Optional. Labels as key value pairs.",
          "type": "object"
        },
        "storeFields": {
          "items": {
            "type": "string"
          },
          "description": "Optional. The fields to push into the index to enable inline data retrieval.",
          "type": "array"
        },
        "filterFields": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "Optional. The fields to push into the index to enable fast ANN inline filtering."
        },
        "updateTime": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. [Output only] Update time stamp",
          "format": "google-datetime"
        },
        "indexField": {
          "type": "string",
          "description": "Required. The collection schema field to index."
        },
        "name": {
          "type": "string",
          "description": "Identifier. name of resource"
        },
        "displayName": {
          "type": "string",
          "description": "Optional. User-specified display name of the index"
        }
      },
      "description": "Message describing Index object",
      "id": "GoogleCloudVectorsearchV1betaIndex",
      "type": "object"
    },
    "GoogleCloudVectorsearchV1betaSparseVectorField": {
      "description": "Message describing a sparse vector field.",
      "type": "object",
      "properties": {},
      "id": "GoogleCloudVectorsearchV1betaSparseVectorField"
    },
    "GoogleCloudVectorsearchV1betaDeleteDataObjectRequest": {
      "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": "GoogleCloudVectorsearchV1betaDeleteDataObjectRequest",
      "description": "Request message for DataObjectService.DeleteDataObject.",
      "type": "object"
    },
    "GoogleCloudVectorsearchV1betaSearchResult": {
      "description": "A single search result.",
      "id": "GoogleCloudVectorsearchV1betaSearchResult",
      "properties": {
        "dataObject": {
          "description": "Output only. The matching data object.",
          "readOnly": true,
          "$ref": "GoogleCloudVectorsearchV1betaDataObject"
        },
        "distance": {
          "readOnly": true,
          "format": "double",
          "description": "Output only. Similarity distance or ranker score returned by BatchSearchDataObjects.",
          "type": "number"
        }
      },
      "type": "object"
    },
    "GoogleCloudVectorsearchV1betaSearchDataObjectsRequest": {
      "properties": {
        "vectorSearch": {
          "description": "A vector search operation.",
          "$ref": "GoogleCloudVectorsearchV1betaVectorSearch"
        },
        "pageToken": {
          "description": "Optional. The standard list page token. Typically obtained via SearchDataObjectsResponse.next_page_token of the previous DataObjectSearchService.SearchDataObjects call.",
          "type": "string"
        },
        "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": "GoogleCloudVectorsearchV1betaSemanticSearch",
          "description": "A semantic search operation."
        },
        "textSearch": {
          "description": "Optional. A text search operation.",
          "$ref": "GoogleCloudVectorsearchV1betaTextSearch"
        }
      },
      "description": "Request for performing a single search.",
      "id": "GoogleCloudVectorsearchV1betaSearchDataObjectsRequest",
      "type": "object"
    },
    "GoogleCloudVectorsearchV1betaExportDataObjectsRequestGcsExportDestination": {
      "description": "Google Cloud Storage configuration for the export.",
      "properties": {
        "format": {
          "enum": [
            "FORMAT_UNSPECIFIED",
            "JSON",
            "JSONL"
          ],
          "type": "string",
          "enumDescriptions": [
            "Unspecified format.",
            "Deprecated: Exports Data Objects in `JSON` format. Use `JSONL` instead.",
            "Exports Data Objects in `JSONL` format."
          ],
          "description": "Required. The format of the exported Data Objects.",
          "enumDeprecated": [
            false,
            true,
            false
          ]
        },
        "exportUri": {
          "description": "Required. URI prefix of the Cloud Storage where to export Data Objects. The bucket is required to be in the same region as the collection.",
          "type": "string"
        }
      },
      "type": "object",
      "id": "GoogleCloudVectorsearchV1betaExportDataObjectsRequestGcsExportDestination"
    },
    "GoogleCloudVectorsearchV1betaAggregateDataObjectsResponse": {
      "properties": {
        "aggregateResults": {
          "items": {
            "additionalProperties": {
              "description": "Properties of the object.",
              "type": "any"
            },
            "type": "object"
          },
          "type": "array",
          "description": "Output only. The aggregated results of the query.",
          "readOnly": true
        }
      },
      "type": "object",
      "description": "Response message for DataObjectSearchService.AggregateDataObjects.",
      "id": "GoogleCloudVectorsearchV1betaAggregateDataObjectsResponse"
    },
    "GoogleCloudVectorsearchV1betaAggregateDataObjectsRequest": {
      "description": "Request message for DataObjectSearchService.AggregateDataObjects.",
      "type": "object",
      "id": "GoogleCloudVectorsearchV1betaAggregateDataObjectsRequest",
      "properties": {
        "aggregate": {
          "enum": [
            "AGGREGATION_METHOD_UNSPECIFIED",
            "COUNT"
          ],
          "type": "string",
          "enumDescriptions": [
            "Should not be used.",
            "Count the number of data objects that match the filter."
          ],
          "description": "Required. The aggregation method to apply to the query."
        },
        "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"
        }
      }
    },
    "GoogleCloudVectorsearchV1betaExportDataObjectsRequest": {
      "properties": {
        "gcsDestination": {
          "description": "The Cloud Storage location where user wants to export Data Objects.",
          "$ref": "GoogleCloudVectorsearchV1betaExportDataObjectsRequestGcsExportDestination"
        },
        "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": "GoogleCloudVectorsearchV1betaExportDataObjectsRequestFieldFilter"
        }
      },
      "type": "object",
      "description": "Request message for VectorSearchService.ExportDataObjects.",
      "id": "GoogleCloudVectorsearchV1betaExportDataObjectsRequest"
    },
    "GoogleCloudVectorsearchV1betaDenseScannIndex": {
      "properties": {
        "featureNormType": {
          "type": "string",
          "enum": [
            "FEATURE_NORM_TYPE_UNSPECIFIED",
            "NONE",
            "UNIT_L2_NORM"
          ],
          "enumDescriptions": [
            "Unspecified feature norm type.",
            "No norm applied.",
            "Unit L2 norm."
          ],
          "description": "Optional. Feature norm type."
        }
      },
      "description": "Dense ScaNN index configuration.",
      "id": "GoogleCloudVectorsearchV1betaDenseScannIndex",
      "type": "object"
    },
    "GoogleCloudVectorsearchV1betaBatchUpdateDataObjectsResponse": {
      "type": "object",
      "properties": {},
      "id": "GoogleCloudVectorsearchV1betaBatchUpdateDataObjectsResponse",
      "description": "Response message for DataObjectService.BatchUpdateDataObjects."
    },
    "GoogleCloudVectorsearchV1betaReciprocalRankFusion": {
      "id": "GoogleCloudVectorsearchV1betaReciprocalRankFusion",
      "properties": {
        "weights": {
          "type": "array",
          "description": "Required. The weights to apply to each search result set during fusion.",
          "items": {
            "type": "number",
            "format": "double"
          }
        }
      },
      "description": "Defines the Reciprocal Rank Fusion (RRF) algorithm for result ranking.",
      "type": "object"
    },
    "GoogleCloudVectorsearchV1betaDenseVectorField": {
      "type": "object",
      "properties": {
        "dimensions": {
          "description": "Dimensionality of the vector field.",
          "type": "integer",
          "format": "int32"
        },
        "vertexEmbeddingConfig": {
          "description": "Optional. Configuration for generating embeddings for the vector field. If not specified, the embedding field must be populated in the DataObject.",
          "$ref": "GoogleCloudVectorsearchV1betaVertexEmbeddingConfig"
        }
      },
      "id": "GoogleCloudVectorsearchV1betaDenseVectorField",
      "description": "Message describing a dense vector field."
    },
    "GoogleCloudVectorsearchV1betaBatchUpdateDataObjectsRequest": {
      "id": "GoogleCloudVectorsearchV1betaBatchUpdateDataObjectsRequest",
      "properties": {
        "requests": {
          "items": {
            "$ref": "GoogleCloudVectorsearchV1betaUpdateDataObjectRequest"
          },
          "description": "Required. The request message specifying the resources to update. A maximum of 1000 DataObjects can be updated in a batch.",
          "type": "array"
        }
      },
      "type": "object",
      "description": "Request message for DataObjectService.BatchUpdateDataObjects."
    },
    "GoogleCloudVectorsearchV1betaOutputFields": {
      "id": "GoogleCloudVectorsearchV1betaOutputFields",
      "description": "Defines a output fields struct for data in DataObject.",
      "properties": {
        "metadataFields": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Optional. The fields from the DataObject metadata to include in the output."
        },
        "vectorFields": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "Optional. The fields from the vector fields to include in the output."
        },
        "dataFields": {
          "description": "Optional. The fields from the data fields to include in the output.",
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "type": "object"
    },
    "GoogleCloudVectorsearchV1betaBatchSearchDataObjectsResponse": {
      "id": "GoogleCloudVectorsearchV1betaBatchSearchDataObjectsResponse",
      "type": "object",
      "description": "A response from a batch search operation.",
      "properties": {
        "results": {
          "type": "array",
          "items": {
            "$ref": "GoogleCloudVectorsearchV1betaSearchDataObjectsResponse"
          },
          "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.",
          "readOnly": true
        }
      }
    },
    "GoogleCloudVectorsearchV1betaCreateDataObjectRequest": {
      "description": "Request message for DataObjectService.CreateDataObject.",
      "type": "object",
      "properties": {
        "dataObjectId": {
          "type": "string",
          "description": "Required. The id of the dataObject to create. The id must be 1-63 characters long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt). Specifically, it must be 1-63 characters long and match the regular expression `[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?`."
        },
        "parent": {
          "type": "string",
          "description": "Required. The resource name of the Collection to create the DataObject in. Format: `projects/{project}/locations/{location}/collections/{collection}`"
        },
        "dataObject": {
          "description": "Required. The DataObject to create.",
          "$ref": "GoogleCloudVectorsearchV1betaDataObject"
        }
      },
      "id": "GoogleCloudVectorsearchV1betaCreateDataObjectRequest"
    },
    "GoogleCloudVectorsearchV1betaTextSearch": {
      "id": "GoogleCloudVectorsearchV1betaTextSearch",
      "description": "Defines a text search operation.",
      "type": "object",
      "properties": {
        "outputFields": {
          "description": "Optional. The fields to return in the search results.",
          "$ref": "GoogleCloudVectorsearchV1betaOutputFields"
        },
        "filter": {
          "type": "object",
          "description": "Optional. A JSON filter expression, e.g. `{\"genre\": {\"$eq\": \"sci-fi\"}}`, represented as a `google.protobuf.Struct`.",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object."
          }
        },
        "topK": {
          "type": "integer",
          "description": "Optional. The number of results to return.",
          "format": "int32"
        },
        "dataFieldNames": {
          "description": "Optional. The data field names to search. Required when using the default text search mode.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "searchText": {
          "type": "string",
          "description": "Optional. The query text. Required when using the default text search mode."
        }
      }
    },
    "GoogleCloudVectorsearchV1betaVectorSearch": {
      "properties": {
        "distanceMetric": {
          "description": "Optional. The distance metric to use for the KNN search. If not specified, DOT_PRODUCT will be used as the default.",
          "enumDescriptions": [
            "Default value, distance metric is not specified.",
            "Dot product distance metric.",
            "Cosine distance metric."
          ],
          "enum": [
            "DISTANCE_METRIC_UNSPECIFIED",
            "DOT_PRODUCT",
            "COSINE_DISTANCE"
          ],
          "type": "string"
        },
        "sparseVector": {
          "$ref": "GoogleCloudVectorsearchV1betaSparseVector",
          "description": "A sparse vector for the query."
        },
        "searchHint": {
          "$ref": "GoogleCloudVectorsearchV1betaSearchHint",
          "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."
        },
        "topK": {
          "format": "int32",
          "type": "integer",
          "description": "Optional. The number of nearest neighbors to return."
        },
        "vector": {
          "description": "A dense vector for the query.",
          "$ref": "GoogleCloudVectorsearchV1betaDenseVector"
        },
        "filter": {
          "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.",
          "type": "object"
        },
        "searchField": {
          "description": "Required. The vector field to search.",
          "type": "string"
        },
        "outputFields": {
          "$ref": "GoogleCloudVectorsearchV1betaOutputFields",
          "description": "Optional. Mask specifying which fields to return."
        }
      },
      "id": "GoogleCloudVectorsearchV1betaVectorSearch",
      "type": "object",
      "description": "Defines a search operation using a query vector."
    },
    "GoogleCloudVectorsearchV1betaSearch": {
      "description": "A single search request within a batch operation.",
      "id": "GoogleCloudVectorsearchV1betaSearch",
      "type": "object",
      "properties": {
        "textSearch": {
          "$ref": "GoogleCloudVectorsearchV1betaTextSearch",
          "description": "A text search operation."
        },
        "vectorSearch": {
          "description": "A vector-based search.",
          "$ref": "GoogleCloudVectorsearchV1betaVectorSearch"
        },
        "semanticSearch": {
          "$ref": "GoogleCloudVectorsearchV1betaSemanticSearch",
          "description": "A semantic search."
        }
      }
    },
    "GoogleCloudVectorsearchV1betaDedicatedInfrastructure": {
      "id": "GoogleCloudVectorsearchV1betaDedicatedInfrastructure",
      "properties": {
        "autoscalingSpec": {
          "description": "Optional. Autoscaling specification.",
          "$ref": "GoogleCloudVectorsearchV1betaDedicatedInfrastructureAutoscalingSpec"
        },
        "mode": {
          "enumDescriptions": [
            "Default will use `PERFORMANCE_OPTIMIZED`.",
            "This is storage optimized variation.",
            "This is Performance optimized on E2 or equivalent family."
          ],
          "enum": [
            "MODE_UNSPECIFIED",
            "STORAGE_OPTIMIZED",
            "PERFORMANCE_OPTIMIZED"
          ],
          "type": "string",
          "description": "Optional. Mode of the dedicated infrastructure."
        }
      },
      "description": "Represents dedicated infrastructure for the index.",
      "type": "object"
    },
    "GoogleCloudVectorsearchV1betaExportDataObjectsRequestFieldFilter": {
      "id": "GoogleCloudVectorsearchV1betaExportDataObjectsRequestFieldFilter",
      "description": "Selects which top-level Data Object fields are emitted at export time.",
      "type": "object",
      "properties": {
        "includedFields": {
          "description": "Optional. Only these top-level fields will appear in each exported record.",
          "$ref": "GoogleCloudVectorsearchV1betaExportDataObjectsRequestFieldFilterFieldList"
        },
        "excludedFields": {
          "$ref": "GoogleCloudVectorsearchV1betaExportDataObjectsRequestFieldFilterFieldList",
          "description": "Optional. Every top-level field except these will appear in each exported record."
        }
      }
    },
    "GoogleCloudVectorsearchV1betaQueryDataObjectsRequest": {
      "type": "object",
      "description": "Request message for DataObjectSearchService.QueryDataObjects.",
      "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"
        },
        "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"
        },
        "outputFields": {
          "description": "Optional. Mask specifying which fields to return.",
          "$ref": "GoogleCloudVectorsearchV1betaOutputFields"
        },
        "pageToken": {
          "type": "string",
          "description": "Optional. The standard list page token. Typically obtained via QueryDataObjectsResponse.next_page_token of the previous DataObjectSearchService.QueryDataObjects call."
        }
      },
      "id": "GoogleCloudVectorsearchV1betaQueryDataObjectsRequest"
    },
    "GoogleCloudVectorsearchV1betaDataObject": {
      "properties": {
        "dataObjectId": {
          "description": "Output only. The id of the dataObject.",
          "type": "string",
          "readOnly": true
        },
        "data": {
          "additionalProperties": {
            "description": "Properties of the object.",
            "type": "any"
          },
          "description": "Optional. The data of the dataObject.",
          "type": "object"
        },
        "createTime": {
          "readOnly": true,
          "description": "Output only. Timestamp the dataObject was created at.",
          "type": "string",
          "format": "google-datetime"
        },
        "etag": {
          "type": "string",
          "description": "Optional. The etag of the dataObject."
        },
        "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"
        },
        "vectors": {
          "additionalProperties": {
            "$ref": "GoogleCloudVectorsearchV1betaVector"
          },
          "description": "Optional. The vectors of the dataObject.",
          "type": "object"
        },
        "updateTime": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. Timestamp the dataObject was last updated.",
          "format": "google-datetime"
        }
      },
      "id": "GoogleCloudVectorsearchV1betaDataObject",
      "description": "A dataObject resource in Vector Search.",
      "type": "object"
    },
    "GoogleCloudVectorsearchV1betaSearchHintKnnHint": {
      "properties": {},
      "id": "GoogleCloudVectorsearchV1betaSearchHintKnnHint",
      "description": "KnnHint will be used if search should be explicitly done on system's default K-Nearest Neighbor (KNN) index engine.",
      "type": "object"
    },
    "GoogleCloudVectorsearchV1betaImportDataObjectsRequestGcsImportConfig": {
      "properties": {
        "errorUri": {
          "type": "string",
          "description": "Required. URI prefix of the Cloud Storage location to write any errors encountered during the import."
        },
        "outputUri": {
          "description": "Optional. URI prefix of the Cloud Storage location to write DataObject `IDs` and `etags` of DataObjects that were successfully imported. The service will write the successfully imported DataObjects to sharded files under this prefix. If this field is empty, no output will be written.",
          "type": "string"
        },
        "contentsUri": {
          "description": "Required. URI prefix of the Cloud Storage DataObjects to import.",
          "type": "string"
        }
      },
      "id": "GoogleCloudVectorsearchV1betaImportDataObjectsRequestGcsImportConfig",
      "description": "Google Cloud Storage configuration for the import.",
      "type": "object"
    },
    "GoogleCloudVectorsearchV1betaVertexRanker": {
      "properties": {
        "textRecordSpec": {
          "$ref": "GoogleCloudVectorsearchV1betaVertexRankerTextRecordSpec",
          "description": "The record spec for text search."
        },
        "model": {
          "description": "Required. The model used for ranking documents. The list of available models is described in https://docs.cloud.google.com/generative-ai-app-builder/docs/ranking#models. Currently, only `semantic-ranker-fast@latest` is supported.",
          "type": "string"
        },
        "topN": {
          "type": "integer",
          "format": "int32",
          "description": "Required. The number of documents to be processed for ranking."
        }
      },
      "id": "GoogleCloudVectorsearchV1betaVertexRanker",
      "type": "object",
      "description": "Defines a ranker using the Vertex AI ranking service. See https://cloud.google.com/generative-ai-app-builder/docs/ranking for details."
    },
    "GoogleCloudVectorsearchV1betaQueryDataObjectsResponse": {
      "description": "Response message for DataObjectSearchService.QueryDataObjects.",
      "type": "object",
      "properties": {
        "dataObjects": {
          "type": "array",
          "items": {
            "$ref": "GoogleCloudVectorsearchV1betaDataObject"
          },
          "readOnly": true,
          "description": "Output only. The list of dataObjects that match the query."
        },
        "nextPageToken": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. A token to retrieve next page of results. Pass to DataObjectSearchService.QueryDataObjectsRequest.page_token to obtain that page."
        }
      },
      "id": "GoogleCloudVectorsearchV1betaQueryDataObjectsResponse"
    },
    "GoogleCloudVectorsearchV1betaSearchHintIndexHint": {
      "properties": {
        "name": {
          "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}`",
          "type": "string"
        },
        "denseScannParams": {
          "$ref": "GoogleCloudVectorsearchV1betaSearchHintIndexHintDenseScannParams",
          "description": "Optional. Dense ScaNN parameters."
        }
      },
      "type": "object",
      "description": "Message to specify the index to use for the search.",
      "id": "GoogleCloudVectorsearchV1betaSearchHintIndexHint"
    },
    "GoogleLongrunningListOperationsResponse": {
      "id": "GoogleLongrunningListOperationsResponse",
      "properties": {
        "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"
        },
        "operations": {
          "items": {
            "$ref": "GoogleLongrunningOperation"
          },
          "type": "array",
          "description": "A list of operations that matches the specified filter in the request."
        },
        "nextPageToken": {
          "description": "The standard List next-page token.",
          "type": "string"
        }
      },
      "description": "The response message for Operations.ListOperations.",
      "type": "object"
    },
    "GoogleCloudVectorsearchV1betaListCollectionsResponse": {
      "id": "GoogleCloudVectorsearchV1betaListCollectionsResponse",
      "description": "Message for response to listing Collections",
      "type": "object",
      "properties": {
        "collections": {
          "type": "array",
          "description": "The list of Collection",
          "items": {
            "$ref": "GoogleCloudVectorsearchV1betaCollection"
          }
        },
        "nextPageToken": {
          "description": "A token identifying a page of results the server should return.",
          "type": "string"
        },
        "unreachable": {
          "description": "Unordered list. Locations that could not be reached.",
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "GoogleCloudLocationLocation": {
      "type": "object",
      "id": "GoogleCloudLocationLocation",
      "properties": {
        "displayName": {
          "description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".",
          "type": "string"
        },
        "labels": {
          "type": "object",
          "description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}",
          "additionalProperties": {
            "type": "string"
          }
        },
        "metadata": {
          "type": "object",
          "description": "Service-specific metadata. For example the available capacity at the given location.",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object. Contains field @type with type URL."
          }
        },
        "name": {
          "description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`",
          "type": "string"
        },
        "locationId": {
          "type": "string",
          "description": "The canonical id for this location. For example: `\"us-east1\"`."
        }
      },
      "description": "A resource that represents a Google Cloud location."
    },
    "GoogleCloudVectorsearchV1betaVectorField": {
      "type": "object",
      "id": "GoogleCloudVectorsearchV1betaVectorField",
      "description": "Message describing a vector field.",
      "properties": {
        "sparseVector": {
          "$ref": "GoogleCloudVectorsearchV1betaSparseVectorField",
          "description": "Sparse vector field."
        },
        "denseVector": {
          "$ref": "GoogleCloudVectorsearchV1betaDenseVectorField",
          "description": "Dense vector field."
        }
      }
    },
    "GoogleLongrunningOperation": {
      "id": "GoogleLongrunningOperation",
      "type": "object",
      "description": "This resource represents a long-running operation that is the result of a network API call.",
      "properties": {
        "response": {
          "additionalProperties": {
            "description": "Properties of the object. Contains field @type with type URL.",
            "type": "any"
          },
          "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`."
        },
        "error": {
          "$ref": "GoogleRpcStatus",
          "description": "The error result of the operation in case of failure or cancellation."
        },
        "done": {
          "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.",
          "type": "boolean"
        },
        "metadata": {
          "type": "object",
          "additionalProperties": {
            "description": "Properties of the object. Contains field @type with type URL.",
            "type": "any"
          },
          "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any."
        },
        "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}`."
        }
      }
    },
    "GoogleCloudVectorsearchV1betaVertexRankerTextRecordSpec": {
      "id": "GoogleCloudVectorsearchV1betaVertexRankerTextRecordSpec",
      "description": "The record spec for text search.",
      "properties": {
        "query": {
          "description": "Required. The query against which the records are ranked and scored.",
          "type": "string"
        },
        "contentTemplate": {
          "type": "string",
          "description": "Optional. The template used to generate the record's content."
        },
        "titleTemplate": {
          "type": "string",
          "description": "Optional. The template used to generate the record's title."
        }
      },
      "type": "object"
    },
    "GoogleCloudVectorsearchV1betaUpdateDataObjectRequest": {
      "properties": {
        "dataObject": {
          "$ref": "GoogleCloudVectorsearchV1betaDataObject",
          "description": "Required. The DataObject which replaces the resource on the server."
        },
        "updateMask": {
          "type": "string",
          "format": "google-fieldmask",
          "description": "Optional. The update mask applies to the resource. See google.protobuf.FieldMask."
        }
      },
      "id": "GoogleCloudVectorsearchV1betaUpdateDataObjectRequest",
      "description": "Request message for DataObjectService.UpdateDataObject.",
      "type": "object"
    },
    "GoogleCloudVectorsearchV1betaCollection": {
      "type": "object",
      "description": "Message describing Collection object",
      "id": "GoogleCloudVectorsearchV1betaCollection",
      "properties": {
        "schema": {
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object."
          },
          "description": "Optional. Deprecated: JSON Schema for data. Please use data_schema instead.",
          "type": "object",
          "deprecated": true
        },
        "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": "GoogleCloudVectorsearchV1betaVectorField"
          }
        },
        "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": "GoogleCloudVectorsearchV1betaEncryptionSpec"
        },
        "name": {
          "type": "string",
          "description": "Identifier. name of resource"
        },
        "description": {
          "type": "string",
          "description": "Optional. User-specified description of the collection"
        },
        "displayName": {
          "description": "Optional. User-specified display name of the collection",
          "type": "string"
        },
        "updateTime": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. [Output only] Update time stamp",
          "format": "google-datetime"
        },
        "labels": {
          "additionalProperties": {
            "type": "string"
          },
          "description": "Optional. Labels as key value pairs.",
          "type": "object"
        },
        "createTime": {
          "format": "google-datetime",
          "readOnly": true,
          "type": "string",
          "description": "Output only. [Output only] Create time stamp"
        },
        "dataSchema": {
          "type": "object",
          "additionalProperties": {
            "description": "Properties of the object.",
            "type": "any"
          },
          "description": "Optional. JSON Schema for data. Field names must contain only alphanumeric characters, underscores, and hyphens. The schema must be compliant with [JSON Schema Draft 7](https://json-schema.org/draft-07/schema)."
        }
      }
    },
    "GoogleCloudVectorsearchV1betaDenseVector": {
      "type": "object",
      "description": "A dense vector.",
      "id": "GoogleCloudVectorsearchV1betaDenseVector",
      "properties": {
        "values": {
          "description": "Required. The values of the vector.",
          "type": "array",
          "items": {
            "format": "float",
            "type": "number"
          }
        }
      }
    },
    "GoogleCloudVectorsearchV1betaImportDataObjectsRequest": {
      "description": "Request message for VectorSearchService.ImportDataObjects.",
      "id": "GoogleCloudVectorsearchV1betaImportDataObjectsRequest",
      "type": "object",
      "properties": {
        "gcsImport": {
          "description": "The Cloud Storage location of the input content.",
          "$ref": "GoogleCloudVectorsearchV1betaImportDataObjectsRequestGcsImportConfig"
        }
      }
    },
    "GoogleCloudVectorsearchV1betaBatchCreateDataObjectsResponse": {
      "type": "object",
      "description": "Response message for DataObjectService.BatchCreateDataObjects.",
      "properties": {
        "dataObjects": {
          "readOnly": true,
          "description": "Output only. DataObjects created.",
          "items": {
            "$ref": "GoogleCloudVectorsearchV1betaDataObject"
          },
          "type": "array"
        }
      },
      "id": "GoogleCloudVectorsearchV1betaBatchCreateDataObjectsResponse"
    },
    "GoogleCloudVectorsearchV1betaSearchHint": {
      "properties": {
        "useIndex": {
          "description": "Optional. Deprecated: Use `index_hint` instead. Specifies that the search should use a particular index.",
          "$ref": "GoogleCloudVectorsearchV1betaSearchHintIndexHint",
          "deprecated": true
        },
        "indexHint": {
          "description": "Optional. Specifies that the search should use a particular index.",
          "$ref": "GoogleCloudVectorsearchV1betaSearchHintIndexHint"
        },
        "useKnn": {
          "description": "Optional. Deprecated: Use `knn_hint` instead. If set to true, the search will use the system's default K-Nearest Neighbor (KNN) index engine.",
          "type": "boolean",
          "deprecated": true
        },
        "knnHint": {
          "description": "Optional. If set, the search will use the system's default K-Nearest Neighbor (KNN) index engine.",
          "$ref": "GoogleCloudVectorsearchV1betaSearchHintKnnHint"
        }
      },
      "id": "GoogleCloudVectorsearchV1betaSearchHint",
      "type": "object",
      "description": "Represents a hint to the search index engine."
    },
    "Empty": {
      "type": "object",
      "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); }",
      "properties": {},
      "id": "Empty"
    },
    "GoogleCloudVectorsearchV1betaSparseVector": {
      "description": "A sparse vector.",
      "type": "object",
      "properties": {
        "values": {
          "description": "Required. The values of the vector.",
          "items": {
            "format": "float",
            "type": "number"
          },
          "type": "array"
        },
        "indices": {
          "items": {
            "type": "integer",
            "format": "int32"
          },
          "type": "array",
          "description": "Required. The corresponding indices for the values."
        }
      },
      "id": "GoogleCloudVectorsearchV1betaSparseVector"
    }
  }
}
