networkservices_v1.yaml 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. type: google.api.Service
  2. config_version: 3
  3. name: networkservices.googleapis.com
  4. title: Network Services API
  5. apis:
  6. - name: google.cloud.location.Locations
  7. - name: google.cloud.networkservices.v1.NetworkServices
  8. - name: google.iam.v1.IAMPolicy
  9. - name: google.longrunning.Operations
  10. types:
  11. - name: google.cloud.networkservices.v1.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.location.Locations.GetLocation
  39. deadline: 60.0
  40. - selector: google.cloud.location.Locations.ListLocations
  41. deadline: 60.0
  42. - selector: 'google.cloud.networkservices.v1.NetworkServices.*'
  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/*/edgeCacheKeysets/*}:getIamPolicy'
  56. additional_bindings:
  57. - get: '/v1/{resource=projects/*/locations/*/edgeCacheOrigins/*}:getIamPolicy'
  58. - get: '/v1/{resource=projects/*/locations/*/edgeCacheServices/*}:getIamPolicy'
  59. - get: '/v1/{resource=projects/*/locations/*/endpointPolicies/*}:getIamPolicy'
  60. - get: '/v1/{resource=projects/*/locations/*/serviceBindings/*}:getIamPolicy'
  61. - get: '/v1/{resource=projects/*/locations/*/meshes/*}:getIamPolicy'
  62. - get: '/v1/{resource=projects/*/locations/*/gateways/*}:getIamPolicy'
  63. - selector: google.iam.v1.IAMPolicy.SetIamPolicy
  64. post: '/v1/{resource=projects/*/locations/*/edgeCacheKeysets/*}:setIamPolicy'
  65. body: '*'
  66. additional_bindings:
  67. - post: '/v1/{resource=projects/*/locations/*/edgeCacheOrigins/*}:setIamPolicy'
  68. body: '*'
  69. - post: '/v1/{resource=projects/*/locations/*/edgeCacheServices/*}:setIamPolicy'
  70. body: '*'
  71. - post: '/v1/{resource=projects/*/locations/*/endpointPolicies/*}:setIamPolicy'
  72. body: '*'
  73. - post: '/v1/{resource=projects/*/locations/*/serviceBindings/*}:setIamPolicy'
  74. body: '*'
  75. - post: '/v1/{resource=projects/*/locations/*/meshes/*}:setIamPolicy'
  76. body: '*'
  77. - post: '/v1/{resource=projects/*/locations/*/gateways/*}:setIamPolicy'
  78. body: '*'
  79. - selector: google.iam.v1.IAMPolicy.TestIamPermissions
  80. post: '/v1/{resource=projects/*/locations/*/edgeCacheKeysets/*}:testIamPermissions'
  81. body: '*'
  82. additional_bindings:
  83. - post: '/v1/{resource=projects/*/locations/*/edgeCacheOrigins/*}:testIamPermissions'
  84. body: '*'
  85. - post: '/v1/{resource=projects/*/locations/*/edgeCacheServices/*}:testIamPermissions'
  86. body: '*'
  87. - post: '/v1/{resource=projects/*/locations/*/endpointPolicies/*}:testIamPermissions'
  88. body: '*'
  89. - post: '/v1/{resource=projects/*/locations/*/serviceBindings/*}:testIamPermissions'
  90. body: '*'
  91. - post: '/v1/{resource=projects/*/locations/*/meshes/*}:testIamPermissions'
  92. body: '*'
  93. - post: '/v1/{resource=projects/*/locations/*/gateways/*}:testIamPermissions'
  94. body: '*'
  95. - selector: google.longrunning.Operations.CancelOperation
  96. post: '/v1/{name=projects/*/locations/*/operations/*}:cancel'
  97. body: '*'
  98. - selector: google.longrunning.Operations.DeleteOperation
  99. delete: '/v1/{name=projects/*/locations/*/operations/*}'
  100. - selector: google.longrunning.Operations.GetOperation
  101. get: '/v1/{name=projects/*/locations/*/operations/*}'
  102. - selector: google.longrunning.Operations.ListOperations
  103. get: '/v1/{name=projects/*/locations/*}/operations'
  104. authentication:
  105. rules:
  106. - selector: google.cloud.location.Locations.GetLocation
  107. oauth:
  108. canonical_scopes: |-
  109. https://www.googleapis.com/auth/cloud-platform
  110. - selector: google.cloud.location.Locations.ListLocations
  111. oauth:
  112. canonical_scopes: |-
  113. https://www.googleapis.com/auth/cloud-platform
  114. - selector: 'google.cloud.networkservices.v1.NetworkServices.*'
  115. oauth:
  116. canonical_scopes: |-
  117. https://www.googleapis.com/auth/cloud-platform
  118. - selector: 'google.iam.v1.IAMPolicy.*'
  119. oauth:
  120. canonical_scopes: |-
  121. https://www.googleapis.com/auth/cloud-platform
  122. - selector: 'google.longrunning.Operations.*'
  123. oauth:
  124. canonical_scopes: |-
  125. https://www.googleapis.com/auth/cloud-platform