Skip to content

Commit

Permalink
google/api/http.proto: Add response_body. (#12)
Browse files Browse the repository at this point in the history
This syncs this file with github.com/googleapis/googleapis.

Fixes #11.
  • Loading branch information
ivucica authored and lukesneeringer committed Aug 17, 2018
1 parent 71032c8 commit 831766b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions google/api/http.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down

0 comments on commit 831766b

Please sign in to comment.