clouddeploy_v1.yaml 4.4 KB

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