gkehub_v1alpha2.yaml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. type: google.api.Service
  2. config_version: 3
  3. name: gkehub.googleapis.com
  4. title: GKE Hub API
  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.gkehub.v1alpha2.GkeHub.CreateMembership
  38. deadline: 120.0
  39. - selector: google.cloud.location.Locations.GetLocation
  40. deadline: 60.0
  41. - selector: google.cloud.location.Locations.ListLocations
  42. deadline: 60.0
  43. - selector: 'google.iam.v1.IAMPolicy.*'
  44. deadline: 60.0
  45. - selector: 'google.longrunning.Operations.*'
  46. deadline: 60.0
  47. - selector: google.longrunning.Operations.GetOperation
  48. deadline: 5.0
  49. http:
  50. rules:
  51. - selector: google.cloud.location.Locations.GetLocation
  52. get: '/v1alpha2/{name=projects/*/locations/*}'
  53. - selector: google.cloud.location.Locations.ListLocations
  54. get: '/v1alpha2/{name=projects/*}/locations'
  55. - selector: google.iam.v1.IAMPolicy.GetIamPolicy
  56. get: '/v1alpha2/{resource=projects/*/locations/*/memberships/*}:getIamPolicy'
  57. - selector: google.iam.v1.IAMPolicy.SetIamPolicy
  58. post: '/v1alpha2/{resource=projects/*/locations/*/memberships/*}:setIamPolicy'
  59. body: '*'
  60. - selector: google.iam.v1.IAMPolicy.TestIamPermissions
  61. post: '/v1alpha2/{resource=projects/*/locations/*/memberships/*}:testIamPermissions'
  62. body: '*'
  63. - selector: google.longrunning.Operations.CancelOperation
  64. post: '/v1alpha2/{name=projects/*/locations/*/operations/*}:cancel'
  65. body: '*'
  66. - selector: google.longrunning.Operations.DeleteOperation
  67. delete: '/v1alpha2/{name=projects/*/locations/*/operations/*}'
  68. - selector: google.longrunning.Operations.GetOperation
  69. get: '/v1alpha2/{name=projects/*/locations/*/operations/*}'
  70. - selector: google.longrunning.Operations.ListOperations
  71. get: '/v1alpha2/{name=projects/*/locations/*}/operations'
  72. authentication:
  73. rules:
  74. - selector: 'google.cloud.gkehub.v1alpha2.GkeHub.*'
  75. oauth:
  76. canonical_scopes: |-
  77. https://www.googleapis.com/auth/cloud-platform
  78. - selector: google.cloud.location.Locations.GetLocation
  79. oauth:
  80. canonical_scopes: |-
  81. https://www.googleapis.com/auth/cloud-platform
  82. - selector: google.cloud.location.Locations.ListLocations
  83. oauth:
  84. canonical_scopes: |-
  85. https://www.googleapis.com/auth/cloud-platform
  86. - selector: 'google.iam.v1.IAMPolicy.*'
  87. oauth:
  88. canonical_scopes: |-
  89. https://www.googleapis.com/auth/cloud-platform
  90. - selector: 'google.longrunning.Operations.*'
  91. oauth:
  92. canonical_scopes: |-
  93. https://www.googleapis.com/auth/cloud-platform