networkconnectivity_v1.yaml 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. type: google.api.Service
  2. config_version: 3
  3. name: networkconnectivity.googleapis.com
  4. title: Network Connectivity API
  5. apis:
  6. - name: google.cloud.location.Locations
  7. - name: google.cloud.networkconnectivity.v1.HubService
  8. - name: google.cloud.networkconnectivity.v1.PolicyBasedRoutingService
  9. - name: google.iam.v1.IAMPolicy
  10. - name: google.longrunning.Operations
  11. types:
  12. - name: google.cloud.networkconnectivity.v1.LocationMetadata
  13. - name: google.cloud.networkconnectivity.v1.OperationMetadata
  14. documentation:
  15. summary: This API enables connectivity with and between Google Cloud resources.
  16. overview: This API enables connectivity with and between Google Cloud resources.
  17. rules:
  18. - selector: google.cloud.location.Locations.GetLocation
  19. description: Gets information about a location.
  20. - selector: google.cloud.location.Locations.ListLocations
  21. description: Lists information about the supported locations for this service.
  22. - selector: google.iam.v1.IAMPolicy.GetIamPolicy
  23. description: |-
  24. Gets the access control policy for a resource. Returns an empty policy
  25. if the resource exists and does not have a policy set.
  26. - selector: google.iam.v1.IAMPolicy.SetIamPolicy
  27. description: |-
  28. Sets the access control policy on the specified resource. Replaces
  29. any existing policy.
  30. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`
  31. errors.
  32. - selector: google.iam.v1.IAMPolicy.TestIamPermissions
  33. description: |-
  34. Returns permissions that a caller has on the specified resource. If the
  35. resource does not exist, this will return an empty set of
  36. permissions, not a `NOT_FOUND` error.
  37. Note: This operation is designed to be used for building
  38. permission-aware UIs and command-line tools, not for authorization
  39. checking. This operation may "fail open" without warning.
  40. backend:
  41. rules:
  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.cloud.networkconnectivity.v1.HubService.*'
  47. deadline: 60.0
  48. - selector: 'google.cloud.networkconnectivity.v1.PolicyBasedRoutingService.*'
  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/global/hubs/*}:getIamPolicy'
  62. additional_bindings:
  63. - get: '/v1/{resource=projects/*/locations/*/spokes/*}:getIamPolicy'
  64. - get: '/v1/{resource=projects/*/locations/global/policyBasedRoutes/*}:getIamPolicy'
  65. - get: '/v1/{resource=projects/*/locations/*/serviceConnectionMaps/*}:getIamPolicy'
  66. - get: '/v1/{resource=projects/*/locations/*/serviceConnectionPolicies/*}:getIamPolicy'
  67. - get: '/v1/{resource=projects/*/locations/*/serviceClasses/*}:getIamPolicy'
  68. - selector: google.iam.v1.IAMPolicy.SetIamPolicy
  69. post: '/v1/{resource=projects/*/locations/global/hubs/*}:setIamPolicy'
  70. body: '*'
  71. additional_bindings:
  72. - post: '/v1/{resource=projects/*/locations/*/spokes/*}:setIamPolicy'
  73. body: '*'
  74. - post: '/v1/{resource=projects/*/locations/global/policyBasedRoutes/*}:setIamPolicy'
  75. body: '*'
  76. - post: '/v1/{resource=projects/*/locations/*/serviceConnectionMaps/*}:setIamPolicy'
  77. body: '*'
  78. - post: '/v1/{resource=projects/*/locations/*/serviceConnectionPolicies/*}:setIamPolicy'
  79. body: '*'
  80. - post: '/v1/{resource=projects/*/locations/*/serviceClasses/*}:setIamPolicy'
  81. body: '*'
  82. - selector: google.iam.v1.IAMPolicy.TestIamPermissions
  83. post: '/v1/{resource=projects/*/locations/global/hubs/*}:testIamPermissions'
  84. body: '*'
  85. additional_bindings:
  86. - post: '/v1/{resource=projects/*/locations/*/spokes/*}:testIamPermissions'
  87. body: '*'
  88. - post: '/v1/{resource=projects/*/locations/global/policyBasedRoutes/*}:testIamPermissions'
  89. body: '*'
  90. - post: '/v1/{resource=projects/*/locations/*/serviceConnectionMaps/*}:testIamPermissions'
  91. body: '*'
  92. - post: '/v1/{resource=projects/*/locations/*/serviceConnectionPolicies/*}:testIamPermissions'
  93. body: '*'
  94. - post: '/v1/{resource=projects/*/locations/*/serviceClasses/*}:testIamPermissions'
  95. body: '*'
  96. - selector: google.longrunning.Operations.CancelOperation
  97. post: '/v1/{name=projects/*/locations/*/operations/*}:cancel'
  98. body: '*'
  99. - selector: google.longrunning.Operations.DeleteOperation
  100. delete: '/v1/{name=projects/*/locations/*/operations/*}'
  101. - selector: google.longrunning.Operations.GetOperation
  102. get: '/v1/{name=projects/*/locations/*/operations/*}'
  103. - selector: google.longrunning.Operations.ListOperations
  104. get: '/v1/{name=projects/*/locations/*}/operations'
  105. authentication:
  106. rules:
  107. - selector: google.cloud.location.Locations.GetLocation
  108. oauth:
  109. canonical_scopes: |-
  110. https://www.googleapis.com/auth/cloud-platform
  111. - selector: google.cloud.location.Locations.ListLocations
  112. oauth:
  113. canonical_scopes: |-
  114. https://www.googleapis.com/auth/cloud-platform
  115. - selector: 'google.cloud.networkconnectivity.v1.HubService.*'
  116. oauth:
  117. canonical_scopes: |-
  118. https://www.googleapis.com/auth/cloud-platform
  119. - selector: 'google.cloud.networkconnectivity.v1.PolicyBasedRoutingService.*'
  120. oauth:
  121. canonical_scopes: |-
  122. https://www.googleapis.com/auth/cloud-platform
  123. - selector: 'google.iam.v1.IAMPolicy.*'
  124. oauth:
  125. canonical_scopes: |-
  126. https://www.googleapis.com/auth/cloud-platform
  127. - selector: 'google.longrunning.Operations.*'
  128. oauth:
  129. canonical_scopes: |-
  130. https://www.googleapis.com/auth/cloud-platform