pulumi-gcp 8.25.0a1743489606__py3-none-any.whl → 8.25.0a1743706148__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 (126) hide show
  1. pulumi_gcp/__init__.py +104 -0
  2. pulumi_gcp/_inputs.py +48 -0
  3. pulumi_gcp/accesscontextmanager/_inputs.py +324 -12
  4. pulumi_gcp/accesscontextmanager/outputs.py +204 -12
  5. pulumi_gcp/accesscontextmanager/service_perimeter.py +0 -2
  6. pulumi_gcp/apigee/__init__.py +1 -0
  7. pulumi_gcp/apigee/_inputs.py +58 -0
  8. pulumi_gcp/apigee/dns_zone.py +491 -0
  9. pulumi_gcp/apigee/outputs.py +53 -0
  10. pulumi_gcp/bigquery/reservation_assignment.py +7 -7
  11. pulumi_gcp/bigtable/table.py +8 -8
  12. pulumi_gcp/chronicle/data_access_label.py +2 -2
  13. pulumi_gcp/chronicle/data_access_scope.py +16 -0
  14. pulumi_gcp/chronicle/reference_list.py +16 -0
  15. pulumi_gcp/chronicle/retrohunt.py +16 -0
  16. pulumi_gcp/chronicle/rule.py +16 -0
  17. pulumi_gcp/chronicle/rule_deployment.py +16 -0
  18. pulumi_gcp/chronicle/watchlist.py +16 -0
  19. pulumi_gcp/cloudfunctionsv2/_inputs.py +20 -0
  20. pulumi_gcp/cloudfunctionsv2/outputs.py +25 -0
  21. pulumi_gcp/cloudrunv2/_inputs.py +20 -0
  22. pulumi_gcp/cloudrunv2/outputs.py +25 -0
  23. pulumi_gcp/compute/__init__.py +1 -0
  24. pulumi_gcp/compute/_inputs.py +2011 -43
  25. pulumi_gcp/compute/backend_service.py +121 -3
  26. pulumi_gcp/compute/get_backend_service.py +15 -4
  27. pulumi_gcp/compute/get_instance.py +12 -1
  28. pulumi_gcp/compute/get_region_backend_service.py +482 -0
  29. pulumi_gcp/compute/get_router.py +12 -1
  30. pulumi_gcp/compute/get_subnetwork.py +43 -1
  31. pulumi_gcp/compute/instance.py +47 -0
  32. pulumi_gcp/compute/instance_from_machine_image.py +94 -0
  33. pulumi_gcp/compute/instance_from_template.py +47 -0
  34. pulumi_gcp/compute/outputs.py +3578 -139
  35. pulumi_gcp/compute/public_delegated_prefix.py +69 -15
  36. pulumi_gcp/compute/router.py +54 -0
  37. pulumi_gcp/compute/subnetwork.py +35 -5
  38. pulumi_gcp/config/__init__.pyi +2 -0
  39. pulumi_gcp/config/outputs.py +27 -0
  40. pulumi_gcp/config/vars.py +4 -0
  41. pulumi_gcp/container/_inputs.py +12 -12
  42. pulumi_gcp/container/cluster.py +47 -0
  43. pulumi_gcp/container/get_cluster.py +12 -1
  44. pulumi_gcp/container/get_registry_image.py +4 -0
  45. pulumi_gcp/container/get_registry_repository.py +4 -0
  46. pulumi_gcp/container/outputs.py +8 -8
  47. pulumi_gcp/container/registry.py +4 -0
  48. pulumi_gcp/datafusion/instance.py +68 -0
  49. pulumi_gcp/dataproc/__init__.py +8 -0
  50. pulumi_gcp/dataproc/_inputs.py +196 -0
  51. pulumi_gcp/dataproc/get_metastore_database_iam_policy.py +193 -0
  52. pulumi_gcp/dataproc/get_metastore_table_iam_policy.py +210 -0
  53. pulumi_gcp/dataproc/metastore_database_iam_binding.py +848 -0
  54. pulumi_gcp/dataproc/metastore_database_iam_member.py +848 -0
  55. pulumi_gcp/dataproc/metastore_database_iam_policy.py +687 -0
  56. pulumi_gcp/dataproc/metastore_federation.py +38 -2
  57. pulumi_gcp/dataproc/metastore_table_iam_binding.py +895 -0
  58. pulumi_gcp/dataproc/metastore_table_iam_member.py +895 -0
  59. pulumi_gcp/dataproc/metastore_table_iam_policy.py +734 -0
  60. pulumi_gcp/dataproc/outputs.py +112 -0
  61. pulumi_gcp/datastream/_inputs.py +311 -94
  62. pulumi_gcp/datastream/connection_profile.py +40 -0
  63. pulumi_gcp/datastream/outputs.py +244 -51
  64. pulumi_gcp/datastream/stream.py +216 -0
  65. pulumi_gcp/discoveryengine/__init__.py +1 -0
  66. pulumi_gcp/discoveryengine/sitemap.py +504 -0
  67. pulumi_gcp/eventarc/__init__.py +1 -0
  68. pulumi_gcp/eventarc/enrollment.py +980 -0
  69. pulumi_gcp/firebase/__init__.py +1 -0
  70. pulumi_gcp/firebase/_inputs.py +484 -0
  71. pulumi_gcp/firebase/app_hosting_build.py +1232 -0
  72. pulumi_gcp/firebase/outputs.py +333 -0
  73. pulumi_gcp/identityplatform/_inputs.py +91 -0
  74. pulumi_gcp/identityplatform/outputs.py +73 -0
  75. pulumi_gcp/identityplatform/tenant.py +56 -0
  76. pulumi_gcp/managedkafka/cluster.py +2 -2
  77. pulumi_gcp/memorystore/__init__.py +1 -0
  78. pulumi_gcp/memorystore/_inputs.py +826 -0
  79. pulumi_gcp/memorystore/get_instance.py +23 -1
  80. pulumi_gcp/memorystore/instance.py +344 -23
  81. pulumi_gcp/memorystore/instance_desired_user_created_endpoints.py +843 -0
  82. pulumi_gcp/memorystore/outputs.py +889 -8
  83. pulumi_gcp/networksecurity/_inputs.py +473 -0
  84. pulumi_gcp/networksecurity/mirroring_deployment_group.py +44 -16
  85. pulumi_gcp/networksecurity/mirroring_endpoint_group.py +94 -36
  86. pulumi_gcp/networksecurity/mirroring_endpoint_group_association.py +53 -8
  87. pulumi_gcp/networksecurity/outputs.py +291 -1
  88. pulumi_gcp/networksecurity/security_profile.py +8 -0
  89. pulumi_gcp/organizations/__init__.py +1 -0
  90. pulumi_gcp/organizations/get_iam_custom_roles.py +164 -0
  91. pulumi_gcp/organizations/outputs.py +96 -0
  92. pulumi_gcp/parametermanager/get_parameter.py +16 -1
  93. pulumi_gcp/parametermanager/get_parameter_version.py +19 -1
  94. pulumi_gcp/parametermanager/get_parameter_version_render.py +4 -0
  95. pulumi_gcp/parametermanager/get_parameters.py +4 -0
  96. pulumi_gcp/parametermanager/get_regional_parameter.py +4 -0
  97. pulumi_gcp/parametermanager/get_regional_parameter_version.py +4 -0
  98. pulumi_gcp/parametermanager/get_regional_parameter_version_render.py +8 -0
  99. pulumi_gcp/parametermanager/get_regional_parameters.py +4 -0
  100. pulumi_gcp/parametermanager/outputs.py +11 -0
  101. pulumi_gcp/parametermanager/parameter.py +88 -0
  102. pulumi_gcp/parametermanager/parameter_version.py +74 -0
  103. pulumi_gcp/parametermanager/regional_parameter.py +12 -0
  104. pulumi_gcp/parametermanager/regional_parameter_version.py +12 -0
  105. pulumi_gcp/provider.py +15 -0
  106. pulumi_gcp/pulumi-plugin.json +1 -1
  107. pulumi_gcp/redis/_inputs.py +136 -0
  108. pulumi_gcp/redis/cluster.py +54 -0
  109. pulumi_gcp/redis/outputs.py +114 -0
  110. pulumi_gcp/secretmanager/regional_secret_version.py +0 -16
  111. pulumi_gcp/storage/__init__.py +4 -0
  112. pulumi_gcp/storage/_inputs.py +596 -0
  113. pulumi_gcp/storage/bucket.py +7 -7
  114. pulumi_gcp/storage/control_folder_intelligence_config.py +420 -0
  115. pulumi_gcp/storage/control_organization_intelligence_config.py +420 -0
  116. pulumi_gcp/storage/control_project_intelligence_config.py +49 -7
  117. pulumi_gcp/storage/get_bucket_object_content.py +16 -1
  118. pulumi_gcp/storage/get_control_folder_intelligence_config.py +160 -0
  119. pulumi_gcp/storage/get_control_organization_intelligence_config.py +160 -0
  120. pulumi_gcp/storage/get_control_project_intelligence_config.py +32 -2
  121. pulumi_gcp/storage/outputs.py +2132 -1312
  122. pulumi_gcp/workbench/instance.py +14 -2
  123. {pulumi_gcp-8.25.0a1743489606.dist-info → pulumi_gcp-8.25.0a1743706148.dist-info}/METADATA +1 -1
  124. {pulumi_gcp-8.25.0a1743489606.dist-info → pulumi_gcp-8.25.0a1743706148.dist-info}/RECORD +126 -107
  125. {pulumi_gcp-8.25.0a1743489606.dist-info → pulumi_gcp-8.25.0a1743706148.dist-info}/WHEEL +0 -0
  126. {pulumi_gcp-8.25.0a1743489606.dist-info → pulumi_gcp-8.25.0a1743706148.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,848 @@
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__ = ['MetastoreDatabaseIamMemberArgs', 'MetastoreDatabaseIamMember']
20
+
21
+ @pulumi.input_type
22
+ class MetastoreDatabaseIamMemberArgs:
23
+ def __init__(__self__, *,
24
+ database: pulumi.Input[str],
25
+ member: pulumi.Input[str],
26
+ role: pulumi.Input[str],
27
+ service_id: pulumi.Input[str],
28
+ condition: Optional[pulumi.Input['MetastoreDatabaseIamMemberConditionArgs']] = None,
29
+ location: Optional[pulumi.Input[str]] = None,
30
+ project: Optional[pulumi.Input[str]] = None):
31
+ """
32
+ The set of arguments for constructing a MetastoreDatabaseIamMember resource.
33
+ :param pulumi.Input[str] database: Used to find the parent resource to bind the IAM policy to
34
+ :param pulumi.Input[str] member: Identities that will be granted the privilege in `role`.
35
+ Each entry can have one of the following values:
36
+ * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
37
+ * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
38
+ * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
39
+ * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
40
+ * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
41
+ * **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.
42
+ * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
43
+ * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
44
+ * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
45
+ :param pulumi.Input[str] role: The role that should be applied. Only one
46
+ `dataproc.MetastoreDatabaseIamBinding` can be used per role. Note that custom roles must be of the format
47
+ `[projects|organizations]/{parent-name}/roles/{role-name}`.
48
+ :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
49
+ If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
50
+ """
51
+ pulumi.set(__self__, "database", database)
52
+ pulumi.set(__self__, "member", member)
53
+ pulumi.set(__self__, "role", role)
54
+ pulumi.set(__self__, "service_id", service_id)
55
+ if condition is not None:
56
+ pulumi.set(__self__, "condition", condition)
57
+ if location is not None:
58
+ pulumi.set(__self__, "location", location)
59
+ if project is not None:
60
+ pulumi.set(__self__, "project", project)
61
+
62
+ @property
63
+ @pulumi.getter
64
+ def database(self) -> pulumi.Input[str]:
65
+ """
66
+ Used to find the parent resource to bind the IAM policy to
67
+ """
68
+ return pulumi.get(self, "database")
69
+
70
+ @database.setter
71
+ def database(self, value: pulumi.Input[str]):
72
+ pulumi.set(self, "database", value)
73
+
74
+ @property
75
+ @pulumi.getter
76
+ def member(self) -> pulumi.Input[str]:
77
+ """
78
+ Identities that will be granted the privilege in `role`.
79
+ Each entry can have one of the following values:
80
+ * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
81
+ * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
82
+ * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
83
+ * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
84
+ * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
85
+ * **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.
86
+ * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
87
+ * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
88
+ * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
89
+ """
90
+ return pulumi.get(self, "member")
91
+
92
+ @member.setter
93
+ def member(self, value: pulumi.Input[str]):
94
+ pulumi.set(self, "member", value)
95
+
96
+ @property
97
+ @pulumi.getter
98
+ def role(self) -> pulumi.Input[str]:
99
+ """
100
+ The role that should be applied. Only one
101
+ `dataproc.MetastoreDatabaseIamBinding` can be used per role. Note that custom roles must be of the format
102
+ `[projects|organizations]/{parent-name}/roles/{role-name}`.
103
+ """
104
+ return pulumi.get(self, "role")
105
+
106
+ @role.setter
107
+ def role(self, value: pulumi.Input[str]):
108
+ pulumi.set(self, "role", value)
109
+
110
+ @property
111
+ @pulumi.getter(name="serviceId")
112
+ def service_id(self) -> pulumi.Input[str]:
113
+ return pulumi.get(self, "service_id")
114
+
115
+ @service_id.setter
116
+ def service_id(self, value: pulumi.Input[str]):
117
+ pulumi.set(self, "service_id", value)
118
+
119
+ @property
120
+ @pulumi.getter
121
+ def condition(self) -> Optional[pulumi.Input['MetastoreDatabaseIamMemberConditionArgs']]:
122
+ return pulumi.get(self, "condition")
123
+
124
+ @condition.setter
125
+ def condition(self, value: Optional[pulumi.Input['MetastoreDatabaseIamMemberConditionArgs']]):
126
+ pulumi.set(self, "condition", value)
127
+
128
+ @property
129
+ @pulumi.getter
130
+ def location(self) -> Optional[pulumi.Input[str]]:
131
+ return pulumi.get(self, "location")
132
+
133
+ @location.setter
134
+ def location(self, value: Optional[pulumi.Input[str]]):
135
+ pulumi.set(self, "location", value)
136
+
137
+ @property
138
+ @pulumi.getter
139
+ def project(self) -> Optional[pulumi.Input[str]]:
140
+ """
141
+ The ID of the project in which the resource belongs.
142
+ If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
143
+ """
144
+ return pulumi.get(self, "project")
145
+
146
+ @project.setter
147
+ def project(self, value: Optional[pulumi.Input[str]]):
148
+ pulumi.set(self, "project", value)
149
+
150
+
151
+ @pulumi.input_type
152
+ class _MetastoreDatabaseIamMemberState:
153
+ def __init__(__self__, *,
154
+ condition: Optional[pulumi.Input['MetastoreDatabaseIamMemberConditionArgs']] = None,
155
+ database: Optional[pulumi.Input[str]] = None,
156
+ etag: Optional[pulumi.Input[str]] = None,
157
+ location: Optional[pulumi.Input[str]] = None,
158
+ member: Optional[pulumi.Input[str]] = None,
159
+ project: Optional[pulumi.Input[str]] = None,
160
+ role: Optional[pulumi.Input[str]] = None,
161
+ service_id: Optional[pulumi.Input[str]] = None):
162
+ """
163
+ Input properties used for looking up and filtering MetastoreDatabaseIamMember resources.
164
+ :param pulumi.Input[str] database: Used to find the parent resource to bind the IAM policy to
165
+ :param pulumi.Input[str] etag: (Computed) The etag of the IAM policy.
166
+ :param pulumi.Input[str] member: Identities that will be granted the privilege in `role`.
167
+ Each entry can have one of the following values:
168
+ * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
169
+ * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
170
+ * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
171
+ * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
172
+ * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
173
+ * **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.
174
+ * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
175
+ * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
176
+ * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
177
+ :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
178
+ If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
179
+ :param pulumi.Input[str] role: The role that should be applied. Only one
180
+ `dataproc.MetastoreDatabaseIamBinding` can be used per role. Note that custom roles must be of the format
181
+ `[projects|organizations]/{parent-name}/roles/{role-name}`.
182
+ """
183
+ if condition is not None:
184
+ pulumi.set(__self__, "condition", condition)
185
+ if database is not None:
186
+ pulumi.set(__self__, "database", database)
187
+ if etag is not None:
188
+ pulumi.set(__self__, "etag", etag)
189
+ if location is not None:
190
+ pulumi.set(__self__, "location", location)
191
+ if member is not None:
192
+ pulumi.set(__self__, "member", member)
193
+ if project is not None:
194
+ pulumi.set(__self__, "project", project)
195
+ if role is not None:
196
+ pulumi.set(__self__, "role", role)
197
+ if service_id is not None:
198
+ pulumi.set(__self__, "service_id", service_id)
199
+
200
+ @property
201
+ @pulumi.getter
202
+ def condition(self) -> Optional[pulumi.Input['MetastoreDatabaseIamMemberConditionArgs']]:
203
+ return pulumi.get(self, "condition")
204
+
205
+ @condition.setter
206
+ def condition(self, value: Optional[pulumi.Input['MetastoreDatabaseIamMemberConditionArgs']]):
207
+ pulumi.set(self, "condition", value)
208
+
209
+ @property
210
+ @pulumi.getter
211
+ def database(self) -> Optional[pulumi.Input[str]]:
212
+ """
213
+ Used to find the parent resource to bind the IAM policy to
214
+ """
215
+ return pulumi.get(self, "database")
216
+
217
+ @database.setter
218
+ def database(self, value: Optional[pulumi.Input[str]]):
219
+ pulumi.set(self, "database", value)
220
+
221
+ @property
222
+ @pulumi.getter
223
+ def etag(self) -> Optional[pulumi.Input[str]]:
224
+ """
225
+ (Computed) The etag of the IAM policy.
226
+ """
227
+ return pulumi.get(self, "etag")
228
+
229
+ @etag.setter
230
+ def etag(self, value: Optional[pulumi.Input[str]]):
231
+ pulumi.set(self, "etag", value)
232
+
233
+ @property
234
+ @pulumi.getter
235
+ def location(self) -> Optional[pulumi.Input[str]]:
236
+ return pulumi.get(self, "location")
237
+
238
+ @location.setter
239
+ def location(self, value: Optional[pulumi.Input[str]]):
240
+ pulumi.set(self, "location", value)
241
+
242
+ @property
243
+ @pulumi.getter
244
+ def member(self) -> Optional[pulumi.Input[str]]:
245
+ """
246
+ Identities that will be granted the privilege in `role`.
247
+ Each entry can have one of the following values:
248
+ * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
249
+ * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
250
+ * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
251
+ * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
252
+ * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
253
+ * **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.
254
+ * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
255
+ * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
256
+ * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
257
+ """
258
+ return pulumi.get(self, "member")
259
+
260
+ @member.setter
261
+ def member(self, value: Optional[pulumi.Input[str]]):
262
+ pulumi.set(self, "member", value)
263
+
264
+ @property
265
+ @pulumi.getter
266
+ def project(self) -> Optional[pulumi.Input[str]]:
267
+ """
268
+ The ID of the project in which the resource belongs.
269
+ If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
270
+ """
271
+ return pulumi.get(self, "project")
272
+
273
+ @project.setter
274
+ def project(self, value: Optional[pulumi.Input[str]]):
275
+ pulumi.set(self, "project", value)
276
+
277
+ @property
278
+ @pulumi.getter
279
+ def role(self) -> Optional[pulumi.Input[str]]:
280
+ """
281
+ The role that should be applied. Only one
282
+ `dataproc.MetastoreDatabaseIamBinding` can be used per role. Note that custom roles must be of the format
283
+ `[projects|organizations]/{parent-name}/roles/{role-name}`.
284
+ """
285
+ return pulumi.get(self, "role")
286
+
287
+ @role.setter
288
+ def role(self, value: Optional[pulumi.Input[str]]):
289
+ pulumi.set(self, "role", value)
290
+
291
+ @property
292
+ @pulumi.getter(name="serviceId")
293
+ def service_id(self) -> Optional[pulumi.Input[str]]:
294
+ return pulumi.get(self, "service_id")
295
+
296
+ @service_id.setter
297
+ def service_id(self, value: Optional[pulumi.Input[str]]):
298
+ pulumi.set(self, "service_id", value)
299
+
300
+
301
+ class MetastoreDatabaseIamMember(pulumi.CustomResource):
302
+ @overload
303
+ def __init__(__self__,
304
+ resource_name: str,
305
+ opts: Optional[pulumi.ResourceOptions] = None,
306
+ condition: Optional[pulumi.Input[Union['MetastoreDatabaseIamMemberConditionArgs', 'MetastoreDatabaseIamMemberConditionArgsDict']]] = None,
307
+ database: Optional[pulumi.Input[str]] = None,
308
+ location: Optional[pulumi.Input[str]] = None,
309
+ member: Optional[pulumi.Input[str]] = None,
310
+ project: Optional[pulumi.Input[str]] = None,
311
+ role: Optional[pulumi.Input[str]] = None,
312
+ service_id: Optional[pulumi.Input[str]] = None,
313
+ __props__=None):
314
+ """
315
+ Three different resources help you manage your IAM policy for Dataproc Metastore Database. Each of these resources serves a different use case:
316
+
317
+ * `dataproc.MetastoreDatabaseIamPolicy`: Authoritative. Sets the IAM policy for the database and replaces any existing policy already attached.
318
+ * `dataproc.MetastoreDatabaseIamBinding`: 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 database are preserved.
319
+ * `dataproc.MetastoreDatabaseIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the database are preserved.
320
+
321
+ A data source can be used to retrieve policy data in advent you do not need creation
322
+
323
+ * `dataproc.MetastoreDatabaseIamPolicy`: Retrieves the IAM policy for the database
324
+
325
+ > **Note:** `dataproc.MetastoreDatabaseIamPolicy` **cannot** be used in conjunction with `dataproc.MetastoreDatabaseIamBinding` and `dataproc.MetastoreDatabaseIamMember` or they will fight over what your policy should be.
326
+
327
+ > **Note:** `dataproc.MetastoreDatabaseIamBinding` resources **can be** used in conjunction with `dataproc.MetastoreDatabaseIamMember` resources **only if** they do not grant privilege to the same role.
328
+
329
+ ## dataproc.MetastoreDatabaseIamPolicy
330
+
331
+ ```python
332
+ import pulumi
333
+ import pulumi_gcp as gcp
334
+
335
+ admin = gcp.organizations.get_iam_policy(bindings=[{
336
+ "role": "roles/viewer",
337
+ "members": ["user:jane@example.com"],
338
+ }])
339
+ policy = gcp.dataproc.MetastoreDatabaseIamPolicy("policy",
340
+ project=dpms_service["project"],
341
+ location=dpms_service["location"],
342
+ service_id=dpms_service["serviceId"],
343
+ database=hive["hiveConfig"][0]["properties"]["database"],
344
+ policy_data=admin.policy_data)
345
+ ```
346
+
347
+ ## dataproc.MetastoreDatabaseIamBinding
348
+
349
+ ```python
350
+ import pulumi
351
+ import pulumi_gcp as gcp
352
+
353
+ binding = gcp.dataproc.MetastoreDatabaseIamBinding("binding",
354
+ project=dpms_service["project"],
355
+ location=dpms_service["location"],
356
+ service_id=dpms_service["serviceId"],
357
+ database=hive["hiveConfig"][0]["properties"]["database"],
358
+ role="roles/viewer",
359
+ members=["user:jane@example.com"])
360
+ ```
361
+
362
+ ## dataproc.MetastoreDatabaseIamMember
363
+
364
+ ```python
365
+ import pulumi
366
+ import pulumi_gcp as gcp
367
+
368
+ member = gcp.dataproc.MetastoreDatabaseIamMember("member",
369
+ project=dpms_service["project"],
370
+ location=dpms_service["location"],
371
+ service_id=dpms_service["serviceId"],
372
+ database=hive["hiveConfig"][0]["properties"]["database"],
373
+ role="roles/viewer",
374
+ member="user:jane@example.com")
375
+ ```
376
+
377
+ ## This resource supports User Project Overrides.
378
+
379
+ -
380
+
381
+ # IAM policy for Dataproc Metastore Database
382
+ Three different resources help you manage your IAM policy for Dataproc Metastore Database. Each of these resources serves a different use case:
383
+
384
+ * `dataproc.MetastoreDatabaseIamPolicy`: Authoritative. Sets the IAM policy for the database and replaces any existing policy already attached.
385
+ * `dataproc.MetastoreDatabaseIamBinding`: 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 database are preserved.
386
+ * `dataproc.MetastoreDatabaseIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the database are preserved.
387
+
388
+ A data source can be used to retrieve policy data in advent you do not need creation
389
+
390
+ * `dataproc.MetastoreDatabaseIamPolicy`: Retrieves the IAM policy for the database
391
+
392
+ > **Note:** `dataproc.MetastoreDatabaseIamPolicy` **cannot** be used in conjunction with `dataproc.MetastoreDatabaseIamBinding` and `dataproc.MetastoreDatabaseIamMember` or they will fight over what your policy should be.
393
+
394
+ > **Note:** `dataproc.MetastoreDatabaseIamBinding` resources **can be** used in conjunction with `dataproc.MetastoreDatabaseIamMember` resources **only if** they do not grant privilege to the same role.
395
+
396
+ ## dataproc.MetastoreDatabaseIamPolicy
397
+
398
+ ```python
399
+ import pulumi
400
+ import pulumi_gcp as gcp
401
+
402
+ admin = gcp.organizations.get_iam_policy(bindings=[{
403
+ "role": "roles/viewer",
404
+ "members": ["user:jane@example.com"],
405
+ }])
406
+ policy = gcp.dataproc.MetastoreDatabaseIamPolicy("policy",
407
+ project=dpms_service["project"],
408
+ location=dpms_service["location"],
409
+ service_id=dpms_service["serviceId"],
410
+ database=hive["hiveConfig"][0]["properties"]["database"],
411
+ policy_data=admin.policy_data)
412
+ ```
413
+
414
+ ## dataproc.MetastoreDatabaseIamBinding
415
+
416
+ ```python
417
+ import pulumi
418
+ import pulumi_gcp as gcp
419
+
420
+ binding = gcp.dataproc.MetastoreDatabaseIamBinding("binding",
421
+ project=dpms_service["project"],
422
+ location=dpms_service["location"],
423
+ service_id=dpms_service["serviceId"],
424
+ database=hive["hiveConfig"][0]["properties"]["database"],
425
+ role="roles/viewer",
426
+ members=["user:jane@example.com"])
427
+ ```
428
+
429
+ ## dataproc.MetastoreDatabaseIamMember
430
+
431
+ ```python
432
+ import pulumi
433
+ import pulumi_gcp as gcp
434
+
435
+ member = gcp.dataproc.MetastoreDatabaseIamMember("member",
436
+ project=dpms_service["project"],
437
+ location=dpms_service["location"],
438
+ service_id=dpms_service["serviceId"],
439
+ database=hive["hiveConfig"][0]["properties"]["database"],
440
+ role="roles/viewer",
441
+ member="user:jane@example.com")
442
+ ```
443
+
444
+ ## Import
445
+
446
+ For all import syntaxes, the "resource in question" can take any of the following forms:
447
+
448
+ * projects/{{project}}/locations/{{location}}/services/{{serviceId}}/databases/{{name}}
449
+
450
+ * {{project}}/{{location}}/{{serviceId}}/{{name}}
451
+
452
+ * {{location}}/{{serviceId}}/{{name}}
453
+
454
+ * {{name}}
455
+
456
+ Any variables not passed in the import command will be taken from the provider configuration.
457
+
458
+ Dataproc Metastore database IAM resources can be imported using the resource identifiers, role, and member.
459
+
460
+ IAM member imports use space-delimited identifiers: the resource in question, the role, and the member identity, e.g.
461
+
462
+ ```sh
463
+ $ pulumi import gcp:dataproc/metastoreDatabaseIamMember:MetastoreDatabaseIamMember editor "projects/{{project}}/locations/{{location}}/services/{{serviceId}}/databases/{{database}} roles/viewer user:jane@example.com"
464
+ ```
465
+
466
+ IAM binding imports use space-delimited identifiers: the resource in question and the role, e.g.
467
+
468
+ ```sh
469
+ $ pulumi import gcp:dataproc/metastoreDatabaseIamMember:MetastoreDatabaseIamMember editor "projects/{{project}}/locations/{{location}}/services/{{serviceId}}/databases/{{database}} roles/viewer"
470
+ ```
471
+
472
+ IAM policy imports use the identifier of the resource in question, e.g.
473
+
474
+ ```sh
475
+ $ pulumi import gcp:dataproc/metastoreDatabaseIamMember:MetastoreDatabaseIamMember editor projects/{{project}}/locations/{{location}}/services/{{serviceId}}/databases/{{database}}
476
+ ```
477
+
478
+ -> **Custom Roles** If you're importing a IAM resource with a custom role, make sure to use the
479
+
480
+ full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
481
+
482
+ :param str resource_name: The name of the resource.
483
+ :param pulumi.ResourceOptions opts: Options for the resource.
484
+ :param pulumi.Input[str] database: Used to find the parent resource to bind the IAM policy to
485
+ :param pulumi.Input[str] member: Identities that will be granted the privilege in `role`.
486
+ Each entry can have one of the following values:
487
+ * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
488
+ * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
489
+ * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
490
+ * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
491
+ * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
492
+ * **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.
493
+ * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
494
+ * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
495
+ * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
496
+ :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
497
+ If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
498
+ :param pulumi.Input[str] role: The role that should be applied. Only one
499
+ `dataproc.MetastoreDatabaseIamBinding` can be used per role. Note that custom roles must be of the format
500
+ `[projects|organizations]/{parent-name}/roles/{role-name}`.
501
+ """
502
+ ...
503
+ @overload
504
+ def __init__(__self__,
505
+ resource_name: str,
506
+ args: MetastoreDatabaseIamMemberArgs,
507
+ opts: Optional[pulumi.ResourceOptions] = None):
508
+ """
509
+ Three different resources help you manage your IAM policy for Dataproc Metastore Database. Each of these resources serves a different use case:
510
+
511
+ * `dataproc.MetastoreDatabaseIamPolicy`: Authoritative. Sets the IAM policy for the database and replaces any existing policy already attached.
512
+ * `dataproc.MetastoreDatabaseIamBinding`: 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 database are preserved.
513
+ * `dataproc.MetastoreDatabaseIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the database are preserved.
514
+
515
+ A data source can be used to retrieve policy data in advent you do not need creation
516
+
517
+ * `dataproc.MetastoreDatabaseIamPolicy`: Retrieves the IAM policy for the database
518
+
519
+ > **Note:** `dataproc.MetastoreDatabaseIamPolicy` **cannot** be used in conjunction with `dataproc.MetastoreDatabaseIamBinding` and `dataproc.MetastoreDatabaseIamMember` or they will fight over what your policy should be.
520
+
521
+ > **Note:** `dataproc.MetastoreDatabaseIamBinding` resources **can be** used in conjunction with `dataproc.MetastoreDatabaseIamMember` resources **only if** they do not grant privilege to the same role.
522
+
523
+ ## dataproc.MetastoreDatabaseIamPolicy
524
+
525
+ ```python
526
+ import pulumi
527
+ import pulumi_gcp as gcp
528
+
529
+ admin = gcp.organizations.get_iam_policy(bindings=[{
530
+ "role": "roles/viewer",
531
+ "members": ["user:jane@example.com"],
532
+ }])
533
+ policy = gcp.dataproc.MetastoreDatabaseIamPolicy("policy",
534
+ project=dpms_service["project"],
535
+ location=dpms_service["location"],
536
+ service_id=dpms_service["serviceId"],
537
+ database=hive["hiveConfig"][0]["properties"]["database"],
538
+ policy_data=admin.policy_data)
539
+ ```
540
+
541
+ ## dataproc.MetastoreDatabaseIamBinding
542
+
543
+ ```python
544
+ import pulumi
545
+ import pulumi_gcp as gcp
546
+
547
+ binding = gcp.dataproc.MetastoreDatabaseIamBinding("binding",
548
+ project=dpms_service["project"],
549
+ location=dpms_service["location"],
550
+ service_id=dpms_service["serviceId"],
551
+ database=hive["hiveConfig"][0]["properties"]["database"],
552
+ role="roles/viewer",
553
+ members=["user:jane@example.com"])
554
+ ```
555
+
556
+ ## dataproc.MetastoreDatabaseIamMember
557
+
558
+ ```python
559
+ import pulumi
560
+ import pulumi_gcp as gcp
561
+
562
+ member = gcp.dataproc.MetastoreDatabaseIamMember("member",
563
+ project=dpms_service["project"],
564
+ location=dpms_service["location"],
565
+ service_id=dpms_service["serviceId"],
566
+ database=hive["hiveConfig"][0]["properties"]["database"],
567
+ role="roles/viewer",
568
+ member="user:jane@example.com")
569
+ ```
570
+
571
+ ## This resource supports User Project Overrides.
572
+
573
+ -
574
+
575
+ # IAM policy for Dataproc Metastore Database
576
+ Three different resources help you manage your IAM policy for Dataproc Metastore Database. Each of these resources serves a different use case:
577
+
578
+ * `dataproc.MetastoreDatabaseIamPolicy`: Authoritative. Sets the IAM policy for the database and replaces any existing policy already attached.
579
+ * `dataproc.MetastoreDatabaseIamBinding`: 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 database are preserved.
580
+ * `dataproc.MetastoreDatabaseIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the database are preserved.
581
+
582
+ A data source can be used to retrieve policy data in advent you do not need creation
583
+
584
+ * `dataproc.MetastoreDatabaseIamPolicy`: Retrieves the IAM policy for the database
585
+
586
+ > **Note:** `dataproc.MetastoreDatabaseIamPolicy` **cannot** be used in conjunction with `dataproc.MetastoreDatabaseIamBinding` and `dataproc.MetastoreDatabaseIamMember` or they will fight over what your policy should be.
587
+
588
+ > **Note:** `dataproc.MetastoreDatabaseIamBinding` resources **can be** used in conjunction with `dataproc.MetastoreDatabaseIamMember` resources **only if** they do not grant privilege to the same role.
589
+
590
+ ## dataproc.MetastoreDatabaseIamPolicy
591
+
592
+ ```python
593
+ import pulumi
594
+ import pulumi_gcp as gcp
595
+
596
+ admin = gcp.organizations.get_iam_policy(bindings=[{
597
+ "role": "roles/viewer",
598
+ "members": ["user:jane@example.com"],
599
+ }])
600
+ policy = gcp.dataproc.MetastoreDatabaseIamPolicy("policy",
601
+ project=dpms_service["project"],
602
+ location=dpms_service["location"],
603
+ service_id=dpms_service["serviceId"],
604
+ database=hive["hiveConfig"][0]["properties"]["database"],
605
+ policy_data=admin.policy_data)
606
+ ```
607
+
608
+ ## dataproc.MetastoreDatabaseIamBinding
609
+
610
+ ```python
611
+ import pulumi
612
+ import pulumi_gcp as gcp
613
+
614
+ binding = gcp.dataproc.MetastoreDatabaseIamBinding("binding",
615
+ project=dpms_service["project"],
616
+ location=dpms_service["location"],
617
+ service_id=dpms_service["serviceId"],
618
+ database=hive["hiveConfig"][0]["properties"]["database"],
619
+ role="roles/viewer",
620
+ members=["user:jane@example.com"])
621
+ ```
622
+
623
+ ## dataproc.MetastoreDatabaseIamMember
624
+
625
+ ```python
626
+ import pulumi
627
+ import pulumi_gcp as gcp
628
+
629
+ member = gcp.dataproc.MetastoreDatabaseIamMember("member",
630
+ project=dpms_service["project"],
631
+ location=dpms_service["location"],
632
+ service_id=dpms_service["serviceId"],
633
+ database=hive["hiveConfig"][0]["properties"]["database"],
634
+ role="roles/viewer",
635
+ member="user:jane@example.com")
636
+ ```
637
+
638
+ ## Import
639
+
640
+ For all import syntaxes, the "resource in question" can take any of the following forms:
641
+
642
+ * projects/{{project}}/locations/{{location}}/services/{{serviceId}}/databases/{{name}}
643
+
644
+ * {{project}}/{{location}}/{{serviceId}}/{{name}}
645
+
646
+ * {{location}}/{{serviceId}}/{{name}}
647
+
648
+ * {{name}}
649
+
650
+ Any variables not passed in the import command will be taken from the provider configuration.
651
+
652
+ Dataproc Metastore database IAM resources can be imported using the resource identifiers, role, and member.
653
+
654
+ IAM member imports use space-delimited identifiers: the resource in question, the role, and the member identity, e.g.
655
+
656
+ ```sh
657
+ $ pulumi import gcp:dataproc/metastoreDatabaseIamMember:MetastoreDatabaseIamMember editor "projects/{{project}}/locations/{{location}}/services/{{serviceId}}/databases/{{database}} roles/viewer user:jane@example.com"
658
+ ```
659
+
660
+ IAM binding imports use space-delimited identifiers: the resource in question and the role, e.g.
661
+
662
+ ```sh
663
+ $ pulumi import gcp:dataproc/metastoreDatabaseIamMember:MetastoreDatabaseIamMember editor "projects/{{project}}/locations/{{location}}/services/{{serviceId}}/databases/{{database}} roles/viewer"
664
+ ```
665
+
666
+ IAM policy imports use the identifier of the resource in question, e.g.
667
+
668
+ ```sh
669
+ $ pulumi import gcp:dataproc/metastoreDatabaseIamMember:MetastoreDatabaseIamMember editor projects/{{project}}/locations/{{location}}/services/{{serviceId}}/databases/{{database}}
670
+ ```
671
+
672
+ -> **Custom Roles** If you're importing a IAM resource with a custom role, make sure to use the
673
+
674
+ full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
675
+
676
+ :param str resource_name: The name of the resource.
677
+ :param MetastoreDatabaseIamMemberArgs args: The arguments to use to populate this resource's properties.
678
+ :param pulumi.ResourceOptions opts: Options for the resource.
679
+ """
680
+ ...
681
+ def __init__(__self__, resource_name: str, *args, **kwargs):
682
+ resource_args, opts = _utilities.get_resource_args_opts(MetastoreDatabaseIamMemberArgs, pulumi.ResourceOptions, *args, **kwargs)
683
+ if resource_args is not None:
684
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
685
+ else:
686
+ __self__._internal_init(resource_name, *args, **kwargs)
687
+
688
+ def _internal_init(__self__,
689
+ resource_name: str,
690
+ opts: Optional[pulumi.ResourceOptions] = None,
691
+ condition: Optional[pulumi.Input[Union['MetastoreDatabaseIamMemberConditionArgs', 'MetastoreDatabaseIamMemberConditionArgsDict']]] = None,
692
+ database: Optional[pulumi.Input[str]] = None,
693
+ location: Optional[pulumi.Input[str]] = None,
694
+ member: Optional[pulumi.Input[str]] = None,
695
+ project: Optional[pulumi.Input[str]] = None,
696
+ role: Optional[pulumi.Input[str]] = None,
697
+ service_id: Optional[pulumi.Input[str]] = None,
698
+ __props__=None):
699
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
700
+ if not isinstance(opts, pulumi.ResourceOptions):
701
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
702
+ if opts.id is None:
703
+ if __props__ is not None:
704
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
705
+ __props__ = MetastoreDatabaseIamMemberArgs.__new__(MetastoreDatabaseIamMemberArgs)
706
+
707
+ __props__.__dict__["condition"] = condition
708
+ if database is None and not opts.urn:
709
+ raise TypeError("Missing required property 'database'")
710
+ __props__.__dict__["database"] = database
711
+ __props__.__dict__["location"] = location
712
+ if member is None and not opts.urn:
713
+ raise TypeError("Missing required property 'member'")
714
+ __props__.__dict__["member"] = member
715
+ __props__.__dict__["project"] = project
716
+ if role is None and not opts.urn:
717
+ raise TypeError("Missing required property 'role'")
718
+ __props__.__dict__["role"] = role
719
+ if service_id is None and not opts.urn:
720
+ raise TypeError("Missing required property 'service_id'")
721
+ __props__.__dict__["service_id"] = service_id
722
+ __props__.__dict__["etag"] = None
723
+ super(MetastoreDatabaseIamMember, __self__).__init__(
724
+ 'gcp:dataproc/metastoreDatabaseIamMember:MetastoreDatabaseIamMember',
725
+ resource_name,
726
+ __props__,
727
+ opts)
728
+
729
+ @staticmethod
730
+ def get(resource_name: str,
731
+ id: pulumi.Input[str],
732
+ opts: Optional[pulumi.ResourceOptions] = None,
733
+ condition: Optional[pulumi.Input[Union['MetastoreDatabaseIamMemberConditionArgs', 'MetastoreDatabaseIamMemberConditionArgsDict']]] = None,
734
+ database: Optional[pulumi.Input[str]] = None,
735
+ etag: Optional[pulumi.Input[str]] = None,
736
+ location: Optional[pulumi.Input[str]] = None,
737
+ member: Optional[pulumi.Input[str]] = None,
738
+ project: Optional[pulumi.Input[str]] = None,
739
+ role: Optional[pulumi.Input[str]] = None,
740
+ service_id: Optional[pulumi.Input[str]] = None) -> 'MetastoreDatabaseIamMember':
741
+ """
742
+ Get an existing MetastoreDatabaseIamMember resource's state with the given name, id, and optional extra
743
+ properties used to qualify the lookup.
744
+
745
+ :param str resource_name: The unique name of the resulting resource.
746
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
747
+ :param pulumi.ResourceOptions opts: Options for the resource.
748
+ :param pulumi.Input[str] database: Used to find the parent resource to bind the IAM policy to
749
+ :param pulumi.Input[str] etag: (Computed) The etag of the IAM policy.
750
+ :param pulumi.Input[str] member: Identities that will be granted the privilege in `role`.
751
+ Each entry can have one of the following values:
752
+ * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
753
+ * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
754
+ * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
755
+ * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
756
+ * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
757
+ * **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.
758
+ * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
759
+ * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
760
+ * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
761
+ :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
762
+ If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
763
+ :param pulumi.Input[str] role: The role that should be applied. Only one
764
+ `dataproc.MetastoreDatabaseIamBinding` can be used per role. Note that custom roles must be of the format
765
+ `[projects|organizations]/{parent-name}/roles/{role-name}`.
766
+ """
767
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
768
+
769
+ __props__ = _MetastoreDatabaseIamMemberState.__new__(_MetastoreDatabaseIamMemberState)
770
+
771
+ __props__.__dict__["condition"] = condition
772
+ __props__.__dict__["database"] = database
773
+ __props__.__dict__["etag"] = etag
774
+ __props__.__dict__["location"] = location
775
+ __props__.__dict__["member"] = member
776
+ __props__.__dict__["project"] = project
777
+ __props__.__dict__["role"] = role
778
+ __props__.__dict__["service_id"] = service_id
779
+ return MetastoreDatabaseIamMember(resource_name, opts=opts, __props__=__props__)
780
+
781
+ @property
782
+ @pulumi.getter
783
+ def condition(self) -> pulumi.Output[Optional['outputs.MetastoreDatabaseIamMemberCondition']]:
784
+ return pulumi.get(self, "condition")
785
+
786
+ @property
787
+ @pulumi.getter
788
+ def database(self) -> pulumi.Output[str]:
789
+ """
790
+ Used to find the parent resource to bind the IAM policy to
791
+ """
792
+ return pulumi.get(self, "database")
793
+
794
+ @property
795
+ @pulumi.getter
796
+ def etag(self) -> pulumi.Output[str]:
797
+ """
798
+ (Computed) The etag of the IAM policy.
799
+ """
800
+ return pulumi.get(self, "etag")
801
+
802
+ @property
803
+ @pulumi.getter
804
+ def location(self) -> pulumi.Output[str]:
805
+ return pulumi.get(self, "location")
806
+
807
+ @property
808
+ @pulumi.getter
809
+ def member(self) -> pulumi.Output[str]:
810
+ """
811
+ Identities that will be granted the privilege in `role`.
812
+ Each entry can have one of the following values:
813
+ * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
814
+ * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
815
+ * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
816
+ * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
817
+ * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
818
+ * **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.
819
+ * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
820
+ * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
821
+ * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
822
+ """
823
+ return pulumi.get(self, "member")
824
+
825
+ @property
826
+ @pulumi.getter
827
+ def project(self) -> pulumi.Output[str]:
828
+ """
829
+ The ID of the project in which the resource belongs.
830
+ If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
831
+ """
832
+ return pulumi.get(self, "project")
833
+
834
+ @property
835
+ @pulumi.getter
836
+ def role(self) -> pulumi.Output[str]:
837
+ """
838
+ The role that should be applied. Only one
839
+ `dataproc.MetastoreDatabaseIamBinding` can be used per role. Note that custom roles must be of the format
840
+ `[projects|organizations]/{parent-name}/roles/{role-name}`.
841
+ """
842
+ return pulumi.get(self, "role")
843
+
844
+ @property
845
+ @pulumi.getter(name="serviceId")
846
+ def service_id(self) -> pulumi.Output[str]:
847
+ return pulumi.get(self, "service_id")
848
+