dataproc_v1beta2.yaml 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. type: google.api.Service
  2. config_version: 2
  3. name: dataproc.googleapis.com
  4. title: Cloud Dataproc API
  5. apis:
  6. - name: google.cloud.dataproc.v1beta2.AutoscalingPolicyService
  7. - name: google.cloud.dataproc.v1beta2.ClusterController
  8. - name: google.cloud.dataproc.v1beta2.JobController
  9. - name: google.cloud.dataproc.v1beta2.WorkflowTemplateService
  10. types:
  11. - name: google.cloud.dataproc.v1beta2.ClusterOperationMetadata
  12. - name: google.cloud.dataproc.v1beta2.DiagnoseClusterResults
  13. - name: google.cloud.dataproc.v1beta2.JobMetadata
  14. - name: google.cloud.dataproc.v1beta2.WorkflowMetadata
  15. documentation:
  16. summary: 'Manages Hadoop-based clusters and jobs on Google Cloud Platform.'
  17. rules:
  18. - selector: google.iam.v1.IAMPolicy.GetIamPolicy
  19. description: |-
  20. Gets the access control policy for a resource. Returns an empty policy
  21. if the resource exists and does not have a policy set.
  22. - selector: google.iam.v1.IAMPolicy.SetIamPolicy
  23. description: |-
  24. Sets the access control policy on the specified resource. Replaces
  25. any existing policy.
  26. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`
  27. errors.
  28. - selector: google.iam.v1.IAMPolicy.TestIamPermissions
  29. description: |-
  30. Returns permissions that a caller has on the specified resource. If the
  31. resource does not exist, this will return an empty set of
  32. permissions, not a `NOT_FOUND` error.
  33. Note: This operation is designed to be used for building
  34. permission-aware UIs and command-line tools, not for authorization
  35. checking. This operation may "fail open" without warning.
  36. http:
  37. rules:
  38. - selector: google.longrunning.Operations.ListOperations
  39. get: '/v1beta2/{name=projects/*/regions/*/operations}'
  40. - selector: google.longrunning.Operations.GetOperation
  41. get: '/v1beta2/{name=projects/*/regions/*/operations/*}'
  42. - selector: google.longrunning.Operations.DeleteOperation
  43. delete: '/v1beta2/{name=projects/*/regions/*/operations/*}'
  44. - selector: google.longrunning.Operations.CancelOperation
  45. post: '/v1beta2/{name=projects/*/regions/*/operations/*}:cancel'
  46. - selector: google.iam.v1.IAMPolicy.SetIamPolicy
  47. post: '/v1beta2/{resource=projects/*/regions/*/clusters/*}:setIamPolicy'
  48. body: '*'
  49. - selector: google.iam.v1.IAMPolicy.GetIamPolicy
  50. get: '/v1beta2/{resource=projects/*/regions/*/clusters/*}:getIamPolicy'
  51. - selector: google.iam.v1.IAMPolicy.TestIamPermissions
  52. post: '/v1beta2/{resource=projects/*/regions/*/clusters/*}:testIamPermissions'
  53. body: '*'
  54. authentication:
  55. rules:
  56. - selector: 'google.cloud.dataproc.v1beta2.AutoscalingPolicyService.*'
  57. oauth:
  58. canonical_scopes: |-
  59. https://www.googleapis.com/auth/cloud-platform
  60. - selector: 'google.cloud.dataproc.v1beta2.ClusterController.*'
  61. oauth:
  62. canonical_scopes: |-
  63. https://www.googleapis.com/auth/cloud-platform
  64. - selector: 'google.cloud.dataproc.v1beta2.JobController.*'
  65. oauth:
  66. canonical_scopes: |-
  67. https://www.googleapis.com/auth/cloud-platform
  68. - selector: 'google.cloud.dataproc.v1beta2.WorkflowTemplateService.*'
  69. oauth:
  70. canonical_scopes: |-
  71. https://www.googleapis.com/auth/cloud-platform
  72. - selector: 'google.iam.v1.IAMPolicy.*'
  73. oauth:
  74. canonical_scopes: |-
  75. https://www.googleapis.com/auth/cloud-platform
  76. - selector: 'google.longrunning.Operations.*'
  77. oauth:
  78. canonical_scopes: |-
  79. https://www.googleapis.com/auth/cloud-platform