gkehub_v1.yaml 4.0 KB

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