tpu_v1.yaml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. type: google.api.Service
  2. config_version: 3
  3. name: tpu.googleapis.com
  4. title: Cloud TPU API
  5. apis:
  6. - name: google.cloud.location.Locations
  7. - name: google.cloud.tpu.v1.Tpu
  8. - name: google.longrunning.Operations
  9. types:
  10. - name: google.cloud.tpu.v1.OperationMetadata
  11. documentation:
  12. summary: TPU API provides customers with access to Google TPU technology.
  13. rules:
  14. - selector: google.cloud.location.Locations.GetLocation
  15. description: Gets information about a location.
  16. - selector: google.cloud.location.Locations.ListLocations
  17. description: Lists information about the supported locations for this service.
  18. backend:
  19. rules:
  20. - selector: google.cloud.location.Locations.GetLocation
  21. deadline: 60.0
  22. - selector: google.cloud.location.Locations.ListLocations
  23. deadline: 60.0
  24. - selector: 'google.cloud.tpu.v1.Tpu.*'
  25. deadline: 60.0
  26. - selector: 'google.longrunning.Operations.*'
  27. deadline: 60.0
  28. http:
  29. rules:
  30. - selector: google.cloud.location.Locations.GetLocation
  31. get: '/v1/{name=projects/*/locations/*}'
  32. - selector: google.cloud.location.Locations.ListLocations
  33. get: '/v1/{name=projects/*}/locations'
  34. - selector: google.longrunning.Operations.CancelOperation
  35. post: '/v1/{name=projects/*/locations/*/operations/*}:cancel'
  36. - selector: google.longrunning.Operations.DeleteOperation
  37. delete: '/v1/{name=projects/*/locations/*/operations/*}'
  38. - selector: google.longrunning.Operations.GetOperation
  39. get: '/v1/{name=projects/*/locations/*/operations/*}'
  40. - selector: google.longrunning.Operations.ListOperations
  41. get: '/v1/{name=projects/*/locations/*}/operations'
  42. authentication:
  43. rules:
  44. - selector: google.cloud.location.Locations.GetLocation
  45. oauth:
  46. canonical_scopes: |-
  47. https://www.googleapis.com/auth/cloud-platform
  48. - selector: google.cloud.location.Locations.ListLocations
  49. oauth:
  50. canonical_scopes: |-
  51. https://www.googleapis.com/auth/cloud-platform
  52. - selector: 'google.cloud.tpu.v1.Tpu.*'
  53. oauth:
  54. canonical_scopes: |-
  55. https://www.googleapis.com/auth/cloud-platform
  56. - selector: 'google.longrunning.Operations.*'
  57. oauth:
  58. canonical_scopes: |-
  59. https://www.googleapis.com/auth/cloud-platform