notebooks_v1.yaml 4.5 KB

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