pulumi-gcp 7.30.0a1720075632__py3-none-any.whl → 7.30.0a1720437548__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 (56) hide show
  1. pulumi_gcp/__init__.py +32 -0
  2. pulumi_gcp/artifactregistry/get_docker_image.py +2 -2
  3. pulumi_gcp/bigtable/gc_policy.py +68 -14
  4. pulumi_gcp/cloudfunctionsv2/_inputs.py +97 -0
  5. pulumi_gcp/cloudfunctionsv2/function.py +232 -0
  6. pulumi_gcp/cloudfunctionsv2/outputs.py +129 -1
  7. pulumi_gcp/compute/_inputs.py +622 -0
  8. pulumi_gcp/compute/address.py +0 -7
  9. pulumi_gcp/compute/backend_service.py +0 -14
  10. pulumi_gcp/compute/forwarding_rule.py +0 -21
  11. pulumi_gcp/compute/global_forwarding_rule.py +0 -21
  12. pulumi_gcp/compute/managed_ssl_certificate.py +0 -7
  13. pulumi_gcp/compute/manged_ssl_certificate.py +0 -7
  14. pulumi_gcp/compute/network_attachment.py +16 -0
  15. pulumi_gcp/compute/outputs.py +504 -8
  16. pulumi_gcp/compute/region_backend_service.py +0 -14
  17. pulumi_gcp/compute/region_ssl_certificate.py +0 -7
  18. pulumi_gcp/compute/ssl_certificate.py +0 -7
  19. pulumi_gcp/compute/target_https_proxy.py +76 -1
  20. pulumi_gcp/compute/url_map.py +255 -0
  21. pulumi_gcp/container/aws_cluster.py +2 -2
  22. pulumi_gcp/container/aws_node_pool.py +2 -2
  23. pulumi_gcp/container/azure_client.py +2 -2
  24. pulumi_gcp/container/azure_cluster.py +2 -2
  25. pulumi_gcp/container/azure_node_pool.py +2 -2
  26. pulumi_gcp/datafusion/_inputs.py +163 -11
  27. pulumi_gcp/datafusion/instance.py +64 -0
  28. pulumi_gcp/datafusion/outputs.py +127 -7
  29. pulumi_gcp/healthcare/_inputs.py +43 -0
  30. pulumi_gcp/healthcare/dataset.py +110 -0
  31. pulumi_gcp/healthcare/outputs.py +43 -0
  32. pulumi_gcp/identityplatform/config.py +1 -1
  33. pulumi_gcp/logging/billing_account_bucket_config.py +1 -1
  34. pulumi_gcp/logging/folder_bucket_config.py +1 -1
  35. pulumi_gcp/logging/organization_bucket_config.py +1 -1
  36. pulumi_gcp/monitoring/_inputs.py +77 -0
  37. pulumi_gcp/monitoring/outputs.py +63 -0
  38. pulumi_gcp/pulumi-plugin.json +1 -1
  39. pulumi_gcp/securitycenter/instance_iam_binding.py +64 -0
  40. pulumi_gcp/securitycenter/instance_iam_member.py +64 -0
  41. pulumi_gcp/securitycenter/instance_iam_policy.py +64 -0
  42. pulumi_gcp/storage/__init__.py +5 -0
  43. pulumi_gcp/storage/_inputs.py +130 -0
  44. pulumi_gcp/storage/get_managed_folder_iam_policy.py +115 -0
  45. pulumi_gcp/storage/managed_folder.py +440 -0
  46. pulumi_gcp/storage/managed_folder_iam_binding.py +947 -0
  47. pulumi_gcp/storage/managed_folder_iam_member.py +947 -0
  48. pulumi_gcp/storage/managed_folder_iam_policy.py +766 -0
  49. pulumi_gcp/storage/outputs.py +76 -0
  50. pulumi_gcp/vertex/_inputs.py +3 -3
  51. pulumi_gcp/vertex/ai_feature_online_store.py +9 -9
  52. pulumi_gcp/vertex/outputs.py +2 -2
  53. {pulumi_gcp-7.30.0a1720075632.dist-info → pulumi_gcp-7.30.0a1720437548.dist-info}/METADATA +1 -1
  54. {pulumi_gcp-7.30.0a1720075632.dist-info → pulumi_gcp-7.30.0a1720437548.dist-info}/RECORD +56 -51
  55. {pulumi_gcp-7.30.0a1720075632.dist-info → pulumi_gcp-7.30.0a1720437548.dist-info}/WHEEL +0 -0
  56. {pulumi_gcp-7.30.0a1720075632.dist-info → pulumi_gcp-7.30.0a1720437548.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,947 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from .. import _utilities
16
+ from . import outputs
17
+ from ._inputs import *
18
+
19
+ __all__ = ['ManagedFolderIamMemberArgs', 'ManagedFolderIamMember']
20
+
21
+ @pulumi.input_type
22
+ class ManagedFolderIamMemberArgs:
23
+ def __init__(__self__, *,
24
+ bucket: pulumi.Input[str],
25
+ managed_folder: pulumi.Input[str],
26
+ member: pulumi.Input[str],
27
+ role: pulumi.Input[str],
28
+ condition: Optional[pulumi.Input['ManagedFolderIamMemberConditionArgs']] = None):
29
+ """
30
+ The set of arguments for constructing a ManagedFolderIamMember resource.
31
+ :param pulumi.Input[str] bucket: The name of the bucket that contains the managed folder. Used to find the parent resource to bind the IAM policy to
32
+ :param pulumi.Input[str] managed_folder: Used to find the parent resource to bind the IAM policy to
33
+ :param pulumi.Input[str] member: Identities that will be granted the privilege in `role`.
34
+ Each entry can have one of the following values:
35
+ * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
36
+ * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
37
+ * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
38
+ * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
39
+ * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
40
+ * **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.
41
+ * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
42
+ * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
43
+ * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
44
+ :param pulumi.Input[str] role: The role that should be applied. Only one
45
+ `storage.ManagedFolderIamBinding` can be used per role. Note that custom roles must be of the format
46
+ `[projects|organizations]/{parent-name}/roles/{role-name}`.
47
+ :param pulumi.Input['ManagedFolderIamMemberConditionArgs'] condition: An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding.
48
+ Structure is documented below.
49
+ """
50
+ pulumi.set(__self__, "bucket", bucket)
51
+ pulumi.set(__self__, "managed_folder", managed_folder)
52
+ pulumi.set(__self__, "member", member)
53
+ pulumi.set(__self__, "role", role)
54
+ if condition is not None:
55
+ pulumi.set(__self__, "condition", condition)
56
+
57
+ @property
58
+ @pulumi.getter
59
+ def bucket(self) -> pulumi.Input[str]:
60
+ """
61
+ The name of the bucket that contains the managed folder. Used to find the parent resource to bind the IAM policy to
62
+ """
63
+ return pulumi.get(self, "bucket")
64
+
65
+ @bucket.setter
66
+ def bucket(self, value: pulumi.Input[str]):
67
+ pulumi.set(self, "bucket", value)
68
+
69
+ @property
70
+ @pulumi.getter(name="managedFolder")
71
+ def managed_folder(self) -> pulumi.Input[str]:
72
+ """
73
+ Used to find the parent resource to bind the IAM policy to
74
+ """
75
+ return pulumi.get(self, "managed_folder")
76
+
77
+ @managed_folder.setter
78
+ def managed_folder(self, value: pulumi.Input[str]):
79
+ pulumi.set(self, "managed_folder", value)
80
+
81
+ @property
82
+ @pulumi.getter
83
+ def member(self) -> pulumi.Input[str]:
84
+ """
85
+ 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
+ * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
94
+ * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
95
+ * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
96
+ """
97
+ return pulumi.get(self, "member")
98
+
99
+ @member.setter
100
+ def member(self, value: pulumi.Input[str]):
101
+ pulumi.set(self, "member", value)
102
+
103
+ @property
104
+ @pulumi.getter
105
+ def role(self) -> pulumi.Input[str]:
106
+ """
107
+ The role that should be applied. Only one
108
+ `storage.ManagedFolderIamBinding` can be used per role. Note that custom roles must be of the format
109
+ `[projects|organizations]/{parent-name}/roles/{role-name}`.
110
+ """
111
+ return pulumi.get(self, "role")
112
+
113
+ @role.setter
114
+ def role(self, value: pulumi.Input[str]):
115
+ pulumi.set(self, "role", value)
116
+
117
+ @property
118
+ @pulumi.getter
119
+ def condition(self) -> Optional[pulumi.Input['ManagedFolderIamMemberConditionArgs']]:
120
+ """
121
+ An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding.
122
+ Structure is documented below.
123
+ """
124
+ return pulumi.get(self, "condition")
125
+
126
+ @condition.setter
127
+ def condition(self, value: Optional[pulumi.Input['ManagedFolderIamMemberConditionArgs']]):
128
+ pulumi.set(self, "condition", value)
129
+
130
+
131
+ @pulumi.input_type
132
+ class _ManagedFolderIamMemberState:
133
+ def __init__(__self__, *,
134
+ bucket: Optional[pulumi.Input[str]] = None,
135
+ condition: Optional[pulumi.Input['ManagedFolderIamMemberConditionArgs']] = None,
136
+ etag: Optional[pulumi.Input[str]] = None,
137
+ managed_folder: Optional[pulumi.Input[str]] = None,
138
+ member: Optional[pulumi.Input[str]] = None,
139
+ role: Optional[pulumi.Input[str]] = None):
140
+ """
141
+ Input properties used for looking up and filtering ManagedFolderIamMember resources.
142
+ :param pulumi.Input[str] bucket: The name of the bucket that contains the managed folder. Used to find the parent resource to bind the IAM policy to
143
+ :param pulumi.Input['ManagedFolderIamMemberConditionArgs'] condition: An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding.
144
+ Structure is documented below.
145
+ :param pulumi.Input[str] etag: (Computed) The etag of the IAM policy.
146
+ :param pulumi.Input[str] managed_folder: Used to find the parent resource to bind the IAM policy to
147
+ :param pulumi.Input[str] member: Identities that will be granted the privilege in `role`.
148
+ Each entry can have one of the following values:
149
+ * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
150
+ * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
151
+ * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
152
+ * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
153
+ * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
154
+ * **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.
155
+ * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
156
+ * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
157
+ * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
158
+ :param pulumi.Input[str] role: The role that should be applied. Only one
159
+ `storage.ManagedFolderIamBinding` can be used per role. Note that custom roles must be of the format
160
+ `[projects|organizations]/{parent-name}/roles/{role-name}`.
161
+ """
162
+ if bucket is not None:
163
+ pulumi.set(__self__, "bucket", bucket)
164
+ if condition is not None:
165
+ pulumi.set(__self__, "condition", condition)
166
+ if etag is not None:
167
+ pulumi.set(__self__, "etag", etag)
168
+ if managed_folder is not None:
169
+ pulumi.set(__self__, "managed_folder", managed_folder)
170
+ if member is not None:
171
+ pulumi.set(__self__, "member", member)
172
+ if role is not None:
173
+ pulumi.set(__self__, "role", role)
174
+
175
+ @property
176
+ @pulumi.getter
177
+ def bucket(self) -> Optional[pulumi.Input[str]]:
178
+ """
179
+ The name of the bucket that contains the managed folder. Used to find the parent resource to bind the IAM policy to
180
+ """
181
+ return pulumi.get(self, "bucket")
182
+
183
+ @bucket.setter
184
+ def bucket(self, value: Optional[pulumi.Input[str]]):
185
+ pulumi.set(self, "bucket", value)
186
+
187
+ @property
188
+ @pulumi.getter
189
+ def condition(self) -> Optional[pulumi.Input['ManagedFolderIamMemberConditionArgs']]:
190
+ """
191
+ An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding.
192
+ Structure is documented below.
193
+ """
194
+ return pulumi.get(self, "condition")
195
+
196
+ @condition.setter
197
+ def condition(self, value: Optional[pulumi.Input['ManagedFolderIamMemberConditionArgs']]):
198
+ pulumi.set(self, "condition", value)
199
+
200
+ @property
201
+ @pulumi.getter
202
+ def etag(self) -> Optional[pulumi.Input[str]]:
203
+ """
204
+ (Computed) The etag of the IAM policy.
205
+ """
206
+ return pulumi.get(self, "etag")
207
+
208
+ @etag.setter
209
+ def etag(self, value: Optional[pulumi.Input[str]]):
210
+ pulumi.set(self, "etag", value)
211
+
212
+ @property
213
+ @pulumi.getter(name="managedFolder")
214
+ def managed_folder(self) -> Optional[pulumi.Input[str]]:
215
+ """
216
+ Used to find the parent resource to bind the IAM policy to
217
+ """
218
+ return pulumi.get(self, "managed_folder")
219
+
220
+ @managed_folder.setter
221
+ def managed_folder(self, value: Optional[pulumi.Input[str]]):
222
+ pulumi.set(self, "managed_folder", value)
223
+
224
+ @property
225
+ @pulumi.getter
226
+ def member(self) -> Optional[pulumi.Input[str]]:
227
+ """
228
+ Identities that will be granted the privilege in `role`.
229
+ Each entry can have one of the following values:
230
+ * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
231
+ * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
232
+ * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
233
+ * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
234
+ * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
235
+ * **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.
236
+ * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
237
+ * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
238
+ * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
239
+ """
240
+ return pulumi.get(self, "member")
241
+
242
+ @member.setter
243
+ def member(self, value: Optional[pulumi.Input[str]]):
244
+ pulumi.set(self, "member", value)
245
+
246
+ @property
247
+ @pulumi.getter
248
+ def role(self) -> Optional[pulumi.Input[str]]:
249
+ """
250
+ The role that should be applied. Only one
251
+ `storage.ManagedFolderIamBinding` can be used per role. Note that custom roles must be of the format
252
+ `[projects|organizations]/{parent-name}/roles/{role-name}`.
253
+ """
254
+ return pulumi.get(self, "role")
255
+
256
+ @role.setter
257
+ def role(self, value: Optional[pulumi.Input[str]]):
258
+ pulumi.set(self, "role", value)
259
+
260
+
261
+ class ManagedFolderIamMember(pulumi.CustomResource):
262
+ @overload
263
+ def __init__(__self__,
264
+ resource_name: str,
265
+ opts: Optional[pulumi.ResourceOptions] = None,
266
+ bucket: Optional[pulumi.Input[str]] = None,
267
+ condition: Optional[pulumi.Input[Union['ManagedFolderIamMemberConditionArgs', 'ManagedFolderIamMemberConditionArgsDict']]] = None,
268
+ managed_folder: Optional[pulumi.Input[str]] = None,
269
+ member: Optional[pulumi.Input[str]] = None,
270
+ role: Optional[pulumi.Input[str]] = None,
271
+ __props__=None):
272
+ """
273
+ Three different resources help you manage your IAM policy for Cloud Storage ManagedFolder. Each of these resources serves a different use case:
274
+
275
+ * `storage.ManagedFolderIamPolicy`: Authoritative. Sets the IAM policy for the managedfolder and replaces any existing policy already attached.
276
+ * `storage.ManagedFolderIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the managedfolder are preserved.
277
+ * `storage.ManagedFolderIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the managedfolder are preserved.
278
+
279
+ A data source can be used to retrieve policy data in advent you do not need creation
280
+
281
+ * `storage.ManagedFolderIamPolicy`: Retrieves the IAM policy for the managedfolder
282
+
283
+ > **Note:** `storage.ManagedFolderIamPolicy` **cannot** be used in conjunction with `storage.ManagedFolderIamBinding` and `storage.ManagedFolderIamMember` or they will fight over what your policy should be.
284
+
285
+ > **Note:** `storage.ManagedFolderIamBinding` resources **can be** used in conjunction with `storage.ManagedFolderIamMember` resources **only if** they do not grant privilege to the same role.
286
+
287
+ > **Note:** This resource supports IAM Conditions but they have some known limitations which can be found [here](https://cloud.google.com/iam/docs/conditions-overview#limitations). Please review this article if you are having issues with IAM Conditions.
288
+
289
+ ## storage.ManagedFolderIamPolicy
290
+
291
+ ```python
292
+ import pulumi
293
+ import pulumi_gcp as gcp
294
+
295
+ admin = gcp.organizations.get_iam_policy(bindings=[{
296
+ "role": "roles/storage.admin",
297
+ "members": ["user:jane@example.com"],
298
+ }])
299
+ policy = gcp.storage.ManagedFolderIamPolicy("policy",
300
+ bucket=folder["bucket"],
301
+ managed_folder=folder["name"],
302
+ policy_data=admin.policy_data)
303
+ ```
304
+
305
+ With IAM Conditions:
306
+
307
+ ```python
308
+ import pulumi
309
+ import pulumi_gcp as gcp
310
+
311
+ admin = gcp.organizations.get_iam_policy(bindings=[{
312
+ "role": "roles/storage.admin",
313
+ "members": ["user:jane@example.com"],
314
+ "condition": {
315
+ "title": "expires_after_2019_12_31",
316
+ "description": "Expiring at midnight of 2019-12-31",
317
+ "expression": "request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
318
+ },
319
+ }])
320
+ policy = gcp.storage.ManagedFolderIamPolicy("policy",
321
+ bucket=folder["bucket"],
322
+ managed_folder=folder["name"],
323
+ policy_data=admin.policy_data)
324
+ ```
325
+ ## storage.ManagedFolderIamBinding
326
+
327
+ ```python
328
+ import pulumi
329
+ import pulumi_gcp as gcp
330
+
331
+ binding = gcp.storage.ManagedFolderIamBinding("binding",
332
+ bucket=folder["bucket"],
333
+ managed_folder=folder["name"],
334
+ role="roles/storage.admin",
335
+ members=["user:jane@example.com"])
336
+ ```
337
+
338
+ With IAM Conditions:
339
+
340
+ ```python
341
+ import pulumi
342
+ import pulumi_gcp as gcp
343
+
344
+ binding = gcp.storage.ManagedFolderIamBinding("binding",
345
+ bucket=folder["bucket"],
346
+ managed_folder=folder["name"],
347
+ role="roles/storage.admin",
348
+ members=["user:jane@example.com"],
349
+ condition={
350
+ "title": "expires_after_2019_12_31",
351
+ "description": "Expiring at midnight of 2019-12-31",
352
+ "expression": "request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
353
+ })
354
+ ```
355
+ ## storage.ManagedFolderIamMember
356
+
357
+ ```python
358
+ import pulumi
359
+ import pulumi_gcp as gcp
360
+
361
+ member = gcp.storage.ManagedFolderIamMember("member",
362
+ bucket=folder["bucket"],
363
+ managed_folder=folder["name"],
364
+ role="roles/storage.admin",
365
+ member="user:jane@example.com")
366
+ ```
367
+
368
+ With IAM Conditions:
369
+
370
+ ```python
371
+ import pulumi
372
+ import pulumi_gcp as gcp
373
+
374
+ member = gcp.storage.ManagedFolderIamMember("member",
375
+ bucket=folder["bucket"],
376
+ managed_folder=folder["name"],
377
+ role="roles/storage.admin",
378
+ member="user:jane@example.com",
379
+ condition={
380
+ "title": "expires_after_2019_12_31",
381
+ "description": "Expiring at midnight of 2019-12-31",
382
+ "expression": "request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
383
+ })
384
+ ```
385
+
386
+ ## storage.ManagedFolderIamPolicy
387
+
388
+ ```python
389
+ import pulumi
390
+ import pulumi_gcp as gcp
391
+
392
+ admin = gcp.organizations.get_iam_policy(bindings=[{
393
+ "role": "roles/storage.admin",
394
+ "members": ["user:jane@example.com"],
395
+ }])
396
+ policy = gcp.storage.ManagedFolderIamPolicy("policy",
397
+ bucket=folder["bucket"],
398
+ managed_folder=folder["name"],
399
+ policy_data=admin.policy_data)
400
+ ```
401
+
402
+ With IAM Conditions:
403
+
404
+ ```python
405
+ import pulumi
406
+ import pulumi_gcp as gcp
407
+
408
+ admin = gcp.organizations.get_iam_policy(bindings=[{
409
+ "role": "roles/storage.admin",
410
+ "members": ["user:jane@example.com"],
411
+ "condition": {
412
+ "title": "expires_after_2019_12_31",
413
+ "description": "Expiring at midnight of 2019-12-31",
414
+ "expression": "request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
415
+ },
416
+ }])
417
+ policy = gcp.storage.ManagedFolderIamPolicy("policy",
418
+ bucket=folder["bucket"],
419
+ managed_folder=folder["name"],
420
+ policy_data=admin.policy_data)
421
+ ```
422
+ ## storage.ManagedFolderIamBinding
423
+
424
+ ```python
425
+ import pulumi
426
+ import pulumi_gcp as gcp
427
+
428
+ binding = gcp.storage.ManagedFolderIamBinding("binding",
429
+ bucket=folder["bucket"],
430
+ managed_folder=folder["name"],
431
+ role="roles/storage.admin",
432
+ members=["user:jane@example.com"])
433
+ ```
434
+
435
+ With IAM Conditions:
436
+
437
+ ```python
438
+ import pulumi
439
+ import pulumi_gcp as gcp
440
+
441
+ binding = gcp.storage.ManagedFolderIamBinding("binding",
442
+ bucket=folder["bucket"],
443
+ managed_folder=folder["name"],
444
+ role="roles/storage.admin",
445
+ members=["user:jane@example.com"],
446
+ condition={
447
+ "title": "expires_after_2019_12_31",
448
+ "description": "Expiring at midnight of 2019-12-31",
449
+ "expression": "request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
450
+ })
451
+ ```
452
+ ## storage.ManagedFolderIamMember
453
+
454
+ ```python
455
+ import pulumi
456
+ import pulumi_gcp as gcp
457
+
458
+ member = gcp.storage.ManagedFolderIamMember("member",
459
+ bucket=folder["bucket"],
460
+ managed_folder=folder["name"],
461
+ role="roles/storage.admin",
462
+ member="user:jane@example.com")
463
+ ```
464
+
465
+ With IAM Conditions:
466
+
467
+ ```python
468
+ import pulumi
469
+ import pulumi_gcp as gcp
470
+
471
+ member = gcp.storage.ManagedFolderIamMember("member",
472
+ bucket=folder["bucket"],
473
+ managed_folder=folder["name"],
474
+ role="roles/storage.admin",
475
+ member="user:jane@example.com",
476
+ condition={
477
+ "title": "expires_after_2019_12_31",
478
+ "description": "Expiring at midnight of 2019-12-31",
479
+ "expression": "request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
480
+ })
481
+ ```
482
+
483
+ ## Import
484
+
485
+ For all import syntaxes, the "resource in question" can take any of the following forms:
486
+
487
+ * b/{{bucket}}/managedFolders/{{managed_folder}}
488
+
489
+ * {{bucket}}/{{managed_folder}}
490
+
491
+ Any variables not passed in the import command will be taken from the provider configuration.
492
+
493
+ Cloud Storage managedfolder IAM resources can be imported using the resource identifiers, role, and member.
494
+
495
+ IAM member imports use space-delimited identifiers: the resource in question, the role, and the member identity, e.g.
496
+
497
+ ```sh
498
+ $ pulumi import gcp:storage/managedFolderIamMember:ManagedFolderIamMember editor "b/{{bucket}}/managedFolders/{{managed_folder}} roles/storage.objectViewer user:jane@example.com"
499
+ ```
500
+
501
+ IAM binding imports use space-delimited identifiers: the resource in question and the role, e.g.
502
+
503
+ ```sh
504
+ $ pulumi import gcp:storage/managedFolderIamMember:ManagedFolderIamMember editor "b/{{bucket}}/managedFolders/{{managed_folder}} roles/storage.objectViewer"
505
+ ```
506
+
507
+ IAM policy imports use the identifier of the resource in question, e.g.
508
+
509
+ ```sh
510
+ $ pulumi import gcp:storage/managedFolderIamMember:ManagedFolderIamMember editor b/{{bucket}}/managedFolders/{{managed_folder}}
511
+ ```
512
+
513
+ -> **Custom Roles**: If you're importing a IAM resource with a custom role, make sure to use the
514
+
515
+ full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
516
+
517
+ :param str resource_name: The name of the resource.
518
+ :param pulumi.ResourceOptions opts: Options for the resource.
519
+ :param pulumi.Input[str] bucket: The name of the bucket that contains the managed folder. Used to find the parent resource to bind the IAM policy to
520
+ :param pulumi.Input[Union['ManagedFolderIamMemberConditionArgs', 'ManagedFolderIamMemberConditionArgsDict']] condition: An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding.
521
+ Structure is documented below.
522
+ :param pulumi.Input[str] managed_folder: Used to find the parent resource to bind the IAM policy to
523
+ :param pulumi.Input[str] member: Identities that will be granted the privilege in `role`.
524
+ Each entry can have one of the following values:
525
+ * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
526
+ * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
527
+ * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
528
+ * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
529
+ * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
530
+ * **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.
531
+ * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
532
+ * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
533
+ * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
534
+ :param pulumi.Input[str] role: The role that should be applied. Only one
535
+ `storage.ManagedFolderIamBinding` can be used per role. Note that custom roles must be of the format
536
+ `[projects|organizations]/{parent-name}/roles/{role-name}`.
537
+ """
538
+ ...
539
+ @overload
540
+ def __init__(__self__,
541
+ resource_name: str,
542
+ args: ManagedFolderIamMemberArgs,
543
+ opts: Optional[pulumi.ResourceOptions] = None):
544
+ """
545
+ Three different resources help you manage your IAM policy for Cloud Storage ManagedFolder. Each of these resources serves a different use case:
546
+
547
+ * `storage.ManagedFolderIamPolicy`: Authoritative. Sets the IAM policy for the managedfolder and replaces any existing policy already attached.
548
+ * `storage.ManagedFolderIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the managedfolder are preserved.
549
+ * `storage.ManagedFolderIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the managedfolder are preserved.
550
+
551
+ A data source can be used to retrieve policy data in advent you do not need creation
552
+
553
+ * `storage.ManagedFolderIamPolicy`: Retrieves the IAM policy for the managedfolder
554
+
555
+ > **Note:** `storage.ManagedFolderIamPolicy` **cannot** be used in conjunction with `storage.ManagedFolderIamBinding` and `storage.ManagedFolderIamMember` or they will fight over what your policy should be.
556
+
557
+ > **Note:** `storage.ManagedFolderIamBinding` resources **can be** used in conjunction with `storage.ManagedFolderIamMember` resources **only if** they do not grant privilege to the same role.
558
+
559
+ > **Note:** This resource supports IAM Conditions but they have some known limitations which can be found [here](https://cloud.google.com/iam/docs/conditions-overview#limitations). Please review this article if you are having issues with IAM Conditions.
560
+
561
+ ## storage.ManagedFolderIamPolicy
562
+
563
+ ```python
564
+ import pulumi
565
+ import pulumi_gcp as gcp
566
+
567
+ admin = gcp.organizations.get_iam_policy(bindings=[{
568
+ "role": "roles/storage.admin",
569
+ "members": ["user:jane@example.com"],
570
+ }])
571
+ policy = gcp.storage.ManagedFolderIamPolicy("policy",
572
+ bucket=folder["bucket"],
573
+ managed_folder=folder["name"],
574
+ policy_data=admin.policy_data)
575
+ ```
576
+
577
+ With IAM Conditions:
578
+
579
+ ```python
580
+ import pulumi
581
+ import pulumi_gcp as gcp
582
+
583
+ admin = gcp.organizations.get_iam_policy(bindings=[{
584
+ "role": "roles/storage.admin",
585
+ "members": ["user:jane@example.com"],
586
+ "condition": {
587
+ "title": "expires_after_2019_12_31",
588
+ "description": "Expiring at midnight of 2019-12-31",
589
+ "expression": "request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
590
+ },
591
+ }])
592
+ policy = gcp.storage.ManagedFolderIamPolicy("policy",
593
+ bucket=folder["bucket"],
594
+ managed_folder=folder["name"],
595
+ policy_data=admin.policy_data)
596
+ ```
597
+ ## storage.ManagedFolderIamBinding
598
+
599
+ ```python
600
+ import pulumi
601
+ import pulumi_gcp as gcp
602
+
603
+ binding = gcp.storage.ManagedFolderIamBinding("binding",
604
+ bucket=folder["bucket"],
605
+ managed_folder=folder["name"],
606
+ role="roles/storage.admin",
607
+ members=["user:jane@example.com"])
608
+ ```
609
+
610
+ With IAM Conditions:
611
+
612
+ ```python
613
+ import pulumi
614
+ import pulumi_gcp as gcp
615
+
616
+ binding = gcp.storage.ManagedFolderIamBinding("binding",
617
+ bucket=folder["bucket"],
618
+ managed_folder=folder["name"],
619
+ role="roles/storage.admin",
620
+ members=["user:jane@example.com"],
621
+ condition={
622
+ "title": "expires_after_2019_12_31",
623
+ "description": "Expiring at midnight of 2019-12-31",
624
+ "expression": "request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
625
+ })
626
+ ```
627
+ ## storage.ManagedFolderIamMember
628
+
629
+ ```python
630
+ import pulumi
631
+ import pulumi_gcp as gcp
632
+
633
+ member = gcp.storage.ManagedFolderIamMember("member",
634
+ bucket=folder["bucket"],
635
+ managed_folder=folder["name"],
636
+ role="roles/storage.admin",
637
+ member="user:jane@example.com")
638
+ ```
639
+
640
+ With IAM Conditions:
641
+
642
+ ```python
643
+ import pulumi
644
+ import pulumi_gcp as gcp
645
+
646
+ member = gcp.storage.ManagedFolderIamMember("member",
647
+ bucket=folder["bucket"],
648
+ managed_folder=folder["name"],
649
+ role="roles/storage.admin",
650
+ member="user:jane@example.com",
651
+ condition={
652
+ "title": "expires_after_2019_12_31",
653
+ "description": "Expiring at midnight of 2019-12-31",
654
+ "expression": "request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
655
+ })
656
+ ```
657
+
658
+ ## storage.ManagedFolderIamPolicy
659
+
660
+ ```python
661
+ import pulumi
662
+ import pulumi_gcp as gcp
663
+
664
+ admin = gcp.organizations.get_iam_policy(bindings=[{
665
+ "role": "roles/storage.admin",
666
+ "members": ["user:jane@example.com"],
667
+ }])
668
+ policy = gcp.storage.ManagedFolderIamPolicy("policy",
669
+ bucket=folder["bucket"],
670
+ managed_folder=folder["name"],
671
+ policy_data=admin.policy_data)
672
+ ```
673
+
674
+ With IAM Conditions:
675
+
676
+ ```python
677
+ import pulumi
678
+ import pulumi_gcp as gcp
679
+
680
+ admin = gcp.organizations.get_iam_policy(bindings=[{
681
+ "role": "roles/storage.admin",
682
+ "members": ["user:jane@example.com"],
683
+ "condition": {
684
+ "title": "expires_after_2019_12_31",
685
+ "description": "Expiring at midnight of 2019-12-31",
686
+ "expression": "request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
687
+ },
688
+ }])
689
+ policy = gcp.storage.ManagedFolderIamPolicy("policy",
690
+ bucket=folder["bucket"],
691
+ managed_folder=folder["name"],
692
+ policy_data=admin.policy_data)
693
+ ```
694
+ ## storage.ManagedFolderIamBinding
695
+
696
+ ```python
697
+ import pulumi
698
+ import pulumi_gcp as gcp
699
+
700
+ binding = gcp.storage.ManagedFolderIamBinding("binding",
701
+ bucket=folder["bucket"],
702
+ managed_folder=folder["name"],
703
+ role="roles/storage.admin",
704
+ members=["user:jane@example.com"])
705
+ ```
706
+
707
+ With IAM Conditions:
708
+
709
+ ```python
710
+ import pulumi
711
+ import pulumi_gcp as gcp
712
+
713
+ binding = gcp.storage.ManagedFolderIamBinding("binding",
714
+ bucket=folder["bucket"],
715
+ managed_folder=folder["name"],
716
+ role="roles/storage.admin",
717
+ members=["user:jane@example.com"],
718
+ condition={
719
+ "title": "expires_after_2019_12_31",
720
+ "description": "Expiring at midnight of 2019-12-31",
721
+ "expression": "request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
722
+ })
723
+ ```
724
+ ## storage.ManagedFolderIamMember
725
+
726
+ ```python
727
+ import pulumi
728
+ import pulumi_gcp as gcp
729
+
730
+ member = gcp.storage.ManagedFolderIamMember("member",
731
+ bucket=folder["bucket"],
732
+ managed_folder=folder["name"],
733
+ role="roles/storage.admin",
734
+ member="user:jane@example.com")
735
+ ```
736
+
737
+ With IAM Conditions:
738
+
739
+ ```python
740
+ import pulumi
741
+ import pulumi_gcp as gcp
742
+
743
+ member = gcp.storage.ManagedFolderIamMember("member",
744
+ bucket=folder["bucket"],
745
+ managed_folder=folder["name"],
746
+ role="roles/storage.admin",
747
+ member="user:jane@example.com",
748
+ condition={
749
+ "title": "expires_after_2019_12_31",
750
+ "description": "Expiring at midnight of 2019-12-31",
751
+ "expression": "request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
752
+ })
753
+ ```
754
+
755
+ ## Import
756
+
757
+ For all import syntaxes, the "resource in question" can take any of the following forms:
758
+
759
+ * b/{{bucket}}/managedFolders/{{managed_folder}}
760
+
761
+ * {{bucket}}/{{managed_folder}}
762
+
763
+ Any variables not passed in the import command will be taken from the provider configuration.
764
+
765
+ Cloud Storage managedfolder IAM resources can be imported using the resource identifiers, role, and member.
766
+
767
+ IAM member imports use space-delimited identifiers: the resource in question, the role, and the member identity, e.g.
768
+
769
+ ```sh
770
+ $ pulumi import gcp:storage/managedFolderIamMember:ManagedFolderIamMember editor "b/{{bucket}}/managedFolders/{{managed_folder}} roles/storage.objectViewer user:jane@example.com"
771
+ ```
772
+
773
+ IAM binding imports use space-delimited identifiers: the resource in question and the role, e.g.
774
+
775
+ ```sh
776
+ $ pulumi import gcp:storage/managedFolderIamMember:ManagedFolderIamMember editor "b/{{bucket}}/managedFolders/{{managed_folder}} roles/storage.objectViewer"
777
+ ```
778
+
779
+ IAM policy imports use the identifier of the resource in question, e.g.
780
+
781
+ ```sh
782
+ $ pulumi import gcp:storage/managedFolderIamMember:ManagedFolderIamMember editor b/{{bucket}}/managedFolders/{{managed_folder}}
783
+ ```
784
+
785
+ -> **Custom Roles**: If you're importing a IAM resource with a custom role, make sure to use the
786
+
787
+ full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
788
+
789
+ :param str resource_name: The name of the resource.
790
+ :param ManagedFolderIamMemberArgs args: The arguments to use to populate this resource's properties.
791
+ :param pulumi.ResourceOptions opts: Options for the resource.
792
+ """
793
+ ...
794
+ def __init__(__self__, resource_name: str, *args, **kwargs):
795
+ resource_args, opts = _utilities.get_resource_args_opts(ManagedFolderIamMemberArgs, pulumi.ResourceOptions, *args, **kwargs)
796
+ if resource_args is not None:
797
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
798
+ else:
799
+ __self__._internal_init(resource_name, *args, **kwargs)
800
+
801
+ def _internal_init(__self__,
802
+ resource_name: str,
803
+ opts: Optional[pulumi.ResourceOptions] = None,
804
+ bucket: Optional[pulumi.Input[str]] = None,
805
+ condition: Optional[pulumi.Input[Union['ManagedFolderIamMemberConditionArgs', 'ManagedFolderIamMemberConditionArgsDict']]] = None,
806
+ managed_folder: Optional[pulumi.Input[str]] = None,
807
+ member: Optional[pulumi.Input[str]] = None,
808
+ role: Optional[pulumi.Input[str]] = None,
809
+ __props__=None):
810
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
811
+ if not isinstance(opts, pulumi.ResourceOptions):
812
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
813
+ if opts.id is None:
814
+ if __props__ is not None:
815
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
816
+ __props__ = ManagedFolderIamMemberArgs.__new__(ManagedFolderIamMemberArgs)
817
+
818
+ if bucket is None and not opts.urn:
819
+ raise TypeError("Missing required property 'bucket'")
820
+ __props__.__dict__["bucket"] = bucket
821
+ __props__.__dict__["condition"] = condition
822
+ if managed_folder is None and not opts.urn:
823
+ raise TypeError("Missing required property 'managed_folder'")
824
+ __props__.__dict__["managed_folder"] = managed_folder
825
+ if member is None and not opts.urn:
826
+ raise TypeError("Missing required property 'member'")
827
+ __props__.__dict__["member"] = member
828
+ if role is None and not opts.urn:
829
+ raise TypeError("Missing required property 'role'")
830
+ __props__.__dict__["role"] = role
831
+ __props__.__dict__["etag"] = None
832
+ super(ManagedFolderIamMember, __self__).__init__(
833
+ 'gcp:storage/managedFolderIamMember:ManagedFolderIamMember',
834
+ resource_name,
835
+ __props__,
836
+ opts)
837
+
838
+ @staticmethod
839
+ def get(resource_name: str,
840
+ id: pulumi.Input[str],
841
+ opts: Optional[pulumi.ResourceOptions] = None,
842
+ bucket: Optional[pulumi.Input[str]] = None,
843
+ condition: Optional[pulumi.Input[Union['ManagedFolderIamMemberConditionArgs', 'ManagedFolderIamMemberConditionArgsDict']]] = None,
844
+ etag: Optional[pulumi.Input[str]] = None,
845
+ managed_folder: Optional[pulumi.Input[str]] = None,
846
+ member: Optional[pulumi.Input[str]] = None,
847
+ role: Optional[pulumi.Input[str]] = None) -> 'ManagedFolderIamMember':
848
+ """
849
+ Get an existing ManagedFolderIamMember resource's state with the given name, id, and optional extra
850
+ properties used to qualify the lookup.
851
+
852
+ :param str resource_name: The unique name of the resulting resource.
853
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
854
+ :param pulumi.ResourceOptions opts: Options for the resource.
855
+ :param pulumi.Input[str] bucket: The name of the bucket that contains the managed folder. Used to find the parent resource to bind the IAM policy to
856
+ :param pulumi.Input[Union['ManagedFolderIamMemberConditionArgs', 'ManagedFolderIamMemberConditionArgsDict']] condition: An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding.
857
+ Structure is documented below.
858
+ :param pulumi.Input[str] etag: (Computed) The etag of the IAM policy.
859
+ :param pulumi.Input[str] managed_folder: Used to find the parent resource to bind the IAM policy to
860
+ :param pulumi.Input[str] member: Identities that will be granted the privilege in `role`.
861
+ Each entry can have one of the following values:
862
+ * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
863
+ * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
864
+ * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
865
+ * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
866
+ * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
867
+ * **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.
868
+ * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
869
+ * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
870
+ * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
871
+ :param pulumi.Input[str] role: The role that should be applied. Only one
872
+ `storage.ManagedFolderIamBinding` can be used per role. Note that custom roles must be of the format
873
+ `[projects|organizations]/{parent-name}/roles/{role-name}`.
874
+ """
875
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
876
+
877
+ __props__ = _ManagedFolderIamMemberState.__new__(_ManagedFolderIamMemberState)
878
+
879
+ __props__.__dict__["bucket"] = bucket
880
+ __props__.__dict__["condition"] = condition
881
+ __props__.__dict__["etag"] = etag
882
+ __props__.__dict__["managed_folder"] = managed_folder
883
+ __props__.__dict__["member"] = member
884
+ __props__.__dict__["role"] = role
885
+ return ManagedFolderIamMember(resource_name, opts=opts, __props__=__props__)
886
+
887
+ @property
888
+ @pulumi.getter
889
+ def bucket(self) -> pulumi.Output[str]:
890
+ """
891
+ The name of the bucket that contains the managed folder. Used to find the parent resource to bind the IAM policy to
892
+ """
893
+ return pulumi.get(self, "bucket")
894
+
895
+ @property
896
+ @pulumi.getter
897
+ def condition(self) -> pulumi.Output[Optional['outputs.ManagedFolderIamMemberCondition']]:
898
+ """
899
+ An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding.
900
+ Structure is documented below.
901
+ """
902
+ return pulumi.get(self, "condition")
903
+
904
+ @property
905
+ @pulumi.getter
906
+ def etag(self) -> pulumi.Output[str]:
907
+ """
908
+ (Computed) The etag of the IAM policy.
909
+ """
910
+ return pulumi.get(self, "etag")
911
+
912
+ @property
913
+ @pulumi.getter(name="managedFolder")
914
+ def managed_folder(self) -> pulumi.Output[str]:
915
+ """
916
+ Used to find the parent resource to bind the IAM policy to
917
+ """
918
+ return pulumi.get(self, "managed_folder")
919
+
920
+ @property
921
+ @pulumi.getter
922
+ def member(self) -> pulumi.Output[str]:
923
+ """
924
+ Identities that will be granted the privilege in `role`.
925
+ Each entry can have one of the following values:
926
+ * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
927
+ * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
928
+ * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
929
+ * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
930
+ * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
931
+ * **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.
932
+ * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
933
+ * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
934
+ * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
935
+ """
936
+ return pulumi.get(self, "member")
937
+
938
+ @property
939
+ @pulumi.getter
940
+ def role(self) -> pulumi.Output[str]:
941
+ """
942
+ The role that should be applied. Only one
943
+ `storage.ManagedFolderIamBinding` can be used per role. Note that custom roles must be of the format
944
+ `[projects|organizations]/{parent-name}/roles/{role-name}`.
945
+ """
946
+ return pulumi.get(self, "role")
947
+