metastore_v1alpha.yaml 5.5 KB

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