batch_v1.yaml 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. type: google.api.Service
  2. config_version: 3
  3. name: batch.googleapis.com
  4. title: Batch API
  5. apis:
  6. - name: google.cloud.batch.v1.BatchService
  7. - name: google.cloud.location.Locations
  8. - name: google.iam.v1.IAMPolicy
  9. - name: google.longrunning.Operations
  10. types:
  11. - name: google.cloud.batch.v1.OperationMetadata
  12. documentation:
  13. summary: An API to manage the running of batch jobs on Google Cloud Platform.
  14. overview: '(== google/cloud/batch/doc/overview.md ==)'
  15. rules:
  16. - selector: google.cloud.location.Locations.GetLocation
  17. description: Gets information about a location.
  18. - selector: google.cloud.location.Locations.ListLocations
  19. description: Lists information about the supported locations for this service.
  20. - selector: google.iam.v1.IAMPolicy.GetIamPolicy
  21. description: |-
  22. Gets the access control policy for a resource. Returns an empty policy
  23. if the resource exists and does not have a policy set.
  24. - selector: google.iam.v1.IAMPolicy.SetIamPolicy
  25. description: |-
  26. Sets the access control policy on the specified resource. Replaces
  27. any existing policy.
  28. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`
  29. errors.
  30. - selector: google.iam.v1.IAMPolicy.TestIamPermissions
  31. description: |-
  32. Returns permissions that a caller has on the specified resource. If the
  33. resource does not exist, this will return an empty set of
  34. permissions, not a `NOT_FOUND` error.
  35. Note: This operation is designed to be used for building
  36. permission-aware UIs and command-line tools, not for authorization
  37. checking. This operation may "fail open" without warning.
  38. backend:
  39. rules:
  40. - selector: 'google.cloud.batch.v1.BatchService.*'
  41. deadline: 60.0
  42. - selector: google.cloud.location.Locations.GetLocation
  43. deadline: 60.0
  44. - selector: google.cloud.location.Locations.ListLocations
  45. deadline: 60.0
  46. - selector: 'google.iam.v1.IAMPolicy.*'
  47. deadline: 60.0
  48. - selector: 'google.longrunning.Operations.*'
  49. deadline: 60.0
  50. http:
  51. rules:
  52. - selector: google.cloud.location.Locations.GetLocation
  53. get: '/v1/{name=projects/*/locations/*}'
  54. - selector: google.cloud.location.Locations.ListLocations
  55. get: '/v1/{name=projects/*}/locations'
  56. - selector: google.iam.v1.IAMPolicy.GetIamPolicy
  57. get: '/v1/{resource=projects/*/locations/*/jobs/*}:getIamPolicy'
  58. additional_bindings:
  59. - get: '/v1/{resource=projects/*/locations/*/tasks/*}:getIamPolicy'
  60. - get: '/v1/{resource=projects/*/locations/*/nodes/*}:getIamPolicy'
  61. - selector: google.iam.v1.IAMPolicy.SetIamPolicy
  62. post: '/v1/{resource=projects/*/locations/*/jobs/*}:setIamPolicy'
  63. body: '*'
  64. additional_bindings:
  65. - post: '/v1/{resource=projects/*/locations/*/tasks/*}:setIamPolicy'
  66. body: '*'
  67. - post: '/v1/{resource=projects/*/locations/*/nodes/*}:setIamPolicy'
  68. body: '*'
  69. - selector: google.iam.v1.IAMPolicy.TestIamPermissions
  70. post: '/v1/{resource=projects/*/locations/*/jobs/*}:testIamPermissions'
  71. body: '*'
  72. additional_bindings:
  73. - post: '/v1/{resource=projects/*/locations/*/tasks/*}:testIamPermissions'
  74. body: '*'
  75. - post: '/v1/{resource=projects/*/locations/*/nodes/*}:testIamPermissions'
  76. body: '*'
  77. - selector: google.longrunning.Operations.CancelOperation
  78. post: '/v1/{name=projects/*/locations/*/operations/*}:cancel'
  79. body: '*'
  80. - selector: google.longrunning.Operations.DeleteOperation
  81. delete: '/v1/{name=projects/*/locations/*/operations/*}'
  82. - selector: google.longrunning.Operations.GetOperation
  83. get: '/v1/{name=projects/*/locations/*/operations/*}'
  84. - selector: google.longrunning.Operations.ListOperations
  85. get: '/v1/{name=projects/*/locations/*}/operations'
  86. authentication:
  87. rules:
  88. - selector: 'google.cloud.batch.v1.BatchService.*'
  89. oauth:
  90. canonical_scopes: |-
  91. https://www.googleapis.com/auth/cloud-platform
  92. - selector: google.cloud.location.Locations.GetLocation
  93. oauth:
  94. canonical_scopes: |-
  95. https://www.googleapis.com/auth/cloud-platform
  96. - selector: google.cloud.location.Locations.ListLocations
  97. oauth:
  98. canonical_scopes: |-
  99. https://www.googleapis.com/auth/cloud-platform
  100. - selector: 'google.iam.v1.IAMPolicy.*'
  101. oauth:
  102. canonical_scopes: |-
  103. https://www.googleapis.com/auth/cloud-platform
  104. - selector: 'google.longrunning.Operations.*'
  105. oauth:
  106. canonical_scopes: |-
  107. https://www.googleapis.com/auth/cloud-platform
  108. publishing:
  109. organization: CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED