File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ option php_namespace = "Google\\Maps\\Routes\\V1";
3535// The Routes Preferred API.
3636service RoutesPreferred {
3737 option (google.api.default_host ) = "routespreferred.googleapis.com" ;
38+ option (google.api.oauth_scopes ) = "https://www.googleapis.com/auth/maps-platform.routespreferred" ;
3839
3940 // Returns the primary route along with optional alternate routes, given a set
4041 // of terminal and intermediate waypoints.
Original file line number Diff line number Diff line change @@ -6,3 +6,22 @@ title: Routes Preferred API
66apis :
77- name : google.maps.routes.v1.RoutesPreferred
88- name : google.maps.routes.v1alpha.RoutesAlpha
9+
10+ authentication :
11+ rules :
12+ - selector : google.maps.routes.v1.RoutesPreferred.ComputeRouteMatrix
13+ oauth :
14+ canonical_scopes : |-
15+ https://www.googleapis.com/auth/maps-platform.routespreferred
16+ - selector : google.maps.routes.v1.RoutesPreferred.ComputeRoutes
17+ oauth :
18+ canonical_scopes : |-
19+ https://www.googleapis.com/auth/maps-platform.routespreferred
20+ - selector : google.maps.routes.v1alpha.RoutesAlpha.ComputeRouteMatrix
21+ oauth :
22+ canonical_scopes : |-
23+ https://www.googleapis.com/auth/maps-platform.routespreferred
24+ - selector : google.maps.routes.v1alpha.RoutesAlpha.ComputeRoutes
25+ oauth :
26+ canonical_scopes : |-
27+ https://www.googleapis.com/auth/maps-platform.routespreferred
Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ option php_namespace = "Google\\Maps\\Routes\\V1alpha";
3535// The Routes Preferred API.
3636service RoutesAlpha {
3737 option (google.api.default_host ) = "routespreferred.googleapis.com" ;
38+ option (google.api.oauth_scopes ) = "https://www.googleapis.com/auth/maps-platform.routespreferred" ;
3839
3940 // Returns the primary route along with optional alternate routes, given a set
4041 // of terminal and intermediate waypoints.
You can’t perform that action at this time.
0 commit comments