dataproc_v1.yaml 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  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.BatchController
  8. - name: google.cloud.dataproc.v1.ClusterController
  9. - name: google.cloud.dataproc.v1.JobController
  10. - name: google.cloud.dataproc.v1.WorkflowTemplateService
  11. types:
  12. - name: google.cloud.dataproc.v1.BatchOperationMetadata
  13. - name: google.cloud.dataproc.v1.ClusterOperationMetadata
  14. - name: google.cloud.dataproc.v1.DiagnoseClusterResults
  15. - name: google.cloud.dataproc.v1.JobMetadata
  16. - name: google.cloud.dataproc.v1.WorkflowMetadata
  17. documentation:
  18. summary: 'Manages Hadoop-based clusters and jobs on Google Cloud Platform.'
  19. rules:
  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. http:
  39. rules:
  40. - selector: google.iam.v1.IAMPolicy.GetIamPolicy
  41. post: '/v1/{resource=projects/*/regions/*/clusters/*}:getIamPolicy'
  42. body: '*'
  43. additional_bindings:
  44. - post: '/v1/{resource=projects/*/regions/*/jobs/*}:getIamPolicy'
  45. body: '*'
  46. - post: '/v1/{resource=projects/*/regions/*/operations/*}:getIamPolicy'
  47. body: '*'
  48. - post: '/v1/{resource=projects/*/regions/*/workflowTemplates/*}:getIamPolicy'
  49. body: '*'
  50. - post: '/v1/{resource=projects/*/locations/*/workflowTemplates/*}:getIamPolicy'
  51. body: '*'
  52. - post: '/v1/{resource=projects/*/regions/*/autoscalingPolicies/*}:getIamPolicy'
  53. body: '*'
  54. - post: '/v1/{resource=projects/*/locations/*/autoscalingPolicies/*}:getIamPolicy'
  55. body: '*'
  56. - selector: google.iam.v1.IAMPolicy.SetIamPolicy
  57. post: '/v1/{resource=projects/*/regions/*/clusters/*}:setIamPolicy'
  58. body: '*'
  59. additional_bindings:
  60. - post: '/v1/{resource=projects/*/regions/*/jobs/*}:setIamPolicy'
  61. body: '*'
  62. - post: '/v1/{resource=projects/*/regions/*/operations/*}:setIamPolicy'
  63. body: '*'
  64. - post: '/v1/{resource=projects/*/regions/*/workflowTemplates/*}:setIamPolicy'
  65. body: '*'
  66. - post: '/v1/{resource=projects/*/locations/*/workflowTemplates/*}:setIamPolicy'
  67. body: '*'
  68. - post: '/v1/{resource=projects/*/regions/*/autoscalingPolicies/*}:setIamPolicy'
  69. body: '*'
  70. - post: '/v1/{resource=projects/*/locations/*/autoscalingPolicies/*}:setIamPolicy'
  71. body: '*'
  72. - selector: google.iam.v1.IAMPolicy.TestIamPermissions
  73. post: '/v1/{resource=projects/*/regions/*/clusters/*}:testIamPermissions'
  74. body: '*'
  75. additional_bindings:
  76. - post: '/v1/{resource=projects/*/regions/*/jobs/*}:testIamPermissions'
  77. body: '*'
  78. - post: '/v1/{resource=projects/*/regions/*/operations/*}:testIamPermissions'
  79. body: '*'
  80. - post: '/v1/{resource=projects/*/regions/*/workflowTemplates/*}:testIamPermissions'
  81. body: '*'
  82. - post: '/v1/{resource=projects/*/locations/*/workflowTemplates/*}:testIamPermissions'
  83. body: '*'
  84. - post: '/v1/{resource=projects/*/regions/*/autoscalingPolicies/*}:testIamPermissions'
  85. body: '*'
  86. - post: '/v1/{resource=projects/*/locations/*/autoscalingPolicies/*}:testIamPermissions'
  87. body: '*'
  88. - selector: google.longrunning.Operations.CancelOperation
  89. post: '/v1/{name=projects/*/regions/*/operations/*}:cancel'
  90. - selector: google.longrunning.Operations.DeleteOperation
  91. delete: '/v1/{name=projects/*/regions/*/operations/*}'
  92. - selector: google.longrunning.Operations.GetOperation
  93. get: '/v1/{name=projects/*/regions/*/operations/*}'
  94. - selector: google.longrunning.Operations.ListOperations
  95. get: '/v1/{name=projects/*/regions/*/operations}'
  96. authentication:
  97. rules:
  98. - selector: 'google.cloud.dataproc.v1.AutoscalingPolicyService.*'
  99. oauth:
  100. canonical_scopes: |-
  101. https://www.googleapis.com/auth/cloud-platform
  102. - selector: 'google.cloud.dataproc.v1.BatchController.*'
  103. oauth:
  104. canonical_scopes: |-
  105. https://www.googleapis.com/auth/cloud-platform
  106. - selector: 'google.cloud.dataproc.v1.ClusterController.*'
  107. oauth:
  108. canonical_scopes: |-
  109. https://www.googleapis.com/auth/cloud-platform
  110. - selector: 'google.cloud.dataproc.v1.JobController.*'
  111. oauth:
  112. canonical_scopes: |-
  113. https://www.googleapis.com/auth/cloud-platform
  114. - selector: 'google.cloud.dataproc.v1.WorkflowTemplateService.*'
  115. oauth:
  116. canonical_scopes: |-
  117. https://www.googleapis.com/auth/cloud-platform
  118. - selector: 'google.iam.v1.IAMPolicy.*'
  119. oauth:
  120. canonical_scopes: |-
  121. https://www.googleapis.com/auth/cloud-platform
  122. - selector: 'google.longrunning.Operations.*'
  123. oauth:
  124. canonical_scopes: |-
  125. https://www.googleapis.com/auth/cloud-platform