Skip to content

Commit 8bec7f4

Browse files
lookuptableJon Wayne Parrott
authored and
Jon Wayne Parrott
committed
Allow ListShelves method to be called without API key (GoogleCloudPlatform#701)
This simplifies our quickstart such that reader does not need to go through an extra step to create an API key before calling this API.
1 parent f014d16 commit 8bec7f4

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

endpoints/bookstore-grpc/api_config.yaml

+9
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,12 @@ name: bookstore.<MY_PROJECT_ID>.appspot.com
3434
title: Bookstore gRPC API
3535
apis:
3636
- name: endpoints.examples.bookstore.Bookstore
37+
38+
#
39+
# API usage restrictions.
40+
#
41+
usage:
42+
rules:
43+
# ListShelves methods can be called without an API Key.
44+
- selector: endpoints.examples.bookstore.Bookstore.ListShelves
45+
allow_unregistered_calls: true

0 commit comments

Comments
 (0)