Skip to content

Commit 09ea343

Browse files
authored
Fixed formatting (#939)
* Fix: Formatting of bullets resulted in lins not being displaed correctly * Fix: **Note:** required a colon ':' to make it into a note box. * Fix: Sapcing for a `Note:` box that was causing for the note to be displaed inline
1 parent 89c7a1f commit 09ea343

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

aip/client-libraries/4222.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ add that information to the routing header.
2020
There are two annotations that specify how to extract routing information from
2121
the request payload:
2222

23-
* the [`google.api.routing`][routing] annotation that specifies how to construct
23+
* the [`google.api.routing`][routing] annotation that specifies how to construct
2424
routing headers explicitly
25-
* the [`google.api.http`][http] annotation that may specify how to construct
25+
* the [`google.api.http`][http] annotation that may specify how to construct
2626
routing headers implicitly.
2727

2828
For any given RPC, if the explicit routing headers annotation is present, the code
@@ -49,6 +49,7 @@ rpc CreateTopic(CreateTopicRequest) {
4949
}
5050
}
5151
```
52+
5253
**Note:** An empty `google.api.routing` annotation is acceptable. It means that no
5354
routing headers should be generated for the RPC, when they otherwise would be
5455
e.g. implicitly from the `google.api.http` annotation.
@@ -71,10 +72,9 @@ routing_parameters {
7172
}
7273
```
7374

74-
**Note** It is acceptable to omit the `path_template` field altogether. An omitted
75+
**Note:** It is acceptable to omit the `path_template` field altogether. An omitted
7576
`path_template` is equivalent to a `path_template` with the same resource ID name as
7677
the field and the pattern `**`, and **must** be parsed, e.g.:
77-
7878
```proto
7979
routing_parameters {
8080
field: "parent"
@@ -138,6 +138,7 @@ option (google.api.routing) = {
138138
}
139139
}
140140
```
141+
141142
In this case if in a given request the `billing_project` field is set to an non-empty value,
142143
its value will be sent with the `project` key because the routing parameter looking at `billing_project` field is specified last. If the `billing_project` field is not set, the `parent` field will be considered, first trying to send a
143144
project with a subproject specified, and then without. Note that if a given request has a

0 commit comments

Comments
 (0)