From 4304c6451ff0c876f08a075dfe0c03570ddb07a2 Mon Sep 17 00:00:00 2001 From: bitbucket-pipelines Date: Tue, 13 Feb 2024 22:48:08 +0000 Subject: [PATCH] Auto-generated. Updating Vectara public protos. (00b322398b00caecaa9e01ba767f1ca7f452a800). --- admin_apikey.proto | 5 +++++ services.proto | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/admin_apikey.proto b/admin_apikey.proto index c7fe344..6b0aadd 100644 --- a/admin_apikey.proto +++ b/admin_apikey.proto @@ -19,6 +19,8 @@ enum ApiKeyType { API_KEY_TYPE__SERVING = 1; // ApiKey for serving and indexing. Gives access to both query and index data. API_KEY_TYPE__SERVING_INDEXING = 2; + // ApiKey for personal access key. + API_KEY_TYPE__PERSONAL = 3; } // Status of ApiKey. @@ -84,6 +86,9 @@ message ListApiKeysRequest { // use the page key returned in previous response, and all other // fields are ignored. bytes page_key = 2; + // [Optional] Get API keys of these types. + // Default: If not set, API_KEY_TYPE__SERVING and API_KEY_TYPE__SERVING_INDEXING are returned. + repeated ApiKeyType api_key_type = 3; // If set, returns corpus name & id associated with api keys. bool read_corpora_info = 1000; } diff --git a/services.proto b/services.proto index 20e512a..9ab82eb 100644 --- a/services.proto +++ b/services.proto @@ -71,7 +71,7 @@ service QueryService { // A streamed response interface when lower latency is absolutely critical. rpc StreamQuery(com.vectara.serving.BatchQueryRequest) - returns (stream com.vectara.serving.QueryResponsePart) { + returns (stream com.vectara.serving.QueryResponsePart) { } } @@ -216,3 +216,4 @@ service DocumentService { }; } } +