pulumi-gcp 7.19.0a1712989149__py3-none-any.whl → 7.19.0a1713335069__py3-none-any.whl

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 (295) hide show
  1. pulumi_gcp/accesscontextmanager/access_policy_iam_binding.py +136 -47
  2. pulumi_gcp/accesscontextmanager/access_policy_iam_member.py +136 -47
  3. pulumi_gcp/accesscontextmanager/access_policy_iam_policy.py +90 -84
  4. pulumi_gcp/apigateway/api_config_iam_binding.py +147 -52
  5. pulumi_gcp/apigateway/api_config_iam_member.py +147 -52
  6. pulumi_gcp/apigateway/api_config_iam_policy.py +96 -84
  7. pulumi_gcp/apigateway/api_iam_binding.py +147 -52
  8. pulumi_gcp/apigateway/api_iam_member.py +147 -52
  9. pulumi_gcp/apigateway/api_iam_policy.py +96 -84
  10. pulumi_gcp/apigateway/gateway_iam_binding.py +153 -52
  11. pulumi_gcp/apigateway/gateway_iam_member.py +153 -52
  12. pulumi_gcp/apigateway/gateway_iam_policy.py +102 -84
  13. pulumi_gcp/apigee/environment_iam_binding.py +139 -44
  14. pulumi_gcp/apigee/environment_iam_member.py +139 -44
  15. pulumi_gcp/apigee/environment_iam_policy.py +96 -84
  16. pulumi_gcp/artifactregistry/repository_iam_binding.py +156 -55
  17. pulumi_gcp/artifactregistry/repository_iam_member.py +156 -55
  18. pulumi_gcp/artifactregistry/repository_iam_policy.py +102 -84
  19. pulumi_gcp/bigquery/connection_iam_binding.py +158 -57
  20. pulumi_gcp/bigquery/connection_iam_member.py +158 -57
  21. pulumi_gcp/bigquery/connection_iam_policy.py +102 -84
  22. pulumi_gcp/bigquery/dataset_iam_binding.py +135 -40
  23. pulumi_gcp/bigquery/dataset_iam_member.py +135 -40
  24. pulumi_gcp/bigquery/dataset_iam_policy.py +96 -70
  25. pulumi_gcp/bigquery/iam_binding.py +283 -54
  26. pulumi_gcp/bigquery/iam_member.py +283 -54
  27. pulumi_gcp/bigquery/iam_policy.py +230 -84
  28. pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_binding.py +155 -54
  29. pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_member.py +155 -54
  30. pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_policy.py +102 -84
  31. pulumi_gcp/bigqueryanalyticshub/listing_iam_binding.py +161 -54
  32. pulumi_gcp/bigqueryanalyticshub/listing_iam_member.py +161 -54
  33. pulumi_gcp/bigqueryanalyticshub/listing_iam_policy.py +108 -84
  34. pulumi_gcp/bigquerydatapolicy/data_policy_iam_binding.py +155 -54
  35. pulumi_gcp/bigquerydatapolicy/data_policy_iam_member.py +155 -54
  36. pulumi_gcp/bigquerydatapolicy/data_policy_iam_policy.py +102 -84
  37. pulumi_gcp/bigtable/instance_iam_binding.py +123 -32
  38. pulumi_gcp/bigtable/instance_iam_member.py +123 -32
  39. pulumi_gcp/bigtable/instance_iam_policy.py +92 -63
  40. pulumi_gcp/bigtable/table_iam_binding.py +160 -63
  41. pulumi_gcp/bigtable/table_iam_member.py +160 -63
  42. pulumi_gcp/bigtable/table_iam_policy.py +98 -63
  43. pulumi_gcp/billing/account_iam_binding.py +120 -31
  44. pulumi_gcp/billing/account_iam_member.py +120 -31
  45. pulumi_gcp/billing/account_iam_policy.py +90 -49
  46. pulumi_gcp/binaryauthorization/attestor_iam_binding.py +147 -52
  47. pulumi_gcp/binaryauthorization/attestor_iam_member.py +147 -52
  48. pulumi_gcp/binaryauthorization/attestor_iam_policy.py +96 -84
  49. pulumi_gcp/certificateauthority/ca_pool_iam_binding.py +262 -57
  50. pulumi_gcp/certificateauthority/ca_pool_iam_member.py +262 -57
  51. pulumi_gcp/certificateauthority/ca_pool_iam_policy.py +206 -84
  52. pulumi_gcp/certificateauthority/certificate_template_iam_binding.py +259 -54
  53. pulumi_gcp/certificateauthority/certificate_template_iam_member.py +259 -54
  54. pulumi_gcp/certificateauthority/certificate_template_iam_policy.py +206 -84
  55. pulumi_gcp/cloudbuildv2/connection_iam_binding.py +161 -60
  56. pulumi_gcp/cloudbuildv2/connection_iam_member.py +161 -60
  57. pulumi_gcp/cloudbuildv2/connection_iam_policy.py +102 -84
  58. pulumi_gcp/cloudfunctions/function_iam_binding.py +153 -52
  59. pulumi_gcp/cloudfunctions/function_iam_member.py +153 -52
  60. pulumi_gcp/cloudfunctions/function_iam_policy.py +102 -84
  61. pulumi_gcp/cloudfunctionsv2/function_iam_binding.py +154 -53
  62. pulumi_gcp/cloudfunctionsv2/function_iam_member.py +154 -53
  63. pulumi_gcp/cloudfunctionsv2/function_iam_policy.py +102 -84
  64. pulumi_gcp/cloudrun/iam_binding.py +155 -54
  65. pulumi_gcp/cloudrun/iam_member.py +155 -54
  66. pulumi_gcp/cloudrun/iam_policy.py +102 -84
  67. pulumi_gcp/cloudrunv2/job_iam_binding.py +161 -60
  68. pulumi_gcp/cloudrunv2/job_iam_member.py +161 -60
  69. pulumi_gcp/cloudrunv2/job_iam_policy.py +102 -84
  70. pulumi_gcp/cloudrunv2/service_iam_binding.py +161 -60
  71. pulumi_gcp/cloudrunv2/service_iam_member.py +161 -60
  72. pulumi_gcp/cloudrunv2/service_iam_policy.py +102 -84
  73. pulumi_gcp/cloudtasks/queue_iam_binding.py +161 -60
  74. pulumi_gcp/cloudtasks/queue_iam_member.py +161 -60
  75. pulumi_gcp/cloudtasks/queue_iam_policy.py +102 -84
  76. pulumi_gcp/compute/backend_bucket_iam_binding.py +58 -59
  77. pulumi_gcp/compute/backend_bucket_iam_member.py +58 -59
  78. pulumi_gcp/compute/backend_bucket_iam_policy.py +0 -84
  79. pulumi_gcp/compute/backend_service_iam_binding.py +60 -61
  80. pulumi_gcp/compute/backend_service_iam_member.py +60 -61
  81. pulumi_gcp/compute/backend_service_iam_policy.py +0 -84
  82. pulumi_gcp/compute/disk_iam_binding.py +160 -59
  83. pulumi_gcp/compute/disk_iam_member.py +160 -59
  84. pulumi_gcp/compute/disk_iam_policy.py +102 -84
  85. pulumi_gcp/compute/image_iam_binding.py +271 -54
  86. pulumi_gcp/compute/image_iam_member.py +271 -54
  87. pulumi_gcp/compute/image_iam_policy.py +218 -84
  88. pulumi_gcp/compute/instance_iam_binding.py +283 -54
  89. pulumi_gcp/compute/instance_iam_member.py +283 -54
  90. pulumi_gcp/compute/instance_iam_policy.py +230 -84
  91. pulumi_gcp/compute/machine_image_iam_binding.py +271 -54
  92. pulumi_gcp/compute/machine_image_iam_member.py +271 -54
  93. pulumi_gcp/compute/machine_image_iam_policy.py +218 -84
  94. pulumi_gcp/compute/region_backend_service_iam_binding.py +60 -61
  95. pulumi_gcp/compute/region_backend_service_iam_member.py +60 -61
  96. pulumi_gcp/compute/region_backend_service_iam_policy.py +0 -84
  97. pulumi_gcp/compute/region_disk_iam_binding.py +160 -59
  98. pulumi_gcp/compute/region_disk_iam_member.py +160 -59
  99. pulumi_gcp/compute/region_disk_iam_policy.py +102 -84
  100. pulumi_gcp/compute/snapshot_iam_binding.py +154 -59
  101. pulumi_gcp/compute/snapshot_iam_member.py +154 -59
  102. pulumi_gcp/compute/snapshot_iam_policy.py +96 -84
  103. pulumi_gcp/compute/subnetwork_iam_binding.py +284 -55
  104. pulumi_gcp/compute/subnetwork_iam_member.py +284 -55
  105. pulumi_gcp/compute/subnetwork_iam_policy.py +230 -84
  106. pulumi_gcp/containeranalysis/note_iam_binding.py +154 -59
  107. pulumi_gcp/containeranalysis/note_iam_member.py +154 -59
  108. pulumi_gcp/containeranalysis/note_iam_policy.py +96 -84
  109. pulumi_gcp/datacatalog/entry_group_iam_binding.py +141 -52
  110. pulumi_gcp/datacatalog/entry_group_iam_member.py +141 -52
  111. pulumi_gcp/datacatalog/entry_group_iam_policy.py +90 -84
  112. pulumi_gcp/datacatalog/policy_tag_iam_binding.py +133 -44
  113. pulumi_gcp/datacatalog/policy_tag_iam_member.py +133 -44
  114. pulumi_gcp/datacatalog/policy_tag_iam_policy.py +90 -84
  115. pulumi_gcp/datacatalog/tag_template_iam_binding.py +142 -53
  116. pulumi_gcp/datacatalog/tag_template_iam_member.py +142 -53
  117. pulumi_gcp/datacatalog/tag_template_iam_policy.py +90 -84
  118. pulumi_gcp/datacatalog/taxonomy_iam_binding.py +142 -53
  119. pulumi_gcp/datacatalog/taxonomy_iam_member.py +142 -53
  120. pulumi_gcp/datacatalog/taxonomy_iam_policy.py +90 -84
  121. pulumi_gcp/dataplex/asset_iam_binding.py +165 -52
  122. pulumi_gcp/dataplex/asset_iam_member.py +165 -52
  123. pulumi_gcp/dataplex/asset_iam_policy.py +114 -84
  124. pulumi_gcp/dataplex/datascan_iam_binding.py +155 -54
  125. pulumi_gcp/dataplex/datascan_iam_member.py +155 -54
  126. pulumi_gcp/dataplex/datascan_iam_policy.py +102 -84
  127. pulumi_gcp/dataplex/lake_iam_binding.py +153 -52
  128. pulumi_gcp/dataplex/lake_iam_member.py +153 -52
  129. pulumi_gcp/dataplex/lake_iam_policy.py +102 -84
  130. pulumi_gcp/dataplex/task_iam_binding.py +161 -54
  131. pulumi_gcp/dataplex/task_iam_member.py +161 -54
  132. pulumi_gcp/dataplex/task_iam_policy.py +108 -84
  133. pulumi_gcp/dataplex/zone_iam_binding.py +159 -52
  134. pulumi_gcp/dataplex/zone_iam_member.py +159 -52
  135. pulumi_gcp/dataplex/zone_iam_policy.py +108 -84
  136. pulumi_gcp/dataproc/autoscaling_policy_iam_binding.py +173 -72
  137. pulumi_gcp/dataproc/autoscaling_policy_iam_member.py +173 -72
  138. pulumi_gcp/dataproc/autoscaling_policy_iam_policy.py +102 -84
  139. pulumi_gcp/dataproc/cluster_iam_binding.py +130 -37
  140. pulumi_gcp/dataproc/cluster_iam_member.py +130 -37
  141. pulumi_gcp/dataproc/cluster_iam_policy.py +94 -63
  142. pulumi_gcp/dataproc/job_iam_binding.py +156 -0
  143. pulumi_gcp/dataproc/job_iam_member.py +156 -0
  144. pulumi_gcp/dataproc/job_iam_policy.py +94 -0
  145. pulumi_gcp/dataproc/metastore_federation_iam_binding.py +53 -54
  146. pulumi_gcp/dataproc/metastore_federation_iam_member.py +53 -54
  147. pulumi_gcp/dataproc/metastore_federation_iam_policy.py +0 -84
  148. pulumi_gcp/dataproc/metastore_service_iam_binding.py +156 -55
  149. pulumi_gcp/dataproc/metastore_service_iam_member.py +156 -55
  150. pulumi_gcp/dataproc/metastore_service_iam_policy.py +102 -84
  151. pulumi_gcp/dns/dns_managed_zone_iam_binding.py +147 -52
  152. pulumi_gcp/dns/dns_managed_zone_iam_member.py +147 -52
  153. pulumi_gcp/dns/dns_managed_zone_iam_policy.py +96 -84
  154. pulumi_gcp/endpoints/consumers_iam_binding.py +83 -0
  155. pulumi_gcp/endpoints/consumers_iam_member.py +83 -0
  156. pulumi_gcp/endpoints/service_iam_binding.py +173 -0
  157. pulumi_gcp/endpoints/service_iam_member.py +173 -0
  158. pulumi_gcp/endpoints/service_iam_policy.py +90 -0
  159. pulumi_gcp/folder/iam_audit_config.py +270 -0
  160. pulumi_gcp/folder/iam_member.py +318 -0
  161. pulumi_gcp/folder/iam_policy.py +270 -0
  162. pulumi_gcp/gkebackup/backup_plan_iam_binding.py +162 -61
  163. pulumi_gcp/gkebackup/backup_plan_iam_member.py +162 -61
  164. pulumi_gcp/gkebackup/backup_plan_iam_policy.py +102 -84
  165. pulumi_gcp/gkehub/feature_iam_binding.py +161 -60
  166. pulumi_gcp/gkehub/feature_iam_member.py +161 -60
  167. pulumi_gcp/gkehub/feature_iam_policy.py +102 -84
  168. pulumi_gcp/gkehub/membership_iam_binding.py +159 -58
  169. pulumi_gcp/gkehub/membership_iam_member.py +159 -58
  170. pulumi_gcp/gkehub/membership_iam_policy.py +102 -84
  171. pulumi_gcp/gkehub/scope_iam_binding.py +147 -52
  172. pulumi_gcp/gkehub/scope_iam_member.py +147 -52
  173. pulumi_gcp/gkehub/scope_iam_policy.py +96 -84
  174. pulumi_gcp/healthcare/consent_store_iam_binding.py +139 -44
  175. pulumi_gcp/healthcare/consent_store_iam_member.py +139 -44
  176. pulumi_gcp/healthcare/consent_store_iam_policy.py +96 -84
  177. pulumi_gcp/healthcare/dataset_iam_binding.py +126 -37
  178. pulumi_gcp/healthcare/dataset_iam_member.py +126 -37
  179. pulumi_gcp/healthcare/dataset_iam_policy.py +90 -63
  180. pulumi_gcp/healthcare/dicom_store_iam_binding.py +126 -37
  181. pulumi_gcp/healthcare/dicom_store_iam_member.py +126 -37
  182. pulumi_gcp/healthcare/dicom_store_iam_policy.py +90 -63
  183. pulumi_gcp/healthcare/fhir_store_iam_binding.py +121 -32
  184. pulumi_gcp/healthcare/fhir_store_iam_member.py +121 -32
  185. pulumi_gcp/healthcare/fhir_store_iam_policy.py +90 -63
  186. pulumi_gcp/healthcare/hl7_store_iam_binding.py +121 -32
  187. pulumi_gcp/healthcare/hl7_store_iam_member.py +121 -32
  188. pulumi_gcp/healthcare/hl7_store_iam_policy.py +90 -63
  189. pulumi_gcp/iap/app_engine_service_iam_binding.py +284 -55
  190. pulumi_gcp/iap/app_engine_service_iam_member.py +284 -55
  191. pulumi_gcp/iap/app_engine_service_iam_policy.py +230 -84
  192. pulumi_gcp/iap/app_engine_version_iam_binding.py +297 -56
  193. pulumi_gcp/iap/app_engine_version_iam_member.py +297 -56
  194. pulumi_gcp/iap/app_engine_version_iam_policy.py +242 -84
  195. pulumi_gcp/iap/tunnel_dest_group_iam_binding.py +283 -54
  196. pulumi_gcp/iap/tunnel_dest_group_iam_member.py +283 -54
  197. pulumi_gcp/iap/tunnel_dest_group_iam_policy.py +230 -84
  198. pulumi_gcp/iap/tunnel_iam_binding.py +259 -54
  199. pulumi_gcp/iap/tunnel_iam_member.py +259 -54
  200. pulumi_gcp/iap/tunnel_iam_policy.py +206 -84
  201. pulumi_gcp/iap/tunnel_instance_iam_binding.py +283 -54
  202. pulumi_gcp/iap/tunnel_instance_iam_member.py +283 -54
  203. pulumi_gcp/iap/tunnel_instance_iam_policy.py +230 -84
  204. pulumi_gcp/iap/web_backend_service_iam_binding.py +272 -55
  205. pulumi_gcp/iap/web_backend_service_iam_member.py +272 -55
  206. pulumi_gcp/iap/web_backend_service_iam_policy.py +218 -84
  207. pulumi_gcp/iap/web_iam_binding.py +259 -54
  208. pulumi_gcp/iap/web_iam_member.py +259 -54
  209. pulumi_gcp/iap/web_iam_policy.py +206 -84
  210. pulumi_gcp/iap/web_region_backend_service_iam_binding.py +284 -55
  211. pulumi_gcp/iap/web_region_backend_service_iam_member.py +284 -55
  212. pulumi_gcp/iap/web_region_backend_service_iam_policy.py +230 -84
  213. pulumi_gcp/iap/web_type_app_enging_iam_binding.py +271 -54
  214. pulumi_gcp/iap/web_type_app_enging_iam_member.py +271 -54
  215. pulumi_gcp/iap/web_type_app_enging_iam_policy.py +218 -84
  216. pulumi_gcp/iap/web_type_compute_iam_binding.py +259 -54
  217. pulumi_gcp/iap/web_type_compute_iam_member.py +259 -54
  218. pulumi_gcp/iap/web_type_compute_iam_policy.py +206 -84
  219. pulumi_gcp/kms/crypto_key_iam_binding.py +36 -37
  220. pulumi_gcp/kms/crypto_key_iam_member.py +36 -37
  221. pulumi_gcp/kms/crypto_key_iam_policy.py +0 -63
  222. pulumi_gcp/kms/key_ring_iam_binding.py +253 -32
  223. pulumi_gcp/kms/key_ring_iam_member.py +253 -32
  224. pulumi_gcp/kms/key_ring_iam_policy.py +222 -63
  225. pulumi_gcp/networksecurity/address_group_iam_policy.py +0 -84
  226. pulumi_gcp/notebooks/instance_iam_binding.py +154 -53
  227. pulumi_gcp/notebooks/instance_iam_member.py +154 -53
  228. pulumi_gcp/notebooks/instance_iam_policy.py +102 -84
  229. pulumi_gcp/notebooks/runtime_iam_binding.py +155 -54
  230. pulumi_gcp/notebooks/runtime_iam_member.py +155 -54
  231. pulumi_gcp/notebooks/runtime_iam_policy.py +102 -84
  232. pulumi_gcp/organizations/iam_member.py +330 -0
  233. pulumi_gcp/organizations/iam_policy.py +282 -0
  234. pulumi_gcp/projects/iam_audit_config.py +270 -0
  235. pulumi_gcp/projects/iam_binding.py +318 -0
  236. pulumi_gcp/projects/iam_member.py +318 -0
  237. pulumi_gcp/projects/iam_policy.py +270 -0
  238. pulumi_gcp/pubsub/schema_iam_binding.py +148 -53
  239. pulumi_gcp/pubsub/schema_iam_member.py +148 -53
  240. pulumi_gcp/pubsub/schema_iam_policy.py +96 -84
  241. pulumi_gcp/pubsub/subscription_iam_binding.py +146 -57
  242. pulumi_gcp/pubsub/subscription_iam_member.py +146 -57
  243. pulumi_gcp/pubsub/subscription_iam_policy.py +90 -63
  244. pulumi_gcp/pubsub/topic_iam_binding.py +148 -53
  245. pulumi_gcp/pubsub/topic_iam_member.py +148 -53
  246. pulumi_gcp/pubsub/topic_iam_policy.py +96 -84
  247. pulumi_gcp/runtimeconfig/config_iam_binding.py +51 -52
  248. pulumi_gcp/runtimeconfig/config_iam_member.py +51 -52
  249. pulumi_gcp/runtimeconfig/config_iam_policy.py +0 -84
  250. pulumi_gcp/secretmanager/secret_iam_binding.py +147 -52
  251. pulumi_gcp/secretmanager/secret_iam_member.py +147 -52
  252. pulumi_gcp/secretmanager/secret_iam_policy.py +96 -84
  253. pulumi_gcp/serviceaccount/iam_binding.py +262 -51
  254. pulumi_gcp/serviceaccount/iam_member.py +262 -51
  255. pulumi_gcp/serviceaccount/iam_policy.py +212 -63
  256. pulumi_gcp/servicedirectory/namespace_iam_binding.py +136 -47
  257. pulumi_gcp/servicedirectory/namespace_iam_member.py +136 -47
  258. pulumi_gcp/servicedirectory/namespace_iam_policy.py +90 -84
  259. pulumi_gcp/servicedirectory/service_iam_binding.py +136 -47
  260. pulumi_gcp/servicedirectory/service_iam_member.py +136 -47
  261. pulumi_gcp/servicedirectory/service_iam_policy.py +90 -84
  262. pulumi_gcp/sourcerepo/repository_iam_binding.py +147 -52
  263. pulumi_gcp/sourcerepo/repository_iam_member.py +147 -52
  264. pulumi_gcp/sourcerepo/repository_iam_policy.py +96 -84
  265. pulumi_gcp/spanner/database_iam_binding.py +253 -32
  266. pulumi_gcp/spanner/database_iam_member.py +253 -32
  267. pulumi_gcp/spanner/database_iam_policy.py +222 -63
  268. pulumi_gcp/spanner/instance_iam_binding.py +121 -32
  269. pulumi_gcp/spanner/instance_iam_member.py +121 -32
  270. pulumi_gcp/spanner/instance_iam_policy.py +90 -63
  271. pulumi_gcp/storage/bucket_iam_binding.py +255 -50
  272. pulumi_gcp/storage/bucket_iam_member.py +255 -50
  273. pulumi_gcp/storage/bucket_iam_policy.py +206 -84
  274. pulumi_gcp/tags/tag_key_iam_binding.py +149 -60
  275. pulumi_gcp/tags/tag_key_iam_member.py +149 -60
  276. pulumi_gcp/tags/tag_key_iam_policy.py +90 -84
  277. pulumi_gcp/tags/tag_value_iam_binding.py +149 -60
  278. pulumi_gcp/tags/tag_value_iam_member.py +149 -60
  279. pulumi_gcp/tags/tag_value_iam_policy.py +90 -84
  280. pulumi_gcp/vertex/ai_feature_store_entity_type_iam_binding.py +33 -34
  281. pulumi_gcp/vertex/ai_feature_store_entity_type_iam_member.py +33 -34
  282. pulumi_gcp/vertex/ai_feature_store_entity_type_iam_policy.py +0 -84
  283. pulumi_gcp/vertex/ai_feature_store_iam_binding.py +51 -52
  284. pulumi_gcp/vertex/ai_feature_store_iam_member.py +51 -52
  285. pulumi_gcp/vertex/ai_feature_store_iam_policy.py +0 -84
  286. pulumi_gcp/workstations/workstation_config_iam_binding.py +53 -54
  287. pulumi_gcp/workstations/workstation_config_iam_member.py +53 -54
  288. pulumi_gcp/workstations/workstation_config_iam_policy.py +0 -84
  289. pulumi_gcp/workstations/workstation_iam_binding.py +53 -54
  290. pulumi_gcp/workstations/workstation_iam_member.py +53 -54
  291. pulumi_gcp/workstations/workstation_iam_policy.py +0 -84
  292. {pulumi_gcp-7.19.0a1712989149.dist-info → pulumi_gcp-7.19.0a1713335069.dist-info}/METADATA +1 -1
  293. {pulumi_gcp-7.19.0a1712989149.dist-info → pulumi_gcp-7.19.0a1713335069.dist-info}/RECORD +295 -295
  294. {pulumi_gcp-7.19.0a1712989149.dist-info → pulumi_gcp-7.19.0a1713335069.dist-info}/WHEEL +0 -0
  295. {pulumi_gcp-7.19.0a1712989149.dist-info → pulumi_gcp-7.19.0a1713335069.dist-info}/top_level.txt +0 -0
