@xeonr/upload-pool-sdk 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (402) hide show
  1. package/README.md +83 -0
  2. package/dist/errors.d.ts +14 -0
  3. package/dist/errors.d.ts.map +1 -0
  4. package/dist/errors.js +15 -0
  5. package/dist/errors.js.map +1 -0
  6. package/dist/index.d.ts +27 -0
  7. package/dist/index.d.ts.map +1 -0
  8. package/dist/index.js +27 -0
  9. package/dist/index.js.map +1 -0
  10. package/dist/job-context.d.ts +18 -0
  11. package/dist/job-context.d.ts.map +1 -0
  12. package/dist/job-context.js +176 -0
  13. package/dist/job-context.js.map +1 -0
  14. package/dist/pool.d.ts +16 -0
  15. package/dist/pool.d.ts.map +1 -0
  16. package/dist/pool.js +111 -0
  17. package/dist/pool.js.map +1 -0
  18. package/dist/protocol/buf/validate/expression_pb.d.ts +128 -0
  19. package/dist/protocol/buf/validate/expression_pb.d.ts.map +1 -0
  20. package/dist/protocol/buf/validate/expression_pb.js +34 -0
  21. package/dist/protocol/buf/validate/expression_pb.js.map +1 -0
  22. package/dist/protocol/buf/validate/priv/private_pb.d.ts +54 -0
  23. package/dist/protocol/buf/validate/priv/private_pb.d.ts.map +1 -0
  24. package/dist/protocol/buf/validate/priv/private_pb.js +36 -0
  25. package/dist/protocol/buf/validate/priv/private_pb.js.map +1 -0
  26. package/dist/protocol/buf/validate/validate_pb.d.ts +3685 -0
  27. package/dist/protocol/buf/validate/validate_pb.d.ts.map +1 -0
  28. package/dist/protocol/buf/validate/validate_pb.js +223 -0
  29. package/dist/protocol/buf/validate/validate_pb.js.map +1 -0
  30. package/dist/protocol/gnostic/discovery/v1/discovery_pb.d.ts +816 -0
  31. package/dist/protocol/gnostic/discovery/v1/discovery_pb.d.ts.map +1 -0
  32. package/dist/protocol/gnostic/discovery/v1/discovery_pb.js +160 -0
  33. package/dist/protocol/gnostic/discovery/v1/discovery_pb.js.map +1 -0
  34. package/dist/protocol/gnostic/openapi/v2/openapiv2_pb.d.ts +2229 -0
  35. package/dist/protocol/gnostic/openapi/v2/openapiv2_pb.d.ts.map +1 -0
  36. package/dist/protocol/gnostic/openapi/v2/openapiv2_pb.js +320 -0
  37. package/dist/protocol/gnostic/openapi/v2/openapiv2_pb.js.map +1 -0
  38. package/dist/protocol/gnostic/openapi/v3/annotations_pb.d.ts +24 -0
  39. package/dist/protocol/gnostic/openapi/v3/annotations_pb.d.ts.map +1 -0
  40. package/dist/protocol/gnostic/openapi/v3/annotations_pb.js +37 -0
  41. package/dist/protocol/gnostic/openapi/v3/annotations_pb.js.map +1 -0
  42. package/dist/protocol/gnostic/openapi/v3/openapiv3_pb.d.ts +2245 -0
  43. package/dist/protocol/gnostic/openapi/v3/openapiv3_pb.d.ts.map +1 -0
  44. package/dist/protocol/gnostic/openapi/v3/openapiv3_pb.js +410 -0
  45. package/dist/protocol/gnostic/openapi/v3/openapiv3_pb.js.map +1 -0
  46. package/dist/protocol/google/api/annotations_pb.d.ts +14 -0
  47. package/dist/protocol/google/api/annotations_pb.d.ts.map +1 -0
  48. package/dist/protocol/google/api/annotations_pb.js +27 -0
  49. package/dist/protocol/google/api/annotations_pb.js.map +1 -0
  50. package/dist/protocol/google/api/client_pb.d.ts +1034 -0
  51. package/dist/protocol/google/api/client_pb.d.ts.map +1 -0
  52. package/dist/protocol/google/api/client_pb.js +338 -0
  53. package/dist/protocol/google/api/client_pb.js.map +1 -0
  54. package/dist/protocol/google/api/expr/v1alpha1/checked_pb.d.ts +672 -0
  55. package/dist/protocol/google/api/expr/v1alpha1/checked_pb.d.ts.map +1 -0
  56. package/dist/protocol/google/api/expr/v1alpha1/checked_pb.js +176 -0
  57. package/dist/protocol/google/api/expr/v1alpha1/checked_pb.js.map +1 -0
  58. package/dist/protocol/google/api/expr/v1alpha1/eval_pb.d.ts +185 -0
  59. package/dist/protocol/google/api/expr/v1alpha1/eval_pb.d.ts.map +1 -0
  60. package/dist/protocol/google/api/expr/v1alpha1/eval_pb.js +46 -0
  61. package/dist/protocol/google/api/expr/v1alpha1/eval_pb.js.map +1 -0
  62. package/dist/protocol/google/api/expr/v1alpha1/explain_pb.d.ts +68 -0
  63. package/dist/protocol/google/api/expr/v1alpha1/explain_pb.d.ts.map +1 -0
  64. package/dist/protocol/google/api/expr/v1alpha1/explain_pb.js +32 -0
  65. package/dist/protocol/google/api/expr/v1alpha1/explain_pb.js.map +1 -0
  66. package/dist/protocol/google/api/expr/v1alpha1/syntax_pb.d.ts +796 -0
  67. package/dist/protocol/google/api/expr/v1alpha1/syntax_pb.d.ts.map +1 -0
  68. package/dist/protocol/google/api/expr/v1alpha1/syntax_pb.js +128 -0
  69. package/dist/protocol/google/api/expr/v1alpha1/syntax_pb.js.map +1 -0
  70. package/dist/protocol/google/api/expr/v1alpha1/value_pb.d.ts +224 -0
  71. package/dist/protocol/google/api/expr/v1alpha1/value_pb.d.ts.map +1 -0
  72. package/dist/protocol/google/api/expr/v1alpha1/value_pb.js +45 -0
  73. package/dist/protocol/google/api/expr/v1alpha1/value_pb.js.map +1 -0
  74. package/dist/protocol/google/api/expr/v1beta1/decl_pb.d.ts +151 -0
  75. package/dist/protocol/google/api/expr/v1beta1/decl_pb.d.ts.map +1 -0
  76. package/dist/protocol/google/api/expr/v1beta1/decl_pb.js +41 -0
  77. package/dist/protocol/google/api/expr/v1beta1/decl_pb.js.map +1 -0
  78. package/dist/protocol/google/api/expr/v1beta1/eval_pb.d.ts +203 -0
  79. package/dist/protocol/google/api/expr/v1beta1/eval_pb.d.ts.map +1 -0
  80. package/dist/protocol/google/api/expr/v1beta1/eval_pb.js +52 -0
  81. package/dist/protocol/google/api/expr/v1beta1/eval_pb.js.map +1 -0
  82. package/dist/protocol/google/api/expr/v1beta1/expr_pb.d.ts +504 -0
  83. package/dist/protocol/google/api/expr/v1beta1/expr_pb.d.ts.map +1 -0
  84. package/dist/protocol/google/api/expr/v1beta1/expr_pb.js +72 -0
  85. package/dist/protocol/google/api/expr/v1beta1/expr_pb.js.map +1 -0
  86. package/dist/protocol/google/api/expr/v1beta1/source_pb.d.ts +86 -0
  87. package/dist/protocol/google/api/expr/v1beta1/source_pb.d.ts.map +1 -0
  88. package/dist/protocol/google/api/expr/v1beta1/source_pb.js +30 -0
  89. package/dist/protocol/google/api/expr/v1beta1/source_pb.js.map +1 -0
  90. package/dist/protocol/google/api/expr/v1beta1/value_pb.d.ts +224 -0
  91. package/dist/protocol/google/api/expr/v1beta1/value_pb.d.ts.map +1 -0
  92. package/dist/protocol/google/api/expr/v1beta1/value_pb.js +46 -0
  93. package/dist/protocol/google/api/expr/v1beta1/value_pb.js.map +1 -0
  94. package/dist/protocol/google/api/field_behavior_pb.d.ts +122 -0
  95. package/dist/protocol/google/api/field_behavior_pb.d.ts.map +1 -0
  96. package/dist/protocol/google/api/field_behavior_pb.js +136 -0
  97. package/dist/protocol/google/api/field_behavior_pb.js.map +1 -0
  98. package/dist/protocol/google/api/field_info_pb.d.ts +140 -0
  99. package/dist/protocol/google/api/field_info_pb.d.ts.map +1 -0
  100. package/dist/protocol/google/api/field_info_pb.js +108 -0
  101. package/dist/protocol/google/api/field_info_pb.js.map +1 -0
  102. package/dist/protocol/google/api/http_pb.d.ts +441 -0
  103. package/dist/protocol/google/api/http_pb.d.ts.map +1 -0
  104. package/dist/protocol/google/api/http_pb.js +34 -0
  105. package/dist/protocol/google/api/http_pb.js.map +1 -0
  106. package/dist/protocol/google/api/httpbody_pb.d.ts +81 -0
  107. package/dist/protocol/google/api/httpbody_pb.d.ts.map +1 -0
  108. package/dist/protocol/google/api/httpbody_pb.js +25 -0
  109. package/dist/protocol/google/api/httpbody_pb.js.map +1 -0
  110. package/dist/protocol/google/api/launch_stage_pb.d.ts +87 -0
  111. package/dist/protocol/google/api/launch_stage_pb.d.ts.map +1 -0
  112. package/dist/protocol/google/api/launch_stage_pb.js +101 -0
  113. package/dist/protocol/google/api/launch_stage_pb.js.map +1 -0
  114. package/dist/protocol/google/api/resource_pb.d.ts +304 -0
  115. package/dist/protocol/google/api/resource_pb.d.ts.map +1 -0
  116. package/dist/protocol/google/api/resource_pb.js +116 -0
  117. package/dist/protocol/google/api/resource_pb.js.map +1 -0
  118. package/dist/protocol/google/api/routing_pb.d.ts +476 -0
  119. package/dist/protocol/google/api/routing_pb.d.ts.map +1 -0
  120. package/dist/protocol/google/api/routing_pb.js +36 -0
  121. package/dist/protocol/google/api/routing_pb.js.map +1 -0
  122. package/dist/protocol/google/api/visibility_pb.d.ts +128 -0
  123. package/dist/protocol/google/api/visibility_pb.d.ts.map +1 -0
  124. package/dist/protocol/google/api/visibility_pb.js +66 -0
  125. package/dist/protocol/google/api/visibility_pb.js.map +1 -0
  126. package/dist/protocol/google/bytestream/bytestream_pb.d.ts +278 -0
  127. package/dist/protocol/google/bytestream/bytestream_pb.d.ts.map +1 -0
  128. package/dist/protocol/google/bytestream/bytestream_pb.js +77 -0
  129. package/dist/protocol/google/bytestream/bytestream_pb.js.map +1 -0
  130. package/dist/protocol/google/geo/type/viewport_pb.d.ts +66 -0
  131. package/dist/protocol/google/geo/type/viewport_pb.d.ts.map +1 -0
  132. package/dist/protocol/google/geo/type/viewport_pb.js +26 -0
  133. package/dist/protocol/google/geo/type/viewport_pb.js.map +1 -0
  134. package/dist/protocol/google/iam/v1/iam_policy_pb.d.ts +193 -0
  135. package/dist/protocol/google/iam/v1/iam_policy_pb.d.ts.map +1 -0
  136. package/dist/protocol/google/iam/v1/iam_policy_pb.js +76 -0
  137. package/dist/protocol/google/iam/v1/iam_policy_pb.js.map +1 -0
  138. package/dist/protocol/google/iam/v1/options_pb.d.ts +42 -0
  139. package/dist/protocol/google/iam/v1/options_pb.d.ts.map +1 -0
  140. package/dist/protocol/google/iam/v1/options_pb.js +24 -0
  141. package/dist/protocol/google/iam/v1/options_pb.js.map +1 -0
  142. package/dist/protocol/google/iam/v1/policy_pb.d.ts +571 -0
  143. package/dist/protocol/google/iam/v1/policy_pb.d.ts.map +1 -0
  144. package/dist/protocol/google/iam/v1/policy_pb.js +152 -0
  145. package/dist/protocol/google/iam/v1/policy_pb.js.map +1 -0
  146. package/dist/protocol/google/longrunning/operations_pb.d.ts +398 -0
  147. package/dist/protocol/google/longrunning/operations_pb.d.ts.map +1 -0
  148. package/dist/protocol/google/longrunning/operations_pb.js +89 -0
  149. package/dist/protocol/google/longrunning/operations_pb.js.map +1 -0
  150. package/dist/protocol/google/rpc/code_pb.d.ts +228 -0
  151. package/dist/protocol/google/rpc/code_pb.d.ts.map +1 -0
  152. package/dist/protocol/google/rpc/code_pb.js +242 -0
  153. package/dist/protocol/google/rpc/code_pb.js.map +1 -0
  154. package/dist/protocol/google/rpc/context/attribute_context_pb.d.ts +560 -0
  155. package/dist/protocol/google/rpc/context/attribute_context_pb.d.ts.map +1 -0
  156. package/dist/protocol/google/rpc/context/attribute_context_pb.js +55 -0
  157. package/dist/protocol/google/rpc/context/attribute_context_pb.js.map +1 -0
  158. package/dist/protocol/google/rpc/error_details_pb.d.ts +581 -0
  159. package/dist/protocol/google/rpc/error_details_pb.d.ts.map +1 -0
  160. package/dist/protocol/google/rpc/error_details_pb.js +90 -0
  161. package/dist/protocol/google/rpc/error_details_pb.js.map +1 -0
  162. package/dist/protocol/google/rpc/status_pb.d.ts +49 -0
  163. package/dist/protocol/google/rpc/status_pb.d.ts.map +1 -0
  164. package/dist/protocol/google/rpc/status_pb.js +25 -0
  165. package/dist/protocol/google/rpc/status_pb.js.map +1 -0
  166. package/dist/protocol/google/type/calendar_period_pb.d.ts +71 -0
  167. package/dist/protocol/google/type/calendar_period_pb.d.ts.map +1 -0
  168. package/dist/protocol/google/type/calendar_period_pb.js +85 -0
  169. package/dist/protocol/google/type/calendar_period_pb.js.map +1 -0
  170. package/dist/protocol/google/type/color_pb.d.ts +176 -0
  171. package/dist/protocol/google/type/color_pb.d.ts.map +1 -0
  172. package/dist/protocol/google/type/color_pb.js +25 -0
  173. package/dist/protocol/google/type/color_pb.js.map +1 -0
  174. package/dist/protocol/google/type/date_pb.d.ts +56 -0
  175. package/dist/protocol/google/type/date_pb.d.ts.map +1 -0
  176. package/dist/protocol/google/type/date_pb.js +24 -0
  177. package/dist/protocol/google/type/date_pb.js.map +1 -0
  178. package/dist/protocol/google/type/datetime_pb.d.ts +148 -0
  179. package/dist/protocol/google/type/datetime_pb.d.ts.map +1 -0
  180. package/dist/protocol/google/type/datetime_pb.js +30 -0
  181. package/dist/protocol/google/type/datetime_pb.js.map +1 -0
  182. package/dist/protocol/google/type/dayofweek_pb.d.ts +65 -0
  183. package/dist/protocol/google/type/dayofweek_pb.d.ts.map +1 -0
  184. package/dist/protocol/google/type/dayofweek_pb.js +79 -0
  185. package/dist/protocol/google/type/dayofweek_pb.js.map +1 -0
  186. package/dist/protocol/google/type/decimal_pb.d.ts +89 -0
  187. package/dist/protocol/google/type/decimal_pb.d.ts.map +1 -0
  188. package/dist/protocol/google/type/decimal_pb.js +24 -0
  189. package/dist/protocol/google/type/decimal_pb.js.map +1 -0
  190. package/dist/protocol/google/type/expr_pb.d.ts +78 -0
  191. package/dist/protocol/google/type/expr_pb.d.ts.map +1 -0
  192. package/dist/protocol/google/type/expr_pb.js +24 -0
  193. package/dist/protocol/google/type/expr_pb.js.map +1 -0
  194. package/dist/protocol/google/type/fraction_pb.d.ts +32 -0
  195. package/dist/protocol/google/type/fraction_pb.d.ts.map +1 -0
  196. package/dist/protocol/google/type/fraction_pb.js +24 -0
  197. package/dist/protocol/google/type/fraction_pb.js.map +1 -0
  198. package/dist/protocol/google/type/interval_pb.d.ts +43 -0
  199. package/dist/protocol/google/type/interval_pb.d.ts.map +1 -0
  200. package/dist/protocol/google/type/interval_pb.js +25 -0
  201. package/dist/protocol/google/type/interval_pb.js.map +1 -0
  202. package/dist/protocol/google/type/latlng_pb.d.ts +35 -0
  203. package/dist/protocol/google/type/latlng_pb.d.ts.map +1 -0
  204. package/dist/protocol/google/type/latlng_pb.js +24 -0
  205. package/dist/protocol/google/type/latlng_pb.js.map +1 -0
  206. package/dist/protocol/google/type/localized_text_pb.d.ts +35 -0
  207. package/dist/protocol/google/type/localized_text_pb.d.ts.map +1 -0
  208. package/dist/protocol/google/type/localized_text_pb.js +24 -0
  209. package/dist/protocol/google/type/localized_text_pb.js.map +1 -0
  210. package/dist/protocol/google/type/money_pb.d.ts +43 -0
  211. package/dist/protocol/google/type/money_pb.d.ts.map +1 -0
  212. package/dist/protocol/google/type/money_pb.js +24 -0
  213. package/dist/protocol/google/type/money_pb.js.map +1 -0
  214. package/dist/protocol/google/type/month_pb.d.ts +95 -0
  215. package/dist/protocol/google/type/month_pb.d.ts.map +1 -0
  216. package/dist/protocol/google/type/month_pb.js +109 -0
  217. package/dist/protocol/google/type/month_pb.js.map +1 -0
  218. package/dist/protocol/google/type/phone_number_pb.d.ts +145 -0
  219. package/dist/protocol/google/type/phone_number_pb.d.ts.map +1 -0
  220. package/dist/protocol/google/type/phone_number_pb.js +29 -0
  221. package/dist/protocol/google/type/phone_number_pb.js.map +1 -0
  222. package/dist/protocol/google/type/postal_address_pb.d.ts +160 -0
  223. package/dist/protocol/google/type/postal_address_pb.d.ts.map +1 -0
  224. package/dist/protocol/google/type/postal_address_pb.js +24 -0
  225. package/dist/protocol/google/type/postal_address_pb.js.map +1 -0
  226. package/dist/protocol/google/type/quaternion_pb.d.ts +99 -0
  227. package/dist/protocol/google/type/quaternion_pb.d.ts.map +1 -0
  228. package/dist/protocol/google/type/quaternion_pb.js +24 -0
  229. package/dist/protocol/google/type/quaternion_pb.js.map +1 -0
  230. package/dist/protocol/google/type/timeofday_pb.d.ts +52 -0
  231. package/dist/protocol/google/type/timeofday_pb.d.ts.map +1 -0
  232. package/dist/protocol/google/type/timeofday_pb.js +24 -0
  233. package/dist/protocol/google/type/timeofday_pb.js.map +1 -0
  234. package/dist/protocol/uplim/api/v1/account_pb.d.ts +144 -0
  235. package/dist/protocol/uplim/api/v1/account_pb.d.ts.map +1 -0
  236. package/dist/protocol/uplim/api/v1/account_pb.js +100 -0
  237. package/dist/protocol/uplim/api/v1/account_pb.js.map +1 -0
  238. package/dist/protocol/uplim/api/v1/auth_pb.d.ts +231 -0
  239. package/dist/protocol/uplim/api/v1/auth_pb.d.ts.map +1 -0
  240. package/dist/protocol/uplim/api/v1/auth_pb.js +65 -0
  241. package/dist/protocol/uplim/api/v1/auth_pb.js.map +1 -0
  242. package/dist/protocol/uplim/api/v1/buckets_pb.d.ts +1920 -0
  243. package/dist/protocol/uplim/api/v1/buckets_pb.d.ts.map +1 -0
  244. package/dist/protocol/uplim/api/v1/buckets_pb.js +471 -0
  245. package/dist/protocol/uplim/api/v1/buckets_pb.js.map +1 -0
  246. package/dist/protocol/uplim/api/v1/content_type_matcher_pb.d.ts +398 -0
  247. package/dist/protocol/uplim/api/v1/content_type_matcher_pb.d.ts.map +1 -0
  248. package/dist/protocol/uplim/api/v1/content_type_matcher_pb.js +79 -0
  249. package/dist/protocol/uplim/api/v1/content_type_matcher_pb.js.map +1 -0
  250. package/dist/protocol/uplim/api/v1/events_pb.d.ts +767 -0
  251. package/dist/protocol/uplim/api/v1/events_pb.d.ts.map +1 -0
  252. package/dist/protocol/uplim/api/v1/events_pb.js +242 -0
  253. package/dist/protocol/uplim/api/v1/events_pb.js.map +1 -0
  254. package/dist/protocol/uplim/api/v1/integration_admin_pb.d.ts +1059 -0
  255. package/dist/protocol/uplim/api/v1/integration_admin_pb.d.ts.map +1 -0
  256. package/dist/protocol/uplim/api/v1/integration_admin_pb.js +209 -0
  257. package/dist/protocol/uplim/api/v1/integration_admin_pb.js.map +1 -0
  258. package/dist/protocol/uplim/api/v1/integration_install_pb.d.ts +313 -0
  259. package/dist/protocol/uplim/api/v1/integration_install_pb.d.ts.map +1 -0
  260. package/dist/protocol/uplim/api/v1/integration_install_pb.js +129 -0
  261. package/dist/protocol/uplim/api/v1/integration_install_pb.js.map +1 -0
  262. package/dist/protocol/uplim/api/v1/integration_types_pb.d.ts +767 -0
  263. package/dist/protocol/uplim/api/v1/integration_types_pb.d.ts.map +1 -0
  264. package/dist/protocol/uplim/api/v1/integration_types_pb.js +221 -0
  265. package/dist/protocol/uplim/api/v1/integration_types_pb.js.map +1 -0
  266. package/dist/protocol/uplim/api/v1/integrations_pb.d.ts +807 -0
  267. package/dist/protocol/uplim/api/v1/integrations_pb.d.ts.map +1 -0
  268. package/dist/protocol/uplim/api/v1/integrations_pb.js +169 -0
  269. package/dist/protocol/uplim/api/v1/integrations_pb.js.map +1 -0
  270. package/dist/protocol/uplim/api/v1/internal_pb.d.ts +204 -0
  271. package/dist/protocol/uplim/api/v1/internal_pb.d.ts.map +1 -0
  272. package/dist/protocol/uplim/api/v1/internal_pb.js +118 -0
  273. package/dist/protocol/uplim/api/v1/internal_pb.js.map +1 -0
  274. package/dist/protocol/uplim/api/v1/metadata_pb.d.ts +265 -0
  275. package/dist/protocol/uplim/api/v1/metadata_pb.d.ts.map +1 -0
  276. package/dist/protocol/uplim/api/v1/metadata_pb.js +50 -0
  277. package/dist/protocol/uplim/api/v1/metadata_pb.js.map +1 -0
  278. package/dist/protocol/uplim/api/v1/public-buckets_pb.d.ts +64 -0
  279. package/dist/protocol/uplim/api/v1/public-buckets_pb.d.ts.map +1 -0
  280. package/dist/protocol/uplim/api/v1/public-buckets_pb.js +28 -0
  281. package/dist/protocol/uplim/api/v1/public-buckets_pb.js.map +1 -0
  282. package/dist/protocol/uplim/api/v1/public-uploads_pb.d.ts +461 -0
  283. package/dist/protocol/uplim/api/v1/public-uploads_pb.d.ts.map +1 -0
  284. package/dist/protocol/uplim/api/v1/public-uploads_pb.js +139 -0
  285. package/dist/protocol/uplim/api/v1/public-uploads_pb.js.map +1 -0
  286. package/dist/protocol/uplim/api/v1/upload-aliases_pb.d.ts +396 -0
  287. package/dist/protocol/uplim/api/v1/upload-aliases_pb.d.ts.map +1 -0
  288. package/dist/protocol/uplim/api/v1/upload-aliases_pb.js +69 -0
  289. package/dist/protocol/uplim/api/v1/upload-aliases_pb.js.map +1 -0
  290. package/dist/protocol/uplim/api/v1/uploads_pb.d.ts +3736 -0
  291. package/dist/protocol/uplim/api/v1/uploads_pb.d.ts.map +1 -0
  292. package/dist/protocol/uplim/api/v1/uploads_pb.js +732 -0
  293. package/dist/protocol/uplim/api/v1/uploads_pb.js.map +1 -0
  294. package/dist/protocol/uplim/workflow/v1/activities_pb.d.ts +394 -0
  295. package/dist/protocol/uplim/workflow/v1/activities_pb.d.ts.map +1 -0
  296. package/dist/protocol/uplim/workflow/v1/activities_pb.js +122 -0
  297. package/dist/protocol/uplim/workflow/v1/activities_pb.js.map +1 -0
  298. package/dist/protocol/uplim/workflow/v1/integration_queue_admin_pb.d.ts +486 -0
  299. package/dist/protocol/uplim/workflow/v1/integration_queue_admin_pb.d.ts.map +1 -0
  300. package/dist/protocol/uplim/workflow/v1/integration_queue_admin_pb.js +158 -0
  301. package/dist/protocol/uplim/workflow/v1/integration_queue_admin_pb.js.map +1 -0
  302. package/dist/protocol/uplim/workflow/v1/integration_queue_pb.d.ts +289 -0
  303. package/dist/protocol/uplim/workflow/v1/integration_queue_pb.d.ts.map +1 -0
  304. package/dist/protocol/uplim/workflow/v1/integration_queue_pb.js +66 -0
  305. package/dist/protocol/uplim/workflow/v1/integration_queue_pb.js.map +1 -0
  306. package/dist/protocol/uplim/workflow/v1/workflows_pb.d.ts +602 -0
  307. package/dist/protocol/uplim/workflow/v1/workflows_pb.d.ts.map +1 -0
  308. package/dist/protocol/uplim/workflow/v1/workflows_pb.js +194 -0
  309. package/dist/protocol/uplim/workflow/v1/workflows_pb.js.map +1 -0
  310. package/dist/rpc-clients.d.ts +9 -0
  311. package/dist/rpc-clients.d.ts.map +1 -0
  312. package/dist/rpc-clients.js +24 -0
  313. package/dist/rpc-clients.js.map +1 -0
  314. package/dist/sse-client.d.ts +20 -0
  315. package/dist/sse-client.d.ts.map +1 -0
  316. package/dist/sse-client.js +68 -0
  317. package/dist/sse-client.js.map +1 -0
  318. package/dist/types.d.ts +174 -0
  319. package/dist/types.d.ts.map +1 -0
  320. package/dist/types.js +17 -0
  321. package/dist/types.js.map +1 -0
  322. package/package.json +47 -0
  323. package/src/errors.ts +14 -0
  324. package/src/index.ts +41 -0
  325. package/src/job-context.ts +244 -0
  326. package/src/pool.ts +143 -0
  327. package/src/protocol/buf/validate/expression_pb.ts +163 -0
  328. package/src/protocol/buf/validate/priv/private_pb.ts +86 -0
  329. package/src/protocol/buf/validate/validate_pb.ts +3802 -0
  330. package/src/protocol/gnostic/discovery/v1/discovery_pb.ts +1020 -0
  331. package/src/protocol/gnostic/openapi/v2/openapiv2_pb.ts +2679 -0
  332. package/src/protocol/gnostic/openapi/v3/annotations_pb.ts +55 -0
  333. package/src/protocol/gnostic/openapi/v3/openapiv3_pb.ts +2660 -0
  334. package/src/protocol/google/api/annotations_pb.ts +39 -0
  335. package/src/protocol/google/api/client_pb.ts +1183 -0
  336. package/src/protocol/google/api/expr/v1alpha1/checked_pb.ts +751 -0
  337. package/src/protocol/google/api/expr/v1alpha1/eval_pb.ts +222 -0
  338. package/src/protocol/google/api/expr/v1alpha1/explain_pb.ts +98 -0
  339. package/src/protocol/google/api/expr/v1alpha1/syntax_pb.ts +882 -0
  340. package/src/protocol/google/api/expr/v1alpha1/value_pb.ts +260 -0
  341. package/src/protocol/google/api/expr/v1beta1/decl_pb.ts +191 -0
  342. package/src/protocol/google/api/expr/v1beta1/eval_pb.ts +244 -0
  343. package/src/protocol/google/api/expr/v1beta1/expr_pb.ts +565 -0
  344. package/src/protocol/google/api/expr/v1beta1/source_pb.ts +117 -0
  345. package/src/protocol/google/api/expr/v1beta1/value_pb.ts +261 -0
  346. package/src/protocol/google/api/field_behavior_pb.ts +157 -0
  347. package/src/protocol/google/api/field_info_pb.ts +178 -0
  348. package/src/protocol/google/api/http_pb.ts +474 -0
  349. package/src/protocol/google/api/httpbody_pb.ts +108 -0
  350. package/src/protocol/google/api/launch_stage_pb.ts +118 -0
  351. package/src/protocol/google/api/resource_pb.ts +354 -0
  352. package/src/protocol/google/api/routing_pb.ts +507 -0
  353. package/src/protocol/google/api/visibility_pb.ts +169 -0
  354. package/src/protocol/google/bytestream/bytestream_pb.ts +325 -0
  355. package/src/protocol/google/geo/type/viewport_pb.ts +93 -0
  356. package/src/protocol/google/iam/v1/iam_policy_pb.ts +239 -0
  357. package/src/protocol/google/iam/v1/options_pb.ts +66 -0
  358. package/src/protocol/google/iam/v1/policy_pb.ts +644 -0
  359. package/src/protocol/google/longrunning/operations_pb.ts +460 -0
  360. package/src/protocol/google/rpc/code_pb.ts +268 -0
  361. package/src/protocol/google/rpc/context/attribute_context_pb.ts +638 -0
  362. package/src/protocol/google/rpc/error_details_pb.ts +662 -0
  363. package/src/protocol/google/rpc/status_pb.ts +76 -0
  364. package/src/protocol/google/type/calendar_period_pb.ts +102 -0
  365. package/src/protocol/google/type/color_pb.ts +204 -0
  366. package/src/protocol/google/type/date_pb.ts +82 -0
  367. package/src/protocol/google/type/datetime_pb.ts +181 -0
  368. package/src/protocol/google/type/dayofweek_pb.ts +96 -0
  369. package/src/protocol/google/type/decimal_pb.ts +113 -0
  370. package/src/protocol/google/type/expr_pb.ts +105 -0
  371. package/src/protocol/google/type/fraction_pb.ts +57 -0
  372. package/src/protocol/google/type/interval_pb.ts +69 -0
  373. package/src/protocol/google/type/latlng_pb.ts +60 -0
  374. package/src/protocol/google/type/localized_text_pb.ts +60 -0
  375. package/src/protocol/google/type/money_pb.ts +69 -0
  376. package/src/protocol/google/type/month_pb.ts +131 -0
  377. package/src/protocol/google/type/phone_number_pb.ts +171 -0
  378. package/src/protocol/google/type/postal_address_pb.ts +194 -0
  379. package/src/protocol/google/type/quaternion_pb.ts +126 -0
  380. package/src/protocol/google/type/timeofday_pb.ts +79 -0
  381. package/src/protocol/uplim/api/v1/account_pb.ts +178 -0
  382. package/src/protocol/uplim/api/v1/auth_pb.ts +278 -0
  383. package/src/protocol/uplim/api/v1/buckets_pb.ts +2214 -0
  384. package/src/protocol/uplim/api/v1/content_type_matcher_pb.ts +448 -0
  385. package/src/protocol/uplim/api/v1/events_pb.ts +874 -0
  386. package/src/protocol/uplim/api/v1/integration_admin_pb.ts +1237 -0
  387. package/src/protocol/uplim/api/v1/integration_install_pb.ts +386 -0
  388. package/src/protocol/uplim/api/v1/integration_types_pb.ts +896 -0
  389. package/src/protocol/uplim/api/v1/integrations_pb.ts +944 -0
  390. package/src/protocol/uplim/api/v1/internal_pb.ts +234 -0
  391. package/src/protocol/uplim/api/v1/metadata_pb.ts +305 -0
  392. package/src/protocol/uplim/api/v1/public-buckets_pb.ts +83 -0
  393. package/src/protocol/uplim/api/v1/public-uploads_pb.ts +543 -0
  394. package/src/protocol/uplim/api/v1/upload-aliases_pb.ts +468 -0
  395. package/src/protocol/uplim/api/v1/uploads_pb.ts +4294 -0
  396. package/src/protocol/uplim/workflow/v1/activities_pb.ts +488 -0
  397. package/src/protocol/uplim/workflow/v1/integration_queue_admin_pb.ts +594 -0
  398. package/src/protocol/uplim/workflow/v1/integration_queue_pb.ts +353 -0
  399. package/src/protocol/uplim/workflow/v1/workflows_pb.ts +746 -0
  400. package/src/rpc-clients.ts +29 -0
  401. package/src/sse-client.ts +83 -0
  402. package/src/types.ts +169 -0
