pulumi-gcp 8.21.0a1740810968__py3-none-any.whl → 8.21.0a1741103856__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 +16 -0
- pulumi_gcp/alloydb/__init__.py +1 -0
- pulumi_gcp/alloydb/get_cluster.py +491 -0
- pulumi_gcp/alloydb/outputs.py +808 -0
- pulumi_gcp/appengine/_inputs.py +3 -3
- pulumi_gcp/appengine/outputs.py +2 -2
- pulumi_gcp/backupdisasterrecovery/backup_plan.py +16 -0
- pulumi_gcp/backupdisasterrecovery/backup_plan_association.py +16 -0
- pulumi_gcp/backupdisasterrecovery/management_server.py +16 -0
- pulumi_gcp/bigquery/_inputs.py +6 -8
- pulumi_gcp/bigquery/data_transfer_config.py +28 -0
- pulumi_gcp/bigquery/outputs.py +4 -5
- pulumi_gcp/chronicle/rule_deployment.py +21 -7
- pulumi_gcp/composer/get_environment.py +12 -0
- pulumi_gcp/composer/get_image_versions.py +12 -0
- pulumi_gcp/composer/get_user_workloads_config_map.py +12 -0
- pulumi_gcp/composer/get_user_workloads_secret.py +12 -0
- pulumi_gcp/compute/network_peering_routes_config.py +140 -6
- pulumi_gcp/datacatalog/entry_group.py +4 -0
- pulumi_gcp/datacatalog/tag_template.py +4 -0
- pulumi_gcp/developerconnect/_inputs.py +575 -0
- pulumi_gcp/developerconnect/connection.py +200 -0
- pulumi_gcp/developerconnect/git_repository_link.py +12 -0
- pulumi_gcp/developerconnect/outputs.py +461 -0
- pulumi_gcp/gemini/__init__.py +1 -0
- pulumi_gcp/gemini/data_sharing_with_google_setting.py +6 -0
- pulumi_gcp/gemini/data_sharing_with_google_setting_binding.py +722 -0
- pulumi_gcp/gemini/logging_setting.py +4 -0
- pulumi_gcp/gemini/logging_setting_binding.py +12 -0
- pulumi_gcp/iam/organizations_policy_binding.py +10 -2
- pulumi_gcp/iam/projects_policy_binding.py +10 -2
- pulumi_gcp/iam/workforce_pool_provider.py +63 -11
- pulumi_gcp/parametermanager/get_parameter_version_render.py +3 -0
- pulumi_gcp/parametermanager/get_regional_parameter_version_render.py +3 -0
- pulumi_gcp/projects/__init__.py +1 -0
- pulumi_gcp/projects/get_ancestry.py +150 -0
- pulumi_gcp/projects/outputs.py +30 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/cluster.py +211 -94
- pulumi_gcp/secretmanager/secret_version.py +73 -23
- pulumi_gcp/spanner/__init__.py +1 -0
- pulumi_gcp/spanner/instance_partition.py +658 -0
- pulumi_gcp/sql/user.py +20 -14
- pulumi_gcp/tpu/_inputs.py +150 -1
- pulumi_gcp/tpu/outputs.py +114 -1
- pulumi_gcp/tpu/v2_queued_resource.py +74 -0
- {pulumi_gcp-8.21.0a1740810968.dist-info → pulumi_gcp-8.21.0a1741103856.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.21.0a1740810968.dist-info → pulumi_gcp-8.21.0a1741103856.dist-info}/RECORD +50 -46
- {pulumi_gcp-8.21.0a1740810968.dist-info → pulumi_gcp-8.21.0a1741103856.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.21.0a1740810968.dist-info → pulumi_gcp-8.21.0a1741103856.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,722 @@
|
|
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
|
+
|
17
|
+
__all__ = ['DataSharingWithGoogleSettingBindingArgs', 'DataSharingWithGoogleSettingBinding']
|
18
|
+
|
19
|
+
@pulumi.input_type
|
20
|
+
class DataSharingWithGoogleSettingBindingArgs:
|
21
|
+
def __init__(__self__, *,
|
22
|
+
data_sharing_with_google_setting_id: pulumi.Input[str],
|
23
|
+
setting_binding_id: pulumi.Input[str],
|
24
|
+
target: pulumi.Input[str],
|
25
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
26
|
+
location: Optional[pulumi.Input[str]] = None,
|
27
|
+
product: Optional[pulumi.Input[str]] = None,
|
28
|
+
project: Optional[pulumi.Input[str]] = None):
|
29
|
+
"""
|
30
|
+
The set of arguments for constructing a DataSharingWithGoogleSettingBinding resource.
|
31
|
+
:param pulumi.Input[str] data_sharing_with_google_setting_id: Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
|
32
|
+
:param pulumi.Input[str] setting_binding_id: Required. Id of the setting binding.
|
33
|
+
|
34
|
+
|
35
|
+
- - -
|
36
|
+
:param pulumi.Input[str] target: Target of the binding.
|
37
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Labels as key value pairs.
|
38
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
39
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
40
|
+
:param pulumi.Input[str] location: Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
|
41
|
+
:param pulumi.Input[str] product: Product type of the setting binding.
|
42
|
+
Possible values are: `GEMINI_CLOUD_ASSIST`, `GEMINI_CODE_ASSIST`.
|
43
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
44
|
+
If it is not provided, the provider project is used.
|
45
|
+
"""
|
46
|
+
pulumi.set(__self__, "data_sharing_with_google_setting_id", data_sharing_with_google_setting_id)
|
47
|
+
pulumi.set(__self__, "setting_binding_id", setting_binding_id)
|
48
|
+
pulumi.set(__self__, "target", target)
|
49
|
+
if labels is not None:
|
50
|
+
pulumi.set(__self__, "labels", labels)
|
51
|
+
if location is not None:
|
52
|
+
pulumi.set(__self__, "location", location)
|
53
|
+
if product is not None:
|
54
|
+
pulumi.set(__self__, "product", product)
|
55
|
+
if project is not None:
|
56
|
+
pulumi.set(__self__, "project", project)
|
57
|
+
|
58
|
+
@property
|
59
|
+
@pulumi.getter(name="dataSharingWithGoogleSettingId")
|
60
|
+
def data_sharing_with_google_setting_id(self) -> pulumi.Input[str]:
|
61
|
+
"""
|
62
|
+
Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
|
63
|
+
"""
|
64
|
+
return pulumi.get(self, "data_sharing_with_google_setting_id")
|
65
|
+
|
66
|
+
@data_sharing_with_google_setting_id.setter
|
67
|
+
def data_sharing_with_google_setting_id(self, value: pulumi.Input[str]):
|
68
|
+
pulumi.set(self, "data_sharing_with_google_setting_id", value)
|
69
|
+
|
70
|
+
@property
|
71
|
+
@pulumi.getter(name="settingBindingId")
|
72
|
+
def setting_binding_id(self) -> pulumi.Input[str]:
|
73
|
+
"""
|
74
|
+
Required. Id of the setting binding.
|
75
|
+
|
76
|
+
|
77
|
+
- - -
|
78
|
+
"""
|
79
|
+
return pulumi.get(self, "setting_binding_id")
|
80
|
+
|
81
|
+
@setting_binding_id.setter
|
82
|
+
def setting_binding_id(self, value: pulumi.Input[str]):
|
83
|
+
pulumi.set(self, "setting_binding_id", value)
|
84
|
+
|
85
|
+
@property
|
86
|
+
@pulumi.getter
|
87
|
+
def target(self) -> pulumi.Input[str]:
|
88
|
+
"""
|
89
|
+
Target of the binding.
|
90
|
+
"""
|
91
|
+
return pulumi.get(self, "target")
|
92
|
+
|
93
|
+
@target.setter
|
94
|
+
def target(self, value: pulumi.Input[str]):
|
95
|
+
pulumi.set(self, "target", value)
|
96
|
+
|
97
|
+
@property
|
98
|
+
@pulumi.getter
|
99
|
+
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
100
|
+
"""
|
101
|
+
Labels as key value pairs.
|
102
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
103
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
104
|
+
"""
|
105
|
+
return pulumi.get(self, "labels")
|
106
|
+
|
107
|
+
@labels.setter
|
108
|
+
def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
109
|
+
pulumi.set(self, "labels", value)
|
110
|
+
|
111
|
+
@property
|
112
|
+
@pulumi.getter
|
113
|
+
def location(self) -> Optional[pulumi.Input[str]]:
|
114
|
+
"""
|
115
|
+
Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
|
116
|
+
"""
|
117
|
+
return pulumi.get(self, "location")
|
118
|
+
|
119
|
+
@location.setter
|
120
|
+
def location(self, value: Optional[pulumi.Input[str]]):
|
121
|
+
pulumi.set(self, "location", value)
|
122
|
+
|
123
|
+
@property
|
124
|
+
@pulumi.getter
|
125
|
+
def product(self) -> Optional[pulumi.Input[str]]:
|
126
|
+
"""
|
127
|
+
Product type of the setting binding.
|
128
|
+
Possible values are: `GEMINI_CLOUD_ASSIST`, `GEMINI_CODE_ASSIST`.
|
129
|
+
"""
|
130
|
+
return pulumi.get(self, "product")
|
131
|
+
|
132
|
+
@product.setter
|
133
|
+
def product(self, value: Optional[pulumi.Input[str]]):
|
134
|
+
pulumi.set(self, "product", value)
|
135
|
+
|
136
|
+
@property
|
137
|
+
@pulumi.getter
|
138
|
+
def project(self) -> Optional[pulumi.Input[str]]:
|
139
|
+
"""
|
140
|
+
The ID of the project in which the resource belongs.
|
141
|
+
If it is not provided, the provider project is used.
|
142
|
+
"""
|
143
|
+
return pulumi.get(self, "project")
|
144
|
+
|
145
|
+
@project.setter
|
146
|
+
def project(self, value: Optional[pulumi.Input[str]]):
|
147
|
+
pulumi.set(self, "project", value)
|
148
|
+
|
149
|
+
|
150
|
+
@pulumi.input_type
|
151
|
+
class _DataSharingWithGoogleSettingBindingState:
|
152
|
+
def __init__(__self__, *,
|
153
|
+
create_time: Optional[pulumi.Input[str]] = None,
|
154
|
+
data_sharing_with_google_setting_id: Optional[pulumi.Input[str]] = None,
|
155
|
+
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
156
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
157
|
+
location: Optional[pulumi.Input[str]] = None,
|
158
|
+
name: Optional[pulumi.Input[str]] = None,
|
159
|
+
product: Optional[pulumi.Input[str]] = None,
|
160
|
+
project: Optional[pulumi.Input[str]] = None,
|
161
|
+
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
162
|
+
setting_binding_id: Optional[pulumi.Input[str]] = None,
|
163
|
+
target: Optional[pulumi.Input[str]] = None,
|
164
|
+
update_time: Optional[pulumi.Input[str]] = None):
|
165
|
+
"""
|
166
|
+
Input properties used for looking up and filtering DataSharingWithGoogleSettingBinding resources.
|
167
|
+
:param pulumi.Input[str] create_time: Create time stamp.
|
168
|
+
:param pulumi.Input[str] data_sharing_with_google_setting_id: Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
|
169
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
170
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Labels as key value pairs.
|
171
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
172
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
173
|
+
:param pulumi.Input[str] location: Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
|
174
|
+
:param pulumi.Input[str] name: Identifier. Name of the resource.
|
175
|
+
Format:projects/{project}/locations/{location}/dataSharingWithGoogleSettings/{setting}/settingBindings/{setting_binding}
|
176
|
+
:param pulumi.Input[str] product: Product type of the setting binding.
|
177
|
+
Possible values are: `GEMINI_CLOUD_ASSIST`, `GEMINI_CODE_ASSIST`.
|
178
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
179
|
+
If it is not provided, the provider project is used.
|
180
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
|
181
|
+
and default labels configured on the provider.
|
182
|
+
:param pulumi.Input[str] setting_binding_id: Required. Id of the setting binding.
|
183
|
+
|
184
|
+
|
185
|
+
- - -
|
186
|
+
:param pulumi.Input[str] target: Target of the binding.
|
187
|
+
:param pulumi.Input[str] update_time: Update time stamp.
|
188
|
+
"""
|
189
|
+
if create_time is not None:
|
190
|
+
pulumi.set(__self__, "create_time", create_time)
|
191
|
+
if data_sharing_with_google_setting_id is not None:
|
192
|
+
pulumi.set(__self__, "data_sharing_with_google_setting_id", data_sharing_with_google_setting_id)
|
193
|
+
if effective_labels is not None:
|
194
|
+
pulumi.set(__self__, "effective_labels", effective_labels)
|
195
|
+
if labels is not None:
|
196
|
+
pulumi.set(__self__, "labels", labels)
|
197
|
+
if location is not None:
|
198
|
+
pulumi.set(__self__, "location", location)
|
199
|
+
if name is not None:
|
200
|
+
pulumi.set(__self__, "name", name)
|
201
|
+
if product is not None:
|
202
|
+
pulumi.set(__self__, "product", product)
|
203
|
+
if project is not None:
|
204
|
+
pulumi.set(__self__, "project", project)
|
205
|
+
if pulumi_labels is not None:
|
206
|
+
pulumi.set(__self__, "pulumi_labels", pulumi_labels)
|
207
|
+
if setting_binding_id is not None:
|
208
|
+
pulumi.set(__self__, "setting_binding_id", setting_binding_id)
|
209
|
+
if target is not None:
|
210
|
+
pulumi.set(__self__, "target", target)
|
211
|
+
if update_time is not None:
|
212
|
+
pulumi.set(__self__, "update_time", update_time)
|
213
|
+
|
214
|
+
@property
|
215
|
+
@pulumi.getter(name="createTime")
|
216
|
+
def create_time(self) -> Optional[pulumi.Input[str]]:
|
217
|
+
"""
|
218
|
+
Create time stamp.
|
219
|
+
"""
|
220
|
+
return pulumi.get(self, "create_time")
|
221
|
+
|
222
|
+
@create_time.setter
|
223
|
+
def create_time(self, value: Optional[pulumi.Input[str]]):
|
224
|
+
pulumi.set(self, "create_time", value)
|
225
|
+
|
226
|
+
@property
|
227
|
+
@pulumi.getter(name="dataSharingWithGoogleSettingId")
|
228
|
+
def data_sharing_with_google_setting_id(self) -> Optional[pulumi.Input[str]]:
|
229
|
+
"""
|
230
|
+
Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
|
231
|
+
"""
|
232
|
+
return pulumi.get(self, "data_sharing_with_google_setting_id")
|
233
|
+
|
234
|
+
@data_sharing_with_google_setting_id.setter
|
235
|
+
def data_sharing_with_google_setting_id(self, value: Optional[pulumi.Input[str]]):
|
236
|
+
pulumi.set(self, "data_sharing_with_google_setting_id", value)
|
237
|
+
|
238
|
+
@property
|
239
|
+
@pulumi.getter(name="effectiveLabels")
|
240
|
+
def effective_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
241
|
+
"""
|
242
|
+
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
243
|
+
"""
|
244
|
+
return pulumi.get(self, "effective_labels")
|
245
|
+
|
246
|
+
@effective_labels.setter
|
247
|
+
def effective_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
248
|
+
pulumi.set(self, "effective_labels", value)
|
249
|
+
|
250
|
+
@property
|
251
|
+
@pulumi.getter
|
252
|
+
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
253
|
+
"""
|
254
|
+
Labels as key value pairs.
|
255
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
256
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
257
|
+
"""
|
258
|
+
return pulumi.get(self, "labels")
|
259
|
+
|
260
|
+
@labels.setter
|
261
|
+
def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
262
|
+
pulumi.set(self, "labels", value)
|
263
|
+
|
264
|
+
@property
|
265
|
+
@pulumi.getter
|
266
|
+
def location(self) -> Optional[pulumi.Input[str]]:
|
267
|
+
"""
|
268
|
+
Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
|
269
|
+
"""
|
270
|
+
return pulumi.get(self, "location")
|
271
|
+
|
272
|
+
@location.setter
|
273
|
+
def location(self, value: Optional[pulumi.Input[str]]):
|
274
|
+
pulumi.set(self, "location", value)
|
275
|
+
|
276
|
+
@property
|
277
|
+
@pulumi.getter
|
278
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
279
|
+
"""
|
280
|
+
Identifier. Name of the resource.
|
281
|
+
Format:projects/{project}/locations/{location}/dataSharingWithGoogleSettings/{setting}/settingBindings/{setting_binding}
|
282
|
+
"""
|
283
|
+
return pulumi.get(self, "name")
|
284
|
+
|
285
|
+
@name.setter
|
286
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
287
|
+
pulumi.set(self, "name", value)
|
288
|
+
|
289
|
+
@property
|
290
|
+
@pulumi.getter
|
291
|
+
def product(self) -> Optional[pulumi.Input[str]]:
|
292
|
+
"""
|
293
|
+
Product type of the setting binding.
|
294
|
+
Possible values are: `GEMINI_CLOUD_ASSIST`, `GEMINI_CODE_ASSIST`.
|
295
|
+
"""
|
296
|
+
return pulumi.get(self, "product")
|
297
|
+
|
298
|
+
@product.setter
|
299
|
+
def product(self, value: Optional[pulumi.Input[str]]):
|
300
|
+
pulumi.set(self, "product", value)
|
301
|
+
|
302
|
+
@property
|
303
|
+
@pulumi.getter
|
304
|
+
def project(self) -> Optional[pulumi.Input[str]]:
|
305
|
+
"""
|
306
|
+
The ID of the project in which the resource belongs.
|
307
|
+
If it is not provided, the provider project is used.
|
308
|
+
"""
|
309
|
+
return pulumi.get(self, "project")
|
310
|
+
|
311
|
+
@project.setter
|
312
|
+
def project(self, value: Optional[pulumi.Input[str]]):
|
313
|
+
pulumi.set(self, "project", value)
|
314
|
+
|
315
|
+
@property
|
316
|
+
@pulumi.getter(name="pulumiLabels")
|
317
|
+
def pulumi_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
318
|
+
"""
|
319
|
+
The combination of labels configured directly on the resource
|
320
|
+
and default labels configured on the provider.
|
321
|
+
"""
|
322
|
+
return pulumi.get(self, "pulumi_labels")
|
323
|
+
|
324
|
+
@pulumi_labels.setter
|
325
|
+
def pulumi_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
326
|
+
pulumi.set(self, "pulumi_labels", value)
|
327
|
+
|
328
|
+
@property
|
329
|
+
@pulumi.getter(name="settingBindingId")
|
330
|
+
def setting_binding_id(self) -> Optional[pulumi.Input[str]]:
|
331
|
+
"""
|
332
|
+
Required. Id of the setting binding.
|
333
|
+
|
334
|
+
|
335
|
+
- - -
|
336
|
+
"""
|
337
|
+
return pulumi.get(self, "setting_binding_id")
|
338
|
+
|
339
|
+
@setting_binding_id.setter
|
340
|
+
def setting_binding_id(self, value: Optional[pulumi.Input[str]]):
|
341
|
+
pulumi.set(self, "setting_binding_id", value)
|
342
|
+
|
343
|
+
@property
|
344
|
+
@pulumi.getter
|
345
|
+
def target(self) -> Optional[pulumi.Input[str]]:
|
346
|
+
"""
|
347
|
+
Target of the binding.
|
348
|
+
"""
|
349
|
+
return pulumi.get(self, "target")
|
350
|
+
|
351
|
+
@target.setter
|
352
|
+
def target(self, value: Optional[pulumi.Input[str]]):
|
353
|
+
pulumi.set(self, "target", value)
|
354
|
+
|
355
|
+
@property
|
356
|
+
@pulumi.getter(name="updateTime")
|
357
|
+
def update_time(self) -> Optional[pulumi.Input[str]]:
|
358
|
+
"""
|
359
|
+
Update time stamp.
|
360
|
+
"""
|
361
|
+
return pulumi.get(self, "update_time")
|
362
|
+
|
363
|
+
@update_time.setter
|
364
|
+
def update_time(self, value: Optional[pulumi.Input[str]]):
|
365
|
+
pulumi.set(self, "update_time", value)
|
366
|
+
|
367
|
+
|
368
|
+
class DataSharingWithGoogleSettingBinding(pulumi.CustomResource):
|
369
|
+
@overload
|
370
|
+
def __init__(__self__,
|
371
|
+
resource_name: str,
|
372
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
373
|
+
data_sharing_with_google_setting_id: Optional[pulumi.Input[str]] = None,
|
374
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
375
|
+
location: Optional[pulumi.Input[str]] = None,
|
376
|
+
product: Optional[pulumi.Input[str]] = None,
|
377
|
+
project: Optional[pulumi.Input[str]] = None,
|
378
|
+
setting_binding_id: Optional[pulumi.Input[str]] = None,
|
379
|
+
target: Optional[pulumi.Input[str]] = None,
|
380
|
+
__props__=None):
|
381
|
+
"""
|
382
|
+
## Example Usage
|
383
|
+
|
384
|
+
### Gemini Data Sharing With Google Setting Binding Basic
|
385
|
+
|
386
|
+
```python
|
387
|
+
import pulumi
|
388
|
+
import pulumi_gcp as gcp
|
389
|
+
|
390
|
+
basic = gcp.gemini.DataSharingWithGoogleSetting("basic",
|
391
|
+
data_sharing_with_google_setting_id="ls-tf1",
|
392
|
+
location="global",
|
393
|
+
labels={
|
394
|
+
"my_key": "my_value",
|
395
|
+
},
|
396
|
+
enable_preview_data_sharing=True)
|
397
|
+
example = gcp.gemini.DataSharingWithGoogleSettingBinding("example",
|
398
|
+
data_sharing_with_google_setting_id=basic.data_sharing_with_google_setting_id,
|
399
|
+
setting_binding_id="ls-tf1b1",
|
400
|
+
location="global",
|
401
|
+
target="projects/980109375338")
|
402
|
+
```
|
403
|
+
|
404
|
+
## Import
|
405
|
+
|
406
|
+
DataSharingWithGoogleSettingBinding can be imported using any of these accepted formats:
|
407
|
+
|
408
|
+
* `projects/{{project}}/locations/{{location}}/dataSharingWithGoogleSettings/{{data_sharing_with_google_setting_id}}/settingBindings/{{setting_binding_id}}`
|
409
|
+
|
410
|
+
* `{{project}}/{{location}}/{{data_sharing_with_google_setting_id}}/{{setting_binding_id}}`
|
411
|
+
|
412
|
+
* `{{location}}/{{data_sharing_with_google_setting_id}}/{{setting_binding_id}}`
|
413
|
+
|
414
|
+
When using the `pulumi import` command, DataSharingWithGoogleSettingBinding can be imported using one of the formats above. For example:
|
415
|
+
|
416
|
+
```sh
|
417
|
+
$ pulumi import gcp:gemini/dataSharingWithGoogleSettingBinding:DataSharingWithGoogleSettingBinding default projects/{{project}}/locations/{{location}}/dataSharingWithGoogleSettings/{{data_sharing_with_google_setting_id}}/settingBindings/{{setting_binding_id}}
|
418
|
+
```
|
419
|
+
|
420
|
+
```sh
|
421
|
+
$ pulumi import gcp:gemini/dataSharingWithGoogleSettingBinding:DataSharingWithGoogleSettingBinding default {{project}}/{{location}}/{{data_sharing_with_google_setting_id}}/{{setting_binding_id}}
|
422
|
+
```
|
423
|
+
|
424
|
+
```sh
|
425
|
+
$ pulumi import gcp:gemini/dataSharingWithGoogleSettingBinding:DataSharingWithGoogleSettingBinding default {{location}}/{{data_sharing_with_google_setting_id}}/{{setting_binding_id}}
|
426
|
+
```
|
427
|
+
|
428
|
+
:param str resource_name: The name of the resource.
|
429
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
430
|
+
:param pulumi.Input[str] data_sharing_with_google_setting_id: Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
|
431
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Labels as key value pairs.
|
432
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
433
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
434
|
+
:param pulumi.Input[str] location: Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
|
435
|
+
:param pulumi.Input[str] product: Product type of the setting binding.
|
436
|
+
Possible values are: `GEMINI_CLOUD_ASSIST`, `GEMINI_CODE_ASSIST`.
|
437
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
438
|
+
If it is not provided, the provider project is used.
|
439
|
+
:param pulumi.Input[str] setting_binding_id: Required. Id of the setting binding.
|
440
|
+
|
441
|
+
|
442
|
+
- - -
|
443
|
+
:param pulumi.Input[str] target: Target of the binding.
|
444
|
+
"""
|
445
|
+
...
|
446
|
+
@overload
|
447
|
+
def __init__(__self__,
|
448
|
+
resource_name: str,
|
449
|
+
args: DataSharingWithGoogleSettingBindingArgs,
|
450
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
451
|
+
"""
|
452
|
+
## Example Usage
|
453
|
+
|
454
|
+
### Gemini Data Sharing With Google Setting Binding Basic
|
455
|
+
|
456
|
+
```python
|
457
|
+
import pulumi
|
458
|
+
import pulumi_gcp as gcp
|
459
|
+
|
460
|
+
basic = gcp.gemini.DataSharingWithGoogleSetting("basic",
|
461
|
+
data_sharing_with_google_setting_id="ls-tf1",
|
462
|
+
location="global",
|
463
|
+
labels={
|
464
|
+
"my_key": "my_value",
|
465
|
+
},
|
466
|
+
enable_preview_data_sharing=True)
|
467
|
+
example = gcp.gemini.DataSharingWithGoogleSettingBinding("example",
|
468
|
+
data_sharing_with_google_setting_id=basic.data_sharing_with_google_setting_id,
|
469
|
+
setting_binding_id="ls-tf1b1",
|
470
|
+
location="global",
|
471
|
+
target="projects/980109375338")
|
472
|
+
```
|
473
|
+
|
474
|
+
## Import
|
475
|
+
|
476
|
+
DataSharingWithGoogleSettingBinding can be imported using any of these accepted formats:
|
477
|
+
|
478
|
+
* `projects/{{project}}/locations/{{location}}/dataSharingWithGoogleSettings/{{data_sharing_with_google_setting_id}}/settingBindings/{{setting_binding_id}}`
|
479
|
+
|
480
|
+
* `{{project}}/{{location}}/{{data_sharing_with_google_setting_id}}/{{setting_binding_id}}`
|
481
|
+
|
482
|
+
* `{{location}}/{{data_sharing_with_google_setting_id}}/{{setting_binding_id}}`
|
483
|
+
|
484
|
+
When using the `pulumi import` command, DataSharingWithGoogleSettingBinding can be imported using one of the formats above. For example:
|
485
|
+
|
486
|
+
```sh
|
487
|
+
$ pulumi import gcp:gemini/dataSharingWithGoogleSettingBinding:DataSharingWithGoogleSettingBinding default projects/{{project}}/locations/{{location}}/dataSharingWithGoogleSettings/{{data_sharing_with_google_setting_id}}/settingBindings/{{setting_binding_id}}
|
488
|
+
```
|
489
|
+
|
490
|
+
```sh
|
491
|
+
$ pulumi import gcp:gemini/dataSharingWithGoogleSettingBinding:DataSharingWithGoogleSettingBinding default {{project}}/{{location}}/{{data_sharing_with_google_setting_id}}/{{setting_binding_id}}
|
492
|
+
```
|
493
|
+
|
494
|
+
```sh
|
495
|
+
$ pulumi import gcp:gemini/dataSharingWithGoogleSettingBinding:DataSharingWithGoogleSettingBinding default {{location}}/{{data_sharing_with_google_setting_id}}/{{setting_binding_id}}
|
496
|
+
```
|
497
|
+
|
498
|
+
:param str resource_name: The name of the resource.
|
499
|
+
:param DataSharingWithGoogleSettingBindingArgs args: The arguments to use to populate this resource's properties.
|
500
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
501
|
+
"""
|
502
|
+
...
|
503
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
504
|
+
resource_args, opts = _utilities.get_resource_args_opts(DataSharingWithGoogleSettingBindingArgs, pulumi.ResourceOptions, *args, **kwargs)
|
505
|
+
if resource_args is not None:
|
506
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
507
|
+
else:
|
508
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
509
|
+
|
510
|
+
def _internal_init(__self__,
|
511
|
+
resource_name: str,
|
512
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
513
|
+
data_sharing_with_google_setting_id: Optional[pulumi.Input[str]] = None,
|
514
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
515
|
+
location: Optional[pulumi.Input[str]] = None,
|
516
|
+
product: Optional[pulumi.Input[str]] = None,
|
517
|
+
project: Optional[pulumi.Input[str]] = None,
|
518
|
+
setting_binding_id: Optional[pulumi.Input[str]] = None,
|
519
|
+
target: Optional[pulumi.Input[str]] = None,
|
520
|
+
__props__=None):
|
521
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
522
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
523
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
524
|
+
if opts.id is None:
|
525
|
+
if __props__ is not None:
|
526
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
527
|
+
__props__ = DataSharingWithGoogleSettingBindingArgs.__new__(DataSharingWithGoogleSettingBindingArgs)
|
528
|
+
|
529
|
+
if data_sharing_with_google_setting_id is None and not opts.urn:
|
530
|
+
raise TypeError("Missing required property 'data_sharing_with_google_setting_id'")
|
531
|
+
__props__.__dict__["data_sharing_with_google_setting_id"] = data_sharing_with_google_setting_id
|
532
|
+
__props__.__dict__["labels"] = labels
|
533
|
+
__props__.__dict__["location"] = location
|
534
|
+
__props__.__dict__["product"] = product
|
535
|
+
__props__.__dict__["project"] = project
|
536
|
+
if setting_binding_id is None and not opts.urn:
|
537
|
+
raise TypeError("Missing required property 'setting_binding_id'")
|
538
|
+
__props__.__dict__["setting_binding_id"] = setting_binding_id
|
539
|
+
if target is None and not opts.urn:
|
540
|
+
raise TypeError("Missing required property 'target'")
|
541
|
+
__props__.__dict__["target"] = target
|
542
|
+
__props__.__dict__["create_time"] = None
|
543
|
+
__props__.__dict__["effective_labels"] = None
|
544
|
+
__props__.__dict__["name"] = None
|
545
|
+
__props__.__dict__["pulumi_labels"] = None
|
546
|
+
__props__.__dict__["update_time"] = None
|
547
|
+
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["effectiveLabels", "pulumiLabels"])
|
548
|
+
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
549
|
+
super(DataSharingWithGoogleSettingBinding, __self__).__init__(
|
550
|
+
'gcp:gemini/dataSharingWithGoogleSettingBinding:DataSharingWithGoogleSettingBinding',
|
551
|
+
resource_name,
|
552
|
+
__props__,
|
553
|
+
opts)
|
554
|
+
|
555
|
+
@staticmethod
|
556
|
+
def get(resource_name: str,
|
557
|
+
id: pulumi.Input[str],
|
558
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
559
|
+
create_time: Optional[pulumi.Input[str]] = None,
|
560
|
+
data_sharing_with_google_setting_id: Optional[pulumi.Input[str]] = None,
|
561
|
+
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
562
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
563
|
+
location: Optional[pulumi.Input[str]] = None,
|
564
|
+
name: Optional[pulumi.Input[str]] = None,
|
565
|
+
product: Optional[pulumi.Input[str]] = None,
|
566
|
+
project: Optional[pulumi.Input[str]] = None,
|
567
|
+
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
568
|
+
setting_binding_id: Optional[pulumi.Input[str]] = None,
|
569
|
+
target: Optional[pulumi.Input[str]] = None,
|
570
|
+
update_time: Optional[pulumi.Input[str]] = None) -> 'DataSharingWithGoogleSettingBinding':
|
571
|
+
"""
|
572
|
+
Get an existing DataSharingWithGoogleSettingBinding resource's state with the given name, id, and optional extra
|
573
|
+
properties used to qualify the lookup.
|
574
|
+
|
575
|
+
:param str resource_name: The unique name of the resulting resource.
|
576
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
577
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
578
|
+
:param pulumi.Input[str] create_time: Create time stamp.
|
579
|
+
:param pulumi.Input[str] data_sharing_with_google_setting_id: Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
|
580
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
581
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Labels as key value pairs.
|
582
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
583
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
584
|
+
:param pulumi.Input[str] location: Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
|
585
|
+
:param pulumi.Input[str] name: Identifier. Name of the resource.
|
586
|
+
Format:projects/{project}/locations/{location}/dataSharingWithGoogleSettings/{setting}/settingBindings/{setting_binding}
|
587
|
+
:param pulumi.Input[str] product: Product type of the setting binding.
|
588
|
+
Possible values are: `GEMINI_CLOUD_ASSIST`, `GEMINI_CODE_ASSIST`.
|
589
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
590
|
+
If it is not provided, the provider project is used.
|
591
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
|
592
|
+
and default labels configured on the provider.
|
593
|
+
:param pulumi.Input[str] setting_binding_id: Required. Id of the setting binding.
|
594
|
+
|
595
|
+
|
596
|
+
- - -
|
597
|
+
:param pulumi.Input[str] target: Target of the binding.
|
598
|
+
:param pulumi.Input[str] update_time: Update time stamp.
|
599
|
+
"""
|
600
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
601
|
+
|
602
|
+
__props__ = _DataSharingWithGoogleSettingBindingState.__new__(_DataSharingWithGoogleSettingBindingState)
|
603
|
+
|
604
|
+
__props__.__dict__["create_time"] = create_time
|
605
|
+
__props__.__dict__["data_sharing_with_google_setting_id"] = data_sharing_with_google_setting_id
|
606
|
+
__props__.__dict__["effective_labels"] = effective_labels
|
607
|
+
__props__.__dict__["labels"] = labels
|
608
|
+
__props__.__dict__["location"] = location
|
609
|
+
__props__.__dict__["name"] = name
|
610
|
+
__props__.__dict__["product"] = product
|
611
|
+
__props__.__dict__["project"] = project
|
612
|
+
__props__.__dict__["pulumi_labels"] = pulumi_labels
|
613
|
+
__props__.__dict__["setting_binding_id"] = setting_binding_id
|
614
|
+
__props__.__dict__["target"] = target
|
615
|
+
__props__.__dict__["update_time"] = update_time
|
616
|
+
return DataSharingWithGoogleSettingBinding(resource_name, opts=opts, __props__=__props__)
|
617
|
+
|
618
|
+
@property
|
619
|
+
@pulumi.getter(name="createTime")
|
620
|
+
def create_time(self) -> pulumi.Output[str]:
|
621
|
+
"""
|
622
|
+
Create time stamp.
|
623
|
+
"""
|
624
|
+
return pulumi.get(self, "create_time")
|
625
|
+
|
626
|
+
@property
|
627
|
+
@pulumi.getter(name="dataSharingWithGoogleSettingId")
|
628
|
+
def data_sharing_with_google_setting_id(self) -> pulumi.Output[str]:
|
629
|
+
"""
|
630
|
+
Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
|
631
|
+
"""
|
632
|
+
return pulumi.get(self, "data_sharing_with_google_setting_id")
|
633
|
+
|
634
|
+
@property
|
635
|
+
@pulumi.getter(name="effectiveLabels")
|
636
|
+
def effective_labels(self) -> pulumi.Output[Mapping[str, str]]:
|
637
|
+
"""
|
638
|
+
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
639
|
+
"""
|
640
|
+
return pulumi.get(self, "effective_labels")
|
641
|
+
|
642
|
+
@property
|
643
|
+
@pulumi.getter
|
644
|
+
def labels(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
645
|
+
"""
|
646
|
+
Labels as key value pairs.
|
647
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
648
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
649
|
+
"""
|
650
|
+
return pulumi.get(self, "labels")
|
651
|
+
|
652
|
+
@property
|
653
|
+
@pulumi.getter
|
654
|
+
def location(self) -> pulumi.Output[Optional[str]]:
|
655
|
+
"""
|
656
|
+
Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
|
657
|
+
"""
|
658
|
+
return pulumi.get(self, "location")
|
659
|
+
|
660
|
+
@property
|
661
|
+
@pulumi.getter
|
662
|
+
def name(self) -> pulumi.Output[str]:
|
663
|
+
"""
|
664
|
+
Identifier. Name of the resource.
|
665
|
+
Format:projects/{project}/locations/{location}/dataSharingWithGoogleSettings/{setting}/settingBindings/{setting_binding}
|
666
|
+
"""
|
667
|
+
return pulumi.get(self, "name")
|
668
|
+
|
669
|
+
@property
|
670
|
+
@pulumi.getter
|
671
|
+
def product(self) -> pulumi.Output[Optional[str]]:
|
672
|
+
"""
|
673
|
+
Product type of the setting binding.
|
674
|
+
Possible values are: `GEMINI_CLOUD_ASSIST`, `GEMINI_CODE_ASSIST`.
|
675
|
+
"""
|
676
|
+
return pulumi.get(self, "product")
|
677
|
+
|
678
|
+
@property
|
679
|
+
@pulumi.getter
|
680
|
+
def project(self) -> pulumi.Output[str]:
|
681
|
+
"""
|
682
|
+
The ID of the project in which the resource belongs.
|
683
|
+
If it is not provided, the provider project is used.
|
684
|
+
"""
|
685
|
+
return pulumi.get(self, "project")
|
686
|
+
|
687
|
+
@property
|
688
|
+
@pulumi.getter(name="pulumiLabels")
|
689
|
+
def pulumi_labels(self) -> pulumi.Output[Mapping[str, str]]:
|
690
|
+
"""
|
691
|
+
The combination of labels configured directly on the resource
|
692
|
+
and default labels configured on the provider.
|
693
|
+
"""
|
694
|
+
return pulumi.get(self, "pulumi_labels")
|
695
|
+
|
696
|
+
@property
|
697
|
+
@pulumi.getter(name="settingBindingId")
|
698
|
+
def setting_binding_id(self) -> pulumi.Output[str]:
|
699
|
+
"""
|
700
|
+
Required. Id of the setting binding.
|
701
|
+
|
702
|
+
|
703
|
+
- - -
|
704
|
+
"""
|
705
|
+
return pulumi.get(self, "setting_binding_id")
|
706
|
+
|
707
|
+
@property
|
708
|
+
@pulumi.getter
|
709
|
+
def target(self) -> pulumi.Output[str]:
|
710
|
+
"""
|
711
|
+
Target of the binding.
|
712
|
+
"""
|
713
|
+
return pulumi.get(self, "target")
|
714
|
+
|
715
|
+
@property
|
716
|
+
@pulumi.getter(name="updateTime")
|
717
|
+
def update_time(self) -> pulumi.Output[str]:
|
718
|
+
"""
|
719
|
+
Update time stamp.
|
720
|
+
"""
|
721
|
+
return pulumi.get(self, "update_time")
|
722
|
+
|