@@ -21,15 +21,6 @@ class IAMPolicyArgs:
21
21
  :param pulumi.Input[str] policy_data: The policy data generated by
22
22
  a `organizations_get_iam_policy` data source.
23
23
  :param pulumi.Input[str] service_account_id: The fully-qualified name of the service account to apply policy to.
24
-
25
- * `member/members` - (Required) Identities that will be granted the privilege in `role`.
26
- Each entry can have one of the following values:
27
- * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
28
- * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
29
- * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
30
- * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
31
- * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
32
- * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
33
24
  """
34
25
  pulumi.set(__self__, "policy_data", policy_data)
35
26
  pulumi.set(__self__, "service_account_id", service_account_id)
@@ -52,15 +43,6 @@ class IAMPolicyArgs:
52
43
  def service_account_id(self) -> pulumi.Input[str]:
53
44
  """
54
45
  The fully-qualified name of the service account to apply policy to.
55
-
56
- * `member/members` - (Required) Identities that will be granted the privilege in `role`.
57
- Each entry can have one of the following values:
58
- * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
59
- * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
60
- * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
61
- * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
62
- * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
63
- * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
64
46
  """
65
47
  return pulumi.get(self, "service_account_id")
66
48
 
@@ -81,15 +63,6 @@ class _IAMPolicyState:
81
63
  :param pulumi.Input[str] policy_data: The policy data generated by
82
64
  a `organizations_get_iam_policy` data source.
83
65
  :param pulumi.Input[str] service_account_id: The fully-qualified name of the service account to apply policy to.
84
-
85
- * `member/members` - (Required) Identities that will be granted the privilege in `role`.
86
- Each entry can have one of the following values:
87
- * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
88
- * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
89
- * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
90
- * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
91
- * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
92
- * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
93
66
  """