@@ -0,0 +1,644 @@
1
+ // Copyright 2025 Google LLC
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ // @generated by protoc-gen-es v2.10.1 with parameter "target=ts,import_extension=.js"
16
+ // @generated from file google/iam/v1/policy.proto (package google.iam.v1, syntax proto3)
17
+ /* eslint-disable */
18
+
19
+ import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
20
+ import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
21
+ import type { Expr } from "../../type/expr_pb.js";
22
+ import { file_google_type_expr } from "../../type/expr_pb.js";
23
+ import type { Message } from "@bufbuild/protobuf";
24
+
25
+ /**
26
+ * Describes the file google/iam/v1/policy.proto.
27
+ */
28
+ export const file_google_iam_v1_policy: GenFile = /*@__PURE__*/
29
+ fileDesc("Chpnb29nbGUvaWFtL3YxL3BvbGljeS5wcm90bxINZ29vZ2xlLmlhbS52MSKEAQoGUG9saWN5Eg8KB3ZlcnNpb24YASABKAUSKAoIYmluZGluZ3MYBCADKAsyFi5nb29nbGUuaWFtLnYxLkJpbmRpbmcSMQoNYXVkaXRfY29uZmlncxgGIAMoCzIaLmdvb2dsZS5pYW0udjEuQXVkaXRDb25maWcSDAoEZXRhZxgDIAEoDCJOCgdCaW5kaW5nEgwKBHJvbGUYASABKAkSDwoHbWVtYmVycxgCIAMoCRIkCgljb25kaXRpb24YAyABKAsyES5nb29nbGUudHlwZS5FeHByIlgKC0F1ZGl0Q29uZmlnEg8KB3NlcnZpY2UYASABKAkSOAoRYXVkaXRfbG9nX2NvbmZpZ3MYAyADKAsyHS5nb29nbGUuaWFtLnYxLkF1ZGl0TG9nQ29uZmlnIrcBCg5BdWRpdExvZ0NvbmZpZxI3Cghsb2dfdHlwZRgBIAEoDjIlLmdvb2dsZS5pYW0udjEuQXVkaXRMb2dDb25maWcuTG9nVHlwZRIYChBleGVtcHRlZF9tZW1iZXJzGAIgAygJIlIKB0xvZ1R5cGUSGAoUTE9HX1RZUEVfVU5TUEVDSUZJRUQQABIOCgpBRE1JTl9SRUFEEAESDgoKREFUQV9XUklURRACEg0KCURBVEFfUkVBRBADIoABCgtQb2xpY3lEZWx0YRIzCg5iaW5kaW5nX2RlbHRhcxgBIAMoCzIbLmdvb2dsZS5pYW0udjEuQmluZGluZ0RlbHRhEjwKE2F1ZGl0X2NvbmZpZ19kZWx0YXMYAiADKAsyHy5nb29nbGUuaWFtLnYxLkF1ZGl0Q29uZmlnRGVsdGEivQEKDEJpbmRpbmdEZWx0YRIyCgZhY3Rpb24YASABKA4yIi5nb29nbGUuaWFtLnYxLkJpbmRpbmdEZWx0YS5BY3Rpb24SDAoEcm9sZRgCIAEoCRIOCgZtZW1iZXIYAyABKAkSJAoJY29uZGl0aW9uGAQgASgLMhEuZ29vZ2xlLnR5cGUuRXhwciI1CgZBY3Rpb24SFgoSQUNUSU9OX1VOU1BFQ0lGSUVEEAASBwoDQUREEAESCgoGUkVNT1ZFEAIivQEKEEF1ZGl0Q29uZmlnRGVsdGESNgoGYWN0aW9uGAEgASgOMiYuZ29vZ2xlLmlhbS52MS5BdWRpdENvbmZpZ0RlbHRhLkFjdGlvbhIPCgdzZXJ2aWNlGAIgASgJEhcKD2V4ZW1wdGVkX21lbWJlchgDIAEoCRIQCghsb2dfdHlwZRgEIAEoCSI1CgZBY3Rpb24SFgoSQUNUSU9OX1VOU1BFQ0lGSUVEEAASBwoDQUREEAESCgoGUkVNT1ZFEAJCpAEKEWNvbS5nb29nbGUuaWFtLnYxQgtQb2xpY3lQcm90b1ABWiljbG91ZC5nb29nbGUuY29tL2dvL2lhbS9hcGl2MS9pYW1wYjtpYW1wYvgBAaICA0dJWKoCDUdvb2dsZS5JYW0uVjHKAg1Hb29nbGVcSWFtXFYx4gIZR29vZ2xlXElhbVxWMVxHUEJNZXRhZGF0YeoCD0dvb2dsZTo6SWFtOjpWMWIGcHJvdG8z", [file_google_type_expr]);
30
+
31
+ /**
32
+ * An Identity and Access Management (IAM) policy, which specifies access
33
+ * controls for Google Cloud resources.
34
+ *
35
+ *
36
+ * A `Policy` is a collection of `bindings`. A `binding` binds one or more
37
+ * `members`, or principals, to a single `role`. Principals can be user
38
+ * accounts, service accounts, Google groups, and domains (such as G Suite). A
39
+ * `role` is a named list of permissions; each `role` can be an IAM predefined
40
+ * role or a user-created custom role.
41
+ *
42
+ * For some types of Google Cloud resources, a `binding` can also specify a
43
+ * `condition`, which is a logical expression that allows access to a resource
44
+ * only if the expression evaluates to `true`. A condition can add constraints
45
+ * based on attributes of the request, the resource, or both. To learn which
46
+ * resources support conditions in their IAM policies, see the
47
+ * [IAM
48
+ * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
49
+ *
50
+ * **JSON example:**
51
+ *
52
+ * ```
53
+ * {
54
+ * "bindings": [
55
+ * {
56
+ * "role": "roles/resourcemanager.organizationAdmin",
57
+ * "members": [
58
+ * "user:mike@example.com",
59
+ * "group:admins@example.com",
60
+ * "domain:google.com",
61
+ * "serviceAccount:my-project-id@appspot.gserviceaccount.com"
62
+ * ]
63
+ * },
64
+ * {
65
+ * "role": "roles/resourcemanager.organizationViewer",
66
+ * "members": [
67
+ * "user:eve@example.com"
68
+ * ],
69
+ * "condition": {
70
+ * "title": "expirable access",
71
+ * "description": "Does not grant access after Sep 2020",
72
+ * "expression": "request.time <
73
+ * timestamp('2020-10-01T00:00:00.000Z')",
74
+ * }
75
+ * }
76
+ * ],
77
+ * "etag": "BwWWja0YfJA=",
78
+ * "version": 3
79
+ * }
80
+ * ```
81
+ *
82
+ * **YAML example:**
83
+ *
84
+ * ```
85
+ * bindings:
86
+ * - members:
87
+ * - user:mike@example.com
88
+ * - group:admins@example.com
89
+ * - domain:google.com
90
+ * - serviceAccount:my-project-id@appspot.gserviceaccount.com
91
+ * role: roles/resourcemanager.organizationAdmin
92
+ * - members:
93
+ * - user:eve@example.com
94
+ * role: roles/resourcemanager.organizationViewer
95
+ * condition:
96
+ * title: expirable access
97
+ * description: Does not grant access after Sep 2020
98
+ * expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
99
+ * etag: BwWWja0YfJA=
100
+ * version: 3
101
+ * ```
102
+ *
103
+ * For a description of IAM and its features, see the
104
+ * [IAM documentation](https://cloud.google.com/iam/docs/).
105
+ *
106
+ * @generated from message google.iam.v1.Policy
107
+ */
108
+ export type Policy = Message<"google.iam.v1.Policy"> & {
109
+ /**
110
+ * Specifies the format of the policy.
111
+ *
112
+ * Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
113
+ * are rejected.
114
+ *
115
+ * Any operation that affects conditional role bindings must specify version
116
+ * `3`. This requirement applies to the following operations:
117
+ *
118
+ * * Getting a policy that includes a conditional role binding
119
+ * * Adding a conditional role binding to a policy
120
+ * * Changing a conditional role binding in a policy
121
+ * * Removing any role binding, with or without a condition, from a policy
122
+ * that includes conditions
123
+ *
124
+ * **Important:** If you use IAM Conditions, you must include the `etag` field
125
+ * whenever you call `setIamPolicy`. If you omit this field, then IAM allows
126
+ * you to overwrite a version `3` policy with a version `1` policy, and all of
127
+ * the conditions in the version `3` policy are lost.
128
+ *
129
+ * If a policy does not include any conditions, operations on that policy may
130
+ * specify any valid version or leave the field unset.
131
+ *
132
+ * To learn which resources support conditions in their IAM policies, see the
133
+ * [IAM
134
+ * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
135
+ *
136
+ * @generated from field: int32 version = 1;
137
+ */
138
+ version: number;
139
+
140
+ /**
141
+ * Associates a list of `members`, or principals, with a `role`. Optionally,
142
+ * may specify a `condition` that determines how and when the `bindings` are
143
+ * applied. Each of the `bindings` must contain at least one principal.
144
+ *
145
+ * The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250
146
+ * of these principals can be Google groups. Each occurrence of a principal
147
+ * counts towards these limits. For example, if the `bindings` grant 50
148
+ * different roles to `user:alice@example.com`, and not to any other
149
+ * principal, then you can add another 1,450 principals to the `bindings` in
150
+ * the `Policy`.
151
+ *
152
+ * @generated from field: repeated google.iam.v1.Binding bindings = 4;
153
+ */
154
+ bindings: Binding[];
155
+
156
+ /**
157
+ * Specifies cloud audit logging configuration for this policy.
158
+ *
159
+ * @generated from field: repeated google.iam.v1.AuditConfig audit_configs = 6;
160
+ */
161
+ auditConfigs: AuditConfig[];
162
+
163
+ /**
164
+ * `etag` is used for optimistic concurrency control as a way to help
165
+ * prevent simultaneous updates of a policy from overwriting each other.
166
+ * It is strongly suggested that systems make use of the `etag` in the
167
+ * read-modify-write cycle to perform policy updates in order to avoid race
168
+ * conditions: An `etag` is returned in the response to `getIamPolicy`, and
169
+ * systems are expected to put that etag in the request to `setIamPolicy` to
170
+ * ensure that their change will be applied to the same version of the policy.
171
+ *
172
+ * **Important:** If you use IAM Conditions, you must include the `etag` field
173
+ * whenever you call `setIamPolicy`. If you omit this field, then IAM allows
174
+ * you to overwrite a version `3` policy with a version `1` policy, and all of
175
+ * the conditions in the version `3` policy are lost.
176
+ *
177
+ * @generated from field: bytes etag = 3;
178
+ */
179
+ etag: Uint8Array;
180
+ };
181
+
182
+ /**
183
+ * Describes the message google.iam.v1.Policy.
184
+ * Use `create(PolicySchema)` to create a new message.
185
+ */
186
+ export const PolicySchema: GenMessage<Policy> = /*@__PURE__*/
187
+ messageDesc(file_google_iam_v1_policy, 0);
188
+
189
+ /**
190
+ * Associates `members`, or principals, with a `role`.
191
+ *
192
+ * @generated from message google.iam.v1.Binding
193
+ */
194
+ export type Binding = Message<"google.iam.v1.Binding"> & {
195
+ /**
196
+ * Role that is assigned to the list of `members`, or principals.
197
+ * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
198
+ *
199
+ * @generated from field: string role = 1;
200
+ */
201
+ role: string;
202
+
203
+ /**
204
+ * Specifies the principals requesting access for a Google Cloud resource.
205
+ * `members` can have the following values:
206
+ *
207
+ * * `allUsers`: A special identifier that represents anyone who is
208
+ * on the internet; with or without a Google account.
209
+ *
210
+ * * `allAuthenticatedUsers`: A special identifier that represents anyone
211
+ * who is authenticated with a Google account or a service account.
212
+ *
213
+ * * `user:{emailid}`: An email address that represents a specific Google
214
+ * account. For example, `alice@example.com` .
215
+ *
216
+ *
217
+ * * `serviceAccount:{emailid}`: An email address that represents a service
218
+ * account. For example, `my-other-app@appspot.gserviceaccount.com`.
219
+ *
220
+ * * `group:{emailid}`: An email address that represents a Google group.
221
+ * For example, `admins@example.com`.
222
+ *
223
+ * * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique
224
+ * identifier) representing a user that has been recently deleted. For
225
+ * example, `alice@example.com?uid=123456789012345678901`. If the user is
226
+ * recovered, this value reverts to `user:{emailid}` and the recovered user
227
+ * retains the role in the binding.
228
+ *
229
+ * * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus
230
+ * unique identifier) representing a service account that has been recently
231
+ * deleted. For example,
232
+ * `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
233
+ * If the service account is undeleted, this value reverts to
234
+ * `serviceAccount:{emailid}` and the undeleted service account retains the
235
+ * role in the binding.
236
+ *
237
+ * * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique
238
+ * identifier) representing a Google group that has been recently
239
+ * deleted. For example, `admins@example.com?uid=123456789012345678901`. If
240
+ * the group is recovered, this value reverts to `group:{emailid}` and the
241
+ * recovered group retains the role in the binding.
242
+ *
243
+ *
244
+ * * `domain:{domain}`: The G Suite domain (primary) that represents all the
245
+ * users of that domain. For example, `google.com` or `example.com`.
246
+ *
247
+ *
248
+ *
249
+ * @generated from field: repeated string members = 2;
250
+ */
251
+ members: string[];
252
+
253
+ /**
254
+ * The condition that is associated with this binding.
255
+ *
256
+ * If the condition evaluates to `true`, then this binding applies to the
257
+ * current request.
258
+ *
259
+ * If the condition evaluates to `false`, then this binding does not apply to
260
+ * the current request. However, a different role binding might grant the same
261
+ * role to one or more of the principals in this binding.
262
+ *
263
+ * To learn which resources support conditions in their IAM policies, see the
264
+ * [IAM
265
+ * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
266
+ *
267
+ * @generated from field: google.type.Expr condition = 3;
268
+ */
269
+ condition?: Expr;
270
+ };
271
+
272
+ /**
273
+ * Describes the message google.iam.v1.Binding.
274
+ * Use `create(BindingSchema)` to create a new message.
275
+ */
276
+ export const BindingSchema: GenMessage<Binding> = /*@__PURE__*/
277
+ messageDesc(file_google_iam_v1_policy, 1);
278
+
279
+ /**
280
+ * Specifies the audit configuration for a service.
281
+ * The configuration determines which permission types are logged, and what
282
+ * identities, if any, are exempted from logging.
283
+ * An AuditConfig must have one or more AuditLogConfigs.
284
+ *
285
+ * If there are AuditConfigs for both `allServices` and a specific service,
286
+ * the union of the two AuditConfigs is used for that service: the log_types
287
+ * specified in each AuditConfig are enabled, and the exempted_members in each
288
+ * AuditLogConfig are exempted.
289
+ *
290
+ * Example Policy with multiple AuditConfigs:
291
+ *
292
+ * {
293
+ * "audit_configs": [
294
+ * {
295
+ * "service": "allServices",
296
+ * "audit_log_configs": [
297
+ * {
298
+ * "log_type": "DATA_READ",
299
+ * "exempted_members": [
300
+ * "user:jose@example.com"
301
+ * ]
302
+ * },
303
+ * {
304
+ * "log_type": "DATA_WRITE"
305
+ * },
306
+ * {
307
+ * "log_type": "ADMIN_READ"
308
+ * }
309
+ * ]
310
+ * },
311
+ * {
312
+ * "service": "sampleservice.googleapis.com",
313
+ * "audit_log_configs": [
314
+ * {
315
+ * "log_type": "DATA_READ"
316
+ * },
317
+ * {
318
+ * "log_type": "DATA_WRITE",
319
+ * "exempted_members": [
320
+ * "user:aliya@example.com"
321
+ * ]
322
+ * }
323
+ * ]
324
+ * }
325
+ * ]
326
+ * }
327
+ *
328
+ * For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
329
+ * logging. It also exempts `jose@example.com` from DATA_READ logging, and
330
+ * `aliya@example.com` from DATA_WRITE logging.
331
+ *
332
+ * @generated from message google.iam.v1.AuditConfig
333
+ */
334
+ export type AuditConfig = Message<"google.iam.v1.AuditConfig"> & {
335
+ /**
336
+ * Specifies a service that will be enabled for audit logging.
337
+ * For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
338
+ * `allServices` is a special value that covers all services.
339
+ *
340
+ * @generated from field: string service = 1;
341
+ */
342
+ service: string;
343
+
344
+ /**
345
+ * The configuration for logging of each type of permission.
346
+ *
347
+ * @generated from field: repeated google.iam.v1.AuditLogConfig audit_log_configs = 3;
348
+ */
349
+ auditLogConfigs: AuditLogConfig[];
350
+ };
351
+
352
+ /**
353
+ * Describes the message google.iam.v1.AuditConfig.
354
+ * Use `create(AuditConfigSchema)` to create a new message.
355
+ */
356
+ export const AuditConfigSchema: GenMessage<AuditConfig> = /*@__PURE__*/
357
+ messageDesc(file_google_iam_v1_policy, 2);
358
+
359
+ /**
360
+ * Provides the configuration for logging a type of permissions.
361
+ * Example:
362
+ *
363
+ * {
364
+ * "audit_log_configs": [
365
+ * {
366
+ * "log_type": "DATA_READ",
367
+ * "exempted_members": [
368
+ * "user:jose@example.com"
369
+ * ]
370
+ * },
371
+ * {
372
+ * "log_type": "DATA_WRITE"
373
+ * }
374
+ * ]
375
+ * }
376
+ *
377
+ * This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
378
+ * jose@example.com from DATA_READ logging.
379
+ *
380
+ * @generated from message google.iam.v1.AuditLogConfig
381
+ */
382
+ export type AuditLogConfig = Message<"google.iam.v1.AuditLogConfig"> & {
383
+ /**
384
+ * The log type that this config enables.
385
+ *
386
+ * @generated from field: google.iam.v1.AuditLogConfig.LogType log_type = 1;
387
+ */
388
+ logType: AuditLogConfig_LogType;
389
+
390
+ /**
391
+ * Specifies the identities that do not cause logging for this type of
392
+ * permission.
393
+ * Follows the same format of
394
+ * [Binding.members][google.iam.v1.Binding.members].
395
+ *
396
+ * @generated from field: repeated string exempted_members = 2;
397
+ */
398
+ exemptedMembers: string[];
399
+ };
400
+
401
+ /**
402
+ * Describes the message google.iam.v1.AuditLogConfig.
403
+ * Use `create(AuditLogConfigSchema)` to create a new message.
404
+ */
405
+ export const AuditLogConfigSchema: GenMessage<AuditLogConfig> = /*@__PURE__*/
406
+ messageDesc(file_google_iam_v1_policy, 3);
407
+
408
+ /**
409
+ * The list of valid permission types for which logging can be configured.
410
+ * Admin writes are always logged, and are not configurable.
411
+ *
412
+ * @generated from enum google.iam.v1.AuditLogConfig.LogType
413
+ */
414
+ export enum AuditLogConfig_LogType {
415
+ /**
416
+ * Default case. Should never be this.
417
+ *
418
+ * @generated from enum value: LOG_TYPE_UNSPECIFIED = 0;
419
+ */
420
+ LOG_TYPE_UNSPECIFIED = 0,
421
+
422
+ /**
423
+ * Admin reads. Example: CloudIAM getIamPolicy
424
+ *
425
+ * @generated from enum value: ADMIN_READ = 1;
426
+ */
427
+ ADMIN_READ = 1,
428
+
429
+ /**
430
+ * Data writes. Example: CloudSQL Users create
431
+ *
432
+ * @generated from enum value: DATA_WRITE = 2;
433
+ */
434
+ DATA_WRITE = 2,
435
+
436
+ /**
437
+ * Data reads. Example: CloudSQL Users list
438
+ *
439
+ * @generated from enum value: DATA_READ = 3;
440
+ */
441
+ DATA_READ = 3,
442
+ }
443
+
444
+ /**
445
+ * Describes the enum google.iam.v1.AuditLogConfig.LogType.
446
+ */
447
+ export const AuditLogConfig_LogTypeSchema: GenEnum<AuditLogConfig_LogType> = /*@__PURE__*/
448
+ enumDesc(file_google_iam_v1_policy, 3, 0);
449
+
450
+ /**
451
+ * The difference delta between two policies.
452
+ *
453
+ * @generated from message google.iam.v1.PolicyDelta
454
+ */
455
+ export type PolicyDelta = Message<"google.iam.v1.PolicyDelta"> & {
456
+ /**
457
+ * The delta for Bindings between two policies.
458
+ *
459
+ * @generated from field: repeated google.iam.v1.BindingDelta binding_deltas = 1;
460
+ */
461
+ bindingDeltas: BindingDelta[];
462
+
463
+ /**
464
+ * The delta for AuditConfigs between two policies.
465
+ *
466
+ * @generated from field: repeated google.iam.v1.AuditConfigDelta audit_config_deltas = 2;
467
+ */
468
+ auditConfigDeltas: AuditConfigDelta[];
469
+ };
470
+
471
+ /**
472
+ * Describes the message google.iam.v1.PolicyDelta.
473
+ * Use `create(PolicyDeltaSchema)` to create a new message.
474
+ */
475
+ export const PolicyDeltaSchema: GenMessage<PolicyDelta> = /*@__PURE__*/
476
+ messageDesc(file_google_iam_v1_policy, 4);
477
+
478
+ /**
479
+ * One delta entry for Binding. Each individual change (only one member in each
480
+ * entry) to a binding will be a separate entry.
481
+ *
482
+ * @generated from message google.iam.v1.BindingDelta
483
+ */
484
+ export type BindingDelta = Message<"google.iam.v1.BindingDelta"> & {
485
+ /**
486
+ * The action that was performed on a Binding.
487
+ * Required
488
+ *
489
+ * @generated from field: google.iam.v1.BindingDelta.Action action = 1;
490
+ */
491
+ action: BindingDelta_Action;
492
+
493
+ /**
494
+ * Role that is assigned to `members`.
495
+ * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
496
+ * Required
497
+ *
498
+ * @generated from field: string role = 2;
499
+ */
500
+ role: string;
501
+
502
+ /**
503
+ * A single identity requesting access for a Google Cloud resource.
504
+ * Follows the same format of Binding.members.
505
+ * Required
506
+ *
507
+ * @generated from field: string member = 3;
508
+ */
509
+ member: string;
510
+
511
+ /**
512
+ * The condition that is associated with this binding.
513
+ *
514
+ * @generated from field: google.type.Expr condition = 4;
515
+ */
516
+ condition?: Expr;
517
+ };
518
+
519
+ /**
520
+ * Describes the message google.iam.v1.BindingDelta.
521
+ * Use `create(BindingDeltaSchema)` to create a new message.
522
+ */
523
+ export const BindingDeltaSchema: GenMessage<BindingDelta> = /*@__PURE__*/
524
+ messageDesc(file_google_iam_v1_policy, 5);
525
+
526
+ /**
527
+ * The type of action performed on a Binding in a policy.
528
+ *
529
+ * @generated from enum google.iam.v1.BindingDelta.Action
530
+ */
531
+ export enum BindingDelta_Action {
532
+ /**
533
+ * Unspecified.
534
+ *
535
+ * @generated from enum value: ACTION_UNSPECIFIED = 0;
536
+ */
537
+ ACTION_UNSPECIFIED = 0,
538
+
539
+ /**
540
+ * Addition of a Binding.
541
+ *
542
+ * @generated from enum value: ADD = 1;
543
+ */
544
+ ADD = 1,
545
+
546
+ /**
547
+ * Removal of a Binding.
548
+ *
549
+ * @generated from enum value: REMOVE = 2;
550
+ */
551
+ REMOVE = 2,
552
+ }
553
+
554
+ /**
555
+ * Describes the enum google.iam.v1.BindingDelta.Action.
556
+ */
557
+ export const BindingDelta_ActionSchema: GenEnum<BindingDelta_Action> = /*@__PURE__*/
558
+ enumDesc(file_google_iam_v1_policy, 5, 0);
559
+
560
+ /**
561
+ * One delta entry for AuditConfig. Each individual change (only one
562
+ * exempted_member in each entry) to a AuditConfig will be a separate entry.
563
+ *
564
+ * @generated from message google.iam.v1.AuditConfigDelta
565
+ */
566
+ export type AuditConfigDelta = Message<"google.iam.v1.AuditConfigDelta"> & {
567
+ /**
568
+ * The action that was performed on an audit configuration in a policy.
569
+ * Required
570
+ *
571
+ * @generated from field: google.iam.v1.AuditConfigDelta.Action action = 1;
572
+ */
573
+ action: AuditConfigDelta_Action;
574
+
575
+ /**
576
+ * Specifies a service that was configured for Cloud Audit Logging.
577
+ * For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
578
+ * `allServices` is a special value that covers all services.
579
+ * Required
580
+ *
581
+ * @generated from field: string service = 2;
582
+ */
583
+ service: string;
584
+
585
+ /**
586
+ * A single identity that is exempted from "data access" audit
587
+ * logging for the `service` specified above.
588
+ * Follows the same format of Binding.members.
589
+ *
590
+ * @generated from field: string exempted_member = 3;
591
+ */
592
+ exemptedMember: string;
593
+
594
+ /**
595
+ * Specifies the log_type that was be enabled. ADMIN_ACTIVITY is always
596
+ * enabled, and cannot be configured.
597
+ * Required
598
+ *
599
+ * @generated from field: string log_type = 4;
600
+ */
601
+ logType: string;
602
+ };
603
+
604
+ /**
605
+ * Describes the message google.iam.v1.AuditConfigDelta.
606
+ * Use `create(AuditConfigDeltaSchema)` to create a new message.
607
+ */
608
+ export const AuditConfigDeltaSchema: GenMessage<AuditConfigDelta> = /*@__PURE__*/
609
+ messageDesc(file_google_iam_v1_policy, 6);
610
+
611
+ /**
612
+ * The type of action performed on an audit configuration in a policy.
613
+ *
614
+ * @generated from enum google.iam.v1.AuditConfigDelta.Action
615
+ */
616
+ export enum AuditConfigDelta_Action {
617
+ /**
618
+ * Unspecified.
619
+ *
620
+ * @generated from enum value: ACTION_UNSPECIFIED = 0;
621
+ */
622
+ ACTION_UNSPECIFIED = 0,
623
+
624
+ /**
625
+ * Addition of an audit configuration.
626
+ *
627
+ * @generated from enum value: ADD = 1;
628
+ */
629
+ ADD = 1,
630
+
631
+ /**
632
+ * Removal of an audit configuration.
633
+ *
634
+ * @generated from enum value: REMOVE = 2;
635
+ */
636
+ REMOVE = 2,
637
+ }
638
+
639
+ /**
640
+ * Describes the enum google.iam.v1.AuditConfigDelta.Action.
641
+ */
642
+ export const AuditConfigDelta_ActionSchema: GenEnum<AuditConfigDelta_Action> = /*@__PURE__*/
643
+ enumDesc(file_google_iam_v1_policy, 6, 0);
644
+