chore: make fleetengine.yaml files ODRD and LMFS specific

PiperOrigin-RevId: 553584300
This commit is contained in:
Google APIs 2023-08-03 14:05:58 -07:00 committed by Copybara-Service
parent 927a7b5725
commit 456166fc0b
2 changed files with 15 additions and 18 deletions

View file

@ -1,12 +1,10 @@
type: google.api.Service
config_version: 3
name: fleetengine.googleapis.com
title: Local Rides and Deliveries API
title: Last Mile Fleet Solution Delivery API
apis:
- name: maps.fleetengine.delivery.v1.DeliveryService
- name: maps.fleetengine.v1.TripService
- name: maps.fleetengine.v1.VehicleService
documentation:
summary: |-
@ -31,12 +29,6 @@ backend:
deadline: 10.0
- selector: maps.fleetengine.delivery.v1.DeliveryService.UpdateTask
deadline: 10.0
- selector: 'maps.fleetengine.v1.TripService.*'
deadline: 10.0
- selector: 'maps.fleetengine.v1.VehicleService.*'
deadline: 10.0
- selector: maps.fleetengine.v1.VehicleService.UpdateVehicleLocation
deadline: 3.0
authentication:
rules:
@ -44,11 +36,3 @@ authentication:
oauth:
canonical_scopes: |-
https://www.googleapis.com/auth/cloud-platform
- selector: 'maps.fleetengine.v1.TripService.*'
oauth:
canonical_scopes: |-
https://www.googleapis.com/auth/cloud-platform
- selector: 'maps.fleetengine.v1.VehicleService.*'
oauth:
canonical_scopes: |-
https://www.googleapis.com/auth/cloud-platform

View file

@ -10,7 +10,9 @@ apis:
documentation:
summary: |-
Enables Fleet Engine for access to the On Demand Rides and Deliveries and
Last Mile Fleet Solution APIs.
Last Mile Fleet Solution APIs. Customer's use of Google Maps Content in
the Cloud Logging Services is subject to the Google Maps Platform Terms of
Service located at https://cloud.google.com/maps-platform/terms.
backend:
rules:
@ -20,3 +22,14 @@ backend:
deadline: 10.0
- selector: maps.fleetengine.v1.VehicleService.UpdateVehicleLocation
deadline: 3.0
authentication:
rules:
- selector: 'maps.fleetengine.v1.TripService.*'
oauth:
canonical_scopes: |-
https://www.googleapis.com/auth/cloud-platform
- selector: 'maps.fleetengine.v1.VehicleService.*'
oauth:
canonical_scopes: |-
https://www.googleapis.com/auth/cloud-platform