From a0c2a3b82b3d335abaa059a8b8d86cb85aee6368 Mon Sep 17 00:00:00 2001 From: "anjali.agarwal" Date: Tue, 1 Aug 2023 13:00:12 +0530 Subject: [PATCH] feat(compass): add include_fields in GetAllAssets request --- gotocompany/compass/v1beta1/service.proto | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gotocompany/compass/v1beta1/service.proto b/gotocompany/compass/v1beta1/service.proto index 049f7eb1..02196280 100644 --- a/gotocompany/compass/v1beta1/service.proto +++ b/gotocompany/compass/v1beta1/service.proto @@ -1039,6 +1039,12 @@ message GetAllAssetsRequest { bool with_total = 10 [(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { description: "if set include total field in response" }]; + + repeated string include_fields = 11 [(validate.rules).repeated = { + unique: true, + ignore_empty: true + description: "'include_fields' is used to send only these fields in response, this helps in restricting the response." + }]; } message GetAllAssetsResponse {