aistreams_v1alpha1.yaml 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. type: google.api.Service
  2. config_version: 3
  3. name: aistreams.googleapis.com
  4. title: AI Streams API
  5. apis:
  6. - name: google.partner.aistreams.v1alpha1.AIStreams
  7. types:
  8. - name: google.partner.aistreams.v1alpha1.OperationMetadata
  9. documentation:
  10. rules:
  11. - selector: google.iam.v1.IAMPolicy.GetIamPolicy
  12. description: |-
  13. Gets the access control policy for a resource. Returns an empty policy
  14. if the resource exists and does not have a policy set.
  15. - selector: google.iam.v1.IAMPolicy.SetIamPolicy
  16. description: |-
  17. Sets the access control policy on the specified resource. Replaces
  18. any existing policy.
  19. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`
  20. errors.
  21. - selector: google.iam.v1.IAMPolicy.TestIamPermissions
  22. description: |-
  23. Returns permissions that a caller has on the specified resource. If the
  24. resource does not exist, this will return an empty set of
  25. permissions, not a `NOT_FOUND` error.
  26. Note: This operation is designed to be used for building
  27. permission-aware UIs and command-line tools, not for authorization
  28. checking. This operation may "fail open" without warning.
  29. backend:
  30. rules:
  31. - selector: 'google.iam.v1.IAMPolicy.*'
  32. deadline: 60.0
  33. - selector: 'google.longrunning.Operations.*'
  34. deadline: 60.0
  35. - selector: 'google.partner.aistreams.v1alpha1.AIStreams.*'
  36. deadline: 60.0
  37. http:
  38. rules:
  39. - selector: google.iam.v1.IAMPolicy.GetIamPolicy
  40. get: '/v1alpha1/{resource=projects/*/locations/*/clusters/*}:getIamPolicy'
  41. additional_bindings:
  42. - get: '/v1alpha1/{resource=projects/*/locations/*/clusters/*/streams/*}:getIamPolicy'
  43. - selector: google.iam.v1.IAMPolicy.SetIamPolicy
  44. post: '/v1alpha1/{resource=projects/*/locations/*/clusters/*}:setIamPolicy'
  45. body: '*'
  46. additional_bindings:
  47. - post: '/v1alpha1/{resource=projects/*/locations/*/clusters/*/streams/*}:setIamPolicy'
  48. body: '*'
  49. - selector: google.iam.v1.IAMPolicy.TestIamPermissions
  50. post: '/v1alpha1/{resource=projects/*/locations/*/clusters/*}:testIamPermissions'
  51. body: '*'
  52. additional_bindings:
  53. - post: '/v1alpha1/{resource=projects/*/locations/*/clusters/*/streams/*}:testIamPermissions'
  54. body: '*'
  55. - selector: google.longrunning.Operations.CancelOperation
  56. post: '/v1alpha1/{name=projects/*/locations/*/operations/*}:cancel'
  57. body: '*'
  58. - selector: google.longrunning.Operations.DeleteOperation
  59. delete: '/v1alpha1/{name=projects/*/locations/*/operations/*}'
  60. - selector: google.longrunning.Operations.GetOperation
  61. get: '/v1alpha1/{name=projects/*/locations/*/operations/*}'
  62. - selector: google.longrunning.Operations.ListOperations
  63. get: '/v1alpha1/{name=projects/*/locations/*}/operations'
  64. authentication:
  65. rules:
  66. - selector: 'google.iam.v1.IAMPolicy.*'
  67. oauth:
  68. canonical_scopes: |-
  69. https://www.googleapis.com/auth/cloud-platform
  70. - selector: 'google.longrunning.Operations.*'
  71. oauth:
  72. canonical_scopes: |-
  73. https://www.googleapis.com/auth/cloud-platform
  74. - selector: 'google.partner.aistreams.v1alpha1.AIStreams.*'
  75. oauth:
  76. canonical_scopes: |-
  77. https://www.googleapis.com/auth/cloud-platform