notebooks_v1beta1.yaml 3.9 KB

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