|
1 | | -// Copyright 2019 Google LLC. |
| 1 | +// Copyright 2024 Google LLC |
2 | 2 | // |
3 | 3 | // Licensed under the Apache License, Version 2.0 (the "License"); |
4 | 4 | // you may not use this file except in compliance with the License. |
|
11 | 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
12 | 12 | // See the License for the specific language governing permissions and |
13 | 13 | // limitations under the License. |
14 | | -// |
15 | 14 |
|
16 | 15 | syntax = "proto3"; |
17 | 16 |
|
@@ -211,15 +210,18 @@ message Http { |
211 | 210 | // 1. Leaf request fields (recursive expansion nested messages in the request |
212 | 211 | // message) are classified into three categories: |
213 | 212 | // - Fields referred by the path template. They are passed via the URL path. |
214 | | -// - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They are passed via the HTTP |
| 213 | +// - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They |
| 214 | +// are passed via the HTTP |
215 | 215 | // request body. |
216 | 216 | // - All other fields are passed via the URL query parameters, and the |
217 | 217 | // parameter name is the field path in the request message. A repeated |
218 | 218 | // field can be represented as multiple query parameters under the same |
219 | 219 | // name. |
220 | | -// 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL query parameter, all fields |
| 220 | +// 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL |
| 221 | +// query parameter, all fields |
221 | 222 | // are passed via URL path and HTTP request body. |
222 | | -// 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP request body, all |
| 223 | +// 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP |
| 224 | +// request body, all |
223 | 225 | // fields are passed via URL path and URL query parameters. |
224 | 226 | // |
225 | 227 | // ### Path template syntax |
@@ -314,7 +316,8 @@ message Http { |
314 | 316 | message HttpRule { |
315 | 317 | // Selects a method to which this rule applies. |
316 | 318 | // |
317 | | - // Refer to [selector][google.api.DocumentationRule.selector] for syntax details. |
| 319 | + // Refer to [selector][google.api.DocumentationRule.selector] for syntax |
| 320 | + // details. |
318 | 321 | string selector = 1; |
319 | 322 |
|
320 | 323 | // Determines the URL pattern is matched by this rules. This pattern can be |
|
0 commit comments