gkehub_v1beta1.yaml 4.0 KB

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