@alis-build/common-es 1.0.3

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 (357) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +1 -0
  3. package/alis/a2a/extension/history/v1/history_connect.d.ts +155 -0
  4. package/alis/a2a/extension/history/v1/history_connect.js +155 -0
  5. package/alis/a2a/extension/history/v1/history_pb.d.ts +550 -0
  6. package/alis/a2a/extension/history/v1/history_pb.js +111 -0
  7. package/alis/open/agent/v1/agent_connect.d.ts +155 -0
  8. package/alis/open/agent/v1/agent_connect.js +155 -0
  9. package/alis/open/agent/v1/agent_pb.d.ts +2129 -0
  10. package/alis/open/agent/v1/agent_pb.js +390 -0
  11. package/alis/open/agent/v2/a2a_connect.d.ts +155 -0
  12. package/alis/open/agent/v2/a2a_connect.js +155 -0
  13. package/alis/open/agent/v2/a2a_pb.d.ts +2181 -0
  14. package/alis/open/agent/v2/a2a_pb.js +390 -0
  15. package/alis/open/config/v1/config_pb.d.ts +61 -0
  16. package/alis/open/config/v1/config_pb.js +19 -0
  17. package/alis/open/cx/v1/cx_pb.d.ts +2153 -0
  18. package/alis/open/cx/v1/cx_pb.js +230 -0
  19. package/alis/open/flows/v1/flows_connect.d.ts +94 -0
  20. package/alis/open/flows/v1/flows_connect.js +94 -0
  21. package/alis/open/flows/v1/flows_pb.d.ts +546 -0
  22. package/alis/open/flows/v1/flows_pb.js +104 -0
  23. package/alis/open/iam/v1/group_connect.d.ts +143 -0
  24. package/alis/open/iam/v1/group_connect.js +143 -0
  25. package/alis/open/iam/v1/group_pb.d.ts +385 -0
  26. package/alis/open/iam/v1/group_pb.js +88 -0
  27. package/alis/open/iam/v1/iam_pb.d.ts +171 -0
  28. package/alis/open/iam/v1/iam_pb.js +46 -0
  29. package/alis/open/iam/v1/oauth_pb.d.ts +564 -0
  30. package/alis/open/iam/v1/oauth_pb.js +111 -0
  31. package/alis/open/iam/v1/role_pb.d.ts +95 -0
  32. package/alis/open/iam/v1/role_pb.js +19 -0
  33. package/alis/open/iam/v1/user_connect.d.ts +327 -0
  34. package/alis/open/iam/v1/user_connect.js +327 -0
  35. package/alis/open/iam/v1/user_pb.d.ts +1580 -0
  36. package/alis/open/iam/v1/user_pb.js +279 -0
  37. package/alis/open/in/v1/in_pb.d.ts +902 -0
  38. package/alis/open/in/v1/in_pb.js +113 -0
  39. package/alis/open/notifications/v1/devices_connect.d.ts +161 -0
  40. package/alis/open/notifications/v1/devices_connect.js +161 -0
  41. package/alis/open/notifications/v1/devices_pb.d.ts +362 -0
  42. package/alis/open/notifications/v1/devices_pb.js +75 -0
  43. package/alis/open/notifications/v1/notifications_connect.d.ts +77 -0
  44. package/alis/open/notifications/v1/notifications_connect.js +77 -0
  45. package/alis/open/notifications/v1/notifications_pb.d.ts +196 -0
  46. package/alis/open/notifications/v1/notifications_pb.js +49 -0
  47. package/alis/open/operations/v1/operations_pb.d.ts +194 -0
  48. package/alis/open/operations/v1/operations_pb.js +28 -0
  49. package/alis/open/options/v1/options_pb.d.ts +274 -0
  50. package/alis/open/options/v1/options_pb.js +85 -0
  51. package/alis/open/pubsub/v1/pubsub_pb.d.ts +124 -0
  52. package/alis/open/pubsub/v1/pubsub_pb.js +26 -0
  53. package/alis/open/px/v1/px_pb.d.ts +2169 -0
  54. package/alis/open/px/v1/px_pb.js +281 -0
  55. package/alis/open/support/v1/attachments_connect.d.ts +30 -0
  56. package/alis/open/support/v1/attachments_connect.js +30 -0
  57. package/alis/open/support/v1/attachments_pb.d.ts +84 -0
  58. package/alis/open/support/v1/attachments_pb.js +34 -0
  59. package/alis/open/support/v1/events_connect.d.ts +30 -0
  60. package/alis/open/support/v1/events_connect.js +30 -0
  61. package/alis/open/support/v1/events_pb.d.ts +236 -0
  62. package/alis/open/support/v1/events_pb.js +84 -0
  63. package/alis/open/support/v1/guide_connect.d.ts +76 -0
  64. package/alis/open/support/v1/guide_connect.js +76 -0
  65. package/alis/open/support/v1/guide_pb.d.ts +853 -0
  66. package/alis/open/support/v1/guide_pb.js +169 -0
  67. package/alis/open/support/v1/issue_connect.d.ts +216 -0
  68. package/alis/open/support/v1/issue_connect.js +216 -0
  69. package/alis/open/support/v1/issue_pb.d.ts +1030 -0
  70. package/alis/open/support/v1/issue_pb.js +215 -0
  71. package/alis/open/support/v1/issueactivity_connect.d.ts +139 -0
  72. package/alis/open/support/v1/issueactivity_connect.js +139 -0
  73. package/alis/open/support/v1/issueactivity_pb.d.ts +551 -0
  74. package/alis/open/support/v1/issueactivity_pb.js +108 -0
  75. package/alis/open/support/v1/issuesubscriber_connect.d.ts +146 -0
  76. package/alis/open/support/v1/issuesubscriber_connect.js +146 -0
  77. package/alis/open/support/v1/issuesubscriber_pb.d.ts +341 -0
  78. package/alis/open/support/v1/issuesubscriber_pb.js +68 -0
  79. package/alis/open/validation/v1/test_connect.d.ts +74 -0
  80. package/alis/open/validation/v1/test_connect.js +74 -0
  81. package/alis/open/validation/v1/test_pb.d.ts +345 -0
  82. package/alis/open/validation/v1/test_pb.js +84 -0
  83. package/alis/open/validation/v1/validation_connect.d.ts +39 -0
  84. package/alis/open/validation/v1/validation_connect.js +39 -0
  85. package/alis/open/validation/v1/validation_pb.d.ts +207 -0
  86. package/alis/open/validation/v1/validation_pb.js +59 -0
  87. package/alis/test/v1/test_pb.d.ts +32 -0
  88. package/alis/test/v1/test_pb.js +18 -0
  89. package/common/test/v1/test_pb.d.ts +32 -0
  90. package/common/test/v1/test_pb.js +18 -0
  91. package/google/api/annotations_pb.d.ts +33 -0
  92. package/google/api/annotations_pb.js +35 -0
  93. package/google/api/apikeys/v2/apikeys_connect.d.ts +151 -0
  94. package/google/api/apikeys/v2/apikeys_connect.js +151 -0
  95. package/google/api/apikeys/v2/apikeys_pb.d.ts +449 -0
  96. package/google/api/apikeys/v2/apikeys_pb.js +117 -0
  97. package/google/api/apikeys/v2/resources_pb.d.ts +341 -0
  98. package/google/api/apikeys/v2/resources_pb.js +84 -0
  99. package/google/api/auth_pb.d.ts +380 -0
  100. package/google/api/auth_pb.js +67 -0
  101. package/google/api/backend_pb.d.ts +269 -0
  102. package/google/api/backend_pb.js +59 -0
  103. package/google/api/billing_pb.d.ts +109 -0
  104. package/google/api/billing_pb.js +39 -0
  105. package/google/api/client_pb.d.ts +691 -0
  106. package/google/api/client_pb.js +233 -0
  107. package/google/api/config_change_pb.d.ts +155 -0
  108. package/google/api/config_change_pb.js +54 -0
  109. package/google/api/consumer_pb.d.ts +150 -0
  110. package/google/api/consumer_pb.js +53 -0
  111. package/google/api/context_pb.d.ts +135 -0
  112. package/google/api/context_pb.js +39 -0
  113. package/google/api/control_pb.d.ts +52 -0
  114. package/google/api/control_pb.js +32 -0
  115. package/google/api/distribution_pb.d.ts +377 -0
  116. package/google/api/distribution_pb.js +76 -0
  117. package/google/api/documentation_pb.d.ts +248 -0
  118. package/google/api/documentation_pb.js +46 -0
  119. package/google/api/endpoint_pb.d.ts +102 -0
  120. package/google/api/endpoint_pb.js +32 -0
  121. package/google/api/error_reason_pb.d.ts +657 -0
  122. package/google/api/error_reason_pb.js +48 -0
  123. package/google/api/expr/conformance/v1alpha1/conformance_service_connect.d.ts +71 -0
  124. package/google/api/expr/conformance/v1alpha1/conformance_service_connect.js +71 -0
  125. package/google/api/expr/conformance/v1alpha1/conformance_service_pb.d.ts +415 -0
  126. package/google/api/expr/conformance/v1alpha1/conformance_service_pb.js +112 -0
  127. package/google/api/expr/v1alpha1/checked_pb.d.ts +701 -0
  128. package/google/api/expr/v1alpha1/checked_pb.js +133 -0
  129. package/google/api/expr/v1alpha1/eval_pb.d.ts +212 -0
  130. package/google/api/expr/v1alpha1/eval_pb.js +62 -0
  131. package/google/api/expr/v1alpha1/explain_pb.d.ts +92 -0
  132. package/google/api/expr/v1alpha1/explain_pb.js +42 -0
  133. package/google/api/expr/v1alpha1/syntax_pb.d.ts +698 -0
  134. package/google/api/expr/v1alpha1/syntax_pb.js +112 -0
  135. package/google/api/expr/v1alpha1/value_pb.d.ts +252 -0
  136. package/google/api/expr/v1alpha1/value_pb.js +62 -0
  137. package/google/api/expr/v1beta1/decl_pb.d.ts +183 -0
  138. package/google/api/expr/v1beta1/decl_pb.js +55 -0
  139. package/google/api/expr/v1beta1/eval_pb.d.ts +233 -0
  140. package/google/api/expr/v1beta1/eval_pb.js +70 -0
  141. package/google/api/expr/v1beta1/expr_pb.d.ts +550 -0
  142. package/google/api/expr/v1beta1/expr_pb.js +98 -0
  143. package/google/api/expr/v1beta1/source_pb.d.ts +112 -0
  144. package/google/api/expr/v1beta1/source_pb.js +40 -0
  145. package/google/api/expr/v1beta1/value_pb.d.ts +253 -0
  146. package/google/api/expr/v1beta1/value_pb.js +63 -0
  147. package/google/api/field_behavior_pb.d.ts +133 -0
  148. package/google/api/field_behavior_pb.js +64 -0
  149. package/google/api/http_pb.d.ts +472 -0
  150. package/google/api/http_pb.js +46 -0
  151. package/google/api/httpbody_pb.d.ts +103 -0
  152. package/google/api/httpbody_pb.js +33 -0
  153. package/google/api/label_pb.d.ts +92 -0
  154. package/google/api/label_pb.js +46 -0
  155. package/google/api/launch_stage_pb.d.ts +114 -0
  156. package/google/api/launch_stage_pb.js +40 -0
  157. package/google/api/log_pb.d.ts +81 -0
  158. package/google/api/log_pb.js +33 -0
  159. package/google/api/logging_pb.d.ts +118 -0
  160. package/google/api/logging_pb.js +39 -0
  161. package/google/api/metric_pb.d.ts +422 -0
  162. package/google/api/metric_pb.js +79 -0
  163. package/google/api/monitored_resource_pb.d.ts +194 -0
  164. package/google/api/monitored_resource_pb.js +49 -0
  165. package/google/api/monitoring_pb.d.ts +143 -0
  166. package/google/api/monitoring_pb.js +39 -0
  167. package/google/api/quota_pb.d.ts +271 -0
  168. package/google/api/quota_pb.js +46 -0
  169. package/google/api/resource_pb.d.ts +338 -0
  170. package/google/api/resource_pb.js +96 -0
  171. package/google/api/routing_pb.d.ts +496 -0
  172. package/google/api/routing_pb.js +48 -0
  173. package/google/api/service_pb.d.ts +304 -0
  174. package/google/api/service_pb.js +53 -0
  175. package/google/api/servicecontrol/v1/check_error_pb.d.ts +241 -0
  176. package/google/api/servicecontrol/v1/check_error_pb.js +47 -0
  177. package/google/api/servicecontrol/v1/distribution_pb.d.ts +279 -0
  178. package/google/api/servicecontrol/v1/distribution_pb.js +54 -0
  179. package/google/api/servicecontrol/v1/http_request_pb.d.ts +162 -0
  180. package/google/api/servicecontrol/v1/http_request_pb.js +33 -0
  181. package/google/api/servicecontrol/v1/log_entry_pb.d.ts +237 -0
  182. package/google/api/servicecontrol/v1/log_entry_pb.js +51 -0
  183. package/google/api/servicecontrol/v1/metric_value_pb.d.ts +148 -0
  184. package/google/api/servicecontrol/v1/metric_value_pb.js +41 -0
  185. package/google/api/servicecontrol/v1/operation_pb.d.ts +188 -0
  186. package/google/api/servicecontrol/v1/operation_pb.js +50 -0
  187. package/google/api/servicecontrol/v1/quota_controller_connect.d.ts +56 -0
  188. package/google/api/servicecontrol/v1/quota_controller_connect.js +56 -0
  189. package/google/api/servicecontrol/v1/quota_controller_pb.d.ts +417 -0
  190. package/google/api/servicecontrol/v1/quota_controller_pb.js +100 -0
  191. package/google/api/servicecontrol/v1/service_controller_connect.d.ts +87 -0
  192. package/google/api/servicecontrol/v1/service_controller_connect.js +87 -0
  193. package/google/api/servicecontrol/v1/service_controller_pb.d.ts +437 -0
  194. package/google/api/servicecontrol/v1/service_controller_pb.js +105 -0
  195. package/google/api/servicecontrol/v2/service_controller_connect.d.ts +99 -0
  196. package/google/api/servicecontrol/v2/service_controller_connect.js +99 -0
  197. package/google/api/servicecontrol/v2/service_controller_pb.d.ts +300 -0
  198. package/google/api/servicecontrol/v2/service_controller_pb.js +79 -0
  199. package/google/api/servicemanagement/v1/resources_pb.d.ts +632 -0
  200. package/google/api/servicemanagement/v1/resources_pb.js +159 -0
  201. package/google/api/servicemanagement/v1/servicemanager_connect.d.ts +252 -0
  202. package/google/api/servicemanagement/v1/servicemanager_connect.js +252 -0
  203. package/google/api/servicemanagement/v1/servicemanager_pb.d.ts +854 -0
  204. package/google/api/servicemanagement/v1/servicemanager_pb.js +186 -0
  205. package/google/api/serviceusage/v1/resources_pb.d.ts +231 -0
  206. package/google/api/serviceusage/v1/resources_pb.js +68 -0
  207. package/google/api/serviceusage/v1/serviceusage_connect.d.ts +125 -0
  208. package/google/api/serviceusage/v1/serviceusage_connect.js +125 -0
  209. package/google/api/serviceusage/v1/serviceusage_pb.d.ts +529 -0
  210. package/google/api/serviceusage/v1/serviceusage_pb.js +140 -0
  211. package/google/api/serviceusage/v1beta1/resources_pb.d.ts +748 -0
  212. package/google/api/serviceusage/v1beta1/resources_pb.js +146 -0
  213. package/google/api/serviceusage/v1beta1/serviceusage_connect.d.ts +285 -0
  214. package/google/api/serviceusage/v1beta1/serviceusage_connect.js +285 -0
  215. package/google/api/serviceusage/v1beta1/serviceusage_pb.d.ts +1446 -0
  216. package/google/api/serviceusage/v1beta1/serviceusage_pb.js +304 -0
  217. package/google/api/source_info_pb.d.ts +46 -0
  218. package/google/api/source_info_pb.js +33 -0
  219. package/google/api/system_parameter_pb.d.ts +151 -0
  220. package/google/api/system_parameter_pb.js +46 -0
  221. package/google/api/usage_pb.d.ts +141 -0
  222. package/google/api/usage_pb.js +39 -0
  223. package/google/api/visibility_pb.d.ts +157 -0
  224. package/google/api/visibility_pb.js +88 -0
  225. package/google/iam/admin/v1/audit_data_pb.d.ts +75 -0
  226. package/google/iam/admin/v1/audit_data_pb.js +39 -0
  227. package/google/iam/admin/v1/iam_connect.d.ts +534 -0
  228. package/google/iam/admin/v1/iam_connect.js +534 -0
  229. package/google/iam/admin/v1/iam_pb.d.ts +2699 -0
  230. package/google/iam/admin/v1/iam_pb.js +528 -0
  231. package/google/iam/credentials/v1/common_pb.d.ts +319 -0
  232. package/google/iam/credentials/v1/common_pb.js +85 -0
  233. package/google/iam/credentials/v1/iamcredentials_connect.d.ts +84 -0
  234. package/google/iam/credentials/v1/iamcredentials_connect.js +84 -0
  235. package/google/iam/credentials/v1/iamcredentials_pb.d.ts +81 -0
  236. package/google/iam/credentials/v1/iamcredentials_pb.js +44 -0
  237. package/google/iam/v1/iam_policy_connect.d.ts +102 -0
  238. package/google/iam/v1/iam_policy_connect.js +102 -0
  239. package/google/iam/v1/iam_policy_pb.d.ts +225 -0
  240. package/google/iam/v1/iam_policy_pb.js +93 -0
  241. package/google/iam/v1/logging/audit_data_pb.d.ts +48 -0
  242. package/google/iam/v1/logging/audit_data_pb.js +33 -0
  243. package/google/iam/v1/options_pb.d.ts +62 -0
  244. package/google/iam/v1/options_pb.js +32 -0
  245. package/google/iam/v1/policy_pb.d.ts +622 -0
  246. package/google/iam/v1/policy_pb.js +118 -0
  247. package/google/iam/v1beta/workload_identity_pool_connect.d.ts +203 -0
  248. package/google/iam/v1beta/workload_identity_pool_connect.js +203 -0
  249. package/google/iam/v1beta/workload_identity_pool_pb.d.ts +996 -0
  250. package/google/iam/v1beta/workload_identity_pool_pb.js +207 -0
  251. package/google/iam/v2/deny_pb.d.ts +139 -0
  252. package/google/iam/v2/deny_pb.js +33 -0
  253. package/google/iam/v2/policy_connect.d.ts +102 -0
  254. package/google/iam/v2/policy_connect.js +102 -0
  255. package/google/iam/v2/policy_pb.d.ts +481 -0
  256. package/google/iam/v2/policy_pb.js +102 -0
  257. package/google/iam/v2beta/deny_pb.d.ts +139 -0
  258. package/google/iam/v2beta/deny_pb.js +33 -0
  259. package/google/iam/v2beta/policy_connect.d.ts +102 -0
  260. package/google/iam/v2beta/policy_connect.js +102 -0
  261. package/google/iam/v2beta/policy_pb.d.ts +473 -0
  262. package/google/iam/v2beta/policy_pb.js +102 -0
  263. package/google/logging/type/http_request_pb.d.ts +164 -0
  264. package/google/logging/type/http_request_pb.js +33 -0
  265. package/google/logging/type/log_severity_pb.d.ts +114 -0
  266. package/google/logging/type/log_severity_pb.js +53 -0
  267. package/google/logging/v2/log_entry_pb.d.ts +382 -0
  268. package/google/logging/v2/log_entry_pb.js +61 -0
  269. package/google/logging/v2/logging_config_connect.d.ts +401 -0
  270. package/google/logging/v2/logging_config_connect.js +401 -0
  271. package/google/logging/v2/logging_config_pb.d.ts +2422 -0
  272. package/google/logging/v2/logging_config_pb.js +360 -0
  273. package/google/logging/v2/logging_connect.d.ts +113 -0
  274. package/google/logging/v2/logging_connect.js +113 -0
  275. package/google/logging/v2/logging_metrics_connect.d.ts +88 -0
  276. package/google/logging/v2/logging_metrics_connect.js +88 -0
  277. package/google/logging/v2/logging_metrics_pb.d.ts +467 -0
  278. package/google/logging/v2/logging_metrics_pb.js +104 -0
  279. package/google/logging/v2/logging_pb.d.ts +718 -0
  280. package/google/logging/v2/logging_pb.js +147 -0
  281. package/google/longrunning/operations_connect.d.ts +127 -0
  282. package/google/longrunning/operations_connect.js +127 -0
  283. package/google/longrunning/operations_pb.d.ts +420 -0
  284. package/google/longrunning/operations_pb.js +117 -0
  285. package/google/protobuf/any_pb.d.ts +181 -0
  286. package/google/protobuf/any_pb.js +48 -0
  287. package/google/protobuf/api_pb.d.ts +301 -0
  288. package/google/protobuf/api_pb.js +64 -0
  289. package/google/protobuf/descriptor_pb.d.ts +2589 -0
  290. package/google/protobuf/descriptor_pb.js +503 -0
  291. package/google/protobuf/duration_pb.d.ts +133 -0
  292. package/google/protobuf/duration_pb.js +48 -0
  293. package/google/protobuf/empty_pb.d.ts +62 -0
  294. package/google/protobuf/empty_pb.js +48 -0
  295. package/google/protobuf/field_mask_pb.d.ts +259 -0
  296. package/google/protobuf/field_mask_pb.js +48 -0
  297. package/google/protobuf/source_context_pb.d.ts +63 -0
  298. package/google/protobuf/source_context_pb.js +48 -0
  299. package/google/protobuf/struct_pb.d.ts +185 -0
  300. package/google/protobuf/struct_pb.js +79 -0
  301. package/google/protobuf/timestamp_pb.d.ts +162 -0
  302. package/google/protobuf/timestamp_pb.js +48 -0
  303. package/google/protobuf/type_pb.d.ts +531 -0
  304. package/google/protobuf/type_pb.js +120 -0
  305. package/google/protobuf/wrappers_pb.d.ts +249 -0
  306. package/google/protobuf/wrappers_pb.js +114 -0
  307. package/google/rpc/code_pb.d.ts +264 -0
  308. package/google/rpc/code_pb.js +45 -0
  309. package/google/rpc/context/attribute_context_pb.d.ts +618 -0
  310. package/google/rpc/context/attribute_context_pb.js +78 -0
  311. package/google/rpc/context/audit_context_pb.d.ts +79 -0
  312. package/google/rpc/context/audit_context_pb.js +33 -0
  313. package/google/rpc/error_details_pb.d.ts +534 -0
  314. package/google/rpc/error_details_pb.js +124 -0
  315. package/google/rpc/http_pb.d.ts +136 -0
  316. package/google/rpc/http_pb.js +46 -0
  317. package/google/rpc/status_pb.d.ts +71 -0
  318. package/google/rpc/status_pb.js +33 -0
  319. package/google/type/calendar_period_pb.d.ts +98 -0
  320. package/google/type/calendar_period_pb.js +41 -0
  321. package/google/type/color_pb.d.ts +199 -0
  322. package/google/type/color_pb.js +33 -0
  323. package/google/type/date_pb.d.ts +75 -0
  324. package/google/type/date_pb.js +32 -0
  325. package/google/type/datetime_pb.d.ts +174 -0
  326. package/google/type/datetime_pb.js +40 -0
  327. package/google/type/dayofweek_pb.d.ts +92 -0
  328. package/google/type/dayofweek_pb.js +39 -0
  329. package/google/type/decimal_pb.d.ts +110 -0
  330. package/google/type/decimal_pb.js +32 -0
  331. package/google/type/expr_pb.d.ts +101 -0
  332. package/google/type/expr_pb.js +32 -0
  333. package/google/type/fraction_pb.d.ts +53 -0
  334. package/google/type/fraction_pb.js +32 -0
  335. package/google/type/interval_pb.d.ts +64 -0
  336. package/google/type/interval_pb.js +33 -0
  337. package/google/type/latlng_pb.d.ts +56 -0
  338. package/google/type/latlng_pb.js +32 -0
  339. package/google/type/localized_text_pb.d.ts +55 -0
  340. package/google/type/localized_text_pb.js +32 -0
  341. package/google/type/money_pb.d.ts +65 -0
  342. package/google/type/money_pb.js +32 -0
  343. package/google/type/month_pb.d.ts +127 -0
  344. package/google/type/month_pb.js +39 -0
  345. package/google/type/phone_number_pb.d.ts +160 -0
  346. package/google/type/phone_number_pb.js +39 -0
  347. package/google/type/postal_address_pb.d.ts +189 -0
  348. package/google/type/postal_address_pb.js +32 -0
  349. package/google/type/quaternion_pb.d.ts +121 -0
  350. package/google/type/quaternion_pb.js +32 -0
  351. package/google/type/timeofday_pb.d.ts +71 -0
  352. package/google/type/timeofday_pb.js +32 -0
  353. package/lf/a2a/v1/a2a_connect.d.ts +148 -0
  354. package/lf/a2a/v1/a2a_connect.js +148 -0
  355. package/lf/a2a/v1/a2a_pb.d.ts +2184 -0
  356. package/lf/a2a/v1/a2a_pb.js +363 -0
  357. package/package.json +10 -0
