tpu_v1.yaml 2.1 KB

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