From 8810d8af2c07da979d4e191b12e9d9b44c2f366a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20Vu=C4=8Dica?= Date: Fri, 17 Aug 2018 15:49:59 +0100 Subject: [PATCH] google/api/http.proto: Add response_body. This syncs this file with github.com/googleapis/googleapis. Fixes #11. --- google/api/http.proto | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/google/api/http.proto b/google/api/http.proto index 78d515d..2bd3a19 100644 --- a/google/api/http.proto +++ b/google/api/http.proto @@ -297,6 +297,11 @@ message HttpRule { // present at the top-level of request message type. string body = 7; + // Optional. The name of the response field whose value is mapped to the HTTP + // body of response. Other response fields are ignored. When + // not set, the response message will be used as HTTP body of response. + string response_body = 12; + // Additional HTTP bindings for the selector. Nested bindings must // not contain an `additional_bindings` field themselves (that is, // the nesting may only be one level deep).