@@ -265,7 +265,7 @@ service Bookstore {
265265message Book {
266266 option (google.api.resource ) = {
267267 type : "bookstore.example.com/book" ,
268- pattern : [ "publishers/{publisher }/books/{book }" ],
268+ pattern : [ "publishers/{publisher_id }/books/{book_id }" ],
269269 plural : "books" ,
270270 singular : "book"
271271 };
@@ -303,7 +303,7 @@ message BookEdition {
303303 option (google.api.resource ) = {
304304 type : "bookstore.example.com/book-edition" ,
305305 pattern : [
306- "publishers/{publisher }/books/{book }/editions/{book-edition }"
306+ "publishers/{publisher_id }/books/{book_id }/editions/{book_edition_id }"
307307 ],
308308 plural : "book-editions" ,
309309 singular : "book-edition"
@@ -323,7 +323,7 @@ message BookEdition {
323323message Isbn {
324324 option (google.api.resource ) = {
325325 type : "bookstore.example.com/isbn" ,
326- pattern : [ "isbns/{isbn }" ],
326+ pattern : [ "isbns/{isbn_id }" ],
327327 plural : "isbns" ,
328328 singular : "isbn"
329329 };
@@ -336,7 +336,7 @@ message Isbn {
336336message Item {
337337 option (google.api.resource ) = {
338338 type : "bookstore.example.com/item" ,
339- pattern : [ "stores/{store }/items/{item }" ],
339+ pattern : [ "stores/{store_id }/items/{item_id }" ],
340340 plural : "items" ,
341341 singular : "item"
342342 };
@@ -358,7 +358,7 @@ message Item {
358358message Publisher {
359359 option (google.api.resource ) = {
360360 type : "bookstore.example.com/publisher" ,
361- pattern : [ "publishers/{publisher }" ],
361+ pattern : [ "publishers/{publisher_id }" ],
362362 plural : "publishers" ,
363363 singular : "publisher"
364364 };
@@ -374,7 +374,7 @@ message Publisher {
374374message Store {
375375 option (google.api.resource ) = {
376376 type : "bookstore.example.com/store" ,
377- pattern : [ "stores/{store }" ],
377+ pattern : [ "stores/{store_id }" ],
378378 plural : "stores" ,
379379 singular : "store"
380380 };
0 commit comments