notebooks_v1beta1.yaml 2.9 KB

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