apigateway_v1.yaml 4.3 KB

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