94
67
  if etag is not None:
95
68
  pulumi.set(__self__, "etag", etag)
@@ -128,15 +101,6 @@ class _IAMPolicyState:
128
101
  def service_account_id(self) -> Optional[pulumi.Input[str]]:
129
102
  """
130
103
  The fully-qualified name of the service account to apply policy to.
131
-
132
- * `member/members` - (Required) Identities that will be granted the privilege in `role`.
133
- Each entry can have one of the following values:
134
- * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
135
- * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
136
- * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
137
- * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
138
- * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
139
- * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
140
104
  """
141
105
  return pulumi.get(self, "service_account_id")
142
106
 
@@ -272,6 +236,112 @@ class IAMPolicy(pulumi.CustomResource):
272
236
  ```
273
237
  <!--End PulumiCodeChooser -->
274
238
 
239
+ ### Additional Examples
240
+
241
+ ### Service Account IAM Policy
242
+
243
+ <!--Start PulumiCodeChooser -->
244
+ ```python
245
+ import pulumi
246
+ import pulumi_gcp as gcp
247
+
248
+ admin = gcp.organizations.get_iam_policy(bindings=[gcp.organizations.GetIAMPolicyBindingArgs(
249
+ role="roles/iam.serviceAccountUser",
250
+ members=["user:jane@example.com"],
251
+ )])
252
+ sa = gcp.serviceaccount.Account("sa",
253
+ account_id="my-service-account",
254
+ display_name="A service account that only Jane can interact with")
255
+ admin_account_iam = gcp.serviceaccount.IAMPolicy("admin-account-iam",
256
+ service_account_id=sa.name,
257
+ policy_data=admin.policy_data)
258
+ ```
259
+ <!--End PulumiCodeChooser -->
260
+
261
+ ### Service Account IAM Binding
262
+
263
+ <!--Start PulumiCodeChooser -->
264
+ ```python
265
+ import pulumi
266
+ import pulumi_gcp as gcp
267
+
268
+ sa = gcp.serviceaccount.Account("sa",
269
+ account_id="my-service-account",
270
+ display_name="A service account that only Jane can use")
271
+ admin_account_iam = gcp.serviceaccount.IAMBinding("admin-account-iam",
272
+ service_account_id=sa.name,
273
+ role="roles/iam.serviceAccountUser",
274
+ members=["user:jane@example.com"])
275
+ ```
276
+ <!--End PulumiCodeChooser -->
277
+
278
+ ### Service Account IAM Binding With IAM Conditions:
279
+
280
+ <!--Start PulumiCodeChooser -->
281
+ ```python
282
+ import pulumi
283
+ import pulumi_gcp as gcp
284
+
285
+ sa = gcp.serviceaccount.Account("sa",
286
+ account_id="my-service-account",
287
+ display_name="A service account that only Jane can use")
288
+ admin_account_iam = gcp.serviceaccount.IAMBinding("admin-account-iam",
289
+ service_account_id=sa.name,
290
+ role="roles/iam.serviceAccountUser",
291
+ members=["user:jane@example.com"],
292
+ condition=gcp.serviceaccount.IAMBindingConditionArgs(
293
+ title="expires_after_2019_12_31",
294
+ description="Expiring at midnight of 2019-12-31",
295
+ expression="request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
296
+ ))
297
+ ```
298
+ <!--End PulumiCodeChooser -->
299
+
300
+ ### Service Account IAM Member
301
+
302
+ <!--Start PulumiCodeChooser -->
303
+ ```python
304
+ import pulumi
305
+ import pulumi_gcp as gcp
306
+
307
+ default = gcp.compute.get_default_service_account()
308
+ sa = gcp.serviceaccount.Account("sa",
309
+ account_id="my-service-account",
310
+ display_name="A service account that Jane can use")
311
+ admin_account_iam = gcp.serviceaccount.IAMMember("admin-account-iam",
312
+ service_account_id=sa.name,
313
+ role="roles/iam.serviceAccountUser",
314
+ member="user:jane@example.com")
315
+ # Allow SA service account use the default GCE account
316
+ gce_default_account_iam = gcp.serviceaccount.IAMMember("gce-default-account-iam",
317
+ service_account_id=default.name,
318
+ role="roles/iam.serviceAccountUser",
319
+ member=sa.email.apply(lambda email: f"serviceAccount:{email}"))
320
+ ```
321
+ <!--End PulumiCodeChooser -->
322
+
323
+ ### Service Account IAM Member With IAM Conditions:
324
+
325
+ <!--Start PulumiCodeChooser -->
326
+ ```python
327
+ import pulumi
328
+ import pulumi_gcp as gcp
329
+
330
+ sa = gcp.serviceaccount.Account("sa",
331
+ account_id="my-service-account",
332
+ display_name="A service account that Jane can use")
333
+ admin_account_iam = gcp.serviceaccount.IAMMember("admin-account-iam",
334
+ service_account_id=sa.name,
335
+ role="roles/iam.serviceAccountUser",
336
+ member="user:jane@example.com",
337
+ condition=gcp.serviceaccount.IAMMemberConditionArgs(
338
+ title="expires_after_2019_12_31",
339
+ description="Expiring at midnight of 2019-12-31",
340
+ expression="request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
341
+ ))
342
+ ```
343
+ <!--End PulumiCodeChooser -->
344
+
275
345
  ## Import
276
346
 
277
347
  ### Importing with conditions:
@@ -291,15 +361,6 @@ class IAMPolicy(pulumi.CustomResource):
291
361
  :param pulumi.Input[str] policy_data: The policy data generated by
292
362
  a `organizations_get_iam_policy` data source.
293
363
  :param pulumi.Input[str] service_account_id: The fully-qualified name of the service account to apply policy to.
294
-
295
- * `member/members` - (Required) Identities that will be granted the privilege in `role`.
296
- Each entry can have one of the following values:
297
- * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
298
- * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
299
- * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
300
- * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
301
- * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
302
- * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
303
364
  """
304
365
  ...
305
366
  @overload
@@ -426,6 +487,112 @@ class IAMPolicy(pulumi.CustomResource):
426
487
  ```
