ids_v1.yaml 3.9 KB

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