We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4dc1f2d commit 7a43e6fCopy full SHA for 7a43e6f
1 file changed
aip/general/0151.md
@@ -25,15 +25,15 @@ Individual API methods that might take a significant amount of time to complete
25
ultimate response message.
26
27
```proto
28
-// Write a book.
29
-rpc WriteBook(WriteBookRequest) returns (google.longrunning.Operation) {
+// Create a book.
+rpc CreateBook(CreateBookRequest) returns (google.longrunning.Operation) {
30
option (google.api.http) = {
31
- post: "/v1/{parent=publishers/*}/books:write"
32
- body: "*"
+ post: "/v1/{parent=publishers/*}/books"
+ body: "book"
33
};
34
option (google.longrunning.operation_info) = {
35
- response_type: "WriteBookResponse"
36
- metadata_type: "WriteBookMetadata"
+ response_type: "Book"
+ metadata_type: "OperationMetadata"
37
38
}
39
```
0 commit comments