gkehub_v1alpha2.yaml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  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.v1alpha2.GkeHub
  7. types:
  8. - name: google.cloud.gkehub.v1alpha2.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.v1alpha2.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: '/v1alpha2/{name=projects/*/locations/*}'
  51. - selector: google.cloud.location.Locations.ListLocations
  52. get: '/v1alpha2/{name=projects/*}/locations'
  53. - selector: google.iam.v1.IAMPolicy.GetIamPolicy
  54. get: '/v1alpha2/{resource=projects/*/locations/*/memberships/*}:getIamPolicy'
  55. - selector: google.iam.v1.IAMPolicy.SetIamPolicy
  56. post: '/v1alpha2/{resource=projects/*/locations/*/memberships/*}:setIamPolicy'
  57. body: '*'
  58. - selector: google.iam.v1.IAMPolicy.TestIamPermissions
  59. post: '/v1alpha2/{resource=projects/*/locations/*/memberships/*}:testIamPermissions'
  60. body: '*'
  61. - selector: google.longrunning.Operations.CancelOperation
  62. post: '/v1alpha2/{name=projects/*/locations/*/operations/*}:cancel'
  63. body: '*'
  64. - selector: google.longrunning.Operations.DeleteOperation
  65. delete: '/v1alpha2/{name=projects/*/locations/*/operations/*}'
  66. - selector: google.longrunning.Operations.GetOperation
  67. get: '/v1alpha2/{name=projects/*/locations/*/operations/*}'
  68. - selector: google.longrunning.Operations.ListOperations
  69. get: '/v1alpha2/{name=projects/*/locations/*}/operations'
  70. authentication:
  71. rules:
  72. - selector: 'google.cloud.gkehub.v1alpha2.GkeHub.*'
  73. oauth:
  74. canonical_scopes: |-
  75. https://www.googleapis.com/auth/cloud-platform
  76. - selector: google.cloud.location.Locations.GetLocation
  77. oauth:
  78. canonical_scopes: |-
  79. https://www.googleapis.com/auth/cloud-platform
  80. - selector: google.cloud.location.Locations.ListLocations
  81. oauth:
  82. canonical_scopes: |-
  83. https://www.googleapis.com/auth/cloud-platform
  84. - selector: 'google.iam.v1.IAMPolicy.*'
  85. oauth:
  86. canonical_scopes: |-
  87. https://www.googleapis.com/auth/cloud-platform
  88. - selector: 'google.longrunning.Operations.*'
  89. oauth:
  90. canonical_scopes: |-
  91. https://www.googleapis.com/auth/cloud-platform