privateca_v1.yaml 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. type: google.api.Service
  2. config_version: 3
  3. name: privateca.googleapis.com
  4. title: Certificate Authority API
  5. apis:
  6. - name: google.cloud.security.privateca.v1.CertificateAuthorityService
  7. types:
  8. - name: google.cloud.security.privateca.v1.OperationMetadata
  9. documentation:
  10. summary: |-
  11. The Certificate Authority Service API is a highly-available, scalable
  12. service that enables you to simplify and automate the management of
  13. private certificate authorities (CAs) while staying in control of your
  14. private keys."
  15. rules:
  16. - selector: google.cloud.location.Locations.GetLocation
  17. description: Gets information about a location.
  18. - selector: google.cloud.location.Locations.ListLocations
  19. description: Lists information about the supported locations for this service.
  20. - selector: google.iam.v1.IAMPolicy.GetIamPolicy
  21. description: |-
  22. Gets the access control policy for a resource. Returns an empty policy
  23. if the resource exists and does not have a policy set.
  24. - selector: google.iam.v1.IAMPolicy.SetIamPolicy
  25. description: |-
  26. Sets the access control policy on the specified resource. Replaces
  27. any existing policy.
  28. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`
  29. errors.
  30. - selector: google.iam.v1.IAMPolicy.TestIamPermissions
  31. description: |-
  32. Returns permissions that a caller has on the specified resource. If the
  33. resource does not exist, this will return an empty set of
  34. permissions, not a `NOT_FOUND` error.
  35. Note: This operation is designed to be used for building
  36. permission-aware UIs and command-line tools, not for authorization
  37. checking. This operation may "fail open" without warning.
  38. backend:
  39. rules:
  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.cloud.security.privateca.v1.CertificateAuthorityService.*'
  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: '/v1/{name=projects/*/locations/*}'
  56. - selector: google.cloud.location.Locations.ListLocations
  57. get: '/v1/{name=projects/*}/locations'
  58. - selector: google.iam.v1.IAMPolicy.GetIamPolicy
  59. get: '/v1/{resource=projects/*/locations/*/caPools/*}:getIamPolicy'
  60. additional_bindings:
  61. - get: '/v1/{resource=projects/*/locations/*/certificateTemplates/*}:getIamPolicy'
  62. - get: '/v1/{resource=projects/*/locations/*/caPools/*/certificateAuthorities/*/certificateRevocationLists/*}:getIamPolicy'
  63. - selector: google.iam.v1.IAMPolicy.SetIamPolicy
  64. post: '/v1/{resource=projects/*/locations/*/caPools/*}:setIamPolicy'
  65. body: '*'
  66. additional_bindings:
  67. - post: '/v1/{resource=projects/*/locations/*/certificateTemplates/*}:setIamPolicy'
  68. body: '*'
  69. - post: '/v1/{resource=projects/*/locations/*/caPools/*/certificateAuthorities/*/certificateRevocationLists/*}:setIamPolicy'
  70. body: '*'
  71. - selector: google.iam.v1.IAMPolicy.TestIamPermissions
  72. post: '/v1/{resource=projects/*/locations/*/caPools/*}:testIamPermissions'
  73. body: '*'
  74. additional_bindings:
  75. - post: '/v1/{resource=projects/*/locations/*/certificateTemplates/*}:testIamPermissions'
  76. body: '*'
  77. - post: '/v1/{resource=projects/*/locations/*/caPools/*/certificateAuthorities/*/certificateRevocationLists/*}:testIamPermissions'
  78. body: '*'
  79. - selector: google.longrunning.Operations.CancelOperation
  80. post: '/v1/{name=projects/*/locations/*/operations/*}:cancel'
  81. body: '*'
  82. - selector: google.longrunning.Operations.DeleteOperation
  83. delete: '/v1/{name=projects/*/locations/*/operations/*}'
  84. - selector: google.longrunning.Operations.GetOperation
  85. get: '/v1/{name=projects/*/locations/*/operations/*}'
  86. - selector: google.longrunning.Operations.ListOperations
  87. get: '/v1/{name=projects/*/locations/*}/operations'
  88. authentication:
  89. rules:
  90. - selector: google.cloud.location.Locations.GetLocation
  91. oauth:
  92. canonical_scopes: |-
  93. https://www.googleapis.com/auth/cloud-platform
  94. - selector: google.cloud.location.Locations.ListLocations
  95. oauth:
  96. canonical_scopes: |-
  97. https://www.googleapis.com/auth/cloud-platform
  98. - selector: 'google.cloud.security.privateca.v1.CertificateAuthorityService.*'
  99. oauth:
  100. canonical_scopes: |-
  101. https://www.googleapis.com/auth/cloud-platform
  102. - selector: 'google.iam.v1.IAMPolicy.*'
  103. oauth:
  104. canonical_scopes: |-
  105. https://www.googleapis.com/auth/cloud-platform
  106. - selector: 'google.longrunning.Operations.*'
  107. oauth:
  108. canonical_scopes: |-
  109. https://www.googleapis.com/auth/cloud-platform