{
  "parameters": {
    "oauth_token": {
      "location": "query",
      "type": "string",
      "description": "OAuth 2.0 token for the current user."
    },
    "access_token": {
      "description": "OAuth access token.",
      "location": "query",
      "type": "string"
    },
    "upload_protocol": {
      "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
      "type": "string",
      "location": "query"
    },
    "callback": {
      "description": "JSONP",
      "location": "query",
      "type": "string"
    },
    "key": {
      "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
      "location": "query",
      "type": "string"
    },
    "prettyPrint": {
      "type": "boolean",
      "location": "query",
      "description": "Returns response with indentations and line breaks.",
      "default": "true"
    },
    "quotaUser": {
      "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
      "location": "query",
      "type": "string"
    },
    "$.xgafv": {
      "description": "V1 error format.",
      "type": "string",
      "location": "query",
      "enumDescriptions": [
        "v1 error format",
        "v2 error format"
      ],
      "enum": [
        "1",
        "2"
      ]
    },
    "fields": {
      "type": "string",
      "description": "Selector specifying which fields to include in a partial response.",
      "location": "query"
    },
    "uploadType": {
      "location": "query",
      "type": "string",
      "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\")."
    },
    "alt": {
      "location": "query",
      "enum": [
        "json",
        "media",
        "proto"
      ],
      "enumDescriptions": [
        "Responses with Content-Type of application/json",
        "Media download with context-dependent Content-Type",
        "Responses with Content-Type of application/x-protobuf"
      ],
      "type": "string",
      "description": "Data format for response.",
      "default": "json"
    }
  },
  "title": "Vector Search API",
  "resources": {
    "projects": {
      "resources": {
        "locations": {
          "methods": {
            "list": {
              "parameters": {
                "name": {
                  "required": true,
                  "pattern": "^projects/[^/]+$",
                  "location": "path",
                  "type": "string",
                  "description": "The resource that owns the locations collection, if applicable."
                },
                "pageSize": {
                  "type": "integer",
                  "description": "The maximum number of results to return. If not set, the service selects a default.",
                  "format": "int32",
                  "location": "query"
                },
                "pageToken": {
                  "type": "string",
                  "description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.",
                  "location": "query"
                },
                "filter": {
                  "location": "query",
                  "type": "string",
                  "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)."
                },
                "extraLocationTypes": {
                  "location": "query",
                  "description": "Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage.",
                  "type": "string",
                  "repeated": true
                }
              },
              "response": {
                "$ref": "GoogleCloudLocationListLocationsResponse"
              },
              "httpMethod": "GET",
              "parameterOrder": [
                "name"
              ],
              "id": "vectorsearch.projects.locations.list",
              "scopes": [
                "https://www.googleapis.com/auth/cloud-platform",
                "https://www.googleapis.com/auth/vectorsearch",
                "https://www.googleapis.com/auth/vectorsearch.readonly"
              ],
              "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.",
              "path": "v1/{+name}/locations",
              "flatPath": "v1/projects/{projectsId}/locations"
            },
            "get": {
              "path": "v1/{+name}",
              "response": {
                "$ref": "GoogleCloudLocationLocation"
              },
              "id": "vectorsearch.projects.locations.get",
              "description": "Gets information about a location.",
              "flatPath": "v1/projects/{projectsId}/locations/{locationsId}",
              "parameterOrder": [
                "name"
              ],
              "scopes": [
                "https://www.googleapis.com/auth/cloud-platform",
                "https://www.googleapis.com/auth/vectorsearch",
                "https://www.googleapis.com/auth/vectorsearch.readonly"
              ],
              "httpMethod": "GET",
              "parameters": {
                "name": {
                  "description": "Resource name for the location.",
                  "pattern": "^projects/[^/]+/locations/[^/]+$",
                  "required": true,
                  "type": "string",
                  "location": "path"
                }
              }
            }
          },
          "resources": {
            "collections": {
              "methods": {
                "create": {
                  "id": "vectorsearch.projects.locations.collections.create",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/vectorsearch"
                  ],
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections",
                  "path": "v1/{+parent}/collections",
                  "request": {
                    "$ref": "GoogleCloudVectorsearchV1Collection"
                  },
                  "parameters": {
                    "requestId": {
                      "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
                      "location": "query",
                      "type": "string"
                    },
                    "collectionId": {
                      "type": "string",
                      "description": "Required. ID of the Collection to create. The id must be 1-63 characters long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt). Specifically, it must be 1-63 characters long and match the regular expression `[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?`.",
                      "location": "query"
                    },
                    "parent": {
                      "type": "string",
                      "required": true,
                      "description": "Required. Value for parent.",
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "location": "path"
                    }
                  },
                  "httpMethod": "POST",
                  "description": "Creates a new Collection in a given project and location.",
                  "response": {
                    "$ref": "GoogleLongrunningOperation"
                  },
                  "parameterOrder": [
                    "parent"
                  ]
                },
                "get": {
                  "parameters": {
                    "name": {
                      "type": "string",
                      "description": "Required. Name of the resource",
                      "required": true,
                      "location": "path",
                      "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$"
                    }
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/vectorsearch",
                    "https://www.googleapis.com/auth/vectorsearch.readonly"
                  ],
                  "httpMethod": "GET",
                  "path": "v1/{+name}",
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}",
                  "id": "vectorsearch.projects.locations.collections.get",
                  "description": "Gets details of a single Collection.",
                  "parameterOrder": [
                    "name"
                  ],
                  "response": {
                    "$ref": "GoogleCloudVectorsearchV1Collection"
                  }
                },
                "list": {
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/vectorsearch",
                    "https://www.googleapis.com/auth/vectorsearch.readonly"
                  ],
                  "response": {
                    "$ref": "GoogleCloudVectorsearchV1ListCollectionsResponse"
                  },
                  "description": "Lists Collections in a given project and location.",
                  "parameterOrder": [
                    "parent"
                  ],
                  "path": "v1/{+parent}/collections",
                  "parameters": {
                    "pageSize": {
                      "format": "int32",
                      "type": "integer",
                      "description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.",
                      "location": "query"
                    },
                    "filter": {
                      "description": "Optional. Filtering results",
                      "type": "string",
                      "location": "query"
                    },
                    "pageToken": {
                      "type": "string",
                      "location": "query",
                      "description": "Optional. A token identifying a page of results the server should return."
                    },
                    "parent": {
                      "location": "path",
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "required": true,
                      "description": "Required. Parent value for ListCollectionsRequest",
                      "type": "string"
                    },
                    "orderBy": {
                      "description": "Optional. Hint for how to order the results",
                      "type": "string",
                      "location": "query"
                    }
                  },
                  "id": "vectorsearch.projects.locations.collections.list",
                  "httpMethod": "GET"
                },
                "importDataObjects": {
                  "parameters": {
                    "name": {
                      "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$",
                      "location": "path",
                      "description": "Required. The resource name of the Collection to import DataObjects into. Format: `projects/{project}/locations/{location}/collections/{collection}`.",
                      "required": true,
                      "type": "string"
                    }
                  },
                  "httpMethod": "POST",
                  "request": {
                    "$ref": "GoogleCloudVectorsearchV1ImportDataObjectsRequest"
                  },
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}:importDataObjects",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/vectorsearch"
                  ],
                  "id": "vectorsearch.projects.locations.collections.importDataObjects",
                  "response": {
                    "$ref": "GoogleLongrunningOperation"
                  },
                  "description": "Initiates a Long-Running Operation to import DataObjects into a Collection.",
                  "path": "v1/{+name}:importDataObjects",
                  "parameterOrder": [
                    "name"
                  ]
                },
                "patch": {
                  "response": {
                    "$ref": "GoogleLongrunningOperation"
                  },
                  "path": "v1/{+name}",
                  "request": {
                    "$ref": "GoogleCloudVectorsearchV1Collection"
                  },
                  "httpMethod": "PATCH",
                  "parameters": {
                    "name": {
                      "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$",
                      "location": "path",
                      "description": "Identifier. name of resource",
                      "type": "string",
                      "required": true
                    },
                    "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"
                    },
                    "updateMask": {
                      "type": "string",
                      "description": "Optional. Field mask is used to specify the fields to be overwritten in the Collection resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields present in the request will be overwritten. The following fields support update: `display_name`, `description`, `labels`, `data_schema`, `vector_schema`. For `data_schema` and `vector_schema`, fields can only be added, not deleted, but `vertex_embedding_config` in `vector_schema` can be added or removed. Partial updates for `data_schema` and `vector_schema` are also supported by using sub-field paths in `update_mask`, e.g. `data_schema.properties.foo` or `vector_schema.my_vector_field`. If `*` is provided in the update_mask, full replacement will be performed.",
                      "location": "query",
                      "format": "google-fieldmask"
                    }
                  },
                  "description": "Updates the parameters of a single Collection.",
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}",
                  "parameterOrder": [
                    "name"
                  ],
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/vectorsearch"
                  ],
                  "id": "vectorsearch.projects.locations.collections.patch"
                },
                "delete": {
                  "description": "Deletes a single Collection.",
                  "parameterOrder": [
                    "name"
                  ],
                  "httpMethod": "DELETE",
                  "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": {
                      "required": true,
                      "type": "string",
                      "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$",
                      "location": "path",
                      "description": "Required. Name of the 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 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)."
                    }
                  },
                  "id": "vectorsearch.projects.locations.collections.delete",
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}",
                  "path": "v1/{+name}",
                  "response": {
                    "$ref": "GoogleLongrunningOperation"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/vectorsearch"
                  ]
                },
                "exportDataObjects": {
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}:exportDataObjects",
                  "description": "Initiates a Long-Running Operation to export DataObjects from a Collection.",
                  "parameterOrder": [
                    "name"
                  ],
                  "httpMethod": "POST",
                  "parameters": {
                    "name": {
                      "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$",
                      "required": true,
                      "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}`.",
                      "location": "path"
                    }
                  },
                  "path": "v1/{+name}:exportDataObjects",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/vectorsearch"
                  ],
                  "response": {
                    "$ref": "GoogleLongrunningOperation"
                  },
                  "id": "vectorsearch.projects.locations.collections.exportDataObjects",
                  "request": {
                    "$ref": "GoogleCloudVectorsearchV1ExportDataObjectsRequest"
                  }
                }
              },
              "resources": {
                "dataObjects": {
                  "methods": {
                    "search": {
                      "response": {
                        "$ref": "GoogleCloudVectorsearchV1SearchDataObjectsResponse"
                      },
                      "parameterOrder": [
                        "parent"
                      ],
                      "description": "Searches data objects.",
                      "request": {
                        "$ref": "GoogleCloudVectorsearchV1SearchDataObjectsRequest"
                      },
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataObjects:search",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/vectorsearch",
                        "https://www.googleapis.com/auth/vectorsearch.readonly"
                      ],
                      "httpMethod": "POST",
                      "path": "v1/{+parent}/dataObjects:search",
                      "id": "vectorsearch.projects.locations.collections.dataObjects.search",
                      "parameters": {
                        "parent": {
                          "location": "path",
                          "required": true,
                          "type": "string",
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$",
                          "description": "Required. The resource name of the Collection for which to search. Format: `projects/{project}/locations/{location}/collections/{collection}`"
                        }
                      }
                    },
                    "delete": {
                      "id": "vectorsearch.projects.locations.collections.dataObjects.delete",
                      "description": "Deletes a dataObject.",
                      "response": {
                        "$ref": "Empty"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/vectorsearch"
                      ],
                      "path": "v1/{+name}",
                      "parameters": {
                        "name": {
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataObjects/[^/]+$",
                          "location": "path",
                          "type": "string",
                          "description": "Required. The name of the DataObject resource to be deleted. Format: `projects/{project}/locations/{location}/collections/{collection}/dataObjects/{dataObject}`",
                          "required": true
                        },
                        "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.",
                          "location": "query",
                          "type": "string"
                        }
                      },
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataObjects/{dataObjectsId}",
                      "httpMethod": "DELETE",
                      "parameterOrder": [
                        "name"
                      ]
                    },
                    "batchCreate": {
                      "description": "Creates a batch of dataObjects.",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/vectorsearch"
                      ],
                      "httpMethod": "POST",
                      "parameters": {
                        "parent": {
                          "location": "path",
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$",
                          "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.",
                          "required": true,
                          "type": "string"
                        }
                      },
                      "response": {
                        "$ref": "GoogleCloudVectorsearchV1BatchCreateDataObjectsResponse"
                      },
                      "path": "v1/{+parent}/dataObjects:batchCreate",
                      "parameterOrder": [
                        "parent"
                      ],
                      "id": "vectorsearch.projects.locations.collections.dataObjects.batchCreate",
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataObjects:batchCreate",
                      "request": {
                        "$ref": "GoogleCloudVectorsearchV1BatchCreateDataObjectsRequest"
                      }
                    },
                    "batchSearch": {
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/vectorsearch",
                        "https://www.googleapis.com/auth/vectorsearch.readonly"
                      ],
                      "id": "vectorsearch.projects.locations.collections.dataObjects.batchSearch",
                      "path": "v1/{+parent}/dataObjects:batchSearch",
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataObjects:batchSearch",
                      "parameterOrder": [
                        "parent"
                      ],
                      "description": "Batch searches data objects.",
                      "request": {
                        "$ref": "GoogleCloudVectorsearchV1BatchSearchDataObjectsRequest"
                      },
                      "parameters": {
                        "parent": {
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$",
                          "location": "path",
                          "description": "Required. The resource name of the Collection for which to search. Format: `projects/{project}/locations/{location}/collections/{collection}`",
                          "required": true,
                          "type": "string"
                        }
                      },
                      "response": {
                        "$ref": "GoogleCloudVectorsearchV1BatchSearchDataObjectsResponse"
                      },
                      "httpMethod": "POST"
                    },
                    "patch": {
                      "response": {
                        "$ref": "GoogleCloudVectorsearchV1DataObject"
                      },
                      "id": "vectorsearch.projects.locations.collections.dataObjects.patch",
                      "parameterOrder": [
                        "name"
                      ],
                      "httpMethod": "PATCH",
                      "parameters": {
                        "updateMask": {
                          "format": "google-fieldmask",
                          "description": "Optional. The update mask applies to the resource. See google.protobuf.FieldMask.",
                          "type": "string",
                          "location": "query"
                        },
                        "name": {
                          "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
                          "description": "Identifier. The fully qualified resource name of the dataObject. Format: `projects/{project}/locations/{location}/collections/{collection}/dataObjects/{data_object_id}` The data_object_id must be 1-63 characters long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).",
                          "location": "path",
                          "required": true,
                          "type": "string"
                        }
                      },
                      "request": {
                        "$ref": "GoogleCloudVectorsearchV1DataObject"
                      },
                      "path": "v1/{+name}",
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataObjects/{dataObjectsId}",
                      "description": "Updates a dataObject.",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/vectorsearch"
                      ]
                    },
                    "aggregate": {
                      "description": "Aggregates data objects.",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/vectorsearch",
                        "https://www.googleapis.com/auth/vectorsearch.readonly"
                      ],
                      "response": {
                        "$ref": "GoogleCloudVectorsearchV1AggregateDataObjectsResponse"
                      },
                      "request": {
                        "$ref": "GoogleCloudVectorsearchV1AggregateDataObjectsRequest"
                      },
                      "httpMethod": "POST",
                      "parameterOrder": [
                        "parent"
                      ],
                      "path": "v1/{+parent}/dataObjects:aggregate",
                      "parameters": {
                        "parent": {
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$",
                          "location": "path",
                          "type": "string",
                          "description": "Required. The resource name of the Collection for which to query. Format: `projects/{project}/locations/{location}/collections/{collection}`",
                          "required": true
                        }
                      },
                      "id": "vectorsearch.projects.locations.collections.dataObjects.aggregate",
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataObjects:aggregate"
                    },
                    "query": {
                      "httpMethod": "POST",
                      "parameters": {
                        "parent": {
                          "location": "path",
                          "type": "string",
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$",
                          "description": "Required. The resource name of the Collection for which to query. Format: `projects/{project}/locations/{location}/collections/{collection}`",
                          "required": true
                        }
                      },
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataObjects:query",
                      "request": {
                        "$ref": "GoogleCloudVectorsearchV1QueryDataObjectsRequest"
                      },
                      "description": "Queries data objects.",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/vectorsearch",
                        "https://www.googleapis.com/auth/vectorsearch.readonly"
                      ],
                      "response": {
                        "$ref": "GoogleCloudVectorsearchV1QueryDataObjectsResponse"
                      },
                      "path": "v1/{+parent}/dataObjects:query",
                      "parameterOrder": [
                        "parent"
                      ],
                      "id": "vectorsearch.projects.locations.collections.dataObjects.query"
                    },
                    "batchUpdate": {
                      "description": "Updates dataObjects in a batch.",
                      "parameters": {
                        "parent": {
                          "type": "string",
                          "description": "Required. The resource name of the Collection to update the DataObjects in. Format: `projects/{project}/locations/{location}/collections/{collection}`. The parent field in the UpdateDataObjectRequest messages must match this field.",
                          "location": "path",
                          "required": true,
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$"
                        }
                      },
                      "httpMethod": "POST",
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataObjects:batchUpdate",
                      "id": "vectorsearch.projects.locations.collections.dataObjects.batchUpdate",
                      "path": "v1/{+parent}/dataObjects:batchUpdate",
                      "request": {
                        "$ref": "GoogleCloudVectorsearchV1BatchUpdateDataObjectsRequest"
                      },
                      "parameterOrder": [
                        "parent"
                      ],
                      "response": {
                        "$ref": "GoogleCloudVectorsearchV1BatchUpdateDataObjectsResponse"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/vectorsearch"
                      ]
                    },
                    "get": {
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataObjects/{dataObjectsId}",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/vectorsearch",
                        "https://www.googleapis.com/auth/vectorsearch.readonly"
                      ],
                      "path": "v1/{+name}",
                      "response": {
                        "$ref": "GoogleCloudVectorsearchV1DataObject"
                      },
                      "id": "vectorsearch.projects.locations.collections.dataObjects.get",
                      "httpMethod": "GET",
                      "parameters": {
                        "name": {
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataObjects/[^/]+$",
                          "required": true,
                          "type": "string",
                          "description": "Required. The name of the DataObject resource. Format: `projects/{project}/locations/{location}/collections/{collection}/dataObjects/{dataObject}`",
                          "location": "path"
                        }
                      },
                      "parameterOrder": [
                        "name"
                      ],
                      "description": "Gets a data object."
                    },
                    "create": {
                      "httpMethod": "POST",
                      "parameters": {
                        "dataObjectId": {
                          "location": "query",
                          "description": "Required. The id of the dataObject to create. The id must be 1-63 characters long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt). Specifically, it must be 1-63 characters long and match the regular expression `[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?`.",
                          "type": "string"
                        },
                        "parent": {
                          "type": "string",
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$",
                          "required": true,
                          "description": "Required. The resource name of the Collection to create the DataObject in. Format: `projects/{project}/locations/{location}/collections/{collection}`",
                          "location": "path"
                        }
                      },
                      "description": "Creates a dataObject.",
                      "path": "v1/{+parent}/dataObjects",
                      "parameterOrder": [
                        "parent"
                      ],
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataObjects",
                      "request": {
                        "$ref": "GoogleCloudVectorsearchV1DataObject"
                      },
                      "id": "vectorsearch.projects.locations.collections.dataObjects.create",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/vectorsearch"
                      ],
                      "response": {
                        "$ref": "GoogleCloudVectorsearchV1DataObject"
                      }
                    },
                    "batchDelete": {
                      "description": "Deletes dataObjects in a batch.",
                      "httpMethod": "POST",
                      "response": {
                        "$ref": "Empty"
                      },
                      "path": "v1/{+parent}/dataObjects:batchDelete",
                      "parameters": {
                        "parent": {
                          "location": "path",
                          "type": "string",
                          "required": true,
                          "description": "Required. The resource name of the Collection to delete the DataObjects in. Format: `projects/{project}/locations/{location}/collections/{collection}`.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$"
                        }
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/vectorsearch"
                      ],
                      "request": {
                        "$ref": "GoogleCloudVectorsearchV1BatchDeleteDataObjectsRequest"
                      },
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataObjects:batchDelete",
                      "parameterOrder": [
                        "parent"
                      ],
                      "id": "vectorsearch.projects.locations.collections.dataObjects.batchDelete"
                    }
                  }
                },
                "indexes": {
                  "methods": {
                    "create": {
                      "id": "vectorsearch.projects.locations.collections.indexes.create",
                      "path": "v1/{+parent}/indexes",
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/indexes",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/vectorsearch"
                      ],
                      "parameterOrder": [
                        "parent"
                      ],
                      "request": {
                        "$ref": "GoogleCloudVectorsearchV1Index"
                      },
                      "response": {
                        "$ref": "GoogleLongrunningOperation"
                      },
                      "parameters": {
                        "parent": {
                          "location": "path",
                          "description": "Required. The resource name of the Collection for which to create the Index. Format: `projects/{project}/locations/{location}/collections/{collection}`",
                          "required": true,
                          "type": "string",
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$"
                        },
                        "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)."
                        },
                        "indexId": {
                          "location": "query",
                          "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])?`.",
                          "type": "string"
                        }
                      },
                      "description": "Creates a new Index in a given project and location.",
                      "httpMethod": "POST"
                    },
                    "patch": {
                      "description": "Updates the parameters of a single Index.",
                      "path": "v1/{+name}",
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/indexes/{indexesId}",
                      "parameters": {
                        "name": {
                          "description": "Identifier. name of resource",
                          "location": "path",
                          "required": true,
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/indexes/[^/]+$",
                          "type": "string"
                        },
                        "updateMask": {
                          "description": "Optional. Specifies the fields to be overwritten in the Index resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields present in the request with non-empty values will be overwritten. The following fields support update: * `display_name` * `description` * `labels` * `dedicated_infrastructure.autoscaling_spec.min_replica_count` * `dedicated_infrastructure.autoscaling_spec.max_replica_count` If `*` is provided in the `update_mask`, full replacement of mutable fields will be performed.",
                          "location": "query",
                          "type": "string",
                          "format": "google-fieldmask"
                        },
                        "requestId": {
                          "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
                          "location": "query",
                          "type": "string"
                        }
                      },
                      "parameterOrder": [
                        "name"
                      ],
                      "request": {
                        "$ref": "GoogleCloudVectorsearchV1Index"
                      },
                      "httpMethod": "PATCH",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/vectorsearch"
                      ],
                      "response": {
                        "$ref": "GoogleLongrunningOperation"
                      },
                      "id": "vectorsearch.projects.locations.collections.indexes.patch"
                    },
                    "list": {
                      "path": "v1/{+parent}/indexes",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/vectorsearch",
                        "https://www.googleapis.com/auth/vectorsearch.readonly"
                      ],
                      "parameters": {
                        "orderBy": {
                          "location": "query",
                          "description": "Optional. Hint for how to order the results",
                          "type": "string"
                        },
                        "parent": {
                          "description": "Required. Parent value for ListIndexesRequest",
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$",
                          "location": "path",
                          "type": "string",
                          "required": true
                        },
                        "filter": {
                          "type": "string",
                          "description": "Optional. Filtering results",
                          "location": "query"
                        },
                        "pageToken": {
                          "description": "Optional. A token identifying a page of results the server should return.",
                          "type": "string",
                          "location": "query"
                        },
                        "pageSize": {
                          "type": "integer",
                          "format": "int32",
                          "location": "query",
                          "description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default."
                        }
                      },
                      "httpMethod": "GET",
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/indexes",
                      "parameterOrder": [
                        "parent"
                      ],
                      "description": "Lists Indexes in a given project and location.",
                      "response": {
                        "$ref": "GoogleCloudVectorsearchV1ListIndexesResponse"
                      },
                      "id": "vectorsearch.projects.locations.collections.indexes.list"
                    },
                    "delete": {
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/vectorsearch"
                      ],
                      "response": {
                        "$ref": "GoogleLongrunningOperation"
                      },
                      "path": "v1/{+name}",
                      "description": "Deletes a single Index.",
                      "httpMethod": "DELETE",
                      "parameterOrder": [
                        "name"
                      ],
                      "id": "vectorsearch.projects.locations.collections.indexes.delete",
                      "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"
                        },
                        "name": {
                          "required": true,
                          "type": "string",
                          "location": "path",
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/indexes/[^/]+$",
                          "description": "Required. The resource name of the Index to delete. Format: `projects/{project}/locations/{location}/collections/{collection}/indexes/{index}`"
                        }
                      },
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/indexes/{indexesId}"
                    },
                    "get": {
                      "description": "Gets details of a single Index.",
                      "parameters": {
                        "name": {
                          "type": "string",
                          "location": "path",
                          "description": "Required. Name of the resource",
                          "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/indexes/[^/]+$",
                          "required": true
                        }
                      },
                      "httpMethod": "GET",
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/indexes/{indexesId}",
                      "path": "v1/{+name}",
                      "id": "vectorsearch.projects.locations.collections.indexes.get",
                      "response": {
                        "$ref": "GoogleCloudVectorsearchV1Index"
                      },
                      "parameterOrder": [
                        "name"
                      ],
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/vectorsearch",
                        "https://www.googleapis.com/auth/vectorsearch.readonly"
                      ]
                    }
                  }
                }
              }
            },
            "operations": {
              "methods": {
                "cancel": {
                  "httpMethod": "POST",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/vectorsearch"
                  ],
                  "parameters": {
                    "name": {
                      "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$",
                      "location": "path",
                      "description": "The name of the operation resource to be cancelled.",
                      "type": "string",
                      "required": true
                    }
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}: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`.",
                  "id": "vectorsearch.projects.locations.operations.cancel",
                  "request": {
                    "$ref": "GoogleLongrunningCancelOperationRequest"
                  },
                  "path": "v1/{+name}:cancel",
                  "response": {
                    "$ref": "Empty"
                  }
                },
                "get": {
                  "parameters": {
                    "name": {
                      "type": "string",
                      "required": true,
                      "location": "path",
                      "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$",
                      "description": "The name of the operation resource."
                    }
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/vectorsearch",
                    "https://www.googleapis.com/auth/vectorsearch.readonly"
                  ],
                  "httpMethod": "GET",
                  "id": "vectorsearch.projects.locations.operations.get",
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}",
                  "parameterOrder": [
                    "name"
                  ],
                  "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.",
                  "response": {
                    "$ref": "GoogleLongrunningOperation"
                  },
                  "path": "v1/{+name}"
                },
                "list": {
                  "response": {
                    "$ref": "GoogleLongrunningListOperationsResponse"
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "id": "vectorsearch.projects.locations.operations.list",
                  "path": "v1/{+name}/operations",
                  "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.",
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/vectorsearch",
                    "https://www.googleapis.com/auth/vectorsearch.readonly"
                  ],
                  "httpMethod": "GET",
                  "parameters": {
                    "pageSize": {
                      "type": "integer",
                      "format": "int32",
                      "location": "query",
                      "description": "The standard list page size."
                    },
                    "name": {
                      "location": "path",
                      "description": "The name of the operation's parent resource.",
                      "type": "string",
                      "required": true,
                      "pattern": "^projects/[^/]+/locations/[^/]+$"
                    },
                    "returnPartialSuccess": {
                      "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.",
                      "type": "boolean",
                      "location": "query"
                    },
                    "filter": {
                      "type": "string",
                      "location": "query",
                      "description": "The standard list filter."
                    },
                    "pageToken": {
                      "description": "The standard list page token.",
                      "location": "query",
                      "type": "string"
                    }
                  }
                },
                "delete": {
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/vectorsearch"
                  ],
                  "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`.",
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}",
                  "parameterOrder": [
                    "name"
                  ],
                  "parameters": {
                    "name": {
                      "description": "The name of the operation resource to be deleted.",
                      "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$",
                      "location": "path",
                      "type": "string",
                      "required": true
                    }
                  },
                  "httpMethod": "DELETE",
                  "path": "v1/{+name}",
                  "id": "vectorsearch.projects.locations.operations.delete",
                  "response": {
                    "$ref": "Empty"
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "revision": "20261112",
  "ownerDomain": "google.com",
  "basePath": "",
  "fullyEncodeReservedExpansion": true,
  "baseUrl": "https://vectorsearch.googleapis.com/",
  "servicePath": "",
  "kind": "discovery#restDescription",
  "discoveryVersion": "v1",
  "auth": {
    "oauth2": {
      "scopes": {
        "https://www.googleapis.com/auth/vectorsearch": {
          "description": "See, edit, configure, and delete your Google Cloud Vector Search data and see the email address for your Google Account"
        },
        "https://www.googleapis.com/auth/vectorsearch.readonly": {
          "description": "See your Google Cloud Vector Search data and the email address of your Google Account"
        },
        "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."
        }
      }
    }
  },
  "id": "vectorsearch:v1",
  "ownerName": "Google",
  "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.",
  "rootUrl": "https://vectorsearch.googleapis.com/",
  "canonicalName": "Vector Search",
  "version": "v1",
  "mtlsRootUrl": "https://vectorsearch.mtls.googleapis.com/",
  "endpoints": [
    {
      "location": "us",
      "endpointUrl": "https://vectorsearch.us.rep.googleapis.com/",
      "description": "Regional Endpoint"
    }
  ],
  "name": "vectorsearch",
  "schemas": {
    "GoogleCloudVectorsearchV1SearchHintIndexHintDenseScannParams": {
      "properties": {
        "targetRecall": {
          "type": "number",
          "format": "double",
          "description": "Optional. The target recall for the search. Must be a double in the range [0, 1]. While the search aims to achieve this level of recall, it is not guaranteed."
        }
      },
      "description": "Parameters for dense ScaNN.",
      "id": "GoogleCloudVectorsearchV1SearchHintIndexHintDenseScannParams",
      "type": "object"
    },
    "GoogleCloudVectorsearchV1SearchHintKnnHint": {
      "id": "GoogleCloudVectorsearchV1SearchHintKnnHint",
      "description": "KnnHint will be used if search should be explicitly done on system's default K-Nearest Neighbor (KNN) index engine.",
      "properties": {},
      "type": "object"
    },
    "GoogleCloudVectorsearchV1ListCollectionsResponse": {
      "type": "object",
      "description": "Message for response to listing Collections",
      "properties": {
        "nextPageToken": {
          "type": "string",
          "description": "A token identifying a page of results the server should return."
        },
        "unreachable": {
          "items": {
            "type": "string"
          },
          "description": "Unordered list. Locations that could not be reached.",
          "type": "array"
        },
        "collections": {
          "type": "array",
          "description": "The list of Collection",
          "items": {
            "$ref": "GoogleCloudVectorsearchV1Collection"
          }
        }
      },
      "id": "GoogleCloudVectorsearchV1ListCollectionsResponse"
    },
    "GoogleCloudVectorsearchV1DenseVectorField": {
      "id": "GoogleCloudVectorsearchV1DenseVectorField",
      "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": "GoogleCloudVectorsearchV1VertexEmbeddingConfig"
        }
      },
      "description": "Message describing a dense vector field.",
      "type": "object"
    },
    "GoogleCloudVectorsearchV1VertexEmbeddingConfig": {
      "description": "Message describing the configuration for generating embeddings for a vector field using Vertex AI embeddings API.",
      "id": "GoogleCloudVectorsearchV1VertexEmbeddingConfig",
      "type": "object",
      "properties": {
        "modelId": {
          "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.",
          "type": "string"
        },
        "taskType": {
          "type": "string",
          "enum": [
            "EMBEDDING_TASK_TYPE_UNSPECIFIED",
            "RETRIEVAL_QUERY",
            "RETRIEVAL_DOCUMENT",
            "SEMANTIC_SIMILARITY",
            "CLASSIFICATION",
            "CLUSTERING",
            "QUESTION_ANSWERING",
            "FACT_VERIFICATION",
            "CODE_RETRIEVAL_QUERY"
          ],
          "description": "Optional. Optional: Task type for the embeddings. Required for text-only embedding models, see https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/embeddings/task-types Not needed for multi modal embedding models, see https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/embeddings/get-multimodal-embeddings#specify-task-instructions",
          "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."
          ]
        },
        "textTemplate": {
          "description": "Optional. Text template for the input to the model. The template must contain one or more references to fields in the DataObject, e.g.: \"Movie Title: {title} ---- Movie Plot: {plot}\". Required when using the text-only path.",
          "type": "string"
        }
      }
    },
    "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).",
      "properties": {
        "details": {
          "items": {
            "type": "object",
            "additionalProperties": {
              "type": "any",
              "description": "Properties of the object. Contains field @type with type URL."
            }
          },
          "type": "array",
          "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use."
        },
        "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": {
          "format": "int32",
          "description": "The status code, which should be an enum value of google.rpc.Code.",
          "type": "integer"
        }
      },
      "type": "object"
    },
    "GoogleCloudVectorsearchV1SparseVector": {
      "properties": {
        "indices": {
          "items": {
            "type": "integer",
            "format": "int32"
          },
          "type": "array",
          "description": "Required. The corresponding indices for the values."
        },
        "values": {
          "items": {
            "type": "number",
            "format": "float"
          },
          "type": "array",
          "description": "Required. The values of the vector."
        }
      },
      "id": "GoogleCloudVectorsearchV1SparseVector",
      "type": "object",
      "description": "A sparse vector."
    },
    "GoogleCloudVectorsearchV1Search": {
      "type": "object",
      "id": "GoogleCloudVectorsearchV1Search",
      "description": "A single search request within a batch operation.",
      "properties": {
        "textSearch": {
          "description": "A text search operation.",
          "$ref": "GoogleCloudVectorsearchV1TextSearch"
        },
        "semanticSearch": {
          "description": "A semantic search.",
          "$ref": "GoogleCloudVectorsearchV1SemanticSearch"
        },
        "vectorSearch": {
          "description": "A vector-based search.",
          "$ref": "GoogleCloudVectorsearchV1VectorSearch"
        }
      }
    },
    "GoogleCloudVectorsearchV1ListIndexesResponse": {
      "properties": {
        "nextPageToken": {
          "description": "A token identifying a page of results the server should return.",
          "type": "string"
        },
        "indexes": {
          "type": "array",
          "description": "The list of Index",
          "items": {
            "$ref": "GoogleCloudVectorsearchV1Index"
          }
        }
      },
      "type": "object",
      "description": "Message for response to listing Indexes",
      "id": "GoogleCloudVectorsearchV1ListIndexesResponse"
    },
    "GoogleCloudVectorsearchV1Collection": {
      "properties": {
        "createTime": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. [Output only] Create time stamp",
          "format": "google-datetime"
        },
        "labels": {
          "additionalProperties": {
            "type": "string"
          },
          "description": "Optional. Labels as key value pairs.",
          "type": "object"
        },
        "displayName": {
          "description": "Optional. User-specified display name of the collection",
          "type": "string"
        },
        "vectorSchema": {
          "description": "Optional. Schema for vector fields. Only vector fields in this schema will be searchable. Field names must contain only alphanumeric characters, underscores, and hyphens.",
          "type": "object",
          "additionalProperties": {
            "$ref": "GoogleCloudVectorsearchV1VectorField"
          }
        },
        "encryptionSpec": {
          "$ref": "GoogleCloudVectorsearchV1EncryptionSpec",
          "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."
        },
        "dataSchema": {
          "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).",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object."
          },
          "type": "object"
        },
        "name": {
          "description": "Identifier. name of resource",
          "type": "string"
        },
        "updateTime": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. [Output only] Update time stamp",
          "format": "google-datetime"
        },
        "description": {
          "description": "Optional. User-specified description of the collection",
          "type": "string"
        }
      },
      "type": "object",
      "description": "Message describing Collection object",
      "id": "GoogleCloudVectorsearchV1Collection"
    },
    "GoogleCloudVectorsearchV1ReciprocalRankFusion": {
      "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",
      "id": "GoogleCloudVectorsearchV1ReciprocalRankFusion"
    },
    "GoogleCloudLocationLocation": {
      "properties": {
        "metadata": {
          "type": "object",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object. Contains field @type with type URL."
          },
          "description": "Service-specific metadata. For example the available capacity at the given location."
        },
        "locationId": {
          "type": "string",
          "description": "The canonical id for this location. For example: `\"us-east1\"`."
        },
        "labels": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}"
        },
        "displayName": {
          "description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".",
          "type": "string"
        },
        "name": {
          "description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`",
          "type": "string"
        }
      },
      "type": "object",
      "id": "GoogleCloudLocationLocation",
      "description": "A resource that represents a Google Cloud location."
    },
    "GoogleCloudVectorsearchV1CreateDataObjectRequest": {
      "id": "GoogleCloudVectorsearchV1CreateDataObjectRequest",
      "description": "Request message for DataObjectService.CreateDataObject.",
      "type": "object",
      "properties": {
        "dataObject": {
          "description": "Required. The DataObject to create.",
          "$ref": "GoogleCloudVectorsearchV1DataObject"
        },
        "parent": {
          "description": "Required. The resource name of the Collection to create the DataObject in. Format: `projects/{project}/locations/{location}/collections/{collection}`",
          "type": "string"
        },
        "dataObjectId": {
          "description": "Required. The id of the dataObject to create. The id must be 1-63 characters long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt). Specifically, it must be 1-63 characters long and match the regular expression `[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?`.",
          "type": "string"
        }
      }
    },
    "GoogleCloudVectorsearchV1DenseScannIndex": {
      "description": "Dense ScaNN index configuration.",
      "properties": {
        "featureNormType": {
          "description": "Optional. Feature norm type.",
          "enumDescriptions": [
            "Unspecified feature norm type.",
            "No norm applied.",
            "Unit L2 norm."
          ],
          "type": "string",
          "enum": [
            "FEATURE_NORM_TYPE_UNSPECIFIED",
            "NONE",
            "UNIT_L2_NORM"
          ]
        }
      },
      "id": "GoogleCloudVectorsearchV1DenseScannIndex",
      "type": "object"
    },
    "GoogleCloudVectorsearchV1BatchDeleteDataObjectsRequest": {
      "description": "Request message for DataObjectService.BatchDeleteDataObjects.",
      "id": "GoogleCloudVectorsearchV1BatchDeleteDataObjectsRequest",
      "type": "object",
      "properties": {
        "requests": {
          "type": "array",
          "description": "Required. The request message specifying the resources to delete. A maximum of 1000 DataObjects can be deleted in a batch.",
          "items": {
            "$ref": "GoogleCloudVectorsearchV1DeleteDataObjectRequest"
          }
        }
      }
    },
    "GoogleCloudVectorsearchV1DeleteDataObjectRequest": {
      "description": "Request message for DataObjectService.DeleteDataObject.",
      "id": "GoogleCloudVectorsearchV1DeleteDataObjectRequest",
      "type": "object",
      "properties": {
        "name": {
          "description": "Required. The name of the DataObject resource to be deleted. Format: `projects/{project}/locations/{location}/collections/{collection}/dataObjects/{dataObject}`",
          "type": "string"
        },
        "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"
        }
      }
    },
    "GoogleCloudVectorsearchV1AggregateDataObjectsResponse": {
      "id": "GoogleCloudVectorsearchV1AggregateDataObjectsResponse",
      "properties": {
        "aggregateResults": {
          "type": "array",
          "readOnly": true,
          "description": "Output only. The aggregated results of the query.",
          "items": {
            "type": "object",
            "additionalProperties": {
              "type": "any",
              "description": "Properties of the object."
            }
          }
        }
      },
      "type": "object",
      "description": "Response message for DataObjectSearchService.AggregateDataObjects."
    },
    "GoogleCloudVectorsearchV1QueryEnhancement": {
      "type": "object",
      "properties": {
        "languageCode": {
          "description": "Optional. The IETF BCP 47 language tag, such as \"en-US\", for query enhancement. If unset, the language is detected automatically. See .",
          "type": "string"
        },
        "enabled": {
          "description": "Optional. Whether query enhancement is enabled.",
          "type": "boolean"
        }
      },
      "id": "GoogleCloudVectorsearchV1QueryEnhancement",
      "description": "Query enhancement settings. When enabled, expands the search terms with stemming, synonyms, and spelling corrections, and removes stop words."
    },
    "GoogleCloudVectorsearchV1VertexRanker": {
      "properties": {
        "topN": {
          "format": "int32",
          "description": "Required. The number of documents to be processed for ranking.",
          "type": "integer"
        },
        "textRecordSpec": {
          "$ref": "GoogleCloudVectorsearchV1VertexRankerTextRecordSpec",
          "description": "The record spec for text search."
        },
        "model": {
          "description": "Required. The model used for ranking documents. The list of available models is described in . Currently, only `semantic-ranker-fast@latest` is supported.",
          "type": "string"
        }
      },
      "id": "GoogleCloudVectorsearchV1VertexRanker",
      "type": "object",
      "description": "Defines a ranker using the Vertex AI ranking service. See for details."
    },
    "GoogleCloudVectorsearchV1QueryDataObjectsRequest": {
      "description": "Request message for DataObjectSearchService.QueryDataObjects.",
      "type": "object",
      "properties": {
        "pageToken": {
          "description": "Optional. The standard list page token. Typically obtained via QueryDataObjectsResponse.next_page_token of the previous DataObjectSearchService.QueryDataObjects call.",
          "type": "string"
        },
        "pageSize": {
          "type": "integer",
          "format": "int32",
          "description": "Optional. The standard list page size. Default is 100. The maximum value is 1000; values above 1000 will be coerced to 1000."
        },
        "filter": {
          "type": "object",
          "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`. An empty filter (`{}`) matches all data objects. Otherwise, each JSON object in the filter must have exactly one key: either a field name mapped to one operator (`{\"price\": {\"$lt\": 100}}`), or a logical operator: `$and` or `$or` with a list of filters, or `$not` with one filter. Field operators and their values: `$eq` and `$ne` take a string, number or bool; `$lt`, `$lte`, `$gt` and `$gte` take a number; `$in`, `$nin` and `$all` take a list of strings; `$exists` takes a bool. Several keys in one object (implicit AND) and implicit equality (`{\"genre\": \"sci-fi\"}`) are rejected; use `$and` and `$eq` instead. Logical operators can be nested at most 2 levels deep, e.g. `{\"$and\": [{\"$or\": [{\"a\": {\"$eq\": 1}}, {\"b\": {\"$eq\": 2}}]}]}`. Deeper filters are rejected with `INVALID_ARGUMENT`."
        },
        "outputFields": {
          "$ref": "GoogleCloudVectorsearchV1OutputFields",
          "description": "Optional. Mask specifying which fields to return."
        }
      },
      "id": "GoogleCloudVectorsearchV1QueryDataObjectsRequest"
    },
    "GoogleCloudLocationListLocationsResponse": {
      "properties": {
        "nextPageToken": {
          "description": "The standard List next-page token.",
          "type": "string"
        },
        "locations": {
          "type": "array",
          "items": {
            "$ref": "GoogleCloudLocationLocation"
          },
          "description": "A list of locations that matches the specified filter in the request."
        }
      },
      "description": "The response message for Locations.ListLocations.",
      "type": "object",
      "id": "GoogleCloudLocationListLocationsResponse"
    },
    "GoogleCloudVectorsearchV1OutputFields": {
      "id": "GoogleCloudVectorsearchV1OutputFields",
      "description": "Defines an output fields struct for data in DataObject. Output fields are opt-in. A search or query result contains only the data object name and ID, plus the fields listed here. If this message is unset or a list is empty, the corresponding part of the data object (`data`, `vectors` or metadata) is omitted from the result; it is not an indication that the stored data object is empty. Use `\"*\"` in a list to return all fields of that kind.",
      "type": "object",
      "properties": {
        "metadataFields": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Optional. The DataObject metadata fields to include in the output: `create_time`, `update_time` and `etag`. Use `\"*\"` to include all metadata fields. If empty, these fields are omitted from results."
        },
        "vectorFields": {
          "description": "Optional. The fields from the vector fields to include in the output. Use `\"*\"` to include all vector fields. If empty, `vectors` is omitted from results.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "dataFields": {
          "items": {
            "type": "string"
          },
          "description": "Optional. The fields from the data fields to include in the output. Use `\"*\"` to include all data fields. If empty, `data` is omitted from results.",
          "type": "array"
        }
      }
    },
    "GoogleCloudVectorsearchV1SearchDataObjectsRequest": {
      "id": "GoogleCloudVectorsearchV1SearchDataObjectsRequest",
      "type": "object",
      "description": "Request for performing a single search.",
      "properties": {
        "textSearch": {
          "description": "Optional. A text search operation.",
          "$ref": "GoogleCloudVectorsearchV1TextSearch"
        },
        "semanticSearch": {
          "description": "A semantic search operation.",
          "$ref": "GoogleCloudVectorsearchV1SemanticSearch"
        },
        "pageToken": {
          "type": "string",
          "description": "Optional. The standard list page token. Typically obtained via SearchDataObjectsResponse.next_page_token of the previous DataObjectSearchService.SearchDataObjects call."
        },
        "pageSize": {
          "format": "int32",
          "description": "Optional. The standard list page size. Only supported for KNN. If not set, up to search_type.top_k results will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.",
          "type": "integer"
        },
        "vectorSearch": {
          "description": "A vector search operation.",
          "$ref": "GoogleCloudVectorsearchV1VectorSearch"
        }
      }
    },
    "GoogleCloudVectorsearchV1ImportDataObjectsRequest": {
      "description": "Request message for VectorSearchService.ImportDataObjects.",
      "id": "GoogleCloudVectorsearchV1ImportDataObjectsRequest",
      "type": "object",
      "properties": {
        "gcsImport": {
          "description": "The Cloud Storage location of the input content.",
          "$ref": "GoogleCloudVectorsearchV1ImportDataObjectsRequestGcsImportConfig"
        }
      }
    },
    "GoogleCloudVectorsearchV1OperationMetadata": {
      "description": "Represents the metadata of the long-running operation.",
      "id": "GoogleCloudVectorsearchV1OperationMetadata",
      "properties": {
        "apiVersion": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. API version used to start the operation."
        },
        "requestedCancellation": {
          "type": "boolean",
          "description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have google.longrunning.Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.",
          "readOnly": true
        },
        "createTime": {
          "type": "string",
          "description": "Output only. The time the operation was created.",
          "readOnly": true,
          "format": "google-datetime"
        },
        "endTime": {
          "readOnly": true,
          "description": "Output only. The time the operation finished running.",
          "type": "string",
          "format": "google-datetime"
        },
        "verb": {
          "readOnly": true,
          "description": "Output only. Name of the verb executed by the operation.",
          "type": "string"
        },
        "statusMessage": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. Human-readable status of the operation, if any."
        },
        "target": {
          "readOnly": true,
          "description": "Output only. Server-defined resource path for the target of the operation.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "GoogleCloudVectorsearchV1VectorField": {
      "properties": {
        "denseVector": {
          "description": "Dense vector field.",
          "$ref": "GoogleCloudVectorsearchV1DenseVectorField"
        },
        "sparseVector": {
          "$ref": "GoogleCloudVectorsearchV1SparseVectorField",
          "description": "Sparse vector field."
        }
      },
      "id": "GoogleCloudVectorsearchV1VectorField",
      "type": "object",
      "description": "Message describing a vector field."
    },
    "GoogleCloudVectorsearchV1BatchCreateDataObjectsResponse": {
      "properties": {
        "dataObjects": {
          "readOnly": true,
          "type": "array",
          "items": {
            "$ref": "GoogleCloudVectorsearchV1DataObject"
          },
          "description": "Output only. DataObjects created."
        }
      },
      "type": "object",
      "id": "GoogleCloudVectorsearchV1BatchCreateDataObjectsResponse",
      "description": "Response message for DataObjectService.BatchCreateDataObjects."
    },
    "GoogleCloudVectorsearchV1DenseVector": {
      "properties": {
        "values": {
          "description": "Required. The values of the vector.",
          "items": {
            "format": "float",
            "type": "number"
          },
          "type": "array"
        }
      },
      "description": "A dense vector.",
      "id": "GoogleCloudVectorsearchV1DenseVector",
      "type": "object"
    },
    "GoogleLongrunningListOperationsResponse": {
      "properties": {
        "nextPageToken": {
          "description": "The standard List next-page token.",
          "type": "string"
        },
        "operations": {
          "items": {
            "$ref": "GoogleLongrunningOperation"
          },
          "description": "A list of operations that matches the specified filter in the request.",
          "type": "array"
        },
        "unreachable": {
          "items": {
            "type": "string"
          },
          "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.",
          "type": "array"
        }
      },
      "id": "GoogleLongrunningListOperationsResponse",
      "type": "object",
      "description": "The response message for Operations.ListOperations."
    },
    "GoogleCloudVectorsearchV1SearchHint": {
      "id": "GoogleCloudVectorsearchV1SearchHint",
      "properties": {
        "knnHint": {
          "$ref": "GoogleCloudVectorsearchV1SearchHintKnnHint",
          "description": "Optional. If set, the search will use the system's default K-Nearest Neighbor (KNN) index engine."
        },
        "indexHint": {
          "description": "Optional. Specifies that the search should use a particular index.",
          "$ref": "GoogleCloudVectorsearchV1SearchHintIndexHint"
        }
      },
      "type": "object",
      "description": "Represents a hint to the search index engine."
    },
    "GoogleCloudVectorsearchV1TextQuery": {
      "type": "object",
      "description": "A leaf-level text query targeting one or more data fields. When multiple fields are specified, this is equivalent to combining per-field matches with an OR operator (i.e. the query matches if the text is found in any of the listed fields).",
      "properties": {
        "fields": {
          "description": "Required. The data fields to search against.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "text": {
          "description": "Required. The text to search for.",
          "type": "string"
        },
        "matchType": {
          "type": "string",
          "enum": [
            "MATCH_TYPE_UNSPECIFIED",
            "TEXT",
            "EXACT"
          ],
          "description": "Optional. The matching strategy to apply for this query. If unset, defaults to `TEXT`.",
          "enumDescriptions": [
            "Defaults to `TEXT`.",
            "Treats `text` as individual search terms combined with an implicit AND: every term must appear in the field, in any order and any position. Case-insensitive.",
            "Matches only when the entire field value is exactly equal to `text`."
          ]
        },
        "queryEnhancement": {
          "description": "Optional. The query enhancement settings to apply for this query.",
          "$ref": "GoogleCloudVectorsearchV1QueryEnhancement"
        }
      },
      "id": "GoogleCloudVectorsearchV1TextQuery"
    },
    "GoogleCloudVectorsearchV1BatchSearchDataObjectsRequestCombineResultsOptions": {
      "id": "GoogleCloudVectorsearchV1BatchSearchDataObjectsRequestCombineResultsOptions",
      "type": "object",
      "description": "Options for combining the results of the batch search operations.",
      "properties": {
        "topK": {
          "format": "int32",
          "description": "Optional. The number of results to return. If not set, a default value will be used.",
          "type": "integer"
        },
        "ranker": {
          "$ref": "GoogleCloudVectorsearchV1Ranker",
          "description": "Required. The ranker to use for combining the results."
        },
        "outputFields": {
          "$ref": "GoogleCloudVectorsearchV1OutputFields",
          "description": "Optional. Mask specifying which fields to return."
        }
      }
    },
    "GoogleCloudVectorsearchV1EncryptionSpec": {
      "id": "GoogleCloudVectorsearchV1EncryptionSpec",
      "properties": {
        "cryptoKeyName": {
          "description": "Required. Resource name of the Cloud KMS key used to protect the resource. The Cloud KMS key must be in the same region as the resource. It must have the format `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.",
          "type": "string"
        }
      },
      "description": "Represents a customer-managed encryption key specification that can be applied to a Vector Search collection.",
      "type": "object"
    },
    "GoogleCloudVectorsearchV1VertexRankerTextRecordSpec": {
      "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."
        }
      },
      "id": "GoogleCloudVectorsearchV1VertexRankerTextRecordSpec",
      "type": "object",
      "description": "The record spec for text search."
    },
    "GoogleLongrunningOperation": {
      "type": "object",
      "id": "GoogleLongrunningOperation",
      "properties": {
        "error": {
          "description": "The error result of the operation in case of failure or cancellation.",
          "$ref": "GoogleRpcStatus"
        },
        "metadata": {
          "type": "object",
          "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.",
          "additionalProperties": {
            "description": "Properties of the object. Contains field @type with type URL.",
            "type": "any"
          }
        },
        "response": {
          "type": "object",
          "additionalProperties": {
            "description": "Properties of the object. Contains field @type with type URL.",
            "type": "any"
          },
          "description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`."
        },
        "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}`."
        },
        "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"
        }
      },
      "description": "This resource represents a long-running operation that is the result of a network API call."
    },
    "GoogleCloudVectorsearchV1BatchUpdateDataObjectsResponse": {
      "id": "GoogleCloudVectorsearchV1BatchUpdateDataObjectsResponse",
      "properties": {},
      "description": "Response message for DataObjectService.BatchUpdateDataObjects.",
      "type": "object"
    },
    "GoogleCloudVectorsearchV1TextSearch": {
      "description": "Defines a text search operation.",
      "id": "GoogleCloudVectorsearchV1TextSearch",
      "type": "object",
      "properties": {
        "topK": {
          "format": "int32",
          "description": "Optional. The number of results to return.",
          "type": "integer"
        },
        "dataFieldNames": {
          "description": "Optional. The data field names to search. Required when using the default text search mode.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "filter": {
          "type": "object",
          "description": "Optional. A JSON filter expression, e.g. `{\"genre\": {\"$eq\": \"sci-fi\"}}`, represented as a `google.protobuf.Struct`. An empty filter (`{}`) matches all data objects. Otherwise, each JSON object in the filter must have exactly one key: either a field name mapped to one operator (`{\"price\": {\"$lt\": 100}}`), or a logical operator: `$and` or `$or` with a list of filters, or `$not` with one filter. Field operators and their values: `$eq` and `$ne` take a string, number or bool; `$lt`, `$lte`, `$gt` and `$gte` take a number; `$in`, `$nin` and `$all` take a list of strings; `$exists` takes a bool. Several keys in one object (implicit AND) and implicit equality (`{\"genre\": \"sci-fi\"}`) are rejected; use `$and` and `$eq` instead. Logical operators can be nested at most 2 levels deep, e.g. `{\"$and\": [{\"$or\": [{\"a\": {\"$eq\": 1}}, {\"b\": {\"$eq\": 2}}]}]}`. Deeper filters are rejected with `INVALID_ARGUMENT`.",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object."
          }
        },
        "outputFields": {
          "description": "Optional. The fields to return in the search results.",
          "$ref": "GoogleCloudVectorsearchV1OutputFields"
        },
        "structuredQuery": {
          "description": "Optional. Structured query definition. When set, `search_text` and `data_field_names` must be left empty; otherwise the request will be rejected with an `INVALID_ARGUMENT` error. Conversely, when `structured_query` is unset, both `search_text` and `data_field_names` are required.",
          "$ref": "GoogleCloudVectorsearchV1StructuredQuery"
        },
        "searchText": {
          "description": "Optional. The query text. Required when using the default text search mode.",
          "type": "string"
        }
      }
    },
    "GoogleCloudVectorsearchV1QueryDataObjectsResponse": {
      "properties": {
        "nextPageToken": {
          "type": "string",
          "description": "Output only. A token to retrieve next page of results. Pass to DataObjectSearchService.QueryDataObjectsRequest.page_token to obtain that page.",
          "readOnly": true
        },
        "dataObjects": {
          "readOnly": true,
          "type": "array",
          "items": {
            "$ref": "GoogleCloudVectorsearchV1DataObject"
          },
          "description": "Output only. The list of dataObjects that match the query."
        }
      },
      "description": "Response message for DataObjectSearchService.QueryDataObjects.",
      "id": "GoogleCloudVectorsearchV1QueryDataObjectsResponse",
      "type": "object"
    },
    "GoogleCloudVectorsearchV1DedicatedInfrastructure": {
      "description": "Represents dedicated infrastructure for the index.",
      "id": "GoogleCloudVectorsearchV1DedicatedInfrastructure",
      "type": "object",
      "properties": {
        "autoscalingSpec": {
          "$ref": "GoogleCloudVectorsearchV1DedicatedInfrastructureAutoscalingSpec",
          "description": "Optional. Autoscaling specification."
        },
        "mode": {
          "enumDescriptions": [
            "Default will use `PERFORMANCE_OPTIMIZED`.",
            "This is storage optimized variation.",
            "This is Performance optimized on E2 or equivalent family."
          ],
          "description": "Optional. Mode of the dedicated infrastructure.",
          "type": "string",
          "enum": [
            "MODE_UNSPECIFIED",
            "STORAGE_OPTIMIZED",
            "PERFORMANCE_OPTIMIZED"
          ]
        }
      }
    },
    "GoogleCloudVectorsearchV1ExportDataObjectsRequestGcsExportDestination": {
      "description": "Google Cloud Storage configuration for the export.",
      "properties": {
        "exportUri": {
          "type": "string",
          "description": "Required. URI prefix of the Cloud Storage where to export Data Objects. The bucket is required to be in the same region as the collection."
        },
        "format": {
          "type": "string",
          "enum": [
            "FORMAT_UNSPECIFIED",
            "JSONL"
          ],
          "description": "Required. The format of the exported Data Objects.",
          "enumDescriptions": [
            "Unspecified format.",
            "Exports Data Objects in `JSONL` format."
          ]
        }
      },
      "id": "GoogleCloudVectorsearchV1ExportDataObjectsRequestGcsExportDestination",
      "type": "object"
    },
    "GoogleCloudVectorsearchV1SearchResult": {
      "id": "GoogleCloudVectorsearchV1SearchResult",
      "description": "A single search result.",
      "type": "object",
      "properties": {
        "distance": {
          "type": "number",
          "description": "Output only. Similarity distance or ranker score returned by BatchSearchDataObjects.",
          "readOnly": true,
          "format": "double"
        },
        "dataObject": {
          "description": "Output only. The matching data object.",
          "$ref": "GoogleCloudVectorsearchV1DataObject",
          "readOnly": true
        }
      }
    },
    "GoogleCloudVectorsearchV1Index": {
      "type": "object",
      "properties": {
        "storeFields": {
          "items": {
            "type": "string"
          },
          "description": "Optional. The fields to push into the index to enable inline data retrieval.",
          "type": "array"
        },
        "filterFields": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Optional. The fields to push into the index to enable fast ANN inline filtering."
        },
        "distanceMetric": {
          "type": "string",
          "enum": [
            "DISTANCE_METRIC_UNSPECIFIED",
            "DOT_PRODUCT",
            "COSINE_DISTANCE"
          ],
          "description": "Optional. Distance metric used for indexing. If not specified, will default to DOT_PRODUCT.",
          "enumDescriptions": [
            "Default value, distance metric is not specified.",
            "Dot product distance metric.",
            "Cosine distance metric."
          ]
        },
        "indexField": {
          "description": "Required. The collection schema field to index.",
          "type": "string"
        },
        "displayName": {
          "description": "Optional. User-specified display name of the index",
          "type": "string"
        },
        "updateTime": {
          "type": "string",
          "description": "Output only. [Output only] Update time stamp",
          "readOnly": true,
          "format": "google-datetime"
        },
        "dedicatedInfrastructure": {
          "$ref": "GoogleCloudVectorsearchV1DedicatedInfrastructure",
          "description": "Optional. Dedicated infrastructure for the index."
        },
        "denseScann": {
          "$ref": "GoogleCloudVectorsearchV1DenseScannIndex",
          "description": "Optional. Dense ScaNN index."
        },
        "labels": {
          "additionalProperties": {
            "type": "string"
          },
          "description": "Optional. Labels as key value pairs.",
          "type": "object"
        },
        "name": {
          "type": "string",
          "description": "Identifier. name of resource"
        },
        "createTime": {
          "format": "google-datetime",
          "readOnly": true,
          "type": "string",
          "description": "Output only. [Output only] Create time stamp"
        },
        "description": {
          "description": "Optional. User-specified description of the index",
          "type": "string"
        }
      },
      "description": "Message describing Index object",
      "id": "GoogleCloudVectorsearchV1Index"
    },
    "GoogleCloudVectorsearchV1Vector": {
      "properties": {
        "dense": {
          "description": "A dense vector.",
          "$ref": "GoogleCloudVectorsearchV1DenseVector"
        },
        "sparse": {
          "description": "A sparse vector.",
          "$ref": "GoogleCloudVectorsearchV1SparseVector"
        }
      },
      "description": "A vector which can be either dense or sparse.",
      "id": "GoogleCloudVectorsearchV1Vector",
      "type": "object"
    },
    "GoogleCloudVectorsearchV1SemanticSearch": {
      "description": "Defines a semantic search operation.",
      "id": "GoogleCloudVectorsearchV1SemanticSearch",
      "type": "object",
      "properties": {
        "filter": {
          "description": "Optional. A JSON filter expression, e.g. `{\"genre\": {\"$eq\": \"sci-fi\"}}`, represented as a `google.protobuf.Struct`. An empty filter (`{}`) matches all data objects. Otherwise, each JSON object in the filter must have exactly one key: either a field name mapped to one operator (`{\"price\": {\"$lt\": 100}}`), or a logical operator: `$and` or `$or` with a list of filters, or `$not` with one filter. Field operators and their values: `$eq` and `$ne` take a string, number or bool; `$lt`, `$lte`, `$gt` and `$gte` take a number; `$in`, `$nin` and `$all` take a list of strings; `$exists` takes a bool. Several keys in one object (implicit AND) and implicit equality (`{\"genre\": \"sci-fi\"}`) are rejected; use `$and` and `$eq` instead. Logical operators can be nested at most 2 levels deep, e.g. `{\"$and\": [{\"$or\": [{\"a\": {\"$eq\": 1}}, {\"b\": {\"$eq\": 2}}]}]}`. Deeper filters are rejected with `INVALID_ARGUMENT`. Which filters are accepted depends on how the search is served. If it is served by an approximate nearest neighbor (ANN) index (by default when a ready index exists on `search_field`, or when one is selected via `search_hint.index_hint`), every filtered field must be listed in `Index.filter_fields` at index creation, `$or` and `$all` are accepted only at the top level of the filter, and `$not` and `$exists` are not supported. Not every unsupported filter is rejected: most produce `INVALID_ARGUMENT`, but some are silently ignored, so do not rely on the error. If no ready index exists on `search_field`, or if `search_hint.knn_hint` is set, the search is served by K-Nearest Neighbor (KNN) search, which has none of these filter restrictions.",
          "additionalProperties": {
            "description": "Properties of the object.",
            "type": "any"
          },
          "type": "object"
        },
        "searchText": {
          "type": "string",
          "description": "Optional. The query text, which is used to generate an embedding according to the embedding model specified in the collection config. Required when using the text search mode."
        },
        "searchField": {
          "description": "Required. The vector field to search.",
          "type": "string"
        },
        "searchHint": {
          "description": "Optional. Sets the search hint. If no strategy is specified, the service will use an index if one is available, and fall back to KNN search otherwise.",
          "$ref": "GoogleCloudVectorsearchV1SearchHint"
        },
        "outputFields": {
          "$ref": "GoogleCloudVectorsearchV1OutputFields",
          "description": "Optional. The fields to return in the search results."
        },
        "taskType": {
          "description": "Optional. The task type of the query embedding. Must be specified for text-only embedding models, see Not needed for multi modal embedding models, see ",
          "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",
          "enum": [
            "EMBEDDING_TASK_TYPE_UNSPECIFIED",
            "RETRIEVAL_QUERY",
            "RETRIEVAL_DOCUMENT",
            "SEMANTIC_SIMILARITY",
            "CLASSIFICATION",
            "CLUSTERING",
            "QUESTION_ANSWERING",
            "FACT_VERIFICATION",
            "CODE_RETRIEVAL_QUERY"
          ]
        },
        "topK": {
          "format": "int32",
          "description": "Optional. The number of data objects to return.",
          "type": "integer"
        }
      }
    },
    "GoogleCloudVectorsearchV1UnaryQuery": {
      "description": "A query that applies a unary operator to a sub-query.",
      "id": "GoogleCloudVectorsearchV1UnaryQuery",
      "type": "object",
      "properties": {
        "subQuery": {
          "description": "Required. The sub-query the operator is applied to.",
          "$ref": "GoogleCloudVectorsearchV1StructuredQuery"
        },
        "op": {
          "type": "string",
          "enum": [
            "OPERATOR_UNSPECIFIED",
            "NOT"
          ],
          "description": "Required. The unary operator to apply.",
          "enumDescriptions": [
            "Default value. This value is unused.",
            "Negates the sub-query."
          ]
        }
      }
    },
    "GoogleCloudVectorsearchV1BatchSearchDataObjectsResponse": {
      "description": "A response from a batch search operation.",
      "properties": {
        "results": {
          "items": {
            "$ref": "GoogleCloudVectorsearchV1SearchDataObjectsResponse"
          },
          "type": "array",
          "readOnly": true,
          "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."
        }
      },
      "type": "object",
      "id": "GoogleCloudVectorsearchV1BatchSearchDataObjectsResponse"
    },
    "GoogleCloudVectorsearchV1SearchHintIndexHint": {
      "properties": {
        "name": {
          "type": "string",
          "description": "Required. The resource name of the index to use for the search. The index must be in the same project, location, and collection. Format: `projects/{project}/locations/{location}/collections/{collection}/indexes/{index}`"
        },
        "denseScannParams": {
          "description": "Optional. Dense ScaNN parameters.",
          "$ref": "GoogleCloudVectorsearchV1SearchHintIndexHintDenseScannParams"
        }
      },
      "id": "GoogleCloudVectorsearchV1SearchHintIndexHint",
      "type": "object",
      "description": "Message to specify the index to use for the search."
    },
    "GoogleCloudVectorsearchV1ExportDataObjectsRequestFieldFilterFieldList": {
      "id": "GoogleCloudVectorsearchV1ExportDataObjectsRequestFieldFilterFieldList",
      "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"
          }
        }
      },
      "type": "object",
      "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\"."
    },
    "GoogleCloudVectorsearchV1Ranker": {
      "properties": {
        "rrf": {
          "description": "Reciprocal Rank Fusion ranking.",
          "$ref": "GoogleCloudVectorsearchV1ReciprocalRankFusion"
        },
        "vertexRanker": {
          "description": "Optional. Vertex AI ranking.",
          "$ref": "GoogleCloudVectorsearchV1VertexRanker"
        }
      },
      "description": "Defines a ranker to combine results from multiple searches.",
      "type": "object",
      "id": "GoogleCloudVectorsearchV1Ranker"
    },
    "GoogleCloudVectorsearchV1DedicatedInfrastructureAutoscalingSpec": {
      "description": "Specification for autoscaling.",
      "properties": {
        "minReplicaCount": {
          "format": "int32",
          "type": "integer",
          "description": "Optional. The minimum number of replicas. If not set or set to `0`, defaults to `2`. Must be \u003e= `1` and \u003c= `1000`."
        },
        "maxReplicaCount": {
          "type": "integer",
          "format": "int32",
          "description": "Optional. The maximum number of replicas. Must be \u003e= `min_replica_count` and \u003c= `1000`. For the v1beta version, if not set or set to `0`, defaults to the greater of `min_replica_count` and `5`. For all other versions, if not set or set to `0`, defaults to the greater of `min_replica_count` and `2`."
        }
      },
      "id": "GoogleCloudVectorsearchV1DedicatedInfrastructureAutoscalingSpec",
      "type": "object"
    },
    "GoogleCloudVectorsearchV1ExportDataObjectsRequestFieldFilter": {
      "id": "GoogleCloudVectorsearchV1ExportDataObjectsRequestFieldFilter",
      "type": "object",
      "description": "Selects which top-level Data Object fields are emitted at export time.",
      "properties": {
        "includedFields": {
          "description": "Optional. Only these top-level fields will appear in each exported record.",
          "$ref": "GoogleCloudVectorsearchV1ExportDataObjectsRequestFieldFilterFieldList"
        },
        "excludedFields": {
          "description": "Optional. Every top-level field except these will appear in each exported record.",
          "$ref": "GoogleCloudVectorsearchV1ExportDataObjectsRequestFieldFilterFieldList"
        }
      }
    },
    "GoogleLongrunningCancelOperationRequest": {
      "type": "object",
      "id": "GoogleLongrunningCancelOperationRequest",
      "description": "The request message for Operations.CancelOperation.",
      "properties": {}
    },
    "GoogleCloudVectorsearchV1SearchDataObjectsResponse": {
      "properties": {
        "nextPageToken": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. A token to retrieve next page of results. Pass to DataObjectSearchService.SearchDataObjectsRequest.page_token to obtain that page."
        },
        "results": {
          "items": {
            "$ref": "GoogleCloudVectorsearchV1SearchResult"
          },
          "description": "Output only. The list of dataObjects that match the search criteria.",
          "readOnly": true,
          "type": "array"
        }
      },
      "id": "GoogleCloudVectorsearchV1SearchDataObjectsResponse",
      "description": "Response for a search request.",
      "type": "object"
    },
    "GoogleCloudVectorsearchV1UpdateDataObjectRequest": {
      "description": "Request message for DataObjectService.UpdateDataObject.",
      "id": "GoogleCloudVectorsearchV1UpdateDataObjectRequest",
      "type": "object",
      "properties": {
        "updateMask": {
          "type": "string",
          "format": "google-fieldmask",
          "description": "Optional. The update mask applies to the resource. See google.protobuf.FieldMask."
        },
        "dataObject": {
          "description": "Required. The DataObject which replaces the resource on the server.",
          "$ref": "GoogleCloudVectorsearchV1DataObject"
        }
      }
    },
    "GoogleCloudVectorsearchV1SparseVectorField": {
      "properties": {},
      "type": "object",
      "id": "GoogleCloudVectorsearchV1SparseVectorField",
      "description": "Message describing a sparse vector field."
    },
    "GoogleCloudVectorsearchV1DataObject": {
      "description": "A dataObject resource in Vector Search.",
      "id": "GoogleCloudVectorsearchV1DataObject",
      "properties": {
        "etag": {
          "type": "string",
          "description": "Optional. The etag of the dataObject."
        },
        "dataObjectId": {
          "type": "string",
          "description": "Output only. The id of the dataObject.",
          "readOnly": true
        },
        "updateTime": {
          "type": "string",
          "description": "Output only. Timestamp the dataObject was last updated.",
          "format": "google-datetime",
          "readOnly": true
        },
        "createTime": {
          "readOnly": true,
          "description": "Output only. Timestamp the dataObject was created at.",
          "format": "google-datetime",
          "type": "string"
        },
        "vectors": {
          "description": "Optional. The vectors of the dataObject.",
          "type": "object",
          "additionalProperties": {
            "$ref": "GoogleCloudVectorsearchV1Vector"
          }
        },
        "data": {
          "type": "object",
          "description": "Optional. The data of the dataObject.",
          "additionalProperties": {
            "description": "Properties of the object.",
            "type": "any"
          }
        },
        "name": {
          "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])?"
        }
      },
      "type": "object"
    },
    "GoogleCloudVectorsearchV1BatchUpdateDataObjectsRequest": {
      "id": "GoogleCloudVectorsearchV1BatchUpdateDataObjectsRequest",
      "properties": {
        "requests": {
          "type": "array",
          "description": "Required. The request message specifying the resources to update. A maximum of 1000 DataObjects can be updated in a batch.",
          "items": {
            "$ref": "GoogleCloudVectorsearchV1UpdateDataObjectRequest"
          }
        }
      },
      "description": "Request message for DataObjectService.BatchUpdateDataObjects.",
      "type": "object"
    },
    "GoogleCloudVectorsearchV1ExportDataObjectsRequest": {
      "description": "Request message for VectorSearchService.ExportDataObjects.",
      "properties": {
        "gcsDestination": {
          "description": "The Cloud Storage location where user wants to export Data Objects.",
          "$ref": "GoogleCloudVectorsearchV1ExportDataObjectsRequestGcsExportDestination"
        },
        "fieldFilter": {
          "description": "Optional. Restricts which top-level Data Object fields appear in each exported JSONL record. If unset, every field is exported (the existing behavior). The primary use case is excluding the per-object `etag` so that the exported records can be imported into a Collection in a different region without optimistic-concurrency conflicts. Allowed field names are `id`, `data`, `vectors`, `etag`.",
          "$ref": "GoogleCloudVectorsearchV1ExportDataObjectsRequestFieldFilter"
        }
      },
      "id": "GoogleCloudVectorsearchV1ExportDataObjectsRequest",
      "type": "object"
    },
    "GoogleCloudVectorsearchV1AggregateDataObjectsRequest": {
      "properties": {
        "aggregate": {
          "type": "string",
          "enum": [
            "AGGREGATION_METHOD_UNSPECIFIED",
            "COUNT"
          ],
          "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": {
          "type": "object",
          "description": "Optional. A JSON filter expression, e.g. `{\"genre\": {\"$eq\": \"sci-fi\"}}`, represented as a `google.protobuf.Struct`. An empty filter (`{}`) matches all data objects. Otherwise, each JSON object in the filter must have exactly one key: either a field name mapped to one operator (`{\"price\": {\"$lt\": 100}}`), or a logical operator: `$and` or `$or` with a list of filters, or `$not` with one filter. Field operators and their values: `$eq` and `$ne` take a string, number or bool; `$lt`, `$lte`, `$gt` and `$gte` take a number; `$in`, `$nin` and `$all` take a list of strings; `$exists` takes a bool. Several keys in one object (implicit AND) and implicit equality (`{\"genre\": \"sci-fi\"}`) are rejected; use `$and` and `$eq` instead. Logical operators can be nested at most 2 levels deep, e.g. `{\"$and\": [{\"$or\": [{\"a\": {\"$eq\": 1}}, {\"b\": {\"$eq\": 2}}]}]}`. Deeper filters are rejected with `INVALID_ARGUMENT`.",
          "additionalProperties": {
            "description": "Properties of the object.",
            "type": "any"
          }
        }
      },
      "type": "object",
      "id": "GoogleCloudVectorsearchV1AggregateDataObjectsRequest",
      "description": "Request message for DataObjectSearchService.AggregateDataObjects."
    },
    "GoogleCloudVectorsearchV1BatchSearchDataObjectsRequest": {
      "id": "GoogleCloudVectorsearchV1BatchSearchDataObjectsRequest",
      "description": "A request to perform a batch of search operations.",
      "properties": {
        "combine": {
          "$ref": "GoogleCloudVectorsearchV1BatchSearchDataObjectsRequestCombineResultsOptions",
          "description": "Optional. Options for combining the results of the batch search operations."
        },
        "searches": {
          "description": "Required. A list of search requests to execute in parallel.",
          "items": {
            "$ref": "GoogleCloudVectorsearchV1Search"
          },
          "type": "array"
        }
      },
      "type": "object"
    },
    "GoogleCloudVectorsearchV1CombinedQuery": {
      "description": "A query that combines multiple sub-queries with a boolean operator.",
      "id": "GoogleCloudVectorsearchV1CombinedQuery",
      "type": "object",
      "properties": {
        "subQueries": {
          "description": "Required. The sub-queries to be combined.",
          "items": {
            "$ref": "GoogleCloudVectorsearchV1StructuredQuery"
          },
          "type": "array"
        },
        "op": {
          "enumDescriptions": [
            "Default value. This value is unused.",
            "All sub-queries must match.",
            "At least one sub-query must match."
          ],
          "type": "string",
          "enum": [
            "OPERATOR_UNSPECIFIED",
            "AND",
            "OR"
          ],
          "description": "Required. The boolean operator used to combine the sub-queries."
        }
      }
    },
    "GoogleCloudVectorsearchV1ImportDataObjectsRequestGcsImportConfig": {
      "type": "object",
      "id": "GoogleCloudVectorsearchV1ImportDataObjectsRequestGcsImportConfig",
      "description": "Google Cloud Storage configuration for the import.",
      "properties": {
        "contentsUri": {
          "description": "Required. URI prefix of the Cloud Storage DataObjects to import.",
          "type": "string"
        },
        "errorUri": {
          "description": "Required. URI prefix of the Cloud Storage location to write any errors encountered during the import.",
          "type": "string"
        },
        "outputUri": {
          "type": "string",
          "description": "Optional. URI prefix of the Cloud Storage location to write DataObject `IDs` and `etags` of DataObjects that were successfully imported. The service will write the successfully imported DataObjects to sharded files under this prefix. If this field is empty, no output will be written."
        }
      }
    },
    "GoogleCloudVectorsearchV1BatchCreateDataObjectsRequest": {
      "type": "object",
      "id": "GoogleCloudVectorsearchV1BatchCreateDataObjectsRequest",
      "description": "Request message for DataObjectService.BatchCreateDataObjects.",
      "properties": {
        "requests": {
          "type": "array",
          "items": {
            "$ref": "GoogleCloudVectorsearchV1CreateDataObjectRequest"
          },
          "description": "Required. The request message specifying the resources to create. A maximum of 1000 DataObjects can be created in a batch."
        }
      }
    },
    "GoogleCloudVectorsearchV1StructuredQuery": {
      "description": "A structured query for text search. Allows expressing field-targeted text queries combined via boolean operators, with optional per-node boosting.",
      "id": "GoogleCloudVectorsearchV1StructuredQuery",
      "properties": {
        "text": {
          "description": "Optional. A leaf-level text query.",
          "$ref": "GoogleCloudVectorsearchV1TextQuery"
        },
        "unary": {
          "description": "Optional. A query that applies a unary operator to a sub-query.",
          "$ref": "GoogleCloudVectorsearchV1UnaryQuery"
        },
        "combine": {
          "$ref": "GoogleCloudVectorsearchV1CombinedQuery",
          "description": "Optional. A query that combines multiple sub-queries with a boolean operator."
        },
        "boost": {
          "format": "float",
          "description": "Optional. Optional multiplier applied to this query node's contribution to the final relevance score. Must be non-negative; if unset or 0, defaults to 1.0. Values greater than 1.0 increase its influence on ranking, values between 0.0 and 1.0 decrease it.",
          "type": "number"
        }
      },
      "type": "object"
    },
    "GoogleCloudVectorsearchV1VectorSearch": {
      "id": "GoogleCloudVectorsearchV1VectorSearch",
      "properties": {
        "searchField": {
          "type": "string",
          "description": "Required. The vector field to search."
        },
        "outputFields": {
          "$ref": "GoogleCloudVectorsearchV1OutputFields",
          "description": "Optional. Mask specifying which fields to return."
        },
        "vector": {
          "description": "A dense vector for the query.",
          "$ref": "GoogleCloudVectorsearchV1DenseVector"
        },
        "filter": {
          "description": "Optional. A JSON filter expression, e.g. `{\"genre\": {\"$eq\": \"sci-fi\"}}`, represented as a `google.protobuf.Struct`. An empty filter (`{}`) matches all data objects. Otherwise, each JSON object in the filter must have exactly one key: either a field name mapped to one operator (`{\"price\": {\"$lt\": 100}}`), or a logical operator: `$and` or `$or` with a list of filters, or `$not` with one filter. Field operators and their values: `$eq` and `$ne` take a string, number or bool; `$lt`, `$lte`, `$gt` and `$gte` take a number; `$in`, `$nin` and `$all` take a list of strings; `$exists` takes a bool. Several keys in one object (implicit AND) and implicit equality (`{\"genre\": \"sci-fi\"}`) are rejected; use `$and` and `$eq` instead. Logical operators can be nested at most 2 levels deep, e.g. `{\"$and\": [{\"$or\": [{\"a\": {\"$eq\": 1}}, {\"b\": {\"$eq\": 2}}]}]}`. Deeper filters are rejected with `INVALID_ARGUMENT`. Which filters are accepted depends on how the search is served. If it is served by an approximate nearest neighbor (ANN) index (by default when a ready index exists on `search_field`, or when one is selected via `search_hint.index_hint`), every filtered field must be listed in `Index.filter_fields` at index creation, `$or` and `$all` are accepted only at the top level of the filter, and `$not` and `$exists` are not supported. Not every unsupported filter is rejected: most produce `INVALID_ARGUMENT`, but some are silently ignored, so do not rely on the error. If no ready index exists on `search_field`, or if `search_hint.knn_hint` is set, the search is served by K-Nearest Neighbor (KNN) search, which has none of these filter restrictions.",
          "type": "object",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object."
          }
        },
        "distanceMetric": {
          "type": "string",
          "enum": [
            "DISTANCE_METRIC_UNSPECIFIED",
            "DOT_PRODUCT",
            "COSINE_DISTANCE"
          ],
          "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."
          ]
        },
        "searchHint": {
          "description": "Optional. Sets the search hint. If no strategy is specified, the service will use an index if one is available, and fall back to the default KNN search otherwise.",
          "$ref": "GoogleCloudVectorsearchV1SearchHint"
        },
        "topK": {
          "format": "int32",
          "description": "Optional. The number of nearest neighbors to return.",
          "type": "integer"
        },
        "sparseVector": {
          "description": "A sparse vector for the query.",
          "$ref": "GoogleCloudVectorsearchV1SparseVector"
        }
      },
      "description": "Defines a search operation using a query vector.",
      "type": "object"
    },
    "Empty": {
      "properties": {},
      "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }",
      "type": "object",
      "id": "Empty"
    }
  },
  "documentationLink": "https://docs.cloud.google.com/vertex-ai/docs/vector-search-2/overview",
  "version_module": true,
  "protocol": "rest",
  "icons": {
    "x32": "http://www.google.com/images/icons/product/search-32.gif",
    "x16": "http://www.google.com/images/icons/product/search-16.gif"
  },
  "batchPath": "batch"
}