427
488
  <!--End PulumiCodeChooser -->
428
489
 
490
+ ### Additional Examples
491
+
492
+ ### Service Account IAM Policy
493
+
494
+ <!--Start PulumiCodeChooser -->
495
+ ```python
496
+ import pulumi
497
+ import pulumi_gcp as gcp
498
+
499
+ admin = gcp.organizations.get_iam_policy(bindings=[gcp.organizations.GetIAMPolicyBindingArgs(
500
+ role="roles/iam.serviceAccountUser",
501
+ members=["user:jane@example.com"],
502
+ )])
503
+ sa = gcp.serviceaccount.Account("sa",
504
+ account_id="my-service-account",
505
+ display_name="A service account that only Jane can interact with")
506
+ admin_account_iam = gcp.serviceaccount.IAMPolicy("admin-account-iam",
507
+ service_account_id=sa.name,
508
+ policy_data=admin.policy_data)
509
+ ```
510
+ <!--End PulumiCodeChooser -->
511
+
512
+ ### Service Account IAM Binding
513
+
514
+ <!--Start PulumiCodeChooser -->
515
+ ```python
516
+ import pulumi
517
+ import pulumi_gcp as gcp
518
+
519
+ sa = gcp.serviceaccount.Account("sa",
520
+ account_id="my-service-account",
521
+ display_name="A service account that only Jane can use")
522
+ admin_account_iam = gcp.serviceaccount.IAMBinding("admin-account-iam",
523
+ service_account_id=sa.name,
524
+ role="roles/iam.serviceAccountUser",
525
+ members=["user:jane@example.com"])
526
+ ```
527
+ <!--End PulumiCodeChooser -->
528
+
529
+ ### Service Account IAM Binding With IAM Conditions:
530
+
531
+ <!--Start PulumiCodeChooser -->
532
+ ```python
533
+ import pulumi
534
+ import pulumi_gcp as gcp
535
+
536
+ sa = gcp.serviceaccount.Account("sa",
537
+ account_id="my-service-account",
538
+ display_name="A service account that only Jane can use")
539
+ admin_account_iam = gcp.serviceaccount.IAMBinding("admin-account-iam",
540
+ service_account_id=sa.name,
541
+ role="roles/iam.serviceAccountUser",
542
+ members=["user:jane@example.com"],
543
+ condition=gcp.serviceaccount.IAMBindingConditionArgs(
544
+ title="expires_after_2019_12_31",
545
+ description="Expiring at midnight of 2019-12-31",
546
+ expression="request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
547
+ ))
548
+ ```
549
+ <!--End PulumiCodeChooser -->
550
+
551
+ ### Service Account IAM Member
552
+
553
+ <!--Start PulumiCodeChooser -->
554
+ ```python
555
+ import pulumi
556
+ import pulumi_gcp as gcp
557
+
558
+ default = gcp.compute.get_default_service_account()
559
+ sa = gcp.serviceaccount.Account("sa",
560
+ account_id="my-service-account",
561
+ display_name="A service account that Jane can use")
562
+ admin_account_iam = gcp.serviceaccount.IAMMember("admin-account-iam",
563
+ service_account_id=sa.name,
564
+ role="roles/iam.serviceAccountUser",
565
+ member="user:jane@example.com")
566
+ # Allow SA service account use the default GCE account
567
+ gce_default_account_iam = gcp.serviceaccount.IAMMember("gce-default-account-iam",
568
+ service_account_id=default.name,
569
+ role="roles/iam.serviceAccountUser",
570
+ member=sa.email.apply(lambda email: f"serviceAccount:{email}"))
571
+ ```
572
+ <!--End PulumiCodeChooser -->
573
+
574
+ ### Service Account IAM Member With IAM Conditions:
575
+
576
+ <!--Start PulumiCodeChooser -->
577
+ ```python
578
+ import pulumi
579
+ import pulumi_gcp as gcp
580
+
581
+ sa = gcp.serviceaccount.Account("sa",
582
+ account_id="my-service-account",
583
+ display_name="A service account that Jane can use")
584
+ admin_account_iam = gcp.serviceaccount.IAMMember("admin-account-iam",
585
+ service_account_id=sa.name,
586
+ role="roles/iam.serviceAccountUser",
587
+ member="user:jane@example.com",
588
+ condition=gcp.serviceaccount.IAMMemberConditionArgs(
589
+ title="expires_after_2019_12_31",
590
+ description="Expiring at midnight of 2019-12-31",
591
+ expression="request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
592
+ ))
593
+ ```
594
+ <!--End PulumiCodeChooser -->
595
+
429
596
  ## Import
