File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ type : google.api.Service
2+ config_version : 3
3+
4+ #
5+ # Name of the service configuration.
6+ #
7+ name : API_NAME.endpoints.ESP_PROJECT_ID.cloud.goog
8+
9+ #
10+ # API title to appear in the user interface (Google Cloud Console).
11+ #
12+ title : gRPC Bookstore API In Cloud Run Anthos
13+ apis :
14+ - name : endpoints.examples.bookstore.Bookstore
15+
16+ #
17+ # Create a DNS record to map your service nameto IP address
18+ #
19+ endpoints :
20+ - name : API_NAME.endpoints.ESP_PROJECT_ID.cloud.goog
21+ target : INGRESS_IP
22+
23+ #
24+ # Specify the backend address to route to
25+ #
26+ backend :
27+ rules :
28+ - selector : " *"
29+ address : grpc://grpc-bookstore.default.svc.cluster.local
30+ disable_auth : true
31+
32+ #
33+ # API usage restrictions.
34+ #
35+ usage :
36+ rules :
37+ # ListShelves methods can be called without an API Key.
38+ - selector : endpoints.examples.bookstore.Bookstore.ListShelves
39+ allow_unregistered_calls : true
40+
You can’t perform that action at this time.
0 commit comments