@@ -0,0 +1,2699 @@
1
+ // Copyright 2022 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.11.0 with parameter "target=js+dts"
16
+ // @generated from file google/iam/admin/v1/iam.proto (package google.iam.admin.v1, syntax proto3)
17
+ /* eslint-disable */
18
+
19
+ import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
20
+ import type { Message } from "@bufbuild/protobuf";
21
+ import type { FieldMask } from "../../../protobuf/field_mask_pb";
22
+ import type { Timestamp } from "../../../protobuf/timestamp_pb";
23
+ import type { Expr } from "../../../type/expr_pb";
24
+ import type { EmptySchema } from "../../../protobuf/empty_pb";
25
+ import type { GetIamPolicyRequestSchema, SetIamPolicyRequestSchema, TestIamPermissionsRequestSchema, TestIamPermissionsResponseSchema } from "../../v1/iam_policy_pb";
26
+ import type { PolicySchema } from "../../v1/policy_pb";
27
+
28
+ /**
29
+ * Describes the file google/iam/admin/v1/iam.proto.
30
+ */
31
+ export declare const file_google_iam_admin_v1_iam: GenFile;
32
+
33
+ /**
34
+ * An IAM service account.
35
+ *
36
+ * A service account is an account for an application or a virtual machine (VM)
37
+ * instance, not a person. You can use a service account to call Google APIs. To
38
+ * learn more, read the [overview of service
39
+ * accounts](https://cloud.google.com/iam/help/service-accounts/overview).
40
+ *
41
+ * When you create a service account, you specify the project ID that owns the
42
+ * service account, as well as a name that must be unique within the project.
43
+ * IAM uses these values to create an email address that identifies the service
44
+ * account.
45
+ *
46
+ * @generated from message google.iam.admin.v1.ServiceAccount
47
+ */
48
+ export declare type ServiceAccount = Message<"google.iam.admin.v1.ServiceAccount"> & {
49
+ /**
50
+ * The resource name of the service account.
51
+ *
52
+ * Use one of the following formats:
53
+ *
54
+ * * `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}`
55
+ * * `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}`
56
+ *
57
+ * As an alternative, you can use the `-` wildcard character instead of the
58
+ * project ID:
59
+ *
60
+ * * `projects/-/serviceAccounts/{EMAIL_ADDRESS}`
61
+ * * `projects/-/serviceAccounts/{UNIQUE_ID}`
62
+ *
63
+ * When possible, avoid using the `-` wildcard character, because it can cause
64
+ * response messages to contain misleading error codes. For example, if you
65
+ * try to get the service account
66
+ * `projects/-/serviceAccounts/fake@example.com`, which does not exist, the
67
+ * response contains an HTTP `403 Forbidden` error instead of a `404 Not
68
+ * Found` error.
69
+ *
70
+ * @generated from field: string name = 1;
71
+ */
72
+ name: string;
73
+
74
+ /**
75
+ * Output only. The ID of the project that owns the service account.
76
+ *
77
+ * @generated from field: string project_id = 2;
78
+ */
79
+ projectId: string;
80
+
81
+ /**
82
+ * Output only. The unique, stable numeric ID for the service account.
83
+ *
84
+ * Each service account retains its unique ID even if you delete the service
85
+ * account. For example, if you delete a service account, then create a new
86
+ * service account with the same name, the new service account has a different
87
+ * unique ID than the deleted service account.
88
+ *
89
+ * @generated from field: string unique_id = 4;
90
+ */
91
+ uniqueId: string;
92
+
93
+ /**
94
+ * Output only. The email address of the service account.
95
+ *
96
+ * @generated from field: string email = 5;
97
+ */
98
+ email: string;
99
+
100
+ /**
101
+ * Optional. A user-specified, human-readable name for the service account. The maximum
102
+ * length is 100 UTF-8 bytes.
103
+ *
104
+ * @generated from field: string display_name = 6;
105
+ */
106
+ displayName: string;
107
+
108
+ /**
109
+ * Deprecated. Do not use.
110
+ *
111
+ * @generated from field: bytes etag = 7 [deprecated = true];
112
+ * @deprecated
113
+ */
114
+ etag: Uint8Array;
115
+
116
+ /**
117
+ * Optional. A user-specified, human-readable description of the service account. The
118
+ * maximum length is 256 UTF-8 bytes.
119
+ *
120
+ * @generated from field: string description = 8;
121
+ */
122
+ description: string;
123
+
124
+ /**
125
+ * Output only. The OAuth 2.0 client ID for the service account.
126
+ *
127
+ * @generated from field: string oauth2_client_id = 9;
128
+ */
129
+ oauth2ClientId: string;
130
+
131
+ /**
132
+ * Output only. Whether the service account is disabled.
133
+ *
134
+ * @generated from field: bool disabled = 11;
135
+ */
136
+ disabled: boolean;
137
+ };
138
+
139
+ /**
140
+ * Describes the message google.iam.admin.v1.ServiceAccount.
141
+ * Use `create(ServiceAccountSchema)` to create a new message.
142
+ */
143
+ export declare const ServiceAccountSchema: GenMessage<ServiceAccount>;
144
+
145
+ /**
146
+ * The service account create request.
147
+ *
148
+ * @generated from message google.iam.admin.v1.CreateServiceAccountRequest
149
+ */
150
+ export declare type CreateServiceAccountRequest = Message<"google.iam.admin.v1.CreateServiceAccountRequest"> & {
151
+ /**
152
+ * Required. The resource name of the project associated with the service
153
+ * accounts, such as `projects/my-project-123`.
154
+ *
155
+ * @generated from field: string name = 1;
156
+ */
157
+ name: string;
158
+
159
+ /**
160
+ * Required. The account id that is used to generate the service account
161
+ * email address and a stable unique id. It is unique within a project,
162
+ * must be 6-30 characters long, and match the regular expression
163
+ * `[a-z]([-a-z0-9]*[a-z0-9])` to comply with RFC1035.
164
+ *
165
+ * @generated from field: string account_id = 2;
166
+ */
167
+ accountId: string;
168
+
169
+ /**
170
+ * The [ServiceAccount][google.iam.admin.v1.ServiceAccount] resource to
171
+ * create. Currently, only the following values are user assignable:
172
+ * `display_name` and `description`.
173
+ *
174
+ * @generated from field: google.iam.admin.v1.ServiceAccount service_account = 3;
175
+ */
176
+ serviceAccount?: ServiceAccount;
177
+ };
178
+
179
+ /**
180
+ * Describes the message google.iam.admin.v1.CreateServiceAccountRequest.
181
+ * Use `create(CreateServiceAccountRequestSchema)` to create a new message.
182
+ */
183
+ export declare const CreateServiceAccountRequestSchema: GenMessage<CreateServiceAccountRequest>;
184
+
185
+ /**
186
+ * The service account list request.
187
+ *
188
+ * @generated from message google.iam.admin.v1.ListServiceAccountsRequest
189
+ */
190
+ export declare type ListServiceAccountsRequest = Message<"google.iam.admin.v1.ListServiceAccountsRequest"> & {
191
+ /**
192
+ * Required. The resource name of the project associated with the service
193
+ * accounts, such as `projects/my-project-123`.
194
+ *
195
+ * @generated from field: string name = 1;
196
+ */
197
+ name: string;
198
+
199
+ /**
200
+ * Optional limit on the number of service accounts to include in the
201
+ * response. Further accounts can subsequently be obtained by including the
202
+ * [ListServiceAccountsResponse.next_page_token][google.iam.admin.v1.ListServiceAccountsResponse.next_page_token]
203
+ * in a subsequent request.
204
+ *
205
+ * The default is 20, and the maximum is 100.
206
+ *
207
+ * @generated from field: int32 page_size = 2;
208
+ */
209
+ pageSize: number;
210
+
211
+ /**
212
+ * Optional pagination token returned in an earlier
213
+ * [ListServiceAccountsResponse.next_page_token][google.iam.admin.v1.ListServiceAccountsResponse.next_page_token].
214
+ *
215
+ * @generated from field: string page_token = 3;
216
+ */
217
+ pageToken: string;
218
+ };
219
+
220
+ /**
221
+ * Describes the message google.iam.admin.v1.ListServiceAccountsRequest.
222
+ * Use `create(ListServiceAccountsRequestSchema)` to create a new message.
223
+ */
224
+ export declare const ListServiceAccountsRequestSchema: GenMessage<ListServiceAccountsRequest>;
225
+
226
+ /**
227
+ * The service account list response.
228
+ *
229
+ * @generated from message google.iam.admin.v1.ListServiceAccountsResponse
230
+ */
231
+ export declare type ListServiceAccountsResponse = Message<"google.iam.admin.v1.ListServiceAccountsResponse"> & {
232
+ /**
233
+ * The list of matching service accounts.
234
+ *
235
+ * @generated from field: repeated google.iam.admin.v1.ServiceAccount accounts = 1;
236
+ */
237
+ accounts: ServiceAccount[];
238
+
239
+ /**
240
+ * To retrieve the next page of results, set
241
+ * [ListServiceAccountsRequest.page_token][google.iam.admin.v1.ListServiceAccountsRequest.page_token]
242
+ * to this value.
243
+ *
244
+ * @generated from field: string next_page_token = 2;
245
+ */
246
+ nextPageToken: string;
247
+ };
248
+
249
+ /**
250
+ * Describes the message google.iam.admin.v1.ListServiceAccountsResponse.
251
+ * Use `create(ListServiceAccountsResponseSchema)` to create a new message.
252
+ */
253
+ export declare const ListServiceAccountsResponseSchema: GenMessage<ListServiceAccountsResponse>;
254
+
255
+ /**
256
+ * The service account get request.
257
+ *
258
+ * @generated from message google.iam.admin.v1.GetServiceAccountRequest
259
+ */
260
+ export declare type GetServiceAccountRequest = Message<"google.iam.admin.v1.GetServiceAccountRequest"> & {
261
+ /**
262
+ * Required. The resource name of the service account in the following format:
263
+ * `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`.
264
+ * Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
265
+ * the account. The `ACCOUNT` value can be the `email` address or the
266
+ * `unique_id` of the service account.
267
+ *
268
+ * @generated from field: string name = 1;
269
+ */
270
+ name: string;
271
+ };
272
+
273
+ /**
274
+ * Describes the message google.iam.admin.v1.GetServiceAccountRequest.
275
+ * Use `create(GetServiceAccountRequestSchema)` to create a new message.
276
+ */
277
+ export declare const GetServiceAccountRequestSchema: GenMessage<GetServiceAccountRequest>;
278
+
279
+ /**
280
+ * The service account delete request.
281
+ *
282
+ * @generated from message google.iam.admin.v1.DeleteServiceAccountRequest
283
+ */
284
+ export declare type DeleteServiceAccountRequest = Message<"google.iam.admin.v1.DeleteServiceAccountRequest"> & {
285
+ /**
286
+ * Required. The resource name of the service account in the following format:
287
+ * `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`.
288
+ * Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
289
+ * the account. The `ACCOUNT` value can be the `email` address or the
290
+ * `unique_id` of the service account.
291
+ *
292
+ * @generated from field: string name = 1;
293
+ */
294
+ name: string;
295
+ };
296
+
297
+ /**
298
+ * Describes the message google.iam.admin.v1.DeleteServiceAccountRequest.
299
+ * Use `create(DeleteServiceAccountRequestSchema)` to create a new message.
300
+ */
301
+ export declare const DeleteServiceAccountRequestSchema: GenMessage<DeleteServiceAccountRequest>;
302
+
303
+ /**
304
+ * The service account patch request.
305
+ *
306
+ * You can patch only the `display_name` and `description` fields. You must use
307
+ * the `update_mask` field to specify which of these fields you want to patch.
308
+ *
309
+ * Only the fields specified in the request are guaranteed to be returned in
310
+ * the response. Other fields may be empty in the response.
311
+ *
312
+ * @generated from message google.iam.admin.v1.PatchServiceAccountRequest
313
+ */
314
+ export declare type PatchServiceAccountRequest = Message<"google.iam.admin.v1.PatchServiceAccountRequest"> & {
315
+ /**
316
+ * @generated from field: google.iam.admin.v1.ServiceAccount service_account = 1;
317
+ */
318
+ serviceAccount?: ServiceAccount;
319
+
320
+ /**
321
+ * @generated from field: google.protobuf.FieldMask update_mask = 2;
322
+ */
323
+ updateMask?: FieldMask;
324
+ };
325
+
326
+ /**
327
+ * Describes the message google.iam.admin.v1.PatchServiceAccountRequest.
328
+ * Use `create(PatchServiceAccountRequestSchema)` to create a new message.
329
+ */
330
+ export declare const PatchServiceAccountRequestSchema: GenMessage<PatchServiceAccountRequest>;
331
+
332
+ /**
333
+ * The service account undelete request.
334
+ *
335
+ * @generated from message google.iam.admin.v1.UndeleteServiceAccountRequest
336
+ */
337
+ export declare type UndeleteServiceAccountRequest = Message<"google.iam.admin.v1.UndeleteServiceAccountRequest"> & {
338
+ /**
339
+ * The resource name of the service account in the following format:
340
+ * `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT_UNIQUE_ID}`.
341
+ * Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
342
+ * the account.
343
+ *
344
+ * @generated from field: string name = 1;
345
+ */
346
+ name: string;
347
+ };
348
+
349
+ /**
350
+ * Describes the message google.iam.admin.v1.UndeleteServiceAccountRequest.
351
+ * Use `create(UndeleteServiceAccountRequestSchema)` to create a new message.
352
+ */
353
+ export declare const UndeleteServiceAccountRequestSchema: GenMessage<UndeleteServiceAccountRequest>;
354
+
355
+ /**
356
+ * @generated from message google.iam.admin.v1.UndeleteServiceAccountResponse
357
+ */
358
+ export declare type UndeleteServiceAccountResponse = Message<"google.iam.admin.v1.UndeleteServiceAccountResponse"> & {
359
+ /**
360
+ * Metadata for the restored service account.
361
+ *
362
+ * @generated from field: google.iam.admin.v1.ServiceAccount restored_account = 1;
363
+ */
364
+ restoredAccount?: ServiceAccount;
365
+ };
366
+
367
+ /**
368
+ * Describes the message google.iam.admin.v1.UndeleteServiceAccountResponse.
369
+ * Use `create(UndeleteServiceAccountResponseSchema)` to create a new message.
370
+ */
371
+ export declare const UndeleteServiceAccountResponseSchema: GenMessage<UndeleteServiceAccountResponse>;
372
+
373
+ /**
374
+ * The service account enable request.
375
+ *
376
+ * @generated from message google.iam.admin.v1.EnableServiceAccountRequest
377
+ */
378
+ export declare type EnableServiceAccountRequest = Message<"google.iam.admin.v1.EnableServiceAccountRequest"> & {
379
+ /**
380
+ * The resource name of the service account in the following format:
381
+ * `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`.
382
+ * Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
383
+ * the account. The `ACCOUNT` value can be the `email` address or the
384
+ * `unique_id` of the service account.
385
+ *
386
+ * @generated from field: string name = 1;
387
+ */
388
+ name: string;
389
+ };
390
+
391
+ /**
392
+ * Describes the message google.iam.admin.v1.EnableServiceAccountRequest.
393
+ * Use `create(EnableServiceAccountRequestSchema)` to create a new message.
394
+ */
395
+ export declare const EnableServiceAccountRequestSchema: GenMessage<EnableServiceAccountRequest>;
396
+
397
+ /**
398
+ * The service account disable request.
399
+ *
400
+ * @generated from message google.iam.admin.v1.DisableServiceAccountRequest
401
+ */
402
+ export declare type DisableServiceAccountRequest = Message<"google.iam.admin.v1.DisableServiceAccountRequest"> & {
403
+ /**
404
+ * The resource name of the service account in the following format:
405
+ * `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`.
406
+ * Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
407
+ * the account. The `ACCOUNT` value can be the `email` address or the
408
+ * `unique_id` of the service account.
409
+ *
410
+ * @generated from field: string name = 1;
411
+ */
412
+ name: string;
413
+ };
414
+
415
+ /**
416
+ * Describes the message google.iam.admin.v1.DisableServiceAccountRequest.
417
+ * Use `create(DisableServiceAccountRequestSchema)` to create a new message.
418
+ */
419
+ export declare const DisableServiceAccountRequestSchema: GenMessage<DisableServiceAccountRequest>;
420
+
421
+ /**
422
+ * The service account keys list request.
423
+ *
424
+ * @generated from message google.iam.admin.v1.ListServiceAccountKeysRequest
425
+ */
426
+ export declare type ListServiceAccountKeysRequest = Message<"google.iam.admin.v1.ListServiceAccountKeysRequest"> & {
427
+ /**
428
+ * Required. The resource name of the service account in the following format:
429
+ * `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`.
430
+ *
431
+ * Using `-` as a wildcard for the `PROJECT_ID`, will infer the project from
432
+ * the account. The `ACCOUNT` value can be the `email` address or the
433
+ * `unique_id` of the service account.
434
+ *
435
+ * @generated from field: string name = 1;
436
+ */
437
+ name: string;
438
+
439
+ /**
440
+ * Filters the types of keys the user wants to include in the list
441
+ * response. Duplicate key types are not allowed. If no key type
442
+ * is provided, all keys are returned.
443
+ *
444
+ * @generated from field: repeated google.iam.admin.v1.ListServiceAccountKeysRequest.KeyType key_types = 2;
445
+ */
446
+ keyTypes: ListServiceAccountKeysRequest_KeyType[];
447
+ };
448
+
449
+ /**
450
+ * Describes the message google.iam.admin.v1.ListServiceAccountKeysRequest.
451
+ * Use `create(ListServiceAccountKeysRequestSchema)` to create a new message.
452
+ */
453
+ export declare const ListServiceAccountKeysRequestSchema: GenMessage<ListServiceAccountKeysRequest>;
454
+
455
+ /**
456
+ * `KeyType` filters to selectively retrieve certain varieties
457
+ * of keys.
458
+ *
459
+ * @generated from enum google.iam.admin.v1.ListServiceAccountKeysRequest.KeyType
460
+ */
461
+ export enum ListServiceAccountKeysRequest_KeyType {
462
+ /**
463
+ * Unspecified key type. The presence of this in the
464
+ * message will immediately result in an error.
465
+ *
466
+ * @generated from enum value: KEY_TYPE_UNSPECIFIED = 0;
467
+ */
468
+ KEY_TYPE_UNSPECIFIED = 0,
469
+
470
+ /**
471
+ * User-managed keys (managed and rotated by the user).
472
+ *
473
+ * @generated from enum value: USER_MANAGED = 1;
474
+ */
475
+ USER_MANAGED = 1,
476
+
477
+ /**
478
+ * System-managed keys (managed and rotated by Google).
479
+ *
480
+ * @generated from enum value: SYSTEM_MANAGED = 2;
481
+ */
482
+ SYSTEM_MANAGED = 2,
483
+ }
484
+
485
+ /**
486
+ * Describes the enum google.iam.admin.v1.ListServiceAccountKeysRequest.KeyType.
487
+ */
488
+ export declare const ListServiceAccountKeysRequest_KeyTypeSchema: GenEnum<ListServiceAccountKeysRequest_KeyType>;
489
+
490
+ /**
491
+ * The service account keys list response.
492
+ *
493
+ * @generated from message google.iam.admin.v1.ListServiceAccountKeysResponse
494
+ */
495
+ export declare type ListServiceAccountKeysResponse = Message<"google.iam.admin.v1.ListServiceAccountKeysResponse"> & {
496
+ /**
497
+ * The public keys for the service account.
498
+ *
499
+ * @generated from field: repeated google.iam.admin.v1.ServiceAccountKey keys = 1;
500
+ */
501
+ keys: ServiceAccountKey[];
502
+ };
503
+
504
+ /**
505
+ * Describes the message google.iam.admin.v1.ListServiceAccountKeysResponse.
506
+ * Use `create(ListServiceAccountKeysResponseSchema)` to create a new message.
507
+ */
508
+ export declare const ListServiceAccountKeysResponseSchema: GenMessage<ListServiceAccountKeysResponse>;
509
+
510
+ /**
511
+ * The service account key get by id request.
512
+ *
513
+ * @generated from message google.iam.admin.v1.GetServiceAccountKeyRequest
514
+ */
515
+ export declare type GetServiceAccountKeyRequest = Message<"google.iam.admin.v1.GetServiceAccountKeyRequest"> & {
516
+ /**
517
+ * Required. The resource name of the service account key in the following format:
518
+ * `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}`.
519
+ *
520
+ * Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
521
+ * the account. The `ACCOUNT` value can be the `email` address or the
522
+ * `unique_id` of the service account.
523
+ *
524
+ * @generated from field: string name = 1;
525
+ */
526
+ name: string;
527
+
528
+ /**
529
+ * Optional. The output format of the public key. The default is `TYPE_NONE`, which
530
+ * means that the public key is not returned.
531
+ *
532
+ * @generated from field: google.iam.admin.v1.ServiceAccountPublicKeyType public_key_type = 2;
533
+ */
534
+ publicKeyType: ServiceAccountPublicKeyType;
535
+ };
536
+
537
+ /**
538
+ * Describes the message google.iam.admin.v1.GetServiceAccountKeyRequest.
539
+ * Use `create(GetServiceAccountKeyRequestSchema)` to create a new message.
540
+ */
541
+ export declare const GetServiceAccountKeyRequestSchema: GenMessage<GetServiceAccountKeyRequest>;
542
+
543
+ /**
544
+ * Represents a service account key.
545
+ *
546
+ * A service account has two sets of key-pairs: user-managed, and
547
+ * system-managed.
548
+ *
549
+ * User-managed key-pairs can be created and deleted by users. Users are
550
+ * responsible for rotating these keys periodically to ensure security of
551
+ * their service accounts. Users retain the private key of these key-pairs,
552
+ * and Google retains ONLY the public key.
553
+ *
554
+ * System-managed keys are automatically rotated by Google, and are used for
555
+ * signing for a maximum of two weeks. The rotation process is probabilistic,
556
+ * and usage of the new key will gradually ramp up and down over the key's
557
+ * lifetime.
558
+ *
559
+ * If you cache the public key set for a service account, we recommend that you
560
+ * update the cache every 15 minutes. User-managed keys can be added and removed
561
+ * at any time, so it is important to update the cache frequently. For
562
+ * Google-managed keys, Google will publish a key at least 6 hours before it is
563
+ * first used for signing and will keep publishing it for at least 6 hours after
564
+ * it was last used for signing.
565
+ *
566
+ * Public keys for all service accounts are also published at the OAuth2
567
+ * Service Account API.
568
+ *
569
+ * @generated from message google.iam.admin.v1.ServiceAccountKey
570
+ */
571
+ export declare type ServiceAccountKey = Message<"google.iam.admin.v1.ServiceAccountKey"> & {
572
+ /**
573
+ * The resource name of the service account key in the following format
574
+ * `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}`.
575
+ *
576
+ * @generated from field: string name = 1;
577
+ */
578
+ name: string;
579
+
580
+ /**
581
+ * The output format for the private key.
582
+ * Only provided in `CreateServiceAccountKey` responses, not
583
+ * in `GetServiceAccountKey` or `ListServiceAccountKey` responses.
584
+ *
585
+ * Google never exposes system-managed private keys, and never retains
586
+ * user-managed private keys.
587
+ *
588
+ * @generated from field: google.iam.admin.v1.ServiceAccountPrivateKeyType private_key_type = 2;
589
+ */
590
+ privateKeyType: ServiceAccountPrivateKeyType;
591
+
592
+ /**
593
+ * Specifies the algorithm (and possibly key size) for the key.
594
+ *
595
+ * @generated from field: google.iam.admin.v1.ServiceAccountKeyAlgorithm key_algorithm = 8;
596
+ */
597
+ keyAlgorithm: ServiceAccountKeyAlgorithm;
598
+
599
+ /**
600
+ * The private key data. Only provided in `CreateServiceAccountKey`
601
+ * responses. Make sure to keep the private key data secure because it
602
+ * allows for the assertion of the service account identity.
603
+ * When base64 decoded, the private key data can be used to authenticate with
604
+ * Google API client libraries and with
605
+ * <a href="/sdk/gcloud/reference/auth/activate-service-account">gcloud
606
+ * auth activate-service-account</a>.
607
+ *
608
+ * @generated from field: bytes private_key_data = 3;
609
+ */
610
+ privateKeyData: Uint8Array;
611
+
612
+ /**
613
+ * The public key data. Only provided in `GetServiceAccountKey` responses.
614
+ *
615
+ * @generated from field: bytes public_key_data = 7;
616
+ */
617
+ publicKeyData: Uint8Array;
618
+
619
+ /**
620
+ * The key can be used after this timestamp.
621
+ *
622
+ * @generated from field: google.protobuf.Timestamp valid_after_time = 4;
623
+ */
624
+ validAfterTime?: Timestamp;
625
+
626
+ /**
627
+ * The key can be used before this timestamp.
628
+ * For system-managed key pairs, this timestamp is the end time for the
629
+ * private key signing operation. The public key could still be used
630
+ * for verification for a few hours after this time.
631
+ *
632
+ * @generated from field: google.protobuf.Timestamp valid_before_time = 5;
633
+ */
634
+ validBeforeTime?: Timestamp;
635
+
636
+ /**
637
+ * The key origin.
638
+ *
639
+ * @generated from field: google.iam.admin.v1.ServiceAccountKeyOrigin key_origin = 9;
640
+ */
641
+ keyOrigin: ServiceAccountKeyOrigin;
642
+
643
+ /**
644
+ * The key type.
645
+ *
646
+ * @generated from field: google.iam.admin.v1.ListServiceAccountKeysRequest.KeyType key_type = 10;
647
+ */
648
+ keyType: ListServiceAccountKeysRequest_KeyType;
649
+
650
+ /**
651
+ * The key status.
652
+ *
653
+ * @generated from field: bool disabled = 11;
654
+ */
655
+ disabled: boolean;
656
+ };
657
+
658
+ /**
659
+ * Describes the message google.iam.admin.v1.ServiceAccountKey.
660
+ * Use `create(ServiceAccountKeySchema)` to create a new message.
661
+ */
662
+ export declare const ServiceAccountKeySchema: GenMessage<ServiceAccountKey>;
663
+
664
+ /**
665
+ * The service account key create request.
666
+ *
667
+ * @generated from message google.iam.admin.v1.CreateServiceAccountKeyRequest
668
+ */
669
+ export declare type CreateServiceAccountKeyRequest = Message<"google.iam.admin.v1.CreateServiceAccountKeyRequest"> & {
670
+ /**
671
+ * Required. The resource name of the service account in the following format:
672
+ * `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`.
673
+ * Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
674
+ * the account. The `ACCOUNT` value can be the `email` address or the
675
+ * `unique_id` of the service account.
676
+ *
677
+ * @generated from field: string name = 1;
678
+ */
679
+ name: string;
680
+
681
+ /**
682
+ * The output format of the private key. The default value is
683
+ * `TYPE_GOOGLE_CREDENTIALS_FILE`, which is the Google Credentials File
684
+ * format.
685
+ *
686
+ * @generated from field: google.iam.admin.v1.ServiceAccountPrivateKeyType private_key_type = 2;
687
+ */
688
+ privateKeyType: ServiceAccountPrivateKeyType;
689
+
690
+ /**
691
+ * Which type of key and algorithm to use for the key.
692
+ * The default is currently a 2K RSA key. However this may change in the
693
+ * future.
694
+ *
695
+ * @generated from field: google.iam.admin.v1.ServiceAccountKeyAlgorithm key_algorithm = 3;
696
+ */
697
+ keyAlgorithm: ServiceAccountKeyAlgorithm;
698
+ };
699
+
700
+ /**
701
+ * Describes the message google.iam.admin.v1.CreateServiceAccountKeyRequest.
702
+ * Use `create(CreateServiceAccountKeyRequestSchema)` to create a new message.
703
+ */
704
+ export declare const CreateServiceAccountKeyRequestSchema: GenMessage<CreateServiceAccountKeyRequest>;
705
+
706
+ /**
707
+ * The service account key upload request.
708
+ *
709
+ * @generated from message google.iam.admin.v1.UploadServiceAccountKeyRequest
710
+ */
711
+ export declare type UploadServiceAccountKeyRequest = Message<"google.iam.admin.v1.UploadServiceAccountKeyRequest"> & {
712
+ /**
713
+ * The resource name of the service account in the following format:
714
+ * `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`.
715
+ * Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
716
+ * the account. The `ACCOUNT` value can be the `email` address or the
717
+ * `unique_id` of the service account.
718
+ *
719
+ * @generated from field: string name = 1;
720
+ */
721
+ name: string;
722
+
723
+ /**
724
+ * The public key to associate with the service account. Must be an RSA public
725
+ * key that is wrapped in an X.509 v3 certificate. Include the first line,
726
+ * `-----BEGIN CERTIFICATE-----`, and the last line,
727
+ * `-----END CERTIFICATE-----`.
728
+ *
729
+ * @generated from field: bytes public_key_data = 2;
730
+ */
731
+ publicKeyData: Uint8Array;
732
+ };
733
+
734
+ /**
735
+ * Describes the message google.iam.admin.v1.UploadServiceAccountKeyRequest.
736
+ * Use `create(UploadServiceAccountKeyRequestSchema)` to create a new message.
737
+ */
738
+ export declare const UploadServiceAccountKeyRequestSchema: GenMessage<UploadServiceAccountKeyRequest>;
739
+
740
+ /**
741
+ * The service account key delete request.
742
+ *
743
+ * @generated from message google.iam.admin.v1.DeleteServiceAccountKeyRequest
744
+ */
745
+ export declare type DeleteServiceAccountKeyRequest = Message<"google.iam.admin.v1.DeleteServiceAccountKeyRequest"> & {
746
+ /**
747
+ * Required. The resource name of the service account key in the following format:
748
+ * `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}`.
749
+ * Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
750
+ * the account. The `ACCOUNT` value can be the `email` address or the
751
+ * `unique_id` of the service account.
752
+ *
753
+ * @generated from field: string name = 1;
754
+ */
755
+ name: string;
756
+ };
757
+
758
+ /**
759
+ * Describes the message google.iam.admin.v1.DeleteServiceAccountKeyRequest.
760
+ * Use `create(DeleteServiceAccountKeyRequestSchema)` to create a new message.
761
+ */
762
+ export declare const DeleteServiceAccountKeyRequestSchema: GenMessage<DeleteServiceAccountKeyRequest>;
763
+
764
+ /**
765
+ * The service account key disable request.
766
+ *
767
+ * @generated from message google.iam.admin.v1.DisableServiceAccountKeyRequest
768
+ */
769
+ export declare type DisableServiceAccountKeyRequest = Message<"google.iam.admin.v1.DisableServiceAccountKeyRequest"> & {
770
+ /**
771
+ * Required. The resource name of the service account key in the following format:
772
+ * `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}`.
773
+ *
774
+ * Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
775
+ * the account. The `ACCOUNT` value can be the `email` address or the
776
+ * `unique_id` of the service account.
777
+ *
778
+ * @generated from field: string name = 1;
779
+ */
780
+ name: string;
781
+ };
782
+
783
+ /**
784
+ * Describes the message google.iam.admin.v1.DisableServiceAccountKeyRequest.
785
+ * Use `create(DisableServiceAccountKeyRequestSchema)` to create a new message.
786
+ */
787
+ export declare const DisableServiceAccountKeyRequestSchema: GenMessage<DisableServiceAccountKeyRequest>;
788
+
789
+ /**
790
+ * The service account key enable request.
791
+ *
792
+ * @generated from message google.iam.admin.v1.EnableServiceAccountKeyRequest
793
+ */
794
+ export declare type EnableServiceAccountKeyRequest = Message<"google.iam.admin.v1.EnableServiceAccountKeyRequest"> & {
795
+ /**
796
+ * Required. The resource name of the service account key in the following format:
797
+ * `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}`.
798
+ *
799
+ * Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
800
+ * the account. The `ACCOUNT` value can be the `email` address or the
801
+ * `unique_id` of the service account.
802
+ *
803
+ * @generated from field: string name = 1;
804
+ */
805
+ name: string;
806
+ };
807
+
808
+ /**
809
+ * Describes the message google.iam.admin.v1.EnableServiceAccountKeyRequest.
810
+ * Use `create(EnableServiceAccountKeyRequestSchema)` to create a new message.
811
+ */
812
+ export declare const EnableServiceAccountKeyRequestSchema: GenMessage<EnableServiceAccountKeyRequest>;
813
+
814
+ /**
815
+ * Deprecated. [Migrate to Service Account Credentials
816
+ * API](https://cloud.google.com/iam/help/credentials/migrate-api).
817
+ *
818
+ * The service account sign blob request.
819
+ *
820
+ * @generated from message google.iam.admin.v1.SignBlobRequest
821
+ */
822
+ export declare type SignBlobRequest = Message<"google.iam.admin.v1.SignBlobRequest"> & {
823
+ /**
824
+ * Required. Deprecated. [Migrate to Service Account Credentials
825
+ * API](https://cloud.google.com/iam/help/credentials/migrate-api).
826
+ *
827
+ * The resource name of the service account in the following format:
828
+ * `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`.
829
+ * Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
830
+ * the account. The `ACCOUNT` value can be the `email` address or the
831
+ * `unique_id` of the service account.
832
+ *
833
+ * @generated from field: string name = 1 [deprecated = true];
834
+ * @deprecated
835
+ */
836
+ name: string;
837
+
838
+ /**
839
+ * Required. Deprecated. [Migrate to Service Account Credentials
840
+ * API](https://cloud.google.com/iam/help/credentials/migrate-api).
841
+ *
842
+ * The bytes to sign.
843
+ *
844
+ * @generated from field: bytes bytes_to_sign = 2 [deprecated = true];
845
+ * @deprecated
846
+ */
847
+ bytesToSign: Uint8Array;
848
+ };
849
+
850
+ /**
851
+ * Describes the message google.iam.admin.v1.SignBlobRequest.
852
+ * Use `create(SignBlobRequestSchema)` to create a new message.
853
+ */
854
+ export declare const SignBlobRequestSchema: GenMessage<SignBlobRequest>;
855
+
856
+ /**
857
+ * Deprecated. [Migrate to Service Account Credentials
858
+ * API](https://cloud.google.com/iam/help/credentials/migrate-api).
859
+ *
860
+ * The service account sign blob response.
861
+ *
862
+ * @generated from message google.iam.admin.v1.SignBlobResponse
863
+ */
864
+ export declare type SignBlobResponse = Message<"google.iam.admin.v1.SignBlobResponse"> & {
865
+ /**
866
+ * Deprecated. [Migrate to Service Account Credentials
867
+ * API](https://cloud.google.com/iam/help/credentials/migrate-api).
868
+ *
869
+ * The id of the key used to sign the blob.
870
+ *
871
+ * @generated from field: string key_id = 1 [deprecated = true];
872
+ * @deprecated
873
+ */
874
+ keyId: string;
875
+
876
+ /**
877
+ * Deprecated. [Migrate to Service Account Credentials
878
+ * API](https://cloud.google.com/iam/help/credentials/migrate-api).
879
+ *
880
+ * The signed blob.
881
+ *
882
+ * @generated from field: bytes signature = 2 [deprecated = true];
883
+ * @deprecated
884
+ */
885
+ signature: Uint8Array;
886
+ };
887
+
888
+ /**
889
+ * Describes the message google.iam.admin.v1.SignBlobResponse.
890
+ * Use `create(SignBlobResponseSchema)` to create a new message.
891
+ */
892
+ export declare const SignBlobResponseSchema: GenMessage<SignBlobResponse>;
893
+
894
+ /**
895
+ * Deprecated. [Migrate to Service Account Credentials
896
+ * API](https://cloud.google.com/iam/help/credentials/migrate-api).
897
+ *
898
+ * The service account sign JWT request.
899
+ *
900
+ * @generated from message google.iam.admin.v1.SignJwtRequest
901
+ */
902
+ export declare type SignJwtRequest = Message<"google.iam.admin.v1.SignJwtRequest"> & {
903
+ /**
904
+ * Required. Deprecated. [Migrate to Service Account Credentials
905
+ * API](https://cloud.google.com/iam/help/credentials/migrate-api).
906
+ *
907
+ * The resource name of the service account in the following format:
908
+ * `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`.
909
+ * Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
910
+ * the account. The `ACCOUNT` value can be the `email` address or the
911
+ * `unique_id` of the service account.
912
+ *
913
+ * @generated from field: string name = 1 [deprecated = true];
914
+ * @deprecated
915
+ */
916
+ name: string;
917
+
918
+ /**
919
+ * Required. Deprecated. [Migrate to Service Account Credentials
920
+ * API](https://cloud.google.com/iam/help/credentials/migrate-api).
921
+ *
922
+ * The JWT payload to sign. Must be a serialized JSON object that contains a
923
+ * JWT Claims Set. For example: `{"sub": "user@example.com", "iat": 313435}`
924
+ *
925
+ * If the JWT Claims Set contains an expiration time (`exp`) claim, it must be
926
+ * an integer timestamp that is not in the past and no more than 12 hours in
927
+ * the future.
928
+ *
929
+ * If the JWT Claims Set does not contain an expiration time (`exp`) claim,
930
+ * this claim is added automatically, with a timestamp that is 1 hour in the
931
+ * future.
932
+ *
933
+ * @generated from field: string payload = 2 [deprecated = true];
934
+ * @deprecated
935
+ */
936
+ payload: string;
937
+ };
938
+
939
+ /**
940
+ * Describes the message google.iam.admin.v1.SignJwtRequest.
941
+ * Use `create(SignJwtRequestSchema)` to create a new message.
942
+ */
943
+ export declare const SignJwtRequestSchema: GenMessage<SignJwtRequest>;
944
+
945
+ /**
946
+ * Deprecated. [Migrate to Service Account Credentials
947
+ * API](https://cloud.google.com/iam/help/credentials/migrate-api).
948
+ *
949
+ * The service account sign JWT response.
950
+ *
951
+ * @generated from message google.iam.admin.v1.SignJwtResponse
952
+ */
953
+ export declare type SignJwtResponse = Message<"google.iam.admin.v1.SignJwtResponse"> & {
954
+ /**
955
+ * Deprecated. [Migrate to Service Account Credentials
956
+ * API](https://cloud.google.com/iam/help/credentials/migrate-api).
957
+ *
958
+ * The id of the key used to sign the JWT.
959
+ *
960
+ * @generated from field: string key_id = 1 [deprecated = true];
961
+ * @deprecated
962
+ */
963
+ keyId: string;
964
+
965
+ /**
966
+ * Deprecated. [Migrate to Service Account Credentials
967
+ * API](https://cloud.google.com/iam/help/credentials/migrate-api).
968
+ *
969
+ * The signed JWT.
970
+ *
971
+ * @generated from field: string signed_jwt = 2 [deprecated = true];
972
+ * @deprecated
973
+ */
974
+ signedJwt: string;
975
+ };
976
+
977
+ /**
978
+ * Describes the message google.iam.admin.v1.SignJwtResponse.
979
+ * Use `create(SignJwtResponseSchema)` to create a new message.
980
+ */
981
+ export declare const SignJwtResponseSchema: GenMessage<SignJwtResponse>;
982
+
983
+ /**
984
+ * A role in the Identity and Access Management API.
985
+ *
986
+ * @generated from message google.iam.admin.v1.Role
987
+ */
988
+ export declare type Role = Message<"google.iam.admin.v1.Role"> & {
989
+ /**
990
+ * The name of the role.
991
+ *
992
+ * When Role is used in CreateRole, the role name must not be set.
993
+ *
994
+ * When Role is used in output and other input such as UpdateRole, the role
995
+ * name is the complete path, e.g., roles/logging.viewer for predefined roles
996
+ * and organizations/{ORGANIZATION_ID}/roles/logging.viewer for custom roles.
997
+ *
998
+ * @generated from field: string name = 1;
999
+ */
1000
+ name: string;
1001
+
1002
+ /**
1003
+ * Optional. A human-readable title for the role. Typically this
1004
+ * is limited to 100 UTF-8 bytes.
1005
+ *
1006
+ * @generated from field: string title = 2;
1007
+ */
1008
+ title: string;
1009
+
1010
+ /**
1011
+ * Optional. A human-readable description for the role.
1012
+ *
1013
+ * @generated from field: string description = 3;
1014
+ */
1015
+ description: string;
1016
+
1017
+ /**
1018
+ * The names of the permissions this role grants when bound in an IAM policy.
1019
+ *
1020
+ * @generated from field: repeated string included_permissions = 7;
1021
+ */
1022
+ includedPermissions: string[];
1023
+
1024
+ /**
1025
+ * The current launch stage of the role. If the `ALPHA` launch stage has been
1026
+ * selected for a role, the `stage` field will not be included in the
1027
+ * returned definition for the role.
1028
+ *
1029
+ * @generated from field: google.iam.admin.v1.Role.RoleLaunchStage stage = 8;
1030
+ */
1031
+ stage: Role_RoleLaunchStage;
1032
+
1033
+ /**
1034
+ * Used to perform a consistent read-modify-write.
1035
+ *
1036
+ * @generated from field: bytes etag = 9;
1037
+ */
1038
+ etag: Uint8Array;
1039
+
1040
+ /**
1041
+ * The current deleted state of the role. This field is read only.
1042
+ * It will be ignored in calls to CreateRole and UpdateRole.
1043
+ *
1044
+ * @generated from field: bool deleted = 11;
1045
+ */
1046
+ deleted: boolean;
1047
+ };
1048
+
1049
+ /**
1050
+ * Describes the message google.iam.admin.v1.Role.
1051
+ * Use `create(RoleSchema)` to create a new message.
1052
+ */
1053
+ export declare const RoleSchema: GenMessage<Role>;
1054
+
1055
+ /**
1056
+ * A stage representing a role's lifecycle phase.
1057
+ *
1058
+ * @generated from enum google.iam.admin.v1.Role.RoleLaunchStage
1059
+ */
1060
+ export enum Role_RoleLaunchStage {
1061
+ /**
1062
+ * The user has indicated this role is currently in an Alpha phase. If this
1063
+ * launch stage is selected, the `stage` field will not be included when
1064
+ * requesting the definition for a given role.
1065
+ *
1066
+ * @generated from enum value: ALPHA = 0;
1067
+ */
1068
+ ALPHA = 0,
1069
+
1070
+ /**
1071
+ * The user has indicated this role is currently in a Beta phase.
1072
+ *
1073
+ * @generated from enum value: BETA = 1;
1074
+ */
1075
+ BETA = 1,
1076
+
1077
+ /**
1078
+ * The user has indicated this role is generally available.
1079
+ *
1080
+ * @generated from enum value: GA = 2;
1081
+ */
1082
+ GA = 2,
1083
+
1084
+ /**
1085
+ * The user has indicated this role is being deprecated.
1086
+ *
1087
+ * @generated from enum value: DEPRECATED = 4;
1088
+ */
1089
+ DEPRECATED = 4,
1090
+
1091
+ /**
1092
+ * This role is disabled and will not contribute permissions to any
1093
+ * principals it is granted to in policies.
1094
+ *
1095
+ * @generated from enum value: DISABLED = 5;
1096
+ */
1097
+ DISABLED = 5,
1098
+
1099
+ /**
1100
+ * The user has indicated this role is currently in an EAP phase.
1101
+ *
1102
+ * @generated from enum value: EAP = 6;
1103
+ */
1104
+ EAP = 6,
1105
+ }
1106
+
1107
+ /**
1108
+ * Describes the enum google.iam.admin.v1.Role.RoleLaunchStage.
1109
+ */
1110
+ export declare const Role_RoleLaunchStageSchema: GenEnum<Role_RoleLaunchStage>;
1111
+
1112
+ /**
1113
+ * The grantable role query request.
1114
+ *
1115
+ * @generated from message google.iam.admin.v1.QueryGrantableRolesRequest
1116
+ */
1117
+ export declare type QueryGrantableRolesRequest = Message<"google.iam.admin.v1.QueryGrantableRolesRequest"> & {
1118
+ /**
1119
+ * Required. The full resource name to query from the list of grantable roles.
1120
+ *
1121
+ * The name follows the Google Cloud Platform resource format.
1122
+ * For example, a Cloud Platform project with id `my-project` will be named
1123
+ * `//cloudresourcemanager.googleapis.com/projects/my-project`.
1124
+ *
1125
+ * @generated from field: string full_resource_name = 1;
1126
+ */
1127
+ fullResourceName: string;
1128
+
1129
+ /**
1130
+ * @generated from field: google.iam.admin.v1.RoleView view = 2;
1131
+ */
1132
+ view: RoleView;
1133
+
1134
+ /**
1135
+ * Optional limit on the number of roles to include in the response.
1136
+ *
1137
+ * The default is 300, and the maximum is 1,000.
1138
+ *
1139
+ * @generated from field: int32 page_size = 3;
1140
+ */
1141
+ pageSize: number;
1142
+
1143
+ /**
1144
+ * Optional pagination token returned in an earlier
1145
+ * QueryGrantableRolesResponse.
1146
+ *
1147
+ * @generated from field: string page_token = 4;
1148
+ */
1149
+ pageToken: string;
1150
+ };
1151
+
1152
+ /**
1153
+ * Describes the message google.iam.admin.v1.QueryGrantableRolesRequest.
1154
+ * Use `create(QueryGrantableRolesRequestSchema)` to create a new message.
1155
+ */
1156
+ export declare const QueryGrantableRolesRequestSchema: GenMessage<QueryGrantableRolesRequest>;
1157
+
1158
+ /**
1159
+ * The grantable role query response.
1160
+ *
1161
+ * @generated from message google.iam.admin.v1.QueryGrantableRolesResponse
1162
+ */
1163
+ export declare type QueryGrantableRolesResponse = Message<"google.iam.admin.v1.QueryGrantableRolesResponse"> & {
1164
+ /**
1165
+ * The list of matching roles.
1166
+ *
1167
+ * @generated from field: repeated google.iam.admin.v1.Role roles = 1;
1168
+ */
1169
+ roles: Role[];
1170
+
1171
+ /**
1172
+ * To retrieve the next page of results, set
1173
+ * `QueryGrantableRolesRequest.page_token` to this value.
1174
+ *
1175
+ * @generated from field: string next_page_token = 2;
1176
+ */
1177
+ nextPageToken: string;
1178
+ };
1179
+
1180
+ /**
1181
+ * Describes the message google.iam.admin.v1.QueryGrantableRolesResponse.
1182
+ * Use `create(QueryGrantableRolesResponseSchema)` to create a new message.
1183
+ */
1184
+ export declare const QueryGrantableRolesResponseSchema: GenMessage<QueryGrantableRolesResponse>;
1185
+
1186
+ /**
1187
+ * The request to get all roles defined under a resource.
1188
+ *
1189
+ * @generated from message google.iam.admin.v1.ListRolesRequest
1190
+ */
1191
+ export declare type ListRolesRequest = Message<"google.iam.admin.v1.ListRolesRequest"> & {
1192
+ /**
1193
+ * The `parent` parameter's value depends on the target resource for the
1194
+ * request, namely
1195
+ * [`roles`](https://cloud.google.com/iam/reference/rest/v1/roles),
1196
+ * [`projects`](https://cloud.google.com/iam/reference/rest/v1/projects.roles),
1197
+ * or
1198
+ * [`organizations`](https://cloud.google.com/iam/reference/rest/v1/organizations.roles).
1199
+ * Each resource type's `parent` value format is described below:
1200
+ *
1201
+ * * [`roles.list()`](https://cloud.google.com/iam/reference/rest/v1/roles/list): An empty string.
1202
+ * This method doesn't require a resource; it simply returns all
1203
+ * [predefined
1204
+ * roles](https://cloud.google.com/iam/docs/understanding-roles#predefined_roles)
1205
+ * in Cloud IAM. Example request URL: `https://iam.googleapis.com/v1/roles`
1206
+ *
1207
+ * * [`projects.roles.list()`](https://cloud.google.com/iam/reference/rest/v1/projects.roles/list):
1208
+ * `projects/{PROJECT_ID}`. This method lists all project-level
1209
+ * [custom
1210
+ * roles](https://cloud.google.com/iam/docs/understanding-custom-roles).
1211
+ * Example request URL:
1212
+ * `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles`
1213
+ *
1214
+ * * [`organizations.roles.list()`](https://cloud.google.com/iam/reference/rest/v1/organizations.roles/list):
1215
+ * `organizations/{ORGANIZATION_ID}`. This method lists all
1216
+ * organization-level [custom
1217
+ * roles](https://cloud.google.com/iam/docs/understanding-custom-roles).
1218
+ * Example request URL:
1219
+ * `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles`
1220
+ *
1221
+ * Note: Wildcard (*) values are invalid; you must specify a complete project
1222
+ * ID or organization ID.
1223
+ *
1224
+ * @generated from field: string parent = 1;
1225
+ */
1226
+ parent: string;
1227
+
1228
+ /**
1229
+ * Optional limit on the number of roles to include in the response.
1230
+ *
1231
+ * The default is 300, and the maximum is 1,000.
1232
+ *
1233
+ * @generated from field: int32 page_size = 2;
1234
+ */
1235
+ pageSize: number;
1236
+
1237
+ /**
1238
+ * Optional pagination token returned in an earlier ListRolesResponse.
1239
+ *
1240
+ * @generated from field: string page_token = 3;
1241
+ */
1242
+ pageToken: string;
1243
+
1244
+ /**
1245
+ * Optional view for the returned Role objects. When `FULL` is specified,
1246
+ * the `includedPermissions` field is returned, which includes a list of all
1247
+ * permissions in the role. The default value is `BASIC`, which does not
1248
+ * return the `includedPermissions` field.
1249
+ *
1250
+ * @generated from field: google.iam.admin.v1.RoleView view = 4;
1251
+ */
1252
+ view: RoleView;
1253
+
1254
+ /**
1255
+ * Include Roles that have been deleted.
1256
+ *
1257
+ * @generated from field: bool show_deleted = 6;
1258
+ */
1259
+ showDeleted: boolean;
1260
+ };
1261
+
1262
+ /**
1263
+ * Describes the message google.iam.admin.v1.ListRolesRequest.
1264
+ * Use `create(ListRolesRequestSchema)` to create a new message.
1265
+ */
1266
+ export declare const ListRolesRequestSchema: GenMessage<ListRolesRequest>;
1267
+
1268
+ /**
1269
+ * The response containing the roles defined under a resource.
1270
+ *
1271
+ * @generated from message google.iam.admin.v1.ListRolesResponse
1272
+ */
1273
+ export declare type ListRolesResponse = Message<"google.iam.admin.v1.ListRolesResponse"> & {
1274
+ /**
1275
+ * The Roles defined on this resource.
1276
+ *
1277
+ * @generated from field: repeated google.iam.admin.v1.Role roles = 1;
1278
+ */
1279
+ roles: Role[];
1280
+
1281
+ /**
1282
+ * To retrieve the next page of results, set
1283
+ * `ListRolesRequest.page_token` to this value.
1284
+ *
1285
+ * @generated from field: string next_page_token = 2;
1286
+ */
1287
+ nextPageToken: string;
1288
+ };
1289
+
1290
+ /**
1291
+ * Describes the message google.iam.admin.v1.ListRolesResponse.
1292
+ * Use `create(ListRolesResponseSchema)` to create a new message.
1293
+ */
1294
+ export declare const ListRolesResponseSchema: GenMessage<ListRolesResponse>;
1295
+
1296
+ /**
1297
+ * The request to get the definition of an existing role.
1298
+ *
1299
+ * @generated from message google.iam.admin.v1.GetRoleRequest
1300
+ */
1301
+ export declare type GetRoleRequest = Message<"google.iam.admin.v1.GetRoleRequest"> & {
1302
+ /**
1303
+ * The `name` parameter's value depends on the target resource for the
1304
+ * request, namely
1305
+ * [`roles`](https://cloud.google.com/iam/reference/rest/v1/roles),
1306
+ * [`projects`](https://cloud.google.com/iam/reference/rest/v1/projects.roles),
1307
+ * or
1308
+ * [`organizations`](https://cloud.google.com/iam/reference/rest/v1/organizations.roles).
1309
+ * Each resource type's `name` value format is described below:
1310
+ *
1311
+ * * [`roles.get()`](https://cloud.google.com/iam/reference/rest/v1/roles/get): `roles/{ROLE_NAME}`.
1312
+ * This method returns results from all
1313
+ * [predefined
1314
+ * roles](https://cloud.google.com/iam/docs/understanding-roles#predefined_roles)
1315
+ * in Cloud IAM. Example request URL:
1316
+ * `https://iam.googleapis.com/v1/roles/{ROLE_NAME}`
1317
+ *
1318
+ * * [`projects.roles.get()`](https://cloud.google.com/iam/reference/rest/v1/projects.roles/get):
1319
+ * `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method returns only
1320
+ * [custom
1321
+ * roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that
1322
+ * have been created at the project level. Example request URL:
1323
+ * `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`
1324
+ *
1325
+ * * [`organizations.roles.get()`](https://cloud.google.com/iam/reference/rest/v1/organizations.roles/get):
1326
+ * `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This method
1327
+ * returns only [custom
1328
+ * roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that
1329
+ * have been created at the organization level. Example request URL:
1330
+ * `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`
1331
+ *
1332
+ * Note: Wildcard (*) values are invalid; you must specify a complete project
1333
+ * ID or organization ID.
1334
+ *
1335
+ * @generated from field: string name = 1;
1336
+ */
1337
+ name: string;
1338
+ };
1339
+
1340
+ /**
1341
+ * Describes the message google.iam.admin.v1.GetRoleRequest.
1342
+ * Use `create(GetRoleRequestSchema)` to create a new message.
1343
+ */
1344
+ export declare const GetRoleRequestSchema: GenMessage<GetRoleRequest>;
1345
+
1346
+ /**
1347
+ * The request to create a new role.
1348
+ *
1349
+ * @generated from message google.iam.admin.v1.CreateRoleRequest
1350
+ */
1351
+ export declare type CreateRoleRequest = Message<"google.iam.admin.v1.CreateRoleRequest"> & {
1352
+ /**
1353
+ * The `parent` parameter's value depends on the target resource for the
1354
+ * request, namely
1355
+ * [`projects`](https://cloud.google.com/iam/reference/rest/v1/projects.roles)
1356
+ * or
1357
+ * [`organizations`](https://cloud.google.com/iam/reference/rest/v1/organizations.roles).
1358
+ * Each resource type's `parent` value format is described below:
1359
+ *
1360
+ * * [`projects.roles.create()`](https://cloud.google.com/iam/reference/rest/v1/projects.roles/create):
1361
+ * `projects/{PROJECT_ID}`. This method creates project-level
1362
+ * [custom
1363
+ * roles](https://cloud.google.com/iam/docs/understanding-custom-roles).
1364
+ * Example request URL:
1365
+ * `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles`
1366
+ *
1367
+ * * [`organizations.roles.create()`](https://cloud.google.com/iam/reference/rest/v1/organizations.roles/create):
1368
+ * `organizations/{ORGANIZATION_ID}`. This method creates organization-level
1369
+ * [custom
1370
+ * roles](https://cloud.google.com/iam/docs/understanding-custom-roles).
1371
+ * Example request URL:
1372
+ * `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles`
1373
+ *
1374
+ * Note: Wildcard (*) values are invalid; you must specify a complete project
1375
+ * ID or organization ID.
1376
+ *
1377
+ * @generated from field: string parent = 1;
1378
+ */
1379
+ parent: string;
1380
+
1381
+ /**
1382
+ * The role ID to use for this role.
1383
+ *
1384
+ * A role ID may contain alphanumeric characters, underscores (`_`), and
1385
+ * periods (`.`). It must contain a minimum of 3 characters and a maximum of
1386
+ * 64 characters.
1387
+ *
1388
+ * @generated from field: string role_id = 2;
1389
+ */
1390
+ roleId: string;
1391
+
1392
+ /**
1393
+ * The Role resource to create.
1394
+ *
1395
+ * @generated from field: google.iam.admin.v1.Role role = 3;
1396
+ */
1397
+ role?: Role;
1398
+ };
1399
+
1400
+ /**
1401
+ * Describes the message google.iam.admin.v1.CreateRoleRequest.
1402
+ * Use `create(CreateRoleRequestSchema)` to create a new message.
1403
+ */
1404
+ export declare const CreateRoleRequestSchema: GenMessage<CreateRoleRequest>;
1405
+
1406
+ /**
1407
+ * The request to update a role.
1408
+ *
1409
+ * @generated from message google.iam.admin.v1.UpdateRoleRequest
1410
+ */
1411
+ export declare type UpdateRoleRequest = Message<"google.iam.admin.v1.UpdateRoleRequest"> & {
1412
+ /**
1413
+ * The `name` parameter's value depends on the target resource for the
1414
+ * request, namely
1415
+ * [`projects`](https://cloud.google.com/iam/reference/rest/v1/projects.roles)
1416
+ * or
1417
+ * [`organizations`](https://cloud.google.com/iam/reference/rest/v1/organizations.roles).
1418
+ * Each resource type's `name` value format is described below:
1419
+ *
1420
+ * * [`projects.roles.patch()`](https://cloud.google.com/iam/reference/rest/v1/projects.roles/patch):
1421
+ * `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method updates only
1422
+ * [custom
1423
+ * roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that
1424
+ * have been created at the project level. Example request URL:
1425
+ * `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`
1426
+ *
1427
+ * * [`organizations.roles.patch()`](https://cloud.google.com/iam/reference/rest/v1/organizations.roles/patch):
1428
+ * `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This method
1429
+ * updates only [custom
1430
+ * roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that
1431
+ * have been created at the organization level. Example request URL:
1432
+ * `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`
1433
+ *
1434
+ * Note: Wildcard (*) values are invalid; you must specify a complete project
1435
+ * ID or organization ID.
1436
+ *
1437
+ * @generated from field: string name = 1;
1438
+ */
1439
+ name: string;
1440
+
1441
+ /**
1442
+ * The updated role.
1443
+ *
1444
+ * @generated from field: google.iam.admin.v1.Role role = 2;
1445
+ */
1446
+ role?: Role;
1447
+
1448
+ /**
1449
+ * A mask describing which fields in the Role have changed.
1450
+ *
1451
+ * @generated from field: google.protobuf.FieldMask update_mask = 3;
1452
+ */
1453
+ updateMask?: FieldMask;
1454
+ };
1455
+
1456
+ /**
1457
+ * Describes the message google.iam.admin.v1.UpdateRoleRequest.
1458
+ * Use `create(UpdateRoleRequestSchema)` to create a new message.
1459
+ */
1460
+ export declare const UpdateRoleRequestSchema: GenMessage<UpdateRoleRequest>;
1461
+
1462
+ /**
1463
+ * The request to delete an existing role.
1464
+ *
1465
+ * @generated from message google.iam.admin.v1.DeleteRoleRequest
1466
+ */
1467
+ export declare type DeleteRoleRequest = Message<"google.iam.admin.v1.DeleteRoleRequest"> & {
1468
+ /**
1469
+ * The `name` parameter's value depends on the target resource for the
1470
+ * request, namely
1471
+ * [`projects`](https://cloud.google.com/iam/reference/rest/v1/projects.roles)
1472
+ * or
1473
+ * [`organizations`](https://cloud.google.com/iam/reference/rest/v1/organizations.roles).
1474
+ * Each resource type's `name` value format is described below:
1475
+ *
1476
+ * * [`projects.roles.delete()`](https://cloud.google.com/iam/reference/rest/v1/projects.roles/delete):
1477
+ * `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method deletes only
1478
+ * [custom
1479
+ * roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that
1480
+ * have been created at the project level. Example request URL:
1481
+ * `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`
1482
+ *
1483
+ * * [`organizations.roles.delete()`](https://cloud.google.com/iam/reference/rest/v1/organizations.roles/delete):
1484
+ * `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This method
1485
+ * deletes only [custom
1486
+ * roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that
1487
+ * have been created at the organization level. Example request URL:
1488
+ * `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`
1489
+ *
1490
+ * Note: Wildcard (*) values are invalid; you must specify a complete project
1491
+ * ID or organization ID.
1492
+ *
1493
+ * @generated from field: string name = 1;
1494
+ */
1495
+ name: string;
1496
+
1497
+ /**
1498
+ * Used to perform a consistent read-modify-write.
1499
+ *
1500
+ * @generated from field: bytes etag = 2;
1501
+ */
1502
+ etag: Uint8Array;
1503
+ };
1504
+
1505
+ /**
1506
+ * Describes the message google.iam.admin.v1.DeleteRoleRequest.
1507
+ * Use `create(DeleteRoleRequestSchema)` to create a new message.
1508
+ */
1509
+ export declare const DeleteRoleRequestSchema: GenMessage<DeleteRoleRequest>;
1510
+
1511
+ /**
1512
+ * The request to undelete an existing role.
1513
+ *
1514
+ * @generated from message google.iam.admin.v1.UndeleteRoleRequest
1515
+ */
1516
+ export declare type UndeleteRoleRequest = Message<"google.iam.admin.v1.UndeleteRoleRequest"> & {
1517
+ /**
1518
+ * The `name` parameter's value depends on the target resource for the
1519
+ * request, namely
1520
+ * [`projects`](https://cloud.google.com/iam/reference/rest/v1/projects.roles)
1521
+ * or
1522
+ * [`organizations`](https://cloud.google.com/iam/reference/rest/v1/organizations.roles).
1523
+ * Each resource type's `name` value format is described below:
1524
+ *
1525
+ * * [`projects.roles.undelete()`](https://cloud.google.com/iam/reference/rest/v1/projects.roles/undelete):
1526
+ * `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method undeletes
1527
+ * only [custom
1528
+ * roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that
1529
+ * have been created at the project level. Example request URL:
1530
+ * `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`
1531
+ *
1532
+ * * [`organizations.roles.undelete()`](https://cloud.google.com/iam/reference/rest/v1/organizations.roles/undelete):
1533
+ * `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This method
1534
+ * undeletes only [custom
1535
+ * roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that
1536
+ * have been created at the organization level. Example request URL:
1537
+ * `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`
1538
+ *
1539
+ * Note: Wildcard (*) values are invalid; you must specify a complete project
1540
+ * ID or organization ID.
1541
+ *
1542
+ * @generated from field: string name = 1;
1543
+ */
1544
+ name: string;
1545
+
1546
+ /**
1547
+ * Used to perform a consistent read-modify-write.
1548
+ *
1549
+ * @generated from field: bytes etag = 2;
1550
+ */
1551
+ etag: Uint8Array;
1552
+ };
1553
+
1554
+ /**
1555
+ * Describes the message google.iam.admin.v1.UndeleteRoleRequest.
1556
+ * Use `create(UndeleteRoleRequestSchema)` to create a new message.
1557
+ */
1558
+ export declare const UndeleteRoleRequestSchema: GenMessage<UndeleteRoleRequest>;
1559
+
1560
+ /**
1561
+ * A permission which can be included by a role.
1562
+ *
1563
+ * @generated from message google.iam.admin.v1.Permission
1564
+ */
1565
+ export declare type Permission = Message<"google.iam.admin.v1.Permission"> & {
1566
+ /**
1567
+ * The name of this Permission.
1568
+ *
1569
+ * @generated from field: string name = 1;
1570
+ */
1571
+ name: string;
1572
+
1573
+ /**
1574
+ * The title of this Permission.
1575
+ *
1576
+ * @generated from field: string title = 2;
1577
+ */
1578
+ title: string;
1579
+
1580
+ /**
1581
+ * A brief description of what this Permission is used for.
1582
+ * This permission can ONLY be used in predefined roles.
1583
+ *
1584
+ * @generated from field: string description = 3;
1585
+ */
1586
+ description: string;
1587
+
1588
+ /**
1589
+ * @generated from field: bool only_in_predefined_roles = 4 [deprecated = true];
1590
+ * @deprecated
1591
+ */
1592
+ onlyInPredefinedRoles: boolean;
1593
+
1594
+ /**
1595
+ * The current launch stage of the permission.
1596
+ *
1597
+ * @generated from field: google.iam.admin.v1.Permission.PermissionLaunchStage stage = 5;
1598
+ */
1599
+ stage: Permission_PermissionLaunchStage;
1600
+
1601
+ /**
1602
+ * The current custom role support level.
1603
+ *
1604
+ * @generated from field: google.iam.admin.v1.Permission.CustomRolesSupportLevel custom_roles_support_level = 6;
1605
+ */
1606
+ customRolesSupportLevel: Permission_CustomRolesSupportLevel;
1607
+
1608
+ /**
1609
+ * The service API associated with the permission is not enabled.
1610
+ *
1611
+ * @generated from field: bool api_disabled = 7;
1612
+ */
1613
+ apiDisabled: boolean;
1614
+
1615
+ /**
1616
+ * The preferred name for this permission. If present, then this permission is
1617
+ * an alias of, and equivalent to, the listed primary_permission.
1618
+ *
1619
+ * @generated from field: string primary_permission = 8;
1620
+ */
1621
+ primaryPermission: string;
1622
+ };
1623
+
1624
+ /**
1625
+ * Describes the message google.iam.admin.v1.Permission.
1626
+ * Use `create(PermissionSchema)` to create a new message.
1627
+ */
1628
+ export declare const PermissionSchema: GenMessage<Permission>;
1629
+
1630
+ /**
1631
+ * A stage representing a permission's lifecycle phase.
1632
+ *
1633
+ * @generated from enum google.iam.admin.v1.Permission.PermissionLaunchStage
1634
+ */
1635
+ export enum Permission_PermissionLaunchStage {
1636
+ /**
1637
+ * The permission is currently in an alpha phase.
1638
+ *
1639
+ * @generated from enum value: ALPHA = 0;
1640
+ */
1641
+ ALPHA = 0,
1642
+
1643
+ /**
1644
+ * The permission is currently in a beta phase.
1645
+ *
1646
+ * @generated from enum value: BETA = 1;
1647
+ */
1648
+ BETA = 1,
1649
+
1650
+ /**
1651
+ * The permission is generally available.
1652
+ *
1653
+ * @generated from enum value: GA = 2;
1654
+ */
1655
+ GA = 2,
1656
+
1657
+ /**
1658
+ * The permission is being deprecated.
1659
+ *
1660
+ * @generated from enum value: DEPRECATED = 3;
1661
+ */
1662
+ DEPRECATED = 3,
1663
+ }
1664
+
1665
+ /**
1666
+ * Describes the enum google.iam.admin.v1.Permission.PermissionLaunchStage.
1667
+ */
1668
+ export declare const Permission_PermissionLaunchStageSchema: GenEnum<Permission_PermissionLaunchStage>;
1669
+
1670
+ /**
1671
+ * The state of the permission with regards to custom roles.
1672
+ *
1673
+ * @generated from enum google.iam.admin.v1.Permission.CustomRolesSupportLevel
1674
+ */
1675
+ export enum Permission_CustomRolesSupportLevel {
1676
+ /**
1677
+ * Default state. Permission is fully supported for custom role use.
1678
+ *
1679
+ * @generated from enum value: SUPPORTED = 0;
1680
+ */
1681
+ SUPPORTED = 0,
1682
+
1683
+ /**
1684
+ * Permission is being tested to check custom role compatibility.
1685
+ *
1686
+ * @generated from enum value: TESTING = 1;
1687
+ */
1688
+ TESTING = 1,
1689
+
1690
+ /**
1691
+ * Permission is not supported for custom role use.
1692
+ *
1693
+ * @generated from enum value: NOT_SUPPORTED = 2;
1694
+ */
1695
+ NOT_SUPPORTED = 2,
1696
+ }
1697
+
1698
+ /**
1699
+ * Describes the enum google.iam.admin.v1.Permission.CustomRolesSupportLevel.
1700
+ */
1701
+ export declare const Permission_CustomRolesSupportLevelSchema: GenEnum<Permission_CustomRolesSupportLevel>;
1702
+
1703
+ /**
1704
+ * A request to get permissions which can be tested on a resource.
1705
+ *
1706
+ * @generated from message google.iam.admin.v1.QueryTestablePermissionsRequest
1707
+ */
1708
+ export declare type QueryTestablePermissionsRequest = Message<"google.iam.admin.v1.QueryTestablePermissionsRequest"> & {
1709
+ /**
1710
+ * Required. The full resource name to query from the list of testable
1711
+ * permissions.
1712
+ *
1713
+ * The name follows the Google Cloud Platform resource format.
1714
+ * For example, a Cloud Platform project with id `my-project` will be named
1715
+ * `//cloudresourcemanager.googleapis.com/projects/my-project`.
1716
+ *
1717
+ * @generated from field: string full_resource_name = 1;
1718
+ */
1719
+ fullResourceName: string;
1720
+
1721
+ /**
1722
+ * Optional limit on the number of permissions to include in the response.
1723
+ *
1724
+ * The default is 100, and the maximum is 1,000.
1725
+ *
1726
+ * @generated from field: int32 page_size = 2;
1727
+ */
1728
+ pageSize: number;
1729
+
1730
+ /**
1731
+ * Optional pagination token returned in an earlier
1732
+ * QueryTestablePermissionsRequest.
1733
+ *
1734
+ * @generated from field: string page_token = 3;
1735
+ */
1736
+ pageToken: string;
1737
+ };
1738
+
1739
+ /**
1740
+ * Describes the message google.iam.admin.v1.QueryTestablePermissionsRequest.
1741
+ * Use `create(QueryTestablePermissionsRequestSchema)` to create a new message.
1742
+ */
1743
+ export declare const QueryTestablePermissionsRequestSchema: GenMessage<QueryTestablePermissionsRequest>;
1744
+
1745
+ /**
1746
+ * The response containing permissions which can be tested on a resource.
1747
+ *
1748
+ * @generated from message google.iam.admin.v1.QueryTestablePermissionsResponse
1749
+ */
1750
+ export declare type QueryTestablePermissionsResponse = Message<"google.iam.admin.v1.QueryTestablePermissionsResponse"> & {
1751
+ /**
1752
+ * The Permissions testable on the requested resource.
1753
+ *
1754
+ * @generated from field: repeated google.iam.admin.v1.Permission permissions = 1;
1755
+ */
1756
+ permissions: Permission[];
1757
+
1758
+ /**
1759
+ * To retrieve the next page of results, set
1760
+ * `QueryTestableRolesRequest.page_token` to this value.
1761
+ *
1762
+ * @generated from field: string next_page_token = 2;
1763
+ */
1764
+ nextPageToken: string;
1765
+ };
1766
+
1767
+ /**
1768
+ * Describes the message google.iam.admin.v1.QueryTestablePermissionsResponse.
1769
+ * Use `create(QueryTestablePermissionsResponseSchema)` to create a new message.
1770
+ */
1771
+ export declare const QueryTestablePermissionsResponseSchema: GenMessage<QueryTestablePermissionsResponse>;
1772
+
1773
+ /**
1774
+ * A request to get the list of auditable services for a resource.
1775
+ *
1776
+ * @generated from message google.iam.admin.v1.QueryAuditableServicesRequest
1777
+ */
1778
+ export declare type QueryAuditableServicesRequest = Message<"google.iam.admin.v1.QueryAuditableServicesRequest"> & {
1779
+ /**
1780
+ * Required. The full resource name to query from the list of auditable
1781
+ * services.
1782
+ *
1783
+ * The name follows the Google Cloud Platform resource format.
1784
+ * For example, a Cloud Platform project with id `my-project` will be named
1785
+ * `//cloudresourcemanager.googleapis.com/projects/my-project`.
1786
+ *
1787
+ * @generated from field: string full_resource_name = 1;
1788
+ */
1789
+ fullResourceName: string;
1790
+ };
1791
+
1792
+ /**
1793
+ * Describes the message google.iam.admin.v1.QueryAuditableServicesRequest.
1794
+ * Use `create(QueryAuditableServicesRequestSchema)` to create a new message.
1795
+ */
1796
+ export declare const QueryAuditableServicesRequestSchema: GenMessage<QueryAuditableServicesRequest>;
1797
+
1798
+ /**
1799
+ * A response containing a list of auditable services for a resource.
1800
+ *
1801
+ * @generated from message google.iam.admin.v1.QueryAuditableServicesResponse
1802
+ */
1803
+ export declare type QueryAuditableServicesResponse = Message<"google.iam.admin.v1.QueryAuditableServicesResponse"> & {
1804
+ /**
1805
+ * The auditable services for a resource.
1806
+ *
1807
+ * @generated from field: repeated google.iam.admin.v1.QueryAuditableServicesResponse.AuditableService services = 1;
1808
+ */
1809
+ services: QueryAuditableServicesResponse_AuditableService[];
1810
+ };
1811
+
1812
+ /**
1813
+ * Describes the message google.iam.admin.v1.QueryAuditableServicesResponse.
1814
+ * Use `create(QueryAuditableServicesResponseSchema)` to create a new message.
1815
+ */
1816
+ export declare const QueryAuditableServicesResponseSchema: GenMessage<QueryAuditableServicesResponse>;
1817
+
1818
+ /**
1819
+ * Contains information about an auditable service.
1820
+ *
1821
+ * @generated from message google.iam.admin.v1.QueryAuditableServicesResponse.AuditableService
1822
+ */
1823
+ export declare type QueryAuditableServicesResponse_AuditableService = Message<"google.iam.admin.v1.QueryAuditableServicesResponse.AuditableService"> & {
1824
+ /**
1825
+ * Public name of the service.
1826
+ * For example, the service name for Cloud IAM is 'iam.googleapis.com'.
1827
+ *
1828
+ * @generated from field: string name = 1;
1829
+ */
1830
+ name: string;
1831
+ };
1832
+
1833
+ /**
1834
+ * Describes the message google.iam.admin.v1.QueryAuditableServicesResponse.AuditableService.
1835
+ * Use `create(QueryAuditableServicesResponse_AuditableServiceSchema)` to create a new message.
1836
+ */
1837
+ export declare const QueryAuditableServicesResponse_AuditableServiceSchema: GenMessage<QueryAuditableServicesResponse_AuditableService>;
1838
+
1839
+ /**
1840
+ * The request to lint a Cloud IAM policy object.
1841
+ *
1842
+ * @generated from message google.iam.admin.v1.LintPolicyRequest
1843
+ */
1844
+ export declare type LintPolicyRequest = Message<"google.iam.admin.v1.LintPolicyRequest"> & {
1845
+ /**
1846
+ * The full resource name of the policy this lint request is about.
1847
+ *
1848
+ * The name follows the Google Cloud Platform (GCP) resource format.
1849
+ * For example, a GCP project with ID `my-project` will be named
1850
+ * `//cloudresourcemanager.googleapis.com/projects/my-project`.
1851
+ *
1852
+ * The resource name is not used to read the policy instance from the Cloud
1853
+ * IAM database. The candidate policy for lint has to be provided in the same
1854
+ * request object.
1855
+ *
1856
+ * @generated from field: string full_resource_name = 1;
1857
+ */
1858
+ fullResourceName: string;
1859
+
1860
+ /**
1861
+ * Required. The Cloud IAM object to be linted.
1862
+ *
1863
+ * @generated from oneof google.iam.admin.v1.LintPolicyRequest.lint_object
1864
+ */
1865
+ lintObject: {
1866
+ /**
1867
+ * [google.iam.v1.Binding.condition] [google.iam.v1.Binding.condition] object to be linted.
1868
+ *
1869
+ * @generated from field: google.type.Expr condition = 5;
1870
+ */
1871
+ value: Expr;
1872
+ case: "condition";
1873
+ } | { case: undefined; value?: undefined };
1874
+ };
1875
+
1876
+ /**
1877
+ * Describes the message google.iam.admin.v1.LintPolicyRequest.
1878
+ * Use `create(LintPolicyRequestSchema)` to create a new message.
1879
+ */
1880
+ export declare const LintPolicyRequestSchema: GenMessage<LintPolicyRequest>;
1881
+
1882
+ /**
1883
+ * Structured response of a single validation unit.
1884
+ *
1885
+ * @generated from message google.iam.admin.v1.LintResult
1886
+ */
1887
+ export declare type LintResult = Message<"google.iam.admin.v1.LintResult"> & {
1888
+ /**
1889
+ * The validation unit level.
1890
+ *
1891
+ * @generated from field: google.iam.admin.v1.LintResult.Level level = 1;
1892
+ */
1893
+ level: LintResult_Level;
1894
+
1895
+ /**
1896
+ * The validation unit name, for instance
1897
+ * "lintValidationUnits/ConditionComplexityCheck".
1898
+ *
1899
+ * @generated from field: string validation_unit_name = 2;
1900
+ */
1901
+ validationUnitName: string;
1902
+
1903
+ /**
1904
+ * The validation unit severity.
1905
+ *
1906
+ * @generated from field: google.iam.admin.v1.LintResult.Severity severity = 3;
1907
+ */
1908
+ severity: LintResult_Severity;
1909
+
1910
+ /**
1911
+ * The name of the field for which this lint result is about.
1912
+ *
1913
+ * For nested messages `field_name` consists of names of the embedded fields
1914
+ * separated by period character. The top-level qualifier is the input object
1915
+ * to lint in the request. For example, the `field_name` value
1916
+ * `condition.expression` identifies a lint result for the `expression` field
1917
+ * of the provided condition.
1918
+ *
1919
+ * @generated from field: string field_name = 5;
1920
+ */
1921
+ fieldName: string;
1922
+
1923
+ /**
1924
+ * 0-based character position of problematic construct within the object
1925
+ * identified by `field_name`. Currently, this is populated only for condition
1926
+ * expression.
1927
+ *
1928
+ * @generated from field: int32 location_offset = 6;
1929
+ */
1930
+ locationOffset: number;
1931
+
1932
+ /**
1933
+ * Human readable debug message associated with the issue.
1934
+ *
1935
+ * @generated from field: string debug_message = 7;
1936
+ */
1937
+ debugMessage: string;
1938
+ };
1939
+
1940
+ /**
1941
+ * Describes the message google.iam.admin.v1.LintResult.
1942
+ * Use `create(LintResultSchema)` to create a new message.
1943
+ */
1944
+ export declare const LintResultSchema: GenMessage<LintResult>;
1945
+
1946
+ /**
1947
+ * Possible Level values of a validation unit corresponding to its domain
1948
+ * of discourse.
1949
+ *
1950
+ * @generated from enum google.iam.admin.v1.LintResult.Level
1951
+ */
1952
+ export enum LintResult_Level {
1953
+ /**
1954
+ * Level is unspecified.
1955
+ *
1956
+ * @generated from enum value: LEVEL_UNSPECIFIED = 0;
1957
+ */
1958
+ LEVEL_UNSPECIFIED = 0,
1959
+
1960
+ /**
1961
+ * A validation unit which operates on an individual condition within a
1962
+ * binding.
1963
+ *
1964
+ * @generated from enum value: CONDITION = 3;
1965
+ */
1966
+ CONDITION = 3,
1967
+ }
1968
+
1969
+ /**
1970
+ * Describes the enum google.iam.admin.v1.LintResult.Level.
1971
+ */
1972
+ export declare const LintResult_LevelSchema: GenEnum<LintResult_Level>;
1973
+
1974
+ /**
1975
+ * Possible Severity values of an issued result.
1976
+ *
1977
+ * @generated from enum google.iam.admin.v1.LintResult.Severity
1978
+ */
1979
+ export enum LintResult_Severity {
1980
+ /**
1981
+ * Severity is unspecified.
1982
+ *
1983
+ * @generated from enum value: SEVERITY_UNSPECIFIED = 0;
1984
+ */
1985
+ SEVERITY_UNSPECIFIED = 0,
1986
+
1987
+ /**
1988
+ * A validation unit returns an error only for critical issues. If an
1989
+ * attempt is made to set the problematic policy without rectifying the
1990
+ * critical issue, it causes the `setPolicy` operation to fail.
1991
+ *
1992
+ * @generated from enum value: ERROR = 1;
1993
+ */
1994
+ ERROR = 1,
1995
+
1996
+ /**
1997
+ * Any issue which is severe enough but does not cause an error.
1998
+ * For example, suspicious constructs in the input object will not
1999
+ * necessarily fail `setPolicy`, but there is a high likelihood that they
2000
+ * won't behave as expected during policy evaluation in `checkPolicy`.
2001
+ * This includes the following common scenarios:
2002
+ *
2003
+ * - Unsatisfiable condition: Expired timestamp in date/time condition.
2004
+ * - Ineffective condition: Condition on a <principal, role> pair which is
2005
+ * granted unconditionally in another binding of the same policy.
2006
+ *
2007
+ * @generated from enum value: WARNING = 2;
2008
+ */
2009
+ WARNING = 2,
2010
+
2011
+ /**
2012
+ * Reserved for the issues that are not severe as `ERROR`/`WARNING`, but
2013
+ * need special handling. For instance, messages about skipped validation
2014
+ * units are issued as `NOTICE`.
2015
+ *
2016
+ * @generated from enum value: NOTICE = 3;
2017
+ */
2018
+ NOTICE = 3,
2019
+
2020
+ /**
2021
+ * Any informative statement which is not severe enough to raise
2022
+ * `ERROR`/`WARNING`/`NOTICE`, like auto-correction recommendations on the
2023
+ * input content. Note that current version of the linter does not utilize
2024
+ * `INFO`.
2025
+ *
2026
+ * @generated from enum value: INFO = 4;
2027
+ */
2028
+ INFO = 4,
2029
+
2030
+ /**
2031
+ * Deprecated severity level.
2032
+ *
2033
+ * @generated from enum value: DEPRECATED = 5;
2034
+ */
2035
+ DEPRECATED = 5,
2036
+ }
2037
+
2038
+ /**
2039
+ * Describes the enum google.iam.admin.v1.LintResult.Severity.
2040
+ */
2041
+ export declare const LintResult_SeveritySchema: GenEnum<LintResult_Severity>;
2042
+
2043
+ /**
2044
+ * The response of a lint operation. An empty response indicates
2045
+ * the operation was able to fully execute and no lint issue was found.
2046
+ *
2047
+ * @generated from message google.iam.admin.v1.LintPolicyResponse
2048
+ */
2049
+ export declare type LintPolicyResponse = Message<"google.iam.admin.v1.LintPolicyResponse"> & {
2050
+ /**
2051
+ * List of lint results sorted by `severity` in descending order.
2052
+ *
2053
+ * @generated from field: repeated google.iam.admin.v1.LintResult lint_results = 1;
2054
+ */
2055
+ lintResults: LintResult[];
2056
+ };
2057
+
2058
+ /**
2059
+ * Describes the message google.iam.admin.v1.LintPolicyResponse.
2060
+ * Use `create(LintPolicyResponseSchema)` to create a new message.
2061
+ */
2062
+ export declare const LintPolicyResponseSchema: GenMessage<LintPolicyResponse>;
2063
+
2064
+ /**
2065
+ * Supported key algorithms.
2066
+ *
2067
+ * @generated from enum google.iam.admin.v1.ServiceAccountKeyAlgorithm
2068
+ */
2069
+ export enum ServiceAccountKeyAlgorithm {
2070
+ /**
2071
+ * An unspecified key algorithm.
2072
+ *
2073
+ * @generated from enum value: KEY_ALG_UNSPECIFIED = 0;
2074
+ */
2075
+ KEY_ALG_UNSPECIFIED = 0,
2076
+
2077
+ /**
2078
+ * 1k RSA Key.
2079
+ *
2080
+ * @generated from enum value: KEY_ALG_RSA_1024 = 1;
2081
+ */
2082
+ KEY_ALG_RSA_1024 = 1,
2083
+
2084
+ /**
2085
+ * 2k RSA Key.
2086
+ *
2087
+ * @generated from enum value: KEY_ALG_RSA_2048 = 2;
2088
+ */
2089
+ KEY_ALG_RSA_2048 = 2,
2090
+ }
2091
+
2092
+ /**
2093
+ * Describes the enum google.iam.admin.v1.ServiceAccountKeyAlgorithm.
2094
+ */
2095
+ export declare const ServiceAccountKeyAlgorithmSchema: GenEnum<ServiceAccountKeyAlgorithm>;
2096
+
2097
+ /**
2098
+ * Supported private key output formats.
2099
+ *
2100
+ * @generated from enum google.iam.admin.v1.ServiceAccountPrivateKeyType
2101
+ */
2102
+ export enum ServiceAccountPrivateKeyType {
2103
+ /**
2104
+ * Unspecified. Equivalent to `TYPE_GOOGLE_CREDENTIALS_FILE`.
2105
+ *
2106
+ * @generated from enum value: TYPE_UNSPECIFIED = 0;
2107
+ */
2108
+ TYPE_UNSPECIFIED = 0,
2109
+
2110
+ /**
2111
+ * PKCS12 format.
2112
+ * The password for the PKCS12 file is `notasecret`.
2113
+ * For more information, see https://tools.ietf.org/html/rfc7292.
2114
+ *
2115
+ * @generated from enum value: TYPE_PKCS12_FILE = 1;
2116
+ */
2117
+ TYPE_PKCS12_FILE = 1,
2118
+
2119
+ /**
2120
+ * Google Credentials File format.
2121
+ *
2122
+ * @generated from enum value: TYPE_GOOGLE_CREDENTIALS_FILE = 2;
2123
+ */
2124
+ TYPE_GOOGLE_CREDENTIALS_FILE = 2,
2125
+ }
2126
+
2127
+ /**
2128
+ * Describes the enum google.iam.admin.v1.ServiceAccountPrivateKeyType.
2129
+ */
2130
+ export declare const ServiceAccountPrivateKeyTypeSchema: GenEnum<ServiceAccountPrivateKeyType>;
2131
+
2132
+ /**
2133
+ * Supported public key output formats.
2134
+ *
2135
+ * @generated from enum google.iam.admin.v1.ServiceAccountPublicKeyType
2136
+ */
2137
+ export enum ServiceAccountPublicKeyType {
2138
+ /**
2139
+ * Do not return the public key.
2140
+ *
2141
+ * @generated from enum value: TYPE_NONE = 0;
2142
+ */
2143
+ TYPE_NONE = 0,
2144
+
2145
+ /**
2146
+ * X509 PEM format.
2147
+ *
2148
+ * @generated from enum value: TYPE_X509_PEM_FILE = 1;
2149
+ */
2150
+ TYPE_X509_PEM_FILE = 1,
2151
+
2152
+ /**
2153
+ * Raw public key.
2154
+ *
2155
+ * @generated from enum value: TYPE_RAW_PUBLIC_KEY = 2;
2156
+ */
2157
+ TYPE_RAW_PUBLIC_KEY = 2,
2158
+ }
2159
+
2160
+ /**
2161
+ * Describes the enum google.iam.admin.v1.ServiceAccountPublicKeyType.
2162
+ */
2163
+ export declare const ServiceAccountPublicKeyTypeSchema: GenEnum<ServiceAccountPublicKeyType>;
2164
+
2165
+ /**
2166
+ * Service Account Key Origin.
2167
+ *
2168
+ * @generated from enum google.iam.admin.v1.ServiceAccountKeyOrigin
2169
+ */
2170
+ export enum ServiceAccountKeyOrigin {
2171
+ /**
2172
+ * Unspecified key origin.
2173
+ *
2174
+ * @generated from enum value: ORIGIN_UNSPECIFIED = 0;
2175
+ */
2176
+ ORIGIN_UNSPECIFIED = 0,
2177
+
2178
+ /**
2179
+ * Key is provided by user.
2180
+ *
2181
+ * @generated from enum value: USER_PROVIDED = 1;
2182
+ */
2183
+ USER_PROVIDED = 1,
2184
+
2185
+ /**
2186
+ * Key is provided by Google.
2187
+ *
2188
+ * @generated from enum value: GOOGLE_PROVIDED = 2;
2189
+ */
2190
+ GOOGLE_PROVIDED = 2,
2191
+ }
2192
+
2193
+ /**
2194
+ * Describes the enum google.iam.admin.v1.ServiceAccountKeyOrigin.
2195
+ */
2196
+ export declare const ServiceAccountKeyOriginSchema: GenEnum<ServiceAccountKeyOrigin>;
2197
+
2198
+ /**
2199
+ * A view for Role objects.
2200
+ *
2201
+ * @generated from enum google.iam.admin.v1.RoleView
2202
+ */
2203
+ export enum RoleView {
2204
+ /**
2205
+ * Omits the `included_permissions` field.
2206
+ * This is the default value.
2207
+ *
2208
+ * @generated from enum value: BASIC = 0;
2209
+ */
2210
+ BASIC = 0,
2211
+
2212
+ /**
2213
+ * Returns all fields.
2214
+ *
2215
+ * @generated from enum value: FULL = 1;
2216
+ */
2217
+ FULL = 1,
2218
+ }
2219
+
2220
+ /**
2221
+ * Describes the enum google.iam.admin.v1.RoleView.
2222
+ */
2223
+ export declare const RoleViewSchema: GenEnum<RoleView>;
2224
+
2225
+ /**
2226
+ * Creates and manages Identity and Access Management (IAM) resources.
2227
+ *
2228
+ * You can use this service to work with all of the following resources:
2229
+ *
2230
+ * * **Service accounts**, which identify an application or a virtual machine
2231
+ * (VM) instance rather than a person
2232
+ * * **Service account keys**, which service accounts use to authenticate with
2233
+ * Google APIs
2234
+ * * **IAM policies for service accounts**, which specify the roles that a
2235
+ * principal has for the service account
2236
+ * * **IAM custom roles**, which help you limit the number of permissions that
2237
+ * you grant to principals
2238
+ *
2239
+ * In addition, you can use this service to complete the following tasks, among
2240
+ * others:
2241
+ *
2242
+ * * Test whether a service account can use specific permissions
2243
+ * * Check which roles you can grant for a specific resource
2244
+ * * Lint, or validate, condition expressions in an IAM policy
2245
+ *
2246
+ * When you read data from the IAM API, each read is eventually consistent. In
2247
+ * other words, if you write data with the IAM API, then immediately read that
2248
+ * data, the read operation might return an older version of the data. To deal
2249
+ * with this behavior, your application can retry the request with truncated
2250
+ * exponential backoff.
2251
+ *
2252
+ * In contrast, writing data to the IAM API is sequentially consistent. In other
2253
+ * words, write operations are always processed in the order in which they were
2254
+ * received.
2255
+ *
2256
+ * @generated from service google.iam.admin.v1.IAM
2257
+ */
2258
+ export declare const IAM: GenService<{
2259
+ /**
2260
+ * Lists every [ServiceAccount][google.iam.admin.v1.ServiceAccount] that belongs to a specific project.
2261
+ *
2262
+ * @generated from rpc google.iam.admin.v1.IAM.ListServiceAccounts
2263
+ */
2264
+ listServiceAccounts: {
2265
+ methodKind: "unary";
2266
+ input: typeof ListServiceAccountsRequestSchema;
2267
+ output: typeof ListServiceAccountsResponseSchema;
2268
+ },
2269
+ /**
2270
+ * Gets a [ServiceAccount][google.iam.admin.v1.ServiceAccount].
2271
+ *
2272
+ * @generated from rpc google.iam.admin.v1.IAM.GetServiceAccount
2273
+ */
2274
+ getServiceAccount: {
2275
+ methodKind: "unary";
2276
+ input: typeof GetServiceAccountRequestSchema;
2277
+ output: typeof ServiceAccountSchema;
2278
+ },
2279
+ /**
2280
+ * Creates a [ServiceAccount][google.iam.admin.v1.ServiceAccount].
2281
+ *
2282
+ * @generated from rpc google.iam.admin.v1.IAM.CreateServiceAccount
2283
+ */
2284
+ createServiceAccount: {
2285
+ methodKind: "unary";
2286
+ input: typeof CreateServiceAccountRequestSchema;
2287
+ output: typeof ServiceAccountSchema;
2288
+ },
2289
+ /**
2290
+ * **Note:** We are in the process of deprecating this method. Use
2291
+ * [PatchServiceAccount][google.iam.admin.v1.IAM.PatchServiceAccount] instead.
2292
+ *
2293
+ * Updates a [ServiceAccount][google.iam.admin.v1.ServiceAccount].
2294
+ *
2295
+ * You can update only the `display_name` field.
2296
+ *
2297
+ * @generated from rpc google.iam.admin.v1.IAM.UpdateServiceAccount
2298
+ */
2299
+ updateServiceAccount: {
2300
+ methodKind: "unary";
2301
+ input: typeof ServiceAccountSchema;
2302
+ output: typeof ServiceAccountSchema;
2303
+ },
2304
+ /**
2305
+ * Patches a [ServiceAccount][google.iam.admin.v1.ServiceAccount].
2306
+ *
2307
+ * @generated from rpc google.iam.admin.v1.IAM.PatchServiceAccount
2308
+ */
2309
+ patchServiceAccount: {
2310
+ methodKind: "unary";
2311
+ input: typeof PatchServiceAccountRequestSchema;
2312
+ output: typeof ServiceAccountSchema;
2313
+ },
2314
+ /**
2315
+ * Deletes a [ServiceAccount][google.iam.admin.v1.ServiceAccount].
2316
+ *
2317
+ * **Warning:** After you delete a service account, you might not be able to
2318
+ * undelete it. If you know that you need to re-enable the service account in
2319
+ * the future, use [DisableServiceAccount][google.iam.admin.v1.IAM.DisableServiceAccount] instead.
2320
+ *
2321
+ * If you delete a service account, IAM permanently removes the service
2322
+ * account 30 days later. Google Cloud cannot recover the service account
2323
+ * after it is permanently removed, even if you file a support request.
2324
+ *
2325
+ * To help avoid unplanned outages, we recommend that you disable the service
2326
+ * account before you delete it. Use [DisableServiceAccount][google.iam.admin.v1.IAM.DisableServiceAccount] to disable the
2327
+ * service account, then wait at least 24 hours and watch for unintended
2328
+ * consequences. If there are no unintended consequences, you can delete the
2329
+ * service account.
2330
+ *
2331
+ * @generated from rpc google.iam.admin.v1.IAM.DeleteServiceAccount
2332
+ */
2333
+ deleteServiceAccount: {
2334
+ methodKind: "unary";
2335
+ input: typeof DeleteServiceAccountRequestSchema;
2336
+ output: typeof EmptySchema;
2337
+ },
2338
+ /**
2339
+ * Restores a deleted [ServiceAccount][google.iam.admin.v1.ServiceAccount].
2340
+ *
2341
+ * **Important:** It is not always possible to restore a deleted service
2342
+ * account. Use this method only as a last resort.
2343
+ *
2344
+ * After you delete a service account, IAM permanently removes the service
2345
+ * account 30 days later. There is no way to restore a deleted service account
2346
+ * that has been permanently removed.
2347
+ *
2348
+ * @generated from rpc google.iam.admin.v1.IAM.UndeleteServiceAccount
2349
+ */
2350
+ undeleteServiceAccount: {
2351
+ methodKind: "unary";
2352
+ input: typeof UndeleteServiceAccountRequestSchema;
2353
+ output: typeof UndeleteServiceAccountResponseSchema;
2354
+ },
2355
+ /**
2356
+ * Enables a [ServiceAccount][google.iam.admin.v1.ServiceAccount] that was disabled by
2357
+ * [DisableServiceAccount][google.iam.admin.v1.IAM.DisableServiceAccount].
2358
+ *
2359
+ * If the service account is already enabled, then this method has no effect.
2360
+ *
2361
+ * If the service account was disabled by other means—for example, if Google
2362
+ * disabled the service account because it was compromised—you cannot use this
2363
+ * method to enable the service account.
2364
+ *
2365
+ * @generated from rpc google.iam.admin.v1.IAM.EnableServiceAccount
2366
+ */
2367
+ enableServiceAccount: {
2368
+ methodKind: "unary";
2369
+ input: typeof EnableServiceAccountRequestSchema;
2370
+ output: typeof EmptySchema;
2371
+ },
2372
+ /**
2373
+ * Disables a [ServiceAccount][google.iam.admin.v1.ServiceAccount] immediately.
2374
+ *
2375
+ * If an application uses the service account to authenticate, that
2376
+ * application can no longer call Google APIs or access Google Cloud
2377
+ * resources. Existing access tokens for the service account are rejected, and
2378
+ * requests for new access tokens will fail.
2379
+ *
2380
+ * To re-enable the service account, use [EnableServiceAccount][google.iam.admin.v1.IAM.EnableServiceAccount]. After you
2381
+ * re-enable the service account, its existing access tokens will be accepted,
2382
+ * and you can request new access tokens.
2383
+ *
2384
+ * To help avoid unplanned outages, we recommend that you disable the service
2385
+ * account before you delete it. Use this method to disable the service
2386
+ * account, then wait at least 24 hours and watch for unintended consequences.
2387
+ * If there are no unintended consequences, you can delete the service account
2388
+ * with [DeleteServiceAccount][google.iam.admin.v1.IAM.DeleteServiceAccount].
2389
+ *
2390
+ * @generated from rpc google.iam.admin.v1.IAM.DisableServiceAccount
2391
+ */
2392
+ disableServiceAccount: {
2393
+ methodKind: "unary";
2394
+ input: typeof DisableServiceAccountRequestSchema;
2395
+ output: typeof EmptySchema;
2396
+ },
2397
+ /**
2398
+ * Lists every [ServiceAccountKey][google.iam.admin.v1.ServiceAccountKey] for a service account.
2399
+ *
2400
+ * @generated from rpc google.iam.admin.v1.IAM.ListServiceAccountKeys
2401
+ */
2402
+ listServiceAccountKeys: {
2403
+ methodKind: "unary";
2404
+ input: typeof ListServiceAccountKeysRequestSchema;
2405
+ output: typeof ListServiceAccountKeysResponseSchema;
2406
+ },
2407
+ /**
2408
+ * Gets a [ServiceAccountKey][google.iam.admin.v1.ServiceAccountKey].
2409
+ *
2410
+ * @generated from rpc google.iam.admin.v1.IAM.GetServiceAccountKey
2411
+ */
2412
+ getServiceAccountKey: {
2413
+ methodKind: "unary";
2414
+ input: typeof GetServiceAccountKeyRequestSchema;
2415
+ output: typeof ServiceAccountKeySchema;
2416
+ },
2417
+ /**
2418
+ * Creates a [ServiceAccountKey][google.iam.admin.v1.ServiceAccountKey].
2419
+ *
2420
+ * @generated from rpc google.iam.admin.v1.IAM.CreateServiceAccountKey
2421
+ */
2422
+ createServiceAccountKey: {
2423
+ methodKind: "unary";
2424
+ input: typeof CreateServiceAccountKeyRequestSchema;
2425
+ output: typeof ServiceAccountKeySchema;
2426
+ },
2427
+ /**
2428
+ * Uploads the public key portion of a key pair that you manage, and
2429
+ * associates the public key with a [ServiceAccount][google.iam.admin.v1.ServiceAccount].
2430
+ *
2431
+ * After you upload the public key, you can use the private key from the key
2432
+ * pair as a service account key.
2433
+ *
2434
+ * @generated from rpc google.iam.admin.v1.IAM.UploadServiceAccountKey
2435
+ */
2436
+ uploadServiceAccountKey: {
2437
+ methodKind: "unary";
2438
+ input: typeof UploadServiceAccountKeyRequestSchema;
2439
+ output: typeof ServiceAccountKeySchema;
2440
+ },
2441
+ /**
2442
+ * Deletes a [ServiceAccountKey][google.iam.admin.v1.ServiceAccountKey]. Deleting a service account key does not
2443
+ * revoke short-lived credentials that have been issued based on the service
2444
+ * account key.
2445
+ *
2446
+ * @generated from rpc google.iam.admin.v1.IAM.DeleteServiceAccountKey
2447
+ */
2448
+ deleteServiceAccountKey: {
2449
+ methodKind: "unary";
2450
+ input: typeof DeleteServiceAccountKeyRequestSchema;
2451
+ output: typeof EmptySchema;
2452
+ },
2453
+ /**
2454
+ * Disable a [ServiceAccountKey][google.iam.admin.v1.ServiceAccountKey]. A disabled service account key can be
2455
+ * re-enabled with [EnableServiceAccountKey][google.iam.admin.v1.IAM.EnableServiceAccountKey].
2456
+ *
2457
+ * @generated from rpc google.iam.admin.v1.IAM.DisableServiceAccountKey
2458
+ */
2459
+ disableServiceAccountKey: {
2460
+ methodKind: "unary";
2461
+ input: typeof DisableServiceAccountKeyRequestSchema;
2462
+ output: typeof EmptySchema;
2463
+ },
2464
+ /**
2465
+ * Enable a [ServiceAccountKey][google.iam.admin.v1.ServiceAccountKey].
2466
+ *
2467
+ * @generated from rpc google.iam.admin.v1.IAM.EnableServiceAccountKey
2468
+ */
2469
+ enableServiceAccountKey: {
2470
+ methodKind: "unary";
2471
+ input: typeof EnableServiceAccountKeyRequestSchema;
2472
+ output: typeof EmptySchema;
2473
+ },
2474
+ /**
2475
+ * **Note:** This method is deprecated. Use the
2476
+ * [`signBlob`](https://cloud.google.com/iam/help/rest-credentials/v1/projects.serviceAccounts/signBlob)
2477
+ * method in the IAM Service Account Credentials API instead. If you currently
2478
+ * use this method, see the [migration
2479
+ * guide](https://cloud.google.com/iam/help/credentials/migrate-api) for
2480
+ * instructions.
2481
+ *
2482
+ * Signs a blob using the system-managed private key for a [ServiceAccount][google.iam.admin.v1.ServiceAccount].
2483
+ *
2484
+ * @generated from rpc google.iam.admin.v1.IAM.SignBlob
2485
+ * @deprecated
2486
+ */
2487
+ signBlob: {
2488
+ methodKind: "unary";
2489
+ input: typeof SignBlobRequestSchema;
2490
+ output: typeof SignBlobResponseSchema;
2491
+ },
2492
+ /**
2493
+ * **Note:** This method is deprecated. Use the
2494
+ * [`signJwt`](https://cloud.google.com/iam/help/rest-credentials/v1/projects.serviceAccounts/signJwt)
2495
+ * method in the IAM Service Account Credentials API instead. If you currently
2496
+ * use this method, see the [migration
2497
+ * guide](https://cloud.google.com/iam/help/credentials/migrate-api) for
2498
+ * instructions.
2499
+ *
2500
+ * Signs a JSON Web Token (JWT) using the system-managed private key for a
2501
+ * [ServiceAccount][google.iam.admin.v1.ServiceAccount].
2502
+ *
2503
+ * @generated from rpc google.iam.admin.v1.IAM.SignJwt
2504
+ * @deprecated
2505
+ */
2506
+ signJwt: {
2507
+ methodKind: "unary";
2508
+ input: typeof SignJwtRequestSchema;
2509
+ output: typeof SignJwtResponseSchema;
2510
+ },
2511
+ /**
2512
+ * Gets the IAM policy that is attached to a [ServiceAccount][google.iam.admin.v1.ServiceAccount]. This IAM
2513
+ * policy specifies which principals have access to the service account.
2514
+ *
2515
+ * This method does not tell you whether the service account has been granted
2516
+ * any roles on other resources. To check whether a service account has role
2517
+ * grants on a resource, use the `getIamPolicy` method for that resource. For
2518
+ * example, to view the role grants for a project, call the Resource Manager
2519
+ * API's
2520
+ * [`projects.getIamPolicy`](https://cloud.google.com/resource-manager/reference/rest/v1/projects/getIamPolicy)
2521
+ * method.
2522
+ *
2523
+ * @generated from rpc google.iam.admin.v1.IAM.GetIamPolicy
2524
+ */
2525
+ getIamPolicy: {
2526
+ methodKind: "unary";
2527
+ input: typeof GetIamPolicyRequestSchema;
2528
+ output: typeof PolicySchema;
2529
+ },
2530
+ /**
2531
+ * Sets the IAM policy that is attached to a [ServiceAccount][google.iam.admin.v1.ServiceAccount].
2532
+ *
2533
+ * Use this method to grant or revoke access to the service account. For
2534
+ * example, you could grant a principal the ability to impersonate the service
2535
+ * account.
2536
+ *
2537
+ * This method does not enable the service account to access other resources.
2538
+ * To grant roles to a service account on a resource, follow these steps:
2539
+ *
2540
+ * 1. Call the resource's `getIamPolicy` method to get its current IAM policy.
2541
+ * 2. Edit the policy so that it binds the service account to an IAM role for
2542
+ * the resource.
2543
+ * 3. Call the resource's `setIamPolicy` method to update its IAM policy.
2544
+ *
2545
+ * For detailed instructions, see
2546
+ * [Manage access to project, folders, and
2547
+ * organizations](https://cloud.google.com/iam/help/service-accounts/granting-access-to-service-accounts)
2548
+ * or [Manage access to other
2549
+ * resources](https://cloud.google.com/iam/help/access/manage-other-resources).
2550
+ *
2551
+ * @generated from rpc google.iam.admin.v1.IAM.SetIamPolicy
2552
+ */
2553
+ setIamPolicy: {
2554
+ methodKind: "unary";
2555
+ input: typeof SetIamPolicyRequestSchema;
2556
+ output: typeof PolicySchema;
2557
+ },
2558
+ /**
2559
+ * Tests whether the caller has the specified permissions on a
2560
+ * [ServiceAccount][google.iam.admin.v1.ServiceAccount].
2561
+ *
2562
+ * @generated from rpc google.iam.admin.v1.IAM.TestIamPermissions
2563
+ */
2564
+ testIamPermissions: {
2565
+ methodKind: "unary";
2566
+ input: typeof TestIamPermissionsRequestSchema;
2567
+ output: typeof TestIamPermissionsResponseSchema;
2568
+ },
2569
+ /**
2570
+ * Lists roles that can be granted on a Google Cloud resource. A role is
2571
+ * grantable if the IAM policy for the resource can contain bindings to the
2572
+ * role.
2573
+ *
2574
+ * @generated from rpc google.iam.admin.v1.IAM.QueryGrantableRoles
2575
+ */
2576
+ queryGrantableRoles: {
2577
+ methodKind: "unary";
2578
+ input: typeof QueryGrantableRolesRequestSchema;
2579
+ output: typeof QueryGrantableRolesResponseSchema;
2580
+ },
2581
+ /**
2582
+ * Lists every predefined [Role][google.iam.admin.v1.Role] that IAM supports, or every custom role
2583
+ * that is defined for an organization or project.
2584
+ *
2585
+ * @generated from rpc google.iam.admin.v1.IAM.ListRoles
2586
+ */
2587
+ listRoles: {
2588
+ methodKind: "unary";
2589
+ input: typeof ListRolesRequestSchema;
2590
+ output: typeof ListRolesResponseSchema;
2591
+ },
2592
+ /**
2593
+ * Gets the definition of a [Role][google.iam.admin.v1.Role].
2594
+ *
2595
+ * @generated from rpc google.iam.admin.v1.IAM.GetRole
2596
+ */
2597
+ getRole: {
2598
+ methodKind: "unary";
2599
+ input: typeof GetRoleRequestSchema;
2600
+ output: typeof RoleSchema;
2601
+ },
2602
+ /**
2603
+ * Creates a new custom [Role][google.iam.admin.v1.Role].
2604
+ *
2605
+ * @generated from rpc google.iam.admin.v1.IAM.CreateRole
2606
+ */
2607
+ createRole: {
2608
+ methodKind: "unary";
2609
+ input: typeof CreateRoleRequestSchema;
2610
+ output: typeof RoleSchema;
2611
+ },
2612
+ /**
2613
+ * Updates the definition of a custom [Role][google.iam.admin.v1.Role].
2614
+ *
2615
+ * @generated from rpc google.iam.admin.v1.IAM.UpdateRole
2616
+ */
2617
+ updateRole: {
2618
+ methodKind: "unary";
2619
+ input: typeof UpdateRoleRequestSchema;
2620
+ output: typeof RoleSchema;
2621
+ },
2622
+ /**
2623
+ * Deletes a custom [Role][google.iam.admin.v1.Role].
2624
+ *
2625
+ * When you delete a custom role, the following changes occur immediately:
2626
+ *
2627
+ * * You cannot bind a principal to the custom role in an IAM
2628
+ * [Policy][google.iam.v1.Policy].
2629
+ * * Existing bindings to the custom role are not changed, but they have no
2630
+ * effect.
2631
+ * * By default, the response from [ListRoles][google.iam.admin.v1.IAM.ListRoles] does not include the custom
2632
+ * role.
2633
+ *
2634
+ * You have 7 days to undelete the custom role. After 7 days, the following
2635
+ * changes occur:
2636
+ *
2637
+ * * The custom role is permanently deleted and cannot be recovered.
2638
+ * * If an IAM policy contains a binding to the custom role, the binding is
2639
+ * permanently removed.
2640
+ *
2641
+ * @generated from rpc google.iam.admin.v1.IAM.DeleteRole
2642
+ */
2643
+ deleteRole: {
2644
+ methodKind: "unary";
2645
+ input: typeof DeleteRoleRequestSchema;
2646
+ output: typeof RoleSchema;
2647
+ },
2648
+ /**
2649
+ * Undeletes a custom [Role][google.iam.admin.v1.Role].
2650
+ *
2651
+ * @generated from rpc google.iam.admin.v1.IAM.UndeleteRole
2652
+ */
2653
+ undeleteRole: {
2654
+ methodKind: "unary";
2655
+ input: typeof UndeleteRoleRequestSchema;
2656
+ output: typeof RoleSchema;
2657
+ },
2658
+ /**
2659
+ * Lists every permission that you can test on a resource. A permission is
2660
+ * testable if you can check whether a principal has that permission on the
2661
+ * resource.
2662
+ *
2663
+ * @generated from rpc google.iam.admin.v1.IAM.QueryTestablePermissions
2664
+ */
2665
+ queryTestablePermissions: {
2666
+ methodKind: "unary";
2667
+ input: typeof QueryTestablePermissionsRequestSchema;
2668
+ output: typeof QueryTestablePermissionsResponseSchema;
2669
+ },
2670
+ /**
2671
+ * Returns a list of services that allow you to opt into audit logs that are
2672
+ * not generated by default.
2673
+ *
2674
+ * To learn more about audit logs, see the [Logging
2675
+ * documentation](https://cloud.google.com/logging/docs/audit).
2676
+ *
2677
+ * @generated from rpc google.iam.admin.v1.IAM.QueryAuditableServices
2678
+ */
2679
+ queryAuditableServices: {
2680
+ methodKind: "unary";
2681
+ input: typeof QueryAuditableServicesRequestSchema;
2682
+ output: typeof QueryAuditableServicesResponseSchema;
2683
+ },
2684
+ /**
2685
+ * Lints, or validates, an IAM policy. Currently checks the
2686
+ * [google.iam.v1.Binding.condition][google.iam.v1.Binding.condition] field, which contains a condition
2687
+ * expression for a role binding.
2688
+ *
2689
+ * Successful calls to this method always return an HTTP `200 OK` status code,
2690
+ * even if the linter detects an issue in the IAM policy.
2691
+ *
2692
+ * @generated from rpc google.iam.admin.v1.IAM.LintPolicy
2693
+ */
2694
+ lintPolicy: {
2695
+ methodKind: "unary";
2696
+ input: typeof LintPolicyRequestSchema;
2697
+ output: typeof LintPolicyResponseSchema;
2698
+ },
2699
+ }>;