bigquery_v2.yaml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. type: google.api.Service
  2. config_version: 3
  3. name: bigquery.googleapis.com
  4. title: BigQuery API
  5. apis:
  6. - name: google.cloud.bigquery.v2.ModelService
  7. documentation:
  8. summary: 'A data platform for customers to create, manage, share and query data.'
  9. rules:
  10. - selector: google.iam.v1.IAMPolicy.GetIamPolicy
  11. description: |-
  12. Gets the access control policy for a resource. Returns an empty policy
  13. if the resource exists and does not have a policy set.
  14. - selector: google.iam.v1.IAMPolicy.SetIamPolicy
  15. description: |-
  16. Sets the access control policy on the specified resource. Replaces
  17. any existing policy.
  18. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`
  19. errors.
  20. - selector: google.iam.v1.IAMPolicy.TestIamPermissions
  21. description: |-
  22. Returns permissions that a caller has on the specified resource. If the
  23. resource does not exist, this will return an empty set of
  24. permissions, not a `NOT_FOUND` error.
  25. Note: This operation is designed to be used for building
  26. permission-aware UIs and command-line tools, not for authorization
  27. checking. This operation may "fail open" without warning.
  28. http:
  29. rules:
  30. - selector: google.iam.v1.IAMPolicy.GetIamPolicy
  31. post: '/bigquery/v2/{resource=projects/*/datasets/*}:getIamPolicy'
  32. body: '*'
  33. additional_bindings:
  34. - post: '/bigquery/v2/{resource=projects/*/datasets/*/tables/*}:getIamPolicy'
  35. body: '*'
  36. - post: '/bigquery/v2/{resource=projects/*/datasets/*/tables/*/rowAccessPolicies/*}:getIamPolicy'
  37. body: '*'
  38. - selector: google.iam.v1.IAMPolicy.SetIamPolicy
  39. post: '/bigquery/v2/{resource=projects/*/datasets/*}:setIamPolicy'
  40. body: '*'
  41. additional_bindings:
  42. - post: '/bigquery/v2/{resource=projects/*/datasets/*/tables/*}:setIamPolicy'
  43. body: '*'
  44. - selector: google.iam.v1.IAMPolicy.TestIamPermissions
  45. post: '/bigquery/v2/{resource=projects/*/datasets/*}:testIamPermissions'
  46. body: '*'
  47. additional_bindings:
  48. - post: '/bigquery/v2/{resource=projects/*/datasets/*/tables/*}:testIamPermissions'
  49. body: '*'
  50. - post: '/bigquery/v2/{resource=projects/*/datasets/*/tables/*/rowAccessPolicies/*}:testIamPermissions'
  51. body: '*'
  52. authentication:
  53. rules:
  54. - selector: google.cloud.bigquery.v2.ModelService.DeleteModel
  55. oauth:
  56. canonical_scopes: |-
  57. https://www.googleapis.com/auth/bigquery,
  58. https://www.googleapis.com/auth/cloud-platform
  59. - selector: google.cloud.bigquery.v2.ModelService.GetModel
  60. oauth:
  61. canonical_scopes: |-
  62. https://www.googleapis.com/auth/bigquery,
  63. https://www.googleapis.com/auth/bigquery.readonly,
  64. https://www.googleapis.com/auth/cloud-platform,
  65. https://www.googleapis.com/auth/cloud-platform.read-only
  66. - selector: google.cloud.bigquery.v2.ModelService.ListModels
  67. oauth:
  68. canonical_scopes: |-
  69. https://www.googleapis.com/auth/bigquery,
  70. https://www.googleapis.com/auth/bigquery.readonly,
  71. https://www.googleapis.com/auth/cloud-platform,
  72. https://www.googleapis.com/auth/cloud-platform.read-only
  73. - selector: google.cloud.bigquery.v2.ModelService.PatchModel
  74. oauth:
  75. canonical_scopes: |-
  76. https://www.googleapis.com/auth/bigquery,
  77. https://www.googleapis.com/auth/cloud-platform
  78. - selector: google.iam.v1.IAMPolicy.GetIamPolicy
  79. oauth:
  80. canonical_scopes: |-
  81. https://www.googleapis.com/auth/bigquery,
  82. https://www.googleapis.com/auth/bigquery.readonly,
  83. https://www.googleapis.com/auth/cloud-platform,
  84. https://www.googleapis.com/auth/cloud-platform.read-only
  85. - selector: google.iam.v1.IAMPolicy.SetIamPolicy
  86. oauth:
  87. canonical_scopes: |-
  88. https://www.googleapis.com/auth/bigquery,
  89. https://www.googleapis.com/auth/cloud-platform
  90. - selector: google.iam.v1.IAMPolicy.TestIamPermissions
  91. oauth:
  92. canonical_scopes: |-
  93. https://www.googleapis.com/auth/bigquery,
  94. https://www.googleapis.com/auth/bigquery.readonly,
  95. https://www.googleapis.com/auth/cloud-platform,
  96. https://www.googleapis.com/auth/cloud-platform.read-only