gkebackup_v1.yaml 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. type: google.api.Service
  2. config_version: 3
  3. name: gkebackup.googleapis.com
  4. title: Backup for GKE API
  5. apis:
  6. - name: google.cloud.gkebackup.v1.BackupForGKE
  7. types:
  8. - name: google.cloud.gkebackup.v1.OperationMetadata
  9. documentation:
  10. summary: |-
  11. Backup for GKE is a managed Kubernetes workload backup and restore
  12. service for GKE clusters.
  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.gkebackup.v1.BackupForGKE.*'
  39. deadline: 60.0
  40. - selector: google.cloud.location.Locations.GetLocation
  41. deadline: 60.0
  42. - selector: google.cloud.location.Locations.ListLocations
  43. deadline: 60.0
  44. - selector: 'google.iam.v1.IAMPolicy.*'
  45. deadline: 60.0
  46. - selector: 'google.longrunning.Operations.*'
  47. deadline: 60.0
  48. http:
  49. rules:
  50. - selector: google.cloud.location.Locations.GetLocation
  51. get: '/v1/{name=projects/*/locations/*}'
  52. - selector: google.cloud.location.Locations.ListLocations
  53. get: '/v1/{name=projects/*}/locations'
  54. - selector: google.iam.v1.IAMPolicy.GetIamPolicy
  55. get: '/v1/{resource=projects/*/locations/*/backupPlans/*}:getIamPolicy'
  56. additional_bindings:
  57. - get: '/v1/{resource=projects/*/locations/*/backupPlans/*/backups/*}:getIamPolicy'
  58. - get: '/v1/{resource=projects/*/locations/*/backupPlans/*/backups/*/volumeBackups/*}:getIamPolicy'
  59. - get: '/v1/{resource=projects/*/locations/*/restorePlans/*}:getIamPolicy'
  60. - get: '/v1/{resource=projects/*/locations/*/restorePlans/*/restores/*}:getIamPolicy'
  61. - get: '/v1/{resource=projects/*/locations/*/restorePlans/*/restores/*/volumeRestores/*}:getIamPolicy'
  62. - selector: google.iam.v1.IAMPolicy.SetIamPolicy
  63. post: '/v1/{resource=projects/*/locations/*/backupPlans/*}:setIamPolicy'
  64. body: '*'
  65. additional_bindings:
  66. - post: '/v1/{resource=projects/*/locations/*/backupPlans/*/backups/*}:setIamPolicy'
  67. body: '*'
  68. - post: '/v1/{resource=projects/*/locations/*/backupPlans/*/backups/*/volumeBackups/*}:setIamPolicy'
  69. body: '*'
  70. - post: '/v1/{resource=projects/*/locations/*/restorePlans/*}:setIamPolicy'
  71. body: '*'
  72. - post: '/v1/{resource=projects/*/locations/*/restorePlans/*/restores/*}:setIamPolicy'
  73. body: '*'
  74. - post: '/v1/{resource=projects/*/locations/*/restorePlans/*/restores/*/volumeRestores/*}:setIamPolicy'
  75. body: '*'
  76. - selector: google.iam.v1.IAMPolicy.TestIamPermissions
  77. post: '/v1/{resource=projects/*/locations/*/backupPlans/*}:testIamPermissions'
  78. body: '*'
  79. additional_bindings:
  80. - post: '/v1/{resource=projects/*/locations/*/backupPlans/*/backups/*}:testIamPermissions'
  81. body: '*'
  82. - post: '/v1/{resource=projects/*/locations/*/backupPlans/*/backups/*/volumeBackups/*}:testIamPermissions'
  83. body: '*'
  84. - post: '/v1/{resource=projects/*/locations/*/restorePlans/*}:testIamPermissions'
  85. body: '*'
  86. - post: '/v1/{resource=projects/*/locations/*/restorePlans/*/restores/*}:testIamPermissions'
  87. body: '*'
  88. - post: '/v1/{resource=projects/*/locations/*/restorePlans/*/restores/*/volumeRestores/*}:testIamPermissions'
  89. body: '*'
  90. - selector: google.longrunning.Operations.CancelOperation
  91. post: '/v1/{name=projects/*/locations/*/operations/*}:cancel'
  92. body: '*'
  93. - selector: google.longrunning.Operations.DeleteOperation
  94. delete: '/v1/{name=projects/*/locations/*}/operations'
  95. - selector: google.longrunning.Operations.GetOperation
  96. get: '/v1/{name=projects/*/locations/*/operations/*}'
  97. - selector: google.longrunning.Operations.ListOperations
  98. get: '/v1/{name=projects/*/locations/*}/operations'
  99. authentication:
  100. rules:
  101. - selector: 'google.cloud.gkebackup.v1.BackupForGKE.*'
  102. oauth:
  103. canonical_scopes: |-
  104. https://www.googleapis.com/auth/cloud-platform
  105. - selector: google.cloud.location.Locations.GetLocation
  106. oauth:
  107. canonical_scopes: |-
  108. https://www.googleapis.com/auth/cloud-platform
  109. - selector: google.cloud.location.Locations.ListLocations
  110. oauth:
  111. canonical_scopes: |-
  112. https://www.googleapis.com/auth/cloud-platform
  113. - selector: 'google.iam.v1.IAMPolicy.*'
  114. oauth:
  115. canonical_scopes: |-
  116. https://www.googleapis.com/auth/cloud-platform
  117. - selector: 'google.longrunning.Operations.*'
  118. oauth:
  119. canonical_scopes: |-
  120. https://www.googleapis.com/auth/cloud-platform