430
597
 
431
598
  ### Importing with conditions:
@@ -499,15 +666,6 @@ class IAMPolicy(pulumi.CustomResource):
499
666
  :param pulumi.Input[str] policy_data: The policy data generated by
500
667
  a `organizations_get_iam_policy` data source.
501
668
  :param pulumi.Input[str] service_account_id: The fully-qualified name of the service account to apply policy to.
502
-
503
- * `member/members` - (Required) Identities that will be granted the privilege in `role`.
504
- Each entry can have one of the following values:
505
- * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
506
- * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
507
- * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
508
- * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
509
- * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
510
- * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
511
669
  """
512
670
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
513
671
 
@@ -540,15 +698,6 @@ class IAMPolicy(pulumi.CustomResource):
540
698
  def service_account_id(self) -> pulumi.Output[str]:
541
699
  """
542
700
  The fully-qualified name of the service account to apply policy to.
543
-
544
- * `member/members` - (Required) Identities that will be granted the privilege in `role`.
545
- Each entry can have one of the following values:
546
- * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
547
- * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
548
- * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
549
- * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
550
- * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
551
- * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
552
701
  """
553
702
  return pulumi.get(self, "service_account_id")
554
703
 
@@ -22,12 +22,7 @@ class NamespaceIamBindingArgs:
22
22
  name: Optional[pulumi.Input[str]] = None):
23
23
  """
24
24
  The set of arguments for constructing a NamespaceIamBinding resource.
25
- :param pulumi.Input[str] role: The role that should be applied. Only one
26
- `servicedirectory.NamespaceIamBinding` can be used per role. Note that custom roles must be of the format
27
- `[projects|organizations]/{parent-name}/roles/{role-name}`.
28
- :param pulumi.Input[str] name: Used to find the parent resource to bind the IAM policy to
29
-
30
- * `member/members` - (Required) Identities that will be granted the privilege in `role`.
25
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] members: Identities that will be granted the privilege in `role`.
31
26
  Each entry can have one of the following values:
32
27
  * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
33
28
  * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
@@ -38,6 +33,10 @@ class NamespaceIamBindingArgs:
38
33
  * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
39
34
  * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
40
35
  * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
36
+ :param pulumi.Input[str] role: The role that should be applied. Only one
37
+ `servicedirectory.NamespaceIamBinding` can be used per role. Note that custom roles must be of the format
38
+ `[projects|organizations]/{parent-name}/roles/{role-name}`.
39
+ :param pulumi.Input[str] name: Used to find the parent resource to bind the IAM policy to
41
40
  """
42
41
  pulumi.set(__self__, "members", members)
43
42
  pulumi.set(__self__, "role", role)
@@ -49,6 +48,19 @@ class NamespaceIamBindingArgs:
49
48
  @property
50
49
  @pulumi.getter
51
50
  def members(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
51
+ """
52
+ Identities that will be granted the privilege in `role`.
53
+ Each entry can have one of the following values:
54
+ * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
55
+ * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
56
+ * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
57
+ * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
58
+ * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
59
+ * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
60
+ * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
61
+ * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
62
+ * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
63
+ """
52
64
  return pulumi.get(self, "members")
53
65
 
54
66
  @members.setter
@@ -83,18 +95,6 @@ class NamespaceIamBindingArgs:
83
95
  def name(self) -> Optional[pulumi.Input[str]]:
84
96
  """
85
97
  Used to find the parent resource to bind the IAM policy to
86
-
87
- * `member/members` - (Required) Identities that will be granted the privilege in `role`.
88
- Each entry can have one of the following values:
89
- * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
90
- * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
91
- * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
92
- * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
93
- * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
94
- * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
95
- * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
96
- * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
97
- * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
98
98
  """
99
99
  return pulumi.get(self, "name")
100
100
 
@@ -114,9 +114,7 @@ class _NamespaceIamBindingState:
114
114
  """
115
115
  Input properties used for looking up and filtering NamespaceIamBinding resources.
116
116
  :param pulumi.Input[str] etag: (Computed) The etag of the IAM policy.
117
- :param pulumi.Input[str] name: Used to find the parent resource to bind the IAM policy to
118
-
119
- * `member/members` - (Required) Identities that will be granted the privilege in `role`.
117
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] members: Identities that will be granted the privilege in `role`.
120
118
  Each entry can have one of the following values:
121
119
  * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
122
120
  * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
@@ -127,6 +125,7 @@ class _NamespaceIamBindingState:
127
125
  * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
128
126
  * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
129
127
  * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
128
+ :param pulumi.Input[str] name: Used to find the parent resource to bind the IAM policy to
130
129
  :param pulumi.Input[str] role: The role that should be applied. Only one
131
130
  `servicedirectory.NamespaceIamBinding` can be used per role. Note that custom roles must be of the format
132
131
  `[projects|organizations]/{parent-name}/roles/{role-name}`.
@@ -166,19 +165,8 @@ class _NamespaceIamBindingState:
166
165
  @property
167
166
  @pulumi.getter
168
167
  def members(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
169
- return pulumi.get(self, "members")
170
-
171
- @members.setter
172
- def members(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
173
- pulumi.set(self, "members", value)
174
-
175
- @property
176
- @pulumi.getter
177
- def name(self) -> Optional[pulumi.Input[str]]:
178
168
  """
179
- Used to find the parent resource to bind the IAM policy to
180
-
181
- * `member/members` - (Required) Identities that will be granted the privilege in `role`.
169
+ Identities that will be granted the privilege in `role`.
182
170
  Each entry can have one of the following values:
183
171
  * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
184
172
  * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
@@ -190,6 +178,18 @@ class _NamespaceIamBindingState:
190
178
  * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
191
179
  * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
192
180
  """
181
+ return pulumi.get(self, "members")
182
+
183
+ @members.setter
184
+ def members(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
185
+ pulumi.set(self, "members", value)
186
+
187
+ @property
188
+ @pulumi.getter
189
+ def name(self) -> Optional[pulumi.Input[str]]:
190
+ """
191
+ Used to find the parent resource to bind the IAM policy to
192
+ """
193
193
  return pulumi.get(self, "name")
194
194
 
195
195
  @name.setter
@@ -281,6 +281,51 @@ class NamespaceIamBinding(pulumi.CustomResource):
281
281
  ```
282
282
  <!--End PulumiCodeChooser -->
283
283
 
284
+ ## google\\_service\\_directory\\_namespace\\_iam\\_policy
285
+
286
+ <!--Start PulumiCodeChooser -->
287
+ ```python
288
+ import pulumi
289
+ import pulumi_gcp as gcp
290
+
291
+ admin = gcp.organizations.get_iam_policy(bindings=[gcp.organizations.GetIAMPolicyBindingArgs(
292
+ role="roles/viewer",
293
+ members=["user:jane@example.com"],
294
+ )])
295
+ policy = gcp.servicedirectory.NamespaceIamPolicy("policy",
296
+ name=example["name"],
297
+ policy_data=admin.policy_data)
298
+ ```
299
+ <!--End PulumiCodeChooser -->
300
+
301
+ ## google\\_service\\_directory\\_namespace\\_iam\\_binding
302
+
303
+ <!--Start PulumiCodeChooser -->
304
+ ```python
305
+ import pulumi
306
+ import pulumi_gcp as gcp
307
+
308
+ binding = gcp.servicedirectory.NamespaceIamBinding("binding",
309
+ name=example["name"],
310
+ role="roles/viewer",
311
+ members=["user:jane@example.com"])
312
+ ```
313
+ <!--End PulumiCodeChooser -->
314
+
315
+ ## google\\_service\\_directory\\_namespace\\_iam\\_member
316
+
317
+ <!--Start PulumiCodeChooser -->
318
+ ```python
319
+ import pulumi
320
+ import pulumi_gcp as gcp
321
+
322
+ member = gcp.servicedirectory.NamespaceIamMember("member",
323
+ name=example["name"],
324
+ role="roles/viewer",
325
+ member="user:jane@example.com")
326
+ ```
327
+ <!--End PulumiCodeChooser -->
328
+
284
329
  ## Import
285
330
 
286
331
  For all import syntaxes, the "resource in question" can take any of the following forms:
@@ -319,9 +364,7 @@ class NamespaceIamBinding(pulumi.CustomResource):
319
364
 
320
365
  :param str resource_name: The name of the resource.
321
366
  :param pulumi.ResourceOptions opts: Options for the resource.
322
- :param pulumi.Input[str] name: Used to find the parent resource to bind the IAM policy to
323
-
324
- * `member/members` - (Required) Identities that will be granted the privilege in `role`.
367
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] members: Identities that will be granted the privilege in `role`.
325
368
  Each entry can have one of the following values:
326
369
  * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
327
370
  * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
@@ -332,6 +375,7 @@ class NamespaceIamBinding(pulumi.CustomResource):
332
375
  * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
333
376
  * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
334
377
  * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
378
+ :param pulumi.Input[str] name: Used to find the parent resource to bind the IAM policy to
335
379
  :param pulumi.Input[str] role: The role that should be applied. Only one
336
380
  `servicedirectory.NamespaceIamBinding` can be used per role. Note that custom roles must be of the format
337
381
  `[projects|organizations]/{parent-name}/roles/{role-name}`.
@@ -402,6 +446,51 @@ class NamespaceIamBinding(pulumi.CustomResource):
402
446
  ```
403
447
  <!--End PulumiCodeChooser -->
404
448
 
449
+ ## google\\_service\\_directory\\_namespace\\_iam\\_policy
450
+
451
+ <!--Start PulumiCodeChooser -->
452
+ ```python
453
+ import pulumi
454
+ import pulumi_gcp as gcp
455
+
456
+ admin = gcp.organizations.get_iam_policy(bindings=[gcp.organizations.GetIAMPolicyBindingArgs(
457
+ role="roles/viewer",
458
+ members=["user:jane@example.com"],
459
+ )])
460
+ policy = gcp.servicedirectory.NamespaceIamPolicy("policy",
461
+ name=example["name"],
462
+ policy_data=admin.policy_data)
463
+ ```
464
+ <!--End PulumiCodeChooser -->
465
+
466
+ ## google\\_service\\_directory\\_namespace\\_iam\\_binding
467
+
468
+ <!--Start PulumiCodeChooser -->
469
+ ```python
470
+ import pulumi
471
+ import pulumi_gcp as gcp
472
+
473
+ binding = gcp.servicedirectory.NamespaceIamBinding("binding",
474
+ name=example["name"],
475
+ role="roles/viewer",
476
+ members=["user:jane@example.com"])
477
+ ```
478
+ <!--End PulumiCodeChooser -->
479
+
480
+ ## google\\_service\\_directory\\_namespace\\_iam\\_member
481
+
482
+ <!--Start PulumiCodeChooser -->
483
+ ```python
484
+ import pulumi
485
+ import pulumi_gcp as gcp
486
+
487
+ member = gcp.servicedirectory.NamespaceIamMember("member",
488
+ name=example["name"],
489
+ role="roles/viewer",
490
+ member="user:jane@example.com")
491
+ ```
492
+ <!--End PulumiCodeChooser -->
493
+
405
494
  ## Import
406
495
 
407
496
  For all import syntaxes, the "resource in question" can take any of the following forms:
@@ -498,9 +587,7 @@ class NamespaceIamBinding(pulumi.CustomResource):
498
587
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
499
588
  :param pulumi.ResourceOptions opts: Options for the resource.
500
589
  :param pulumi.Input[str] etag: (Computed) The etag of the IAM policy.
501
- :param pulumi.Input[str] name: Used to find the parent resource to bind the IAM policy to
502
-
503
- * `member/members` - (Required) Identities that will be granted the privilege in `role`.
590
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] members: Identities that will be granted the privilege in `role`.
504
591
  Each entry can have one of the following values:
505
592
  * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
506
593
  * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
@@ -511,6 +598,7 @@ class NamespaceIamBinding(pulumi.CustomResource):
511
598
  * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
512
599
  * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
513
600
  * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
601
+ :param pulumi.Input[str] name: Used to find the parent resource to bind the IAM policy to
514
602
  :param pulumi.Input[str] role: The role that should be applied. Only one
515
603
  `servicedirectory.NamespaceIamBinding` can be used per role. Note that custom roles must be of the format
516
604
  `[projects|organizations]/{parent-name}/roles/{role-name}`.
@@ -542,15 +630,8 @@ class NamespaceIamBinding(pulumi.CustomResource):
542
630
  @property
543
631
  @pulumi.getter
544
632
  def members(self) -> pulumi.Output[Sequence[str]]:
545
- return pulumi.get(self, "members")
546
-
547
- @property
548
- @pulumi.getter
549
- def name(self) -> pulumi.Output[str]:
550
633
  """
551
- Used to find the parent resource to bind the IAM policy to
552
-
553
- * `member/members` - (Required) Identities that will be granted the privilege in `role`.
634
+ Identities that will be granted the privilege in `role`.
554
635
  Each entry can have one of the following values:
555
636
  * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
556
637
  * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
@@ -562,6 +643,14 @@ class NamespaceIamBinding(pulumi.CustomResource):
562
643
  * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
563
644
  * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
564
645
  """
646
+ return pulumi.get(self, "members")
647
+
648
+ @property
649
+ @pulumi.getter
650
+ def name(self) -> pulumi.Output[str]:
651
+ """
652
+ Used to find the parent resource to bind the IAM policy to
653
+ """
565
654
  return pulumi.get(self, "name")
566
655
 
567
656
  @property