serviceusage_v1.yaml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. type: google.api.Service
  2. config_version: 3
  3. name: serviceusage.googleapis.com
  4. title: Service Usage API
  5. apis:
  6. - name: google.api.serviceusage.v1.ServiceUsage
  7. types:
  8. - name: google.api.serviceusage.v1.BatchEnableServicesResponse
  9. - name: google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure
  10. - name: google.api.serviceusage.v1.DisableServiceResponse
  11. - name: google.api.serviceusage.v1.EnableServiceResponse
  12. - name: google.api.serviceusage.v1.OperationMetadata
  13. documentation:
  14. summary: |-
  15. Enables services that service consumers want to use on Google Cloud
  16. Platform, lists the available or enabled services, or disables services
  17. that service consumers no longer use.
  18. overview: |-
  19. The Service Usage API allows *service consumers* to manage the set
  20. of *services* they interact with. Consumers can use the Service Usage API
  21. or the [Google Cloud Console](https://console.cloud.google.com) to enable
  22. services in their [Google
  23. developer
  24. project](https://developers.google.com/console/help/new/). After a service
  25. is enabled, its APIs become available.
  26. ## Service consumers
  27. A service consumer is a Google developer project that has enabled and can
  28. invoke APIs on a service. A service can have many service consumers.
  29. backend:
  30. rules:
  31. - selector: 'google.api.serviceusage.v1.ServiceUsage.*'
  32. deadline: 20.0
  33. - selector: 'google.longrunning.Operations.*'
  34. deadline: 20.0
  35. http:
  36. rules:
  37. - selector: google.longrunning.Operations.GetOperation
  38. get: '/v1/{name=operations/*}'
  39. - selector: google.longrunning.Operations.ListOperations
  40. get: /v1/operations
  41. authentication:
  42. rules:
  43. - selector: 'google.api.serviceusage.v1.ServiceUsage.*'
  44. oauth:
  45. canonical_scopes: |-
  46. https://www.googleapis.com/auth/cloud-platform,
  47. https://www.googleapis.com/auth/service.management
  48. - selector: google.api.serviceusage.v1.ServiceUsage.BatchGetServices
  49. oauth:
  50. canonical_scopes: |-
  51. https://www.googleapis.com/auth/cloud-platform,
  52. https://www.googleapis.com/auth/cloud-platform.read-only
  53. - selector: google.api.serviceusage.v1.ServiceUsage.GetService
  54. oauth:
  55. canonical_scopes: |-
  56. https://www.googleapis.com/auth/cloud-platform,
  57. https://www.googleapis.com/auth/cloud-platform.read-only
  58. - selector: google.api.serviceusage.v1.ServiceUsage.ListServices
  59. oauth:
  60. canonical_scopes: |-
  61. https://www.googleapis.com/auth/cloud-platform,
  62. https://www.googleapis.com/auth/cloud-platform.read-only
  63. - selector: 'google.longrunning.Operations.*'
  64. oauth:
  65. canonical_scopes: |-
  66. https://www.googleapis.com/auth/cloud-platform,
  67. https://www.googleapis.com/auth/service.management