networkconnectivity_v1alpha1.yaml 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  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.networkconnectivity.v1alpha1.HubService
  7. types:
  8. - name: google.cloud.networkconnectivity.v1alpha1.OperationMetadata
  9. documentation:
  10. summary: |-
  11. The Network Connectivity API will be home to various services which provide
  12. information pertaining to network connectivity.
  13. overview: |-
  14. The Network Connectivity API will be home to various services which
  15. provide information pertaining to network connectivity. This includes
  16. information like interconnects, VPNs, VPCs, routing information, ip
  17. address details, etc. This information will help customers verify their
  18. network configurations and helps them to discover misconfigurations,
  19. inconsistencies, etc.
  20. rules:
  21. - selector: google.cloud.location.Locations.GetLocation
  22. description: Gets information about a location.
  23. - selector: google.cloud.location.Locations.ListLocations
  24. description: Lists information about the supported locations for this service.
  25. - selector: google.iam.v1.IAMPolicy.GetIamPolicy
  26. description: |-
  27. Gets the access control policy for a resource. Returns an empty policy
  28. if the resource exists and does not have a policy set.
  29. - selector: google.iam.v1.IAMPolicy.SetIamPolicy
  30. description: |-
  31. Sets the access control policy on the specified resource. Replaces
  32. any existing policy.
  33. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`
  34. errors.
  35. - selector: google.iam.v1.IAMPolicy.TestIamPermissions
  36. description: |-
  37. Returns permissions that a caller has on the specified resource. If the
  38. resource does not exist, this will return an empty set of
  39. permissions, not a `NOT_FOUND` error.
  40. Note: This operation is designed to be used for building
  41. permission-aware UIs and command-line tools, not for authorization
  42. checking. This operation may "fail open" without warning.
  43. backend:
  44. rules:
  45. - selector: google.cloud.location.Locations.GetLocation
  46. deadline: 60.0
  47. - selector: google.cloud.location.Locations.ListLocations
  48. deadline: 60.0
  49. - selector: 'google.cloud.networkconnectivity.v1alpha1.HubService.*'
  50. deadline: 60.0
  51. - selector: 'google.iam.v1.IAMPolicy.*'
  52. deadline: 60.0
  53. - selector: 'google.longrunning.Operations.*'
  54. deadline: 60.0
  55. http:
  56. rules:
  57. - selector: google.cloud.location.Locations.GetLocation
  58. get: '/v1alpha1/{name=projects/*/locations/*}'
  59. - selector: google.cloud.location.Locations.ListLocations
  60. get: '/v1alpha1/{name=projects/*}/locations'
  61. - selector: google.iam.v1.IAMPolicy.GetIamPolicy
  62. get: '/v1alpha1/{resource=projects/*/locations/global/hubs/*}:getIamPolicy'
  63. additional_bindings:
  64. - get: '/v1alpha1/{resource=projects/*/locations/*/spokes/*}:getIamPolicy'
  65. - selector: google.iam.v1.IAMPolicy.SetIamPolicy
  66. post: '/v1alpha1/{resource=projects/*/locations/global/hubs/*}:setIamPolicy'
  67. body: '*'
  68. additional_bindings:
  69. - post: '/v1alpha1/{resource=projects/*/locations/*/spokes/*}:setIamPolicy'
  70. body: '*'
  71. - selector: google.iam.v1.IAMPolicy.TestIamPermissions
  72. post: '/v1alpha1/{resource=projects/*/locations/global/hubs/*}:testIamPermissions'
  73. body: '*'
  74. additional_bindings:
  75. - post: '/v1alpha1/{resource=projects/*/locations/*/spokes/*}:testIamPermissions'
  76. body: '*'
  77. - selector: google.longrunning.Operations.CancelOperation
  78. post: '/v1alpha1/{name=projects/*/locations/*/operations/*}:cancel'
  79. body: '*'
  80. - selector: google.longrunning.Operations.DeleteOperation
  81. delete: '/v1alpha1/{name=projects/*/locations/*/operations/*}'
  82. - selector: google.longrunning.Operations.GetOperation
  83. get: '/v1alpha1/{name=projects/*/locations/*/operations/*}'
  84. - selector: google.longrunning.Operations.ListOperations
  85. get: '/v1alpha1/{name=projects/*/locations/*}/operations'
  86. authentication:
  87. rules:
  88. - selector: google.cloud.location.Locations.GetLocation
  89. oauth:
  90. canonical_scopes: |-
  91. https://www.googleapis.com/auth/cloud-platform
  92. - selector: google.cloud.location.Locations.ListLocations
  93. oauth:
  94. canonical_scopes: |-
  95. https://www.googleapis.com/auth/cloud-platform
  96. - selector: 'google.cloud.networkconnectivity.v1alpha1.HubService.*'
  97. oauth:
  98. canonical_scopes: |-
  99. https://www.googleapis.com/auth/cloud-platform
  100. - selector: 'google.iam.v1.IAMPolicy.*'
  101. oauth:
  102. canonical_scopes: |-
  103. https://www.googleapis.com/auth/cloud-platform
  104. - selector: 'google.longrunning.Operations.*'
  105. oauth:
  106. canonical_scopes: |-
  107. https://www.googleapis.com/auth/cloud-platform