metastore_v1.yaml 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  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.v1.DataprocMetastore
  8. - name: google.cloud.metastore.v1.DataprocMetastoreFederation
  9. - name: google.iam.v1.IAMPolicy
  10. - name: google.longrunning.Operations
  11. types:
  12. - name: google.cloud.metastore.v1.LocationMetadata
  13. - name: google.cloud.metastore.v1.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.v1.DataprocMetastore.*'
  48. deadline: 60.0
  49. - selector: 'google.cloud.metastore.v1.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: '/v1/{name=projects/*/locations/*}'
  59. - selector: google.cloud.location.Locations.ListLocations
  60. get: '/v1/{name=projects/*}/locations'
  61. - selector: google.iam.v1.IAMPolicy.GetIamPolicy
  62. get: '/v1/{resource=projects/*/locations/*/services/*}:getIamPolicy'
  63. additional_bindings:
  64. - get: '/v1/{resource=projects/*/locations/*/services/*/backups/*}:getIamPolicy'
  65. - get: '/v1/{resource=projects/*/locations/*/federations/*}:getIamPolicy'
  66. - selector: google.iam.v1.IAMPolicy.SetIamPolicy
  67. post: '/v1/{resource=projects/*/locations/*/services/*}:setIamPolicy'
  68. body: '*'
  69. additional_bindings:
  70. - post: '/v1/{resource=projects/*/locations/*/services/*/backups/*}:setIamPolicy'
  71. body: '*'
  72. - post: '/v1/{resource=projects/*/locations/*/federations/*}:setIamPolicy'
  73. body: '*'
  74. - selector: google.iam.v1.IAMPolicy.TestIamPermissions
  75. post: '/v1/{resource=projects/*/locations/*/services/*}:testIamPermissions'
  76. body: '*'
  77. additional_bindings:
  78. - post: '/v1/{resource=projects/*/locations/*/federations/*}:testIamPermissions'
  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.location.Locations.GetLocation
  89. oauth:
  90. canonical_scopes: |-
  91. https://www.googleapis.com/auth/cloud-platform
  92. - selector: google.cloud.location.Locations.ListLocations
  93. oauth:
  94. canonical_scopes: |-
  95. https://www.googleapis.com/auth/cloud-platform
  96. - selector: 'google.cloud.metastore.v1.DataprocMetastore.*'
  97. oauth:
  98. canonical_scopes: |-
  99. https://www.googleapis.com/auth/cloud-platform
  100. - selector: 'google.cloud.metastore.v1.DataprocMetastoreFederation.*'
  101. oauth:
  102. canonical_scopes: |-
  103. https://www.googleapis.com/auth/cloud-platform
  104. - selector: 'google.iam.v1.IAMPolicy.*'
  105. oauth:
  106. canonical_scopes: |-
  107. https://www.googleapis.com/auth/cloud-platform
  108. - selector: 'google.longrunning.Operations.*'
  109. oauth:
  110. canonical_scopes: |-
  111. https://www.googleapis.com/auth/cloud-platform