dataproc_v1.yaml 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. type: google.api.Service
  2. config_version: 3
  3. name: dataproc.googleapis.com
  4. title: Cloud Dataproc API
  5. apis:
  6. - name: google.cloud.dataproc.v1.AutoscalingPolicyService
  7. - name: google.cloud.dataproc.v1.ClusterController
  8. - name: google.cloud.dataproc.v1.JobController
  9. - name: google.cloud.dataproc.v1.WorkflowTemplateService
  10. types:
  11. - name: google.cloud.dataproc.v1.ClusterOperationMetadata
  12. - name: google.cloud.dataproc.v1.DiagnoseClusterResults
  13. - name: google.cloud.dataproc.v1.JobMetadata
  14. - name: google.cloud.dataproc.v1.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.iam.v1.IAMPolicy.GetIamPolicy
  39. post: '/v1/{resource=projects/*/regions/*/clusters/*}:getIamPolicy'
  40. body: '*'
  41. additional_bindings:
  42. - post: '/v1/{resource=projects/*/regions/*/jobs/*}:getIamPolicy'
  43. body: '*'
  44. - post: '/v1/{resource=projects/*/regions/*/operations/*}:getIamPolicy'
  45. body: '*'
  46. - post: '/v1/{resource=projects/*/regions/*/workflowTemplates/*}:getIamPolicy'
  47. body: '*'
  48. - post: '/v1/{resource=projects/*/locations/*/workflowTemplates/*}:getIamPolicy'
  49. body: '*'
  50. - post: '/v1/{resource=projects/*/regions/*/autoscalingPolicies/*}:getIamPolicy'
  51. body: '*'
  52. - post: '/v1/{resource=projects/*/locations/*/autoscalingPolicies/*}:getIamPolicy'
  53. body: '*'
  54. - selector: google.iam.v1.IAMPolicy.SetIamPolicy
  55. post: '/v1/{resource=projects/*/regions/*/clusters/*}:setIamPolicy'
  56. body: '*'
  57. additional_bindings:
  58. - post: '/v1/{resource=projects/*/regions/*/jobs/*}:setIamPolicy'
  59. body: '*'
  60. - post: '/v1/{resource=projects/*/regions/*/operations/*}:setIamPolicy'
  61. body: '*'
  62. - post: '/v1/{resource=projects/*/regions/*/workflowTemplates/*}:setIamPolicy'
  63. body: '*'
  64. - post: '/v1/{resource=projects/*/locations/*/workflowTemplates/*}:setIamPolicy'
  65. body: '*'
  66. - post: '/v1/{resource=projects/*/regions/*/autoscalingPolicies/*}:setIamPolicy'
  67. body: '*'
  68. - post: '/v1/{resource=projects/*/locations/*/autoscalingPolicies/*}:setIamPolicy'
  69. body: '*'
  70. - selector: google.iam.v1.IAMPolicy.TestIamPermissions
  71. post: '/v1/{resource=projects/*/regions/*/clusters/*}:testIamPermissions'
  72. body: '*'
  73. additional_bindings:
  74. - post: '/v1/{resource=projects/*/regions/*/jobs/*}:testIamPermissions'
  75. body: '*'
  76. - post: '/v1/{resource=projects/*/regions/*/operations/*}:testIamPermissions'
  77. body: '*'
  78. - post: '/v1/{resource=projects/*/regions/*/workflowTemplates/*}:testIamPermissions'
  79. body: '*'
  80. - post: '/v1/{resource=projects/*/locations/*/workflowTemplates/*}:testIamPermissions'
  81. body: '*'
  82. - post: '/v1/{resource=projects/*/regions/*/autoscalingPolicies/*}:testIamPermissions'
  83. body: '*'
  84. - post: '/v1/{resource=projects/*/locations/*/autoscalingPolicies/*}:testIamPermissions'
  85. body: '*'
  86. - selector: google.longrunning.Operations.CancelOperation
  87. post: '/v1/{name=projects/*/regions/*/operations/*}:cancel'
  88. - selector: google.longrunning.Operations.DeleteOperation
  89. delete: '/v1/{name=projects/*/regions/*/operations/*}'
  90. - selector: google.longrunning.Operations.GetOperation
  91. get: '/v1/{name=projects/*/regions/*/operations/*}'
  92. - selector: google.longrunning.Operations.ListOperations
  93. get: '/v1/{name=projects/*/regions/*/operations}'
  94. authentication:
  95. rules:
  96. - selector: 'google.cloud.dataproc.v1.AutoscalingPolicyService.*'
  97. oauth:
  98. canonical_scopes: |-
  99. https://www.googleapis.com/auth/cloud-platform
  100. - selector: 'google.cloud.dataproc.v1.ClusterController.*'
  101. oauth:
  102. canonical_scopes: |-
  103. https://www.googleapis.com/auth/cloud-platform
  104. - selector: 'google.cloud.dataproc.v1.JobController.*'
  105. oauth:
  106. canonical_scopes: |-
  107. https://www.googleapis.com/auth/cloud-platform
  108. - selector: 'google.cloud.dataproc.v1.WorkflowTemplateService.*'
  109. oauth:
  110. canonical_scopes: |-
  111. https://www.googleapis.com/auth/cloud-platform
  112. - selector: 'google.iam.v1.IAMPolicy.*'
  113. oauth:
  114. canonical_scopes: |-
  115. https://www.googleapis.com/auth/cloud-platform
  116. - selector: 'google.longrunning.Operations.*'
  117. oauth:
  118. canonical_scopes: |-
  119. https://www.googleapis.com/auth/cloud-platform