pulumi-gcp 8.27.0a1744872023__py3-none-any.whl → 8.28.0a1745044764__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.
- pulumi_gcp/__init__.py +80 -0
- pulumi_gcp/bigquery/_inputs.py +87 -30
- pulumi_gcp/bigquery/outputs.py +58 -20
- pulumi_gcp/bigquery/table.py +28 -14
- pulumi_gcp/cloudrun/service.py +46 -0
- pulumi_gcp/cloudrunv2/get_service.py +12 -1
- pulumi_gcp/cloudrunv2/service.py +85 -0
- pulumi_gcp/compute/_inputs.py +428 -1
- pulumi_gcp/compute/image.py +183 -0
- pulumi_gcp/compute/outputs.py +362 -3
- pulumi_gcp/compute/region_backend_service.py +6 -2
- pulumi_gcp/compute/snapshot.py +6 -0
- pulumi_gcp/databasemigrationservice/_inputs.py +27 -24
- pulumi_gcp/databasemigrationservice/connection_profile.py +168 -0
- pulumi_gcp/databasemigrationservice/migration_job.py +6 -0
- pulumi_gcp/databasemigrationservice/outputs.py +18 -15
- pulumi_gcp/developerconnect/__init__.py +1 -0
- pulumi_gcp/developerconnect/_inputs.py +77 -0
- pulumi_gcp/developerconnect/account_connector.py +866 -0
- pulumi_gcp/developerconnect/outputs.py +64 -0
- pulumi_gcp/firestore/database.py +82 -0
- pulumi_gcp/firestore/index.py +263 -7
- pulumi_gcp/folder/service_identity.py +0 -26
- pulumi_gcp/managedkafka/_inputs.py +6 -6
- pulumi_gcp/managedkafka/connect_cluster.py +84 -40
- pulumi_gcp/managedkafka/connector.py +98 -44
- pulumi_gcp/managedkafka/outputs.py +4 -4
- pulumi_gcp/memorystore/_inputs.py +69 -0
- pulumi_gcp/memorystore/get_instance.py +34 -1
- pulumi_gcp/memorystore/instance.py +140 -0
- pulumi_gcp/memorystore/outputs.py +80 -0
- pulumi_gcp/ml/engine_model.py +0 -22
- pulumi_gcp/monitoring/_inputs.py +37 -19
- pulumi_gcp/monitoring/outputs.py +39 -11
- pulumi_gcp/monitoring/uptime_check_config.py +8 -0
- pulumi_gcp/netapp/_inputs.py +3 -3
- pulumi_gcp/netapp/outputs.py +2 -2
- pulumi_gcp/networkconnectivity/spoke.py +14 -14
- pulumi_gcp/orgpolicy/policy.py +2 -2
- pulumi_gcp/osconfig/v2_policy_orchestrator.py +8 -0
- pulumi_gcp/osconfig/v2_policy_orchestrator_for_organization.py +8 -0
- pulumi_gcp/pubsub/subscription.py +6 -6
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/_inputs.py +69 -0
- pulumi_gcp/redis/cluster.py +140 -0
- pulumi_gcp/redis/outputs.py +40 -0
- pulumi_gcp/storage/_inputs.py +111 -0
- pulumi_gcp/storage/control_folder_intelligence_config.py +32 -0
- pulumi_gcp/storage/control_organization_intelligence_config.py +32 -0
- pulumi_gcp/storage/control_project_intelligence_config.py +32 -0
- pulumi_gcp/storage/get_control_folder_intelligence_config.py +12 -1
- pulumi_gcp/storage/get_control_organization_intelligence_config.py +12 -1
- pulumi_gcp/storage/get_control_project_intelligence_config.py +12 -1
- pulumi_gcp/storage/outputs.py +174 -0
- pulumi_gcp/vertex/__init__.py +12 -0
- pulumi_gcp/vertex/_inputs.py +294 -0
- pulumi_gcp/vertex/ai_endpoint.py +4 -4
- pulumi_gcp/vertex/ai_feature_group.py +1 -1
- pulumi_gcp/vertex/ai_feature_group_iam_binding.py +583 -0
- pulumi_gcp/vertex/ai_feature_group_iam_member.py +583 -0
- pulumi_gcp/vertex/ai_feature_group_iam_policy.py +422 -0
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +26 -27
- pulumi_gcp/vertex/ai_feature_online_store_featureview_iam_binding.py +614 -0
- pulumi_gcp/vertex/ai_feature_online_store_featureview_iam_member.py +614 -0
- pulumi_gcp/vertex/ai_feature_online_store_featureview_iam_policy.py +453 -0
- pulumi_gcp/vertex/ai_feature_online_store_iam_binding.py +583 -0
- pulumi_gcp/vertex/ai_feature_online_store_iam_member.py +583 -0
- pulumi_gcp/vertex/ai_feature_online_store_iam_policy.py +422 -0
- pulumi_gcp/vertex/get_ai_feature_group_iam_policy.py +177 -0
- pulumi_gcp/vertex/get_ai_feature_online_store_featureview_iam_policy.py +194 -0
- pulumi_gcp/vertex/get_ai_feature_online_store_iam_policy.py +177 -0
- pulumi_gcp/vertex/outputs.py +168 -0
- {pulumi_gcp-8.27.0a1744872023.dist-info → pulumi_gcp-8.28.0a1745044764.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.27.0a1744872023.dist-info → pulumi_gcp-8.28.0a1745044764.dist-info}/RECORD +76 -63
- {pulumi_gcp-8.27.0a1744872023.dist-info → pulumi_gcp-8.28.0a1745044764.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.27.0a1744872023.dist-info → pulumi_gcp-8.28.0a1745044764.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,583 @@
|
|
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 builtins
|
6
|
+
import copy
|
7
|
+
import warnings
|
8
|
+
import sys
|
9
|
+
import pulumi
|
10
|
+
import pulumi.runtime
|
11
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
12
|
+
if sys.version_info >= (3, 11):
|
13
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
14
|
+
else:
|
15
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
16
|
+
from .. import _utilities
|
17
|
+
from . import outputs
|
18
|
+
from ._inputs import *
|
19
|
+
|
20
|
+
__all__ = ['AiFeatureGroupIamMemberArgs', 'AiFeatureGroupIamMember']
|
21
|
+
|
22
|
+
@pulumi.input_type
|
23
|
+
class AiFeatureGroupIamMemberArgs:
|
24
|
+
def __init__(__self__, *,
|
25
|
+
feature_group: pulumi.Input[builtins.str],
|
26
|
+
member: pulumi.Input[builtins.str],
|
27
|
+
role: pulumi.Input[builtins.str],
|
28
|
+
condition: Optional[pulumi.Input['AiFeatureGroupIamMemberConditionArgs']] = None,
|
29
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
30
|
+
region: Optional[pulumi.Input[builtins.str]] = None):
|
31
|
+
"""
|
32
|
+
The set of arguments for constructing a AiFeatureGroupIamMember resource.
|
33
|
+
:param pulumi.Input[builtins.str] feature_group: Used to find the parent resource to bind the IAM policy to
|
34
|
+
:param pulumi.Input[builtins.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[builtins.str] role: The role that should be applied. Only one
|
46
|
+
`vertex.AiFeatureGroupIamBinding` 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[builtins.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
|
+
:param pulumi.Input[builtins.str] region: The region of feature group. eg us-central1 Used to find the parent resource to bind the IAM policy to. If not specified,
|
51
|
+
the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no
|
52
|
+
region is specified, it is taken from the provider configuration.
|
53
|
+
"""
|
54
|
+
pulumi.set(__self__, "feature_group", feature_group)
|
55
|
+
pulumi.set(__self__, "member", member)
|
56
|
+
pulumi.set(__self__, "role", role)
|
57
|
+
if condition is not None:
|
58
|
+
pulumi.set(__self__, "condition", condition)
|
59
|
+
if project is not None:
|
60
|
+
pulumi.set(__self__, "project", project)
|
61
|
+
if region is not None:
|
62
|
+
pulumi.set(__self__, "region", region)
|
63
|
+
|
64
|
+
@property
|
65
|
+
@pulumi.getter(name="featureGroup")
|
66
|
+
def feature_group(self) -> pulumi.Input[builtins.str]:
|
67
|
+
"""
|
68
|
+
Used to find the parent resource to bind the IAM policy to
|
69
|
+
"""
|
70
|
+
return pulumi.get(self, "feature_group")
|
71
|
+
|
72
|
+
@feature_group.setter
|
73
|
+
def feature_group(self, value: pulumi.Input[builtins.str]):
|
74
|
+
pulumi.set(self, "feature_group", value)
|
75
|
+
|
76
|
+
@property
|
77
|
+
@pulumi.getter
|
78
|
+
def member(self) -> pulumi.Input[builtins.str]:
|
79
|
+
"""
|
80
|
+
Identities that will be granted the privilege in `role`.
|
81
|
+
Each entry can have one of the following values:
|
82
|
+
* **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
83
|
+
* **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
|
84
|
+
* **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
|
85
|
+
* **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
|
86
|
+
* **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
|
87
|
+
* **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.
|
88
|
+
* **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
|
89
|
+
* **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
|
90
|
+
* **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
|
91
|
+
"""
|
92
|
+
return pulumi.get(self, "member")
|
93
|
+
|
94
|
+
@member.setter
|
95
|
+
def member(self, value: pulumi.Input[builtins.str]):
|
96
|
+
pulumi.set(self, "member", value)
|
97
|
+
|
98
|
+
@property
|
99
|
+
@pulumi.getter
|
100
|
+
def role(self) -> pulumi.Input[builtins.str]:
|
101
|
+
"""
|
102
|
+
The role that should be applied. Only one
|
103
|
+
`vertex.AiFeatureGroupIamBinding` can be used per role. Note that custom roles must be of the format
|
104
|
+
`[projects|organizations]/{parent-name}/roles/{role-name}`.
|
105
|
+
"""
|
106
|
+
return pulumi.get(self, "role")
|
107
|
+
|
108
|
+
@role.setter
|
109
|
+
def role(self, value: pulumi.Input[builtins.str]):
|
110
|
+
pulumi.set(self, "role", value)
|
111
|
+
|
112
|
+
@property
|
113
|
+
@pulumi.getter
|
114
|
+
def condition(self) -> Optional[pulumi.Input['AiFeatureGroupIamMemberConditionArgs']]:
|
115
|
+
return pulumi.get(self, "condition")
|
116
|
+
|
117
|
+
@condition.setter
|
118
|
+
def condition(self, value: Optional[pulumi.Input['AiFeatureGroupIamMemberConditionArgs']]):
|
119
|
+
pulumi.set(self, "condition", value)
|
120
|
+
|
121
|
+
@property
|
122
|
+
@pulumi.getter
|
123
|
+
def project(self) -> Optional[pulumi.Input[builtins.str]]:
|
124
|
+
"""
|
125
|
+
The ID of the project in which the resource belongs.
|
126
|
+
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.
|
127
|
+
"""
|
128
|
+
return pulumi.get(self, "project")
|
129
|
+
|
130
|
+
@project.setter
|
131
|
+
def project(self, value: Optional[pulumi.Input[builtins.str]]):
|
132
|
+
pulumi.set(self, "project", value)
|
133
|
+
|
134
|
+
@property
|
135
|
+
@pulumi.getter
|
136
|
+
def region(self) -> Optional[pulumi.Input[builtins.str]]:
|
137
|
+
"""
|
138
|
+
The region of feature group. eg us-central1 Used to find the parent resource to bind the IAM policy to. If not specified,
|
139
|
+
the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no
|
140
|
+
region is specified, it is taken from the provider configuration.
|
141
|
+
"""
|
142
|
+
return pulumi.get(self, "region")
|
143
|
+
|
144
|
+
@region.setter
|
145
|
+
def region(self, value: Optional[pulumi.Input[builtins.str]]):
|
146
|
+
pulumi.set(self, "region", value)
|
147
|
+
|
148
|
+
|
149
|
+
@pulumi.input_type
|
150
|
+
class _AiFeatureGroupIamMemberState:
|
151
|
+
def __init__(__self__, *,
|
152
|
+
condition: Optional[pulumi.Input['AiFeatureGroupIamMemberConditionArgs']] = None,
|
153
|
+
etag: Optional[pulumi.Input[builtins.str]] = None,
|
154
|
+
feature_group: Optional[pulumi.Input[builtins.str]] = None,
|
155
|
+
member: Optional[pulumi.Input[builtins.str]] = None,
|
156
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
157
|
+
region: Optional[pulumi.Input[builtins.str]] = None,
|
158
|
+
role: Optional[pulumi.Input[builtins.str]] = None):
|
159
|
+
"""
|
160
|
+
Input properties used for looking up and filtering AiFeatureGroupIamMember resources.
|
161
|
+
:param pulumi.Input[builtins.str] etag: (Computed) The etag of the IAM policy.
|
162
|
+
:param pulumi.Input[builtins.str] feature_group: Used to find the parent resource to bind the IAM policy to
|
163
|
+
:param pulumi.Input[builtins.str] member: Identities that will be granted the privilege in `role`.
|
164
|
+
Each entry can have one of the following values:
|
165
|
+
* **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
166
|
+
* **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
|
167
|
+
* **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
|
168
|
+
* **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
|
169
|
+
* **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
|
170
|
+
* **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.
|
171
|
+
* **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
|
172
|
+
* **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
|
173
|
+
* **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
|
174
|
+
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
|
175
|
+
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.
|
176
|
+
:param pulumi.Input[builtins.str] region: The region of feature group. eg us-central1 Used to find the parent resource to bind the IAM policy to. If not specified,
|
177
|
+
the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no
|
178
|
+
region is specified, it is taken from the provider configuration.
|
179
|
+
:param pulumi.Input[builtins.str] role: The role that should be applied. Only one
|
180
|
+
`vertex.AiFeatureGroupIamBinding` 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 etag is not None:
|
186
|
+
pulumi.set(__self__, "etag", etag)
|
187
|
+
if feature_group is not None:
|
188
|
+
pulumi.set(__self__, "feature_group", feature_group)
|
189
|
+
if member is not None:
|
190
|
+
pulumi.set(__self__, "member", member)
|
191
|
+
if project is not None:
|
192
|
+
pulumi.set(__self__, "project", project)
|
193
|
+
if region is not None:
|
194
|
+
pulumi.set(__self__, "region", region)
|
195
|
+
if role is not None:
|
196
|
+
pulumi.set(__self__, "role", role)
|
197
|
+
|
198
|
+
@property
|
199
|
+
@pulumi.getter
|
200
|
+
def condition(self) -> Optional[pulumi.Input['AiFeatureGroupIamMemberConditionArgs']]:
|
201
|
+
return pulumi.get(self, "condition")
|
202
|
+
|
203
|
+
@condition.setter
|
204
|
+
def condition(self, value: Optional[pulumi.Input['AiFeatureGroupIamMemberConditionArgs']]):
|
205
|
+
pulumi.set(self, "condition", value)
|
206
|
+
|
207
|
+
@property
|
208
|
+
@pulumi.getter
|
209
|
+
def etag(self) -> Optional[pulumi.Input[builtins.str]]:
|
210
|
+
"""
|
211
|
+
(Computed) The etag of the IAM policy.
|
212
|
+
"""
|
213
|
+
return pulumi.get(self, "etag")
|
214
|
+
|
215
|
+
@etag.setter
|
216
|
+
def etag(self, value: Optional[pulumi.Input[builtins.str]]):
|
217
|
+
pulumi.set(self, "etag", value)
|
218
|
+
|
219
|
+
@property
|
220
|
+
@pulumi.getter(name="featureGroup")
|
221
|
+
def feature_group(self) -> Optional[pulumi.Input[builtins.str]]:
|
222
|
+
"""
|
223
|
+
Used to find the parent resource to bind the IAM policy to
|
224
|
+
"""
|
225
|
+
return pulumi.get(self, "feature_group")
|
226
|
+
|
227
|
+
@feature_group.setter
|
228
|
+
def feature_group(self, value: Optional[pulumi.Input[builtins.str]]):
|
229
|
+
pulumi.set(self, "feature_group", value)
|
230
|
+
|
231
|
+
@property
|
232
|
+
@pulumi.getter
|
233
|
+
def member(self) -> Optional[pulumi.Input[builtins.str]]:
|
234
|
+
"""
|
235
|
+
Identities that will be granted the privilege in `role`.
|
236
|
+
Each entry can have one of the following values:
|
237
|
+
* **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
238
|
+
* **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
|
239
|
+
* **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
|
240
|
+
* **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
|
241
|
+
* **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
|
242
|
+
* **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.
|
243
|
+
* **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
|
244
|
+
* **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
|
245
|
+
* **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
|
246
|
+
"""
|
247
|
+
return pulumi.get(self, "member")
|
248
|
+
|
249
|
+
@member.setter
|
250
|
+
def member(self, value: Optional[pulumi.Input[builtins.str]]):
|
251
|
+
pulumi.set(self, "member", value)
|
252
|
+
|
253
|
+
@property
|
254
|
+
@pulumi.getter
|
255
|
+
def project(self) -> Optional[pulumi.Input[builtins.str]]:
|
256
|
+
"""
|
257
|
+
The ID of the project in which the resource belongs.
|
258
|
+
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.
|
259
|
+
"""
|
260
|
+
return pulumi.get(self, "project")
|
261
|
+
|
262
|
+
@project.setter
|
263
|
+
def project(self, value: Optional[pulumi.Input[builtins.str]]):
|
264
|
+
pulumi.set(self, "project", value)
|
265
|
+
|
266
|
+
@property
|
267
|
+
@pulumi.getter
|
268
|
+
def region(self) -> Optional[pulumi.Input[builtins.str]]:
|
269
|
+
"""
|
270
|
+
The region of feature group. eg us-central1 Used to find the parent resource to bind the IAM policy to. If not specified,
|
271
|
+
the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no
|
272
|
+
region is specified, it is taken from the provider configuration.
|
273
|
+
"""
|
274
|
+
return pulumi.get(self, "region")
|
275
|
+
|
276
|
+
@region.setter
|
277
|
+
def region(self, value: Optional[pulumi.Input[builtins.str]]):
|
278
|
+
pulumi.set(self, "region", value)
|
279
|
+
|
280
|
+
@property
|
281
|
+
@pulumi.getter
|
282
|
+
def role(self) -> Optional[pulumi.Input[builtins.str]]:
|
283
|
+
"""
|
284
|
+
The role that should be applied. Only one
|
285
|
+
`vertex.AiFeatureGroupIamBinding` can be used per role. Note that custom roles must be of the format
|
286
|
+
`[projects|organizations]/{parent-name}/roles/{role-name}`.
|
287
|
+
"""
|
288
|
+
return pulumi.get(self, "role")
|
289
|
+
|
290
|
+
@role.setter
|
291
|
+
def role(self, value: Optional[pulumi.Input[builtins.str]]):
|
292
|
+
pulumi.set(self, "role", value)
|
293
|
+
|
294
|
+
|
295
|
+
class AiFeatureGroupIamMember(pulumi.CustomResource):
|
296
|
+
@overload
|
297
|
+
def __init__(__self__,
|
298
|
+
resource_name: str,
|
299
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
300
|
+
condition: Optional[pulumi.Input[Union['AiFeatureGroupIamMemberConditionArgs', 'AiFeatureGroupIamMemberConditionArgsDict']]] = None,
|
301
|
+
feature_group: Optional[pulumi.Input[builtins.str]] = None,
|
302
|
+
member: Optional[pulumi.Input[builtins.str]] = None,
|
303
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
304
|
+
region: Optional[pulumi.Input[builtins.str]] = None,
|
305
|
+
role: Optional[pulumi.Input[builtins.str]] = None,
|
306
|
+
__props__=None):
|
307
|
+
"""
|
308
|
+
## Import
|
309
|
+
|
310
|
+
For all import syntaxes, the "resource in question" can take any of the following forms:
|
311
|
+
|
312
|
+
* projects/{{project}}/locations/{{region}}/featureGroups/{{name}}
|
313
|
+
|
314
|
+
* {{project}}/{{region}}/{{name}}
|
315
|
+
|
316
|
+
* {{region}}/{{name}}
|
317
|
+
|
318
|
+
* {{name}}
|
319
|
+
|
320
|
+
Any variables not passed in the import command will be taken from the provider configuration.
|
321
|
+
|
322
|
+
Vertex AI featuregroup IAM resources can be imported using the resource identifiers, role, and member.
|
323
|
+
|
324
|
+
IAM member imports use space-delimited identifiers: the resource in question, the role, and the member identity, e.g.
|
325
|
+
|
326
|
+
```sh
|
327
|
+
$ pulumi import gcp:vertex/aiFeatureGroupIamMember:AiFeatureGroupIamMember editor "projects/{{project}}/locations/{{region}}/featureGroups/{{feature_group}} roles/viewer user:jane@example.com"
|
328
|
+
```
|
329
|
+
|
330
|
+
IAM binding imports use space-delimited identifiers: the resource in question and the role, e.g.
|
331
|
+
|
332
|
+
```sh
|
333
|
+
$ pulumi import gcp:vertex/aiFeatureGroupIamMember:AiFeatureGroupIamMember editor "projects/{{project}}/locations/{{region}}/featureGroups/{{feature_group}} roles/viewer"
|
334
|
+
```
|
335
|
+
|
336
|
+
IAM policy imports use the identifier of the resource in question, e.g.
|
337
|
+
|
338
|
+
```sh
|
339
|
+
$ pulumi import gcp:vertex/aiFeatureGroupIamMember:AiFeatureGroupIamMember editor projects/{{project}}/locations/{{region}}/featureGroups/{{feature_group}}
|
340
|
+
```
|
341
|
+
|
342
|
+
-> **Custom Roles** If you're importing a IAM resource with a custom role, make sure to use the
|
343
|
+
|
344
|
+
full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
|
345
|
+
|
346
|
+
:param str resource_name: The name of the resource.
|
347
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
348
|
+
:param pulumi.Input[builtins.str] feature_group: Used to find the parent resource to bind the IAM policy to
|
349
|
+
:param pulumi.Input[builtins.str] member: Identities that will be granted the privilege in `role`.
|
350
|
+
Each entry can have one of the following values:
|
351
|
+
* **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
352
|
+
* **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
|
353
|
+
* **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
|
354
|
+
* **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
|
355
|
+
* **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
|
356
|
+
* **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.
|
357
|
+
* **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
|
358
|
+
* **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
|
359
|
+
* **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
|
360
|
+
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
|
361
|
+
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.
|
362
|
+
:param pulumi.Input[builtins.str] region: The region of feature group. eg us-central1 Used to find the parent resource to bind the IAM policy to. If not specified,
|
363
|
+
the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no
|
364
|
+
region is specified, it is taken from the provider configuration.
|
365
|
+
:param pulumi.Input[builtins.str] role: The role that should be applied. Only one
|
366
|
+
`vertex.AiFeatureGroupIamBinding` can be used per role. Note that custom roles must be of the format
|
367
|
+
`[projects|organizations]/{parent-name}/roles/{role-name}`.
|
368
|
+
"""
|
369
|
+
...
|
370
|
+
@overload
|
371
|
+
def __init__(__self__,
|
372
|
+
resource_name: str,
|
373
|
+
args: AiFeatureGroupIamMemberArgs,
|
374
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
375
|
+
"""
|
376
|
+
## Import
|
377
|
+
|
378
|
+
For all import syntaxes, the "resource in question" can take any of the following forms:
|
379
|
+
|
380
|
+
* projects/{{project}}/locations/{{region}}/featureGroups/{{name}}
|
381
|
+
|
382
|
+
* {{project}}/{{region}}/{{name}}
|
383
|
+
|
384
|
+
* {{region}}/{{name}}
|
385
|
+
|
386
|
+
* {{name}}
|
387
|
+
|
388
|
+
Any variables not passed in the import command will be taken from the provider configuration.
|
389
|
+
|
390
|
+
Vertex AI featuregroup IAM resources can be imported using the resource identifiers, role, and member.
|
391
|
+
|
392
|
+
IAM member imports use space-delimited identifiers: the resource in question, the role, and the member identity, e.g.
|
393
|
+
|
394
|
+
```sh
|
395
|
+
$ pulumi import gcp:vertex/aiFeatureGroupIamMember:AiFeatureGroupIamMember editor "projects/{{project}}/locations/{{region}}/featureGroups/{{feature_group}} roles/viewer user:jane@example.com"
|
396
|
+
```
|
397
|
+
|
398
|
+
IAM binding imports use space-delimited identifiers: the resource in question and the role, e.g.
|
399
|
+
|
400
|
+
```sh
|
401
|
+
$ pulumi import gcp:vertex/aiFeatureGroupIamMember:AiFeatureGroupIamMember editor "projects/{{project}}/locations/{{region}}/featureGroups/{{feature_group}} roles/viewer"
|
402
|
+
```
|
403
|
+
|
404
|
+
IAM policy imports use the identifier of the resource in question, e.g.
|
405
|
+
|
406
|
+
```sh
|
407
|
+
$ pulumi import gcp:vertex/aiFeatureGroupIamMember:AiFeatureGroupIamMember editor projects/{{project}}/locations/{{region}}/featureGroups/{{feature_group}}
|
408
|
+
```
|
409
|
+
|
410
|
+
-> **Custom Roles** If you're importing a IAM resource with a custom role, make sure to use the
|
411
|
+
|
412
|
+
full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
|
413
|
+
|
414
|
+
:param str resource_name: The name of the resource.
|
415
|
+
:param AiFeatureGroupIamMemberArgs args: The arguments to use to populate this resource's properties.
|
416
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
417
|
+
"""
|
418
|
+
...
|
419
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
420
|
+
resource_args, opts = _utilities.get_resource_args_opts(AiFeatureGroupIamMemberArgs, pulumi.ResourceOptions, *args, **kwargs)
|
421
|
+
if resource_args is not None:
|
422
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
423
|
+
else:
|
424
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
425
|
+
|
426
|
+
def _internal_init(__self__,
|
427
|
+
resource_name: str,
|
428
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
429
|
+
condition: Optional[pulumi.Input[Union['AiFeatureGroupIamMemberConditionArgs', 'AiFeatureGroupIamMemberConditionArgsDict']]] = None,
|
430
|
+
feature_group: Optional[pulumi.Input[builtins.str]] = None,
|
431
|
+
member: Optional[pulumi.Input[builtins.str]] = None,
|
432
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
433
|
+
region: Optional[pulumi.Input[builtins.str]] = None,
|
434
|
+
role: Optional[pulumi.Input[builtins.str]] = None,
|
435
|
+
__props__=None):
|
436
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
437
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
438
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
439
|
+
if opts.id is None:
|
440
|
+
if __props__ is not None:
|
441
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
442
|
+
__props__ = AiFeatureGroupIamMemberArgs.__new__(AiFeatureGroupIamMemberArgs)
|
443
|
+
|
444
|
+
__props__.__dict__["condition"] = condition
|
445
|
+
if feature_group is None and not opts.urn:
|
446
|
+
raise TypeError("Missing required property 'feature_group'")
|
447
|
+
__props__.__dict__["feature_group"] = feature_group
|
448
|
+
if member is None and not opts.urn:
|
449
|
+
raise TypeError("Missing required property 'member'")
|
450
|
+
__props__.__dict__["member"] = member
|
451
|
+
__props__.__dict__["project"] = project
|
452
|
+
__props__.__dict__["region"] = region
|
453
|
+
if role is None and not opts.urn:
|
454
|
+
raise TypeError("Missing required property 'role'")
|
455
|
+
__props__.__dict__["role"] = role
|
456
|
+
__props__.__dict__["etag"] = None
|
457
|
+
super(AiFeatureGroupIamMember, __self__).__init__(
|
458
|
+
'gcp:vertex/aiFeatureGroupIamMember:AiFeatureGroupIamMember',
|
459
|
+
resource_name,
|
460
|
+
__props__,
|
461
|
+
opts)
|
462
|
+
|
463
|
+
@staticmethod
|
464
|
+
def get(resource_name: str,
|
465
|
+
id: pulumi.Input[str],
|
466
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
467
|
+
condition: Optional[pulumi.Input[Union['AiFeatureGroupIamMemberConditionArgs', 'AiFeatureGroupIamMemberConditionArgsDict']]] = None,
|
468
|
+
etag: Optional[pulumi.Input[builtins.str]] = None,
|
469
|
+
feature_group: Optional[pulumi.Input[builtins.str]] = None,
|
470
|
+
member: Optional[pulumi.Input[builtins.str]] = None,
|
471
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
472
|
+
region: Optional[pulumi.Input[builtins.str]] = None,
|
473
|
+
role: Optional[pulumi.Input[builtins.str]] = None) -> 'AiFeatureGroupIamMember':
|
474
|
+
"""
|
475
|
+
Get an existing AiFeatureGroupIamMember resource's state with the given name, id, and optional extra
|
476
|
+
properties used to qualify the lookup.
|
477
|
+
|
478
|
+
:param str resource_name: The unique name of the resulting resource.
|
479
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
480
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
481
|
+
:param pulumi.Input[builtins.str] etag: (Computed) The etag of the IAM policy.
|
482
|
+
:param pulumi.Input[builtins.str] feature_group: Used to find the parent resource to bind the IAM policy to
|
483
|
+
:param pulumi.Input[builtins.str] member: Identities that will be granted the privilege in `role`.
|
484
|
+
Each entry can have one of the following values:
|
485
|
+
* **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
486
|
+
* **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
|
487
|
+
* **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
|
488
|
+
* **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
|
489
|
+
* **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
|
490
|
+
* **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.
|
491
|
+
* **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
|
492
|
+
* **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
|
493
|
+
* **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
|
494
|
+
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
|
495
|
+
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.
|
496
|
+
:param pulumi.Input[builtins.str] region: The region of feature group. eg us-central1 Used to find the parent resource to bind the IAM policy to. If not specified,
|
497
|
+
the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no
|
498
|
+
region is specified, it is taken from the provider configuration.
|
499
|
+
:param pulumi.Input[builtins.str] role: The role that should be applied. Only one
|
500
|
+
`vertex.AiFeatureGroupIamBinding` can be used per role. Note that custom roles must be of the format
|
501
|
+
`[projects|organizations]/{parent-name}/roles/{role-name}`.
|
502
|
+
"""
|
503
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
504
|
+
|
505
|
+
__props__ = _AiFeatureGroupIamMemberState.__new__(_AiFeatureGroupIamMemberState)
|
506
|
+
|
507
|
+
__props__.__dict__["condition"] = condition
|
508
|
+
__props__.__dict__["etag"] = etag
|
509
|
+
__props__.__dict__["feature_group"] = feature_group
|
510
|
+
__props__.__dict__["member"] = member
|
511
|
+
__props__.__dict__["project"] = project
|
512
|
+
__props__.__dict__["region"] = region
|
513
|
+
__props__.__dict__["role"] = role
|
514
|
+
return AiFeatureGroupIamMember(resource_name, opts=opts, __props__=__props__)
|
515
|
+
|
516
|
+
@property
|
517
|
+
@pulumi.getter
|
518
|
+
def condition(self) -> pulumi.Output[Optional['outputs.AiFeatureGroupIamMemberCondition']]:
|
519
|
+
return pulumi.get(self, "condition")
|
520
|
+
|
521
|
+
@property
|
522
|
+
@pulumi.getter
|
523
|
+
def etag(self) -> pulumi.Output[builtins.str]:
|
524
|
+
"""
|
525
|
+
(Computed) The etag of the IAM policy.
|
526
|
+
"""
|
527
|
+
return pulumi.get(self, "etag")
|
528
|
+
|
529
|
+
@property
|
530
|
+
@pulumi.getter(name="featureGroup")
|
531
|
+
def feature_group(self) -> pulumi.Output[builtins.str]:
|
532
|
+
"""
|
533
|
+
Used to find the parent resource to bind the IAM policy to
|
534
|
+
"""
|
535
|
+
return pulumi.get(self, "feature_group")
|
536
|
+
|
537
|
+
@property
|
538
|
+
@pulumi.getter
|
539
|
+
def member(self) -> pulumi.Output[builtins.str]:
|
540
|
+
"""
|
541
|
+
Identities that will be granted the privilege in `role`.
|
542
|
+
Each entry can have one of the following values:
|
543
|
+
* **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
544
|
+
* **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
|
545
|
+
* **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
|
546
|
+
* **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
|
547
|
+
* **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
|
548
|
+
* **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.
|
549
|
+
* **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
|
550
|
+
* **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
|
551
|
+
* **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
|
552
|
+
"""
|
553
|
+
return pulumi.get(self, "member")
|
554
|
+
|
555
|
+
@property
|
556
|
+
@pulumi.getter
|
557
|
+
def project(self) -> pulumi.Output[builtins.str]:
|
558
|
+
"""
|
559
|
+
The ID of the project in which the resource belongs.
|
560
|
+
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.
|
561
|
+
"""
|
562
|
+
return pulumi.get(self, "project")
|
563
|
+
|
564
|
+
@property
|
565
|
+
@pulumi.getter
|
566
|
+
def region(self) -> pulumi.Output[builtins.str]:
|
567
|
+
"""
|
568
|
+
The region of feature group. eg us-central1 Used to find the parent resource to bind the IAM policy to. If not specified,
|
569
|
+
the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no
|
570
|
+
region is specified, it is taken from the provider configuration.
|
571
|
+
"""
|
572
|
+
return pulumi.get(self, "region")
|
573
|
+
|
574
|
+
@property
|
575
|
+
@pulumi.getter
|
576
|
+
def role(self) -> pulumi.Output[builtins.str]:
|
577
|
+
"""
|
578
|
+
The role that should be applied. Only one
|
579
|
+
`vertex.AiFeatureGroupIamBinding` can be used per role. Note that custom roles must be of the format
|
580
|
+
`[projects|organizations]/{parent-name}/roles/{role-name}`.
|
581
|
+
"""
|
582
|
+
return pulumi.get(self, "role")
|
583
|
+
|