pulumi-gcp 8.26.0a1744267117__py3-none-any.whl → 8.27.0a1744386150__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 (57) hide show
  1. pulumi_gcp/__init__.py +48 -0
  2. pulumi_gcp/accesscontextmanager/_inputs.py +117 -0
  3. pulumi_gcp/accesscontextmanager/gcp_user_access_binding.py +81 -26
  4. pulumi_gcp/accesscontextmanager/outputs.py +95 -0
  5. pulumi_gcp/apigee/__init__.py +1 -0
  6. pulumi_gcp/apigee/control_plane_access.py +419 -0
  7. pulumi_gcp/clouddeploy/__init__.py +1 -0
  8. pulumi_gcp/clouddeploy/_inputs.py +2876 -1314
  9. pulumi_gcp/clouddeploy/automation.py +64 -2
  10. pulumi_gcp/clouddeploy/deploy_policy.py +1179 -0
  11. pulumi_gcp/clouddeploy/outputs.py +1130 -5
  12. pulumi_gcp/cloudrunv2/service.py +2 -2
  13. pulumi_gcp/compute/_inputs.py +20 -0
  14. pulumi_gcp/compute/outputs.py +25 -0
  15. pulumi_gcp/compute/resource_policy.py +30 -0
  16. pulumi_gcp/datastream/_inputs.py +506 -0
  17. pulumi_gcp/datastream/outputs.py +376 -0
  18. pulumi_gcp/datastream/stream.py +0 -2
  19. pulumi_gcp/firebase/hosting_version.py +34 -14
  20. pulumi_gcp/folder/__init__.py +1 -0
  21. pulumi_gcp/folder/service_identity.py +340 -0
  22. pulumi_gcp/gemini/__init__.py +2 -0
  23. pulumi_gcp/gemini/_inputs.py +176 -0
  24. pulumi_gcp/gemini/code_tools_setting.py +601 -0
  25. pulumi_gcp/gemini/code_tools_setting_binding.py +753 -0
  26. pulumi_gcp/gemini/outputs.py +124 -0
  27. pulumi_gcp/gkeonprem/v_mware_cluster.py +49 -0
  28. pulumi_gcp/gkeonprem/vmware_admin_cluster.py +28 -0
  29. pulumi_gcp/memorystore/_inputs.py +136 -0
  30. pulumi_gcp/memorystore/get_instance.py +12 -1
  31. pulumi_gcp/memorystore/instance.py +54 -0
  32. pulumi_gcp/memorystore/outputs.py +190 -0
  33. pulumi_gcp/netapp/_inputs.py +89 -3
  34. pulumi_gcp/netapp/outputs.py +75 -2
  35. pulumi_gcp/netapp/volume_replication.py +12 -2
  36. pulumi_gcp/networkconnectivity/service_connection_policy.py +4 -2
  37. pulumi_gcp/osconfig/__init__.py +1 -0
  38. pulumi_gcp/osconfig/_inputs.py +5439 -0
  39. pulumi_gcp/osconfig/outputs.py +3978 -0
  40. pulumi_gcp/osconfig/v2_policy_orchestrator_for_organization.py +1047 -0
  41. pulumi_gcp/parametermanager/get_regional_parameter.py +12 -1
  42. pulumi_gcp/parametermanager/get_regional_parameter_version.py +15 -1
  43. pulumi_gcp/parametermanager/outputs.py +11 -0
  44. pulumi_gcp/parametermanager/regional_parameter.py +78 -0
  45. pulumi_gcp/parametermanager/regional_parameter_version.py +66 -0
  46. pulumi_gcp/pulumi-plugin.json +1 -1
  47. pulumi_gcp/spanner/database.py +0 -34
  48. pulumi_gcp/storage/bucket_object.py +28 -0
  49. pulumi_gcp/storage/get_bucket_object.py +12 -1
  50. pulumi_gcp/storage/get_bucket_object_content.py +12 -1
  51. pulumi_gcp/workbench/_inputs.py +60 -0
  52. pulumi_gcp/workbench/instance.py +48 -0
  53. pulumi_gcp/workbench/outputs.py +55 -0
  54. {pulumi_gcp-8.26.0a1744267117.dist-info → pulumi_gcp-8.27.0a1744386150.dist-info}/METADATA +1 -1
  55. {pulumi_gcp-8.26.0a1744267117.dist-info → pulumi_gcp-8.27.0a1744386150.dist-info}/RECORD +57 -51
  56. {pulumi_gcp-8.26.0a1744267117.dist-info → pulumi_gcp-8.27.0a1744386150.dist-info}/WHEEL +0 -0
  57. {pulumi_gcp-8.26.0a1744267117.dist-info → pulumi_gcp-8.27.0a1744386150.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,601 @@
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__ = ['CodeToolsSettingArgs', 'CodeToolsSetting']
21
+
22
+ @pulumi.input_type
23
+ class CodeToolsSettingArgs:
24
+ def __init__(__self__, *,
25
+ code_tools_setting_id: pulumi.Input[builtins.str],
26
+ enabled_tools: pulumi.Input[Sequence[pulumi.Input['CodeToolsSettingEnabledToolArgs']]],
27
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
28
+ location: Optional[pulumi.Input[builtins.str]] = None,
29
+ project: Optional[pulumi.Input[builtins.str]] = None):
30
+ """
31
+ The set of arguments for constructing a CodeToolsSetting resource.
32
+ :param pulumi.Input[builtins.str] code_tools_setting_id: Id of the Code Tools Setting.
33
+ :param pulumi.Input[Sequence[pulumi.Input['CodeToolsSettingEnabledToolArgs']]] enabled_tools: Represents the full set of enabled tools.
34
+ Structure is documented below.
35
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Labels as key value pairs. **Note**: This field is non-authoritative, and will only manage the labels present in your
36
+ configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.
37
+ :param pulumi.Input[builtins.str] location: Resource ID segment making up resource 'name'. It identifies the resource within its parent collection as described in
38
+ https://google.aip.dev/122.
39
+ """
40
+ pulumi.set(__self__, "code_tools_setting_id", code_tools_setting_id)
41
+ pulumi.set(__self__, "enabled_tools", enabled_tools)
42
+ if labels is not None:
43
+ pulumi.set(__self__, "labels", labels)
44
+ if location is not None:
45
+ pulumi.set(__self__, "location", location)
46
+ if project is not None:
47
+ pulumi.set(__self__, "project", project)
48
+
49
+ @property
50
+ @pulumi.getter(name="codeToolsSettingId")
51
+ def code_tools_setting_id(self) -> pulumi.Input[builtins.str]:
52
+ """
53
+ Id of the Code Tools Setting.
54
+ """
55
+ return pulumi.get(self, "code_tools_setting_id")
56
+
57
+ @code_tools_setting_id.setter
58
+ def code_tools_setting_id(self, value: pulumi.Input[builtins.str]):
59
+ pulumi.set(self, "code_tools_setting_id", value)
60
+
61
+ @property
62
+ @pulumi.getter(name="enabledTools")
63
+ def enabled_tools(self) -> pulumi.Input[Sequence[pulumi.Input['CodeToolsSettingEnabledToolArgs']]]:
64
+ """
65
+ Represents the full set of enabled tools.
66
+ Structure is documented below.
67
+ """
68
+ return pulumi.get(self, "enabled_tools")
69
+
70
+ @enabled_tools.setter
71
+ def enabled_tools(self, value: pulumi.Input[Sequence[pulumi.Input['CodeToolsSettingEnabledToolArgs']]]):
72
+ pulumi.set(self, "enabled_tools", value)
73
+
74
+ @property
75
+ @pulumi.getter
76
+ def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
77
+ """
78
+ Labels as key value pairs. **Note**: This field is non-authoritative, and will only manage the labels present in your
79
+ configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.
80
+ """
81
+ return pulumi.get(self, "labels")
82
+
83
+ @labels.setter
84
+ def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
85
+ pulumi.set(self, "labels", value)
86
+
87
+ @property
88
+ @pulumi.getter
89
+ def location(self) -> Optional[pulumi.Input[builtins.str]]:
90
+ """
91
+ Resource ID segment making up resource 'name'. It identifies the resource within its parent collection as described in
92
+ https://google.aip.dev/122.
93
+ """
94
+ return pulumi.get(self, "location")
95
+
96
+ @location.setter
97
+ def location(self, value: Optional[pulumi.Input[builtins.str]]):
98
+ pulumi.set(self, "location", value)
99
+
100
+ @property
101
+ @pulumi.getter
102
+ def project(self) -> Optional[pulumi.Input[builtins.str]]:
103
+ return pulumi.get(self, "project")
104
+
105
+ @project.setter
106
+ def project(self, value: Optional[pulumi.Input[builtins.str]]):
107
+ pulumi.set(self, "project", value)
108
+
109
+
110
+ @pulumi.input_type
111
+ class _CodeToolsSettingState:
112
+ def __init__(__self__, *,
113
+ code_tools_setting_id: Optional[pulumi.Input[builtins.str]] = None,
114
+ create_time: Optional[pulumi.Input[builtins.str]] = None,
115
+ effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
116
+ enabled_tools: Optional[pulumi.Input[Sequence[pulumi.Input['CodeToolsSettingEnabledToolArgs']]]] = None,
117
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
118
+ location: Optional[pulumi.Input[builtins.str]] = None,
119
+ name: Optional[pulumi.Input[builtins.str]] = None,
120
+ project: Optional[pulumi.Input[builtins.str]] = None,
121
+ pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
122
+ update_time: Optional[pulumi.Input[builtins.str]] = None):
123
+ """
124
+ Input properties used for looking up and filtering CodeToolsSetting resources.
125
+ :param pulumi.Input[builtins.str] code_tools_setting_id: Id of the Code Tools Setting.
126
+ :param pulumi.Input[builtins.str] create_time: Create time stamp.
127
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.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.
128
+ :param pulumi.Input[Sequence[pulumi.Input['CodeToolsSettingEnabledToolArgs']]] enabled_tools: Represents the full set of enabled tools.
129
+ Structure is documented below.
130
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Labels as key value pairs. **Note**: This field is non-authoritative, and will only manage the labels present in your
131
+ configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.
132
+ :param pulumi.Input[builtins.str] location: Resource ID segment making up resource 'name'. It identifies the resource within its parent collection as described in
133
+ https://google.aip.dev/122.
134
+ :param pulumi.Input[builtins.str] name: Identifier. Name of the resource.
135
+ Format:projects/{project}/locations/{location}/codeToolsSettings/{codeToolsSetting}
136
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] pulumi_labels: The combination of labels configured directly on the resource
137
+ and default labels configured on the provider.
138
+ :param pulumi.Input[builtins.str] update_time: Update time stamp.
139
+ """
140
+ if code_tools_setting_id is not None:
141
+ pulumi.set(__self__, "code_tools_setting_id", code_tools_setting_id)
142
+ if create_time is not None:
143
+ pulumi.set(__self__, "create_time", create_time)
144
+ if effective_labels is not None:
145
+ pulumi.set(__self__, "effective_labels", effective_labels)
146
+ if enabled_tools is not None:
147
+ pulumi.set(__self__, "enabled_tools", enabled_tools)
148
+ if labels is not None:
149
+ pulumi.set(__self__, "labels", labels)
150
+ if location is not None:
151
+ pulumi.set(__self__, "location", location)
152
+ if name is not None:
153
+ pulumi.set(__self__, "name", name)
154
+ if project is not None:
155
+ pulumi.set(__self__, "project", project)
156
+ if pulumi_labels is not None:
157
+ pulumi.set(__self__, "pulumi_labels", pulumi_labels)
158
+ if update_time is not None:
159
+ pulumi.set(__self__, "update_time", update_time)
160
+
161
+ @property
162
+ @pulumi.getter(name="codeToolsSettingId")
163
+ def code_tools_setting_id(self) -> Optional[pulumi.Input[builtins.str]]:
164
+ """
165
+ Id of the Code Tools Setting.
166
+ """
167
+ return pulumi.get(self, "code_tools_setting_id")
168
+
169
+ @code_tools_setting_id.setter
170
+ def code_tools_setting_id(self, value: Optional[pulumi.Input[builtins.str]]):
171
+ pulumi.set(self, "code_tools_setting_id", value)
172
+
173
+ @property
174
+ @pulumi.getter(name="createTime")
175
+ def create_time(self) -> Optional[pulumi.Input[builtins.str]]:
176
+ """
177
+ Create time stamp.
178
+ """
179
+ return pulumi.get(self, "create_time")
180
+
181
+ @create_time.setter
182
+ def create_time(self, value: Optional[pulumi.Input[builtins.str]]):
183
+ pulumi.set(self, "create_time", value)
184
+
185
+ @property
186
+ @pulumi.getter(name="effectiveLabels")
187
+ def effective_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
188
+ """
189
+ All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
190
+ """
191
+ return pulumi.get(self, "effective_labels")
192
+
193
+ @effective_labels.setter
194
+ def effective_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
195
+ pulumi.set(self, "effective_labels", value)
196
+
197
+ @property
198
+ @pulumi.getter(name="enabledTools")
199
+ def enabled_tools(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['CodeToolsSettingEnabledToolArgs']]]]:
200
+ """
201
+ Represents the full set of enabled tools.
202
+ Structure is documented below.
203
+ """
204
+ return pulumi.get(self, "enabled_tools")
205
+
206
+ @enabled_tools.setter
207
+ def enabled_tools(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['CodeToolsSettingEnabledToolArgs']]]]):
208
+ pulumi.set(self, "enabled_tools", value)
209
+
210
+ @property
211
+ @pulumi.getter
212
+ def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
213
+ """
214
+ Labels as key value pairs. **Note**: This field is non-authoritative, and will only manage the labels present in your
215
+ configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.
216
+ """
217
+ return pulumi.get(self, "labels")
218
+
219
+ @labels.setter
220
+ def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
221
+ pulumi.set(self, "labels", value)
222
+
223
+ @property
224
+ @pulumi.getter
225
+ def location(self) -> Optional[pulumi.Input[builtins.str]]:
226
+ """
227
+ Resource ID segment making up resource 'name'. It identifies the resource within its parent collection as described in
228
+ https://google.aip.dev/122.
229
+ """
230
+ return pulumi.get(self, "location")
231
+
232
+ @location.setter
233
+ def location(self, value: Optional[pulumi.Input[builtins.str]]):
234
+ pulumi.set(self, "location", value)
235
+
236
+ @property
237
+ @pulumi.getter
238
+ def name(self) -> Optional[pulumi.Input[builtins.str]]:
239
+ """
240
+ Identifier. Name of the resource.
241
+ Format:projects/{project}/locations/{location}/codeToolsSettings/{codeToolsSetting}
242
+ """
243
+ return pulumi.get(self, "name")
244
+
245
+ @name.setter
246
+ def name(self, value: Optional[pulumi.Input[builtins.str]]):
247
+ pulumi.set(self, "name", value)
248
+
249
+ @property
250
+ @pulumi.getter
251
+ def project(self) -> Optional[pulumi.Input[builtins.str]]:
252
+ return pulumi.get(self, "project")
253
+
254
+ @project.setter
255
+ def project(self, value: Optional[pulumi.Input[builtins.str]]):
256
+ pulumi.set(self, "project", value)
257
+
258
+ @property
259
+ @pulumi.getter(name="pulumiLabels")
260
+ def pulumi_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
261
+ """
262
+ The combination of labels configured directly on the resource
263
+ and default labels configured on the provider.
264
+ """
265
+ return pulumi.get(self, "pulumi_labels")
266
+
267
+ @pulumi_labels.setter
268
+ def pulumi_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
269
+ pulumi.set(self, "pulumi_labels", value)
270
+
271
+ @property
272
+ @pulumi.getter(name="updateTime")
273
+ def update_time(self) -> Optional[pulumi.Input[builtins.str]]:
274
+ """
275
+ Update time stamp.
276
+ """
277
+ return pulumi.get(self, "update_time")
278
+
279
+ @update_time.setter
280
+ def update_time(self, value: Optional[pulumi.Input[builtins.str]]):
281
+ pulumi.set(self, "update_time", value)
282
+
283
+
284
+ class CodeToolsSetting(pulumi.CustomResource):
285
+ @overload
286
+ def __init__(__self__,
287
+ resource_name: str,
288
+ opts: Optional[pulumi.ResourceOptions] = None,
289
+ code_tools_setting_id: Optional[pulumi.Input[builtins.str]] = None,
290
+ enabled_tools: Optional[pulumi.Input[Sequence[pulumi.Input[Union['CodeToolsSettingEnabledToolArgs', 'CodeToolsSettingEnabledToolArgsDict']]]]] = None,
291
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
292
+ location: Optional[pulumi.Input[builtins.str]] = None,
293
+ project: Optional[pulumi.Input[builtins.str]] = None,
294
+ __props__=None):
295
+ """
296
+ The resource for managing CodeTools settings for Admin Control.
297
+
298
+ ## Example Usage
299
+
300
+ ### Gemini Code Tools Setting Basic
301
+
302
+ ```python
303
+ import pulumi
304
+ import pulumi_gcp as gcp
305
+
306
+ example = gcp.gemini.CodeToolsSetting("example",
307
+ code_tools_setting_id="ls1-tf",
308
+ location="global",
309
+ labels={
310
+ "my_key": "my_value",
311
+ },
312
+ enabled_tools=[{
313
+ "handle": "my_handle",
314
+ "tool": "my_tool",
315
+ "account_connector": "my_con",
316
+ "configs": [{
317
+ "key": "my_key",
318
+ "value": "my_value",
319
+ }],
320
+ "uri_override": "my_uri_override",
321
+ }])
322
+ ```
323
+
324
+ ## Import
325
+
326
+ CodeToolsSetting can be imported using any of these accepted formats:
327
+
328
+ * `projects/{{project}}/locations/{{location}}/codeToolsSettings/{{code_tools_setting_id}}`
329
+
330
+ * `{{project}}/{{location}}/{{code_tools_setting_id}}`
331
+
332
+ * `{{location}}/{{code_tools_setting_id}}`
333
+
334
+ When using the `pulumi import` command, CodeToolsSetting can be imported using one of the formats above. For example:
335
+
336
+ ```sh
337
+ $ pulumi import gcp:gemini/codeToolsSetting:CodeToolsSetting default projects/{{project}}/locations/{{location}}/codeToolsSettings/{{code_tools_setting_id}}
338
+ ```
339
+
340
+ ```sh
341
+ $ pulumi import gcp:gemini/codeToolsSetting:CodeToolsSetting default {{project}}/{{location}}/{{code_tools_setting_id}}
342
+ ```
343
+
344
+ ```sh
345
+ $ pulumi import gcp:gemini/codeToolsSetting:CodeToolsSetting default {{location}}/{{code_tools_setting_id}}
346
+ ```
347
+
348
+ :param str resource_name: The name of the resource.
349
+ :param pulumi.ResourceOptions opts: Options for the resource.
350
+ :param pulumi.Input[builtins.str] code_tools_setting_id: Id of the Code Tools Setting.
351
+ :param pulumi.Input[Sequence[pulumi.Input[Union['CodeToolsSettingEnabledToolArgs', 'CodeToolsSettingEnabledToolArgsDict']]]] enabled_tools: Represents the full set of enabled tools.
352
+ Structure is documented below.
353
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Labels as key value pairs. **Note**: This field is non-authoritative, and will only manage the labels present in your
354
+ configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.
355
+ :param pulumi.Input[builtins.str] location: Resource ID segment making up resource 'name'. It identifies the resource within its parent collection as described in
356
+ https://google.aip.dev/122.
357
+ """
358
+ ...
359
+ @overload
360
+ def __init__(__self__,
361
+ resource_name: str,
362
+ args: CodeToolsSettingArgs,
363
+ opts: Optional[pulumi.ResourceOptions] = None):
364
+ """
365
+ The resource for managing CodeTools settings for Admin Control.
366
+
367
+ ## Example Usage
368
+
369
+ ### Gemini Code Tools Setting Basic
370
+
371
+ ```python
372
+ import pulumi
373
+ import pulumi_gcp as gcp
374
+
375
+ example = gcp.gemini.CodeToolsSetting("example",
376
+ code_tools_setting_id="ls1-tf",
377
+ location="global",
378
+ labels={
379
+ "my_key": "my_value",
380
+ },
381
+ enabled_tools=[{
382
+ "handle": "my_handle",
383
+ "tool": "my_tool",
384
+ "account_connector": "my_con",
385
+ "configs": [{
386
+ "key": "my_key",
387
+ "value": "my_value",
388
+ }],
389
+ "uri_override": "my_uri_override",
390
+ }])
391
+ ```
392
+
393
+ ## Import
394
+
395
+ CodeToolsSetting can be imported using any of these accepted formats:
396
+
397
+ * `projects/{{project}}/locations/{{location}}/codeToolsSettings/{{code_tools_setting_id}}`
398
+
399
+ * `{{project}}/{{location}}/{{code_tools_setting_id}}`
400
+
401
+ * `{{location}}/{{code_tools_setting_id}}`
402
+
403
+ When using the `pulumi import` command, CodeToolsSetting can be imported using one of the formats above. For example:
404
+
405
+ ```sh
406
+ $ pulumi import gcp:gemini/codeToolsSetting:CodeToolsSetting default projects/{{project}}/locations/{{location}}/codeToolsSettings/{{code_tools_setting_id}}
407
+ ```
408
+
409
+ ```sh
410
+ $ pulumi import gcp:gemini/codeToolsSetting:CodeToolsSetting default {{project}}/{{location}}/{{code_tools_setting_id}}
411
+ ```
412
+
413
+ ```sh
414
+ $ pulumi import gcp:gemini/codeToolsSetting:CodeToolsSetting default {{location}}/{{code_tools_setting_id}}
415
+ ```
416
+
417
+ :param str resource_name: The name of the resource.
418
+ :param CodeToolsSettingArgs args: The arguments to use to populate this resource's properties.
419
+ :param pulumi.ResourceOptions opts: Options for the resource.
420
+ """
421
+ ...
422
+ def __init__(__self__, resource_name: str, *args, **kwargs):
423
+ resource_args, opts = _utilities.get_resource_args_opts(CodeToolsSettingArgs, pulumi.ResourceOptions, *args, **kwargs)
424
+ if resource_args is not None:
425
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
426
+ else:
427
+ __self__._internal_init(resource_name, *args, **kwargs)
428
+
429
+ def _internal_init(__self__,
430
+ resource_name: str,
431
+ opts: Optional[pulumi.ResourceOptions] = None,
432
+ code_tools_setting_id: Optional[pulumi.Input[builtins.str]] = None,
433
+ enabled_tools: Optional[pulumi.Input[Sequence[pulumi.Input[Union['CodeToolsSettingEnabledToolArgs', 'CodeToolsSettingEnabledToolArgsDict']]]]] = None,
434
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
435
+ location: Optional[pulumi.Input[builtins.str]] = None,
436
+ project: Optional[pulumi.Input[builtins.str]] = None,
437
+ __props__=None):
438
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
439
+ if not isinstance(opts, pulumi.ResourceOptions):
440
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
441
+ if opts.id is None:
442
+ if __props__ is not None:
443
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
444
+ __props__ = CodeToolsSettingArgs.__new__(CodeToolsSettingArgs)
445
+
446
+ if code_tools_setting_id is None and not opts.urn:
447
+ raise TypeError("Missing required property 'code_tools_setting_id'")
448
+ __props__.__dict__["code_tools_setting_id"] = code_tools_setting_id
449
+ if enabled_tools is None and not opts.urn:
450
+ raise TypeError("Missing required property 'enabled_tools'")
451
+ __props__.__dict__["enabled_tools"] = enabled_tools
452
+ __props__.__dict__["labels"] = labels
453
+ __props__.__dict__["location"] = location
454
+ __props__.__dict__["project"] = project
455
+ __props__.__dict__["create_time"] = None
456
+ __props__.__dict__["effective_labels"] = None
457
+ __props__.__dict__["name"] = None
458
+ __props__.__dict__["pulumi_labels"] = None
459
+ __props__.__dict__["update_time"] = None
460
+ secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["effectiveLabels", "pulumiLabels"])
461
+ opts = pulumi.ResourceOptions.merge(opts, secret_opts)
462
+ super(CodeToolsSetting, __self__).__init__(
463
+ 'gcp:gemini/codeToolsSetting:CodeToolsSetting',
464
+ resource_name,
465
+ __props__,
466
+ opts)
467
+
468
+ @staticmethod
469
+ def get(resource_name: str,
470
+ id: pulumi.Input[str],
471
+ opts: Optional[pulumi.ResourceOptions] = None,
472
+ code_tools_setting_id: Optional[pulumi.Input[builtins.str]] = None,
473
+ create_time: Optional[pulumi.Input[builtins.str]] = None,
474
+ effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
475
+ enabled_tools: Optional[pulumi.Input[Sequence[pulumi.Input[Union['CodeToolsSettingEnabledToolArgs', 'CodeToolsSettingEnabledToolArgsDict']]]]] = None,
476
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
477
+ location: Optional[pulumi.Input[builtins.str]] = None,
478
+ name: Optional[pulumi.Input[builtins.str]] = None,
479
+ project: Optional[pulumi.Input[builtins.str]] = None,
480
+ pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
481
+ update_time: Optional[pulumi.Input[builtins.str]] = None) -> 'CodeToolsSetting':
482
+ """
483
+ Get an existing CodeToolsSetting resource's state with the given name, id, and optional extra
484
+ properties used to qualify the lookup.
485
+
486
+ :param str resource_name: The unique name of the resulting resource.
487
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
488
+ :param pulumi.ResourceOptions opts: Options for the resource.
489
+ :param pulumi.Input[builtins.str] code_tools_setting_id: Id of the Code Tools Setting.
490
+ :param pulumi.Input[builtins.str] create_time: Create time stamp.
491
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.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.
492
+ :param pulumi.Input[Sequence[pulumi.Input[Union['CodeToolsSettingEnabledToolArgs', 'CodeToolsSettingEnabledToolArgsDict']]]] enabled_tools: Represents the full set of enabled tools.
493
+ Structure is documented below.
494
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Labels as key value pairs. **Note**: This field is non-authoritative, and will only manage the labels present in your
495
+ configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.
496
+ :param pulumi.Input[builtins.str] location: Resource ID segment making up resource 'name'. It identifies the resource within its parent collection as described in
497
+ https://google.aip.dev/122.
498
+ :param pulumi.Input[builtins.str] name: Identifier. Name of the resource.
499
+ Format:projects/{project}/locations/{location}/codeToolsSettings/{codeToolsSetting}
500
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] pulumi_labels: The combination of labels configured directly on the resource
501
+ and default labels configured on the provider.
502
+ :param pulumi.Input[builtins.str] update_time: Update time stamp.
503
+ """
504
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
505
+
506
+ __props__ = _CodeToolsSettingState.__new__(_CodeToolsSettingState)
507
+
508
+ __props__.__dict__["code_tools_setting_id"] = code_tools_setting_id
509
+ __props__.__dict__["create_time"] = create_time
510
+ __props__.__dict__["effective_labels"] = effective_labels
511
+ __props__.__dict__["enabled_tools"] = enabled_tools
512
+ __props__.__dict__["labels"] = labels
513
+ __props__.__dict__["location"] = location
514
+ __props__.__dict__["name"] = name
515
+ __props__.__dict__["project"] = project
516
+ __props__.__dict__["pulumi_labels"] = pulumi_labels
517
+ __props__.__dict__["update_time"] = update_time
518
+ return CodeToolsSetting(resource_name, opts=opts, __props__=__props__)
519
+
520
+ @property
521
+ @pulumi.getter(name="codeToolsSettingId")
522
+ def code_tools_setting_id(self) -> pulumi.Output[builtins.str]:
523
+ """
524
+ Id of the Code Tools Setting.
525
+ """
526
+ return pulumi.get(self, "code_tools_setting_id")
527
+
528
+ @property
529
+ @pulumi.getter(name="createTime")
530
+ def create_time(self) -> pulumi.Output[builtins.str]:
531
+ """
532
+ Create time stamp.
533
+ """
534
+ return pulumi.get(self, "create_time")
535
+
536
+ @property
537
+ @pulumi.getter(name="effectiveLabels")
538
+ def effective_labels(self) -> pulumi.Output[Mapping[str, builtins.str]]:
539
+ """
540
+ All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
541
+ """
542
+ return pulumi.get(self, "effective_labels")
543
+
544
+ @property
545
+ @pulumi.getter(name="enabledTools")
546
+ def enabled_tools(self) -> pulumi.Output[Sequence['outputs.CodeToolsSettingEnabledTool']]:
547
+ """
548
+ Represents the full set of enabled tools.
549
+ Structure is documented below.
550
+ """
551
+ return pulumi.get(self, "enabled_tools")
552
+
553
+ @property
554
+ @pulumi.getter
555
+ def labels(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]:
556
+ """
557
+ Labels as key value pairs. **Note**: This field is non-authoritative, and will only manage the labels present in your
558
+ configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.
559
+ """
560
+ return pulumi.get(self, "labels")
561
+
562
+ @property
563
+ @pulumi.getter
564
+ def location(self) -> pulumi.Output[Optional[builtins.str]]:
565
+ """
566
+ Resource ID segment making up resource 'name'. It identifies the resource within its parent collection as described in
567
+ https://google.aip.dev/122.
568
+ """
569
+ return pulumi.get(self, "location")
570
+
571
+ @property
572
+ @pulumi.getter
573
+ def name(self) -> pulumi.Output[builtins.str]:
574
+ """
575
+ Identifier. Name of the resource.
576
+ Format:projects/{project}/locations/{location}/codeToolsSettings/{codeToolsSetting}
577
+ """
578
+ return pulumi.get(self, "name")
579
+
580
+ @property
581
+ @pulumi.getter
582
+ def project(self) -> pulumi.Output[builtins.str]:
583
+ return pulumi.get(self, "project")
584
+
585
+ @property
586
+ @pulumi.getter(name="pulumiLabels")
587
+ def pulumi_labels(self) -> pulumi.Output[Mapping[str, builtins.str]]:
588
+ """
589
+ The combination of labels configured directly on the resource
590
+ and default labels configured on the provider.
591
+ """
592
+ return pulumi.get(self, "pulumi_labels")
593
+
594
+ @property
595
+ @pulumi.getter(name="updateTime")
596
+ def update_time(self) -> pulumi.Output[builtins.str]:
597
+ """
598
+ Update time stamp.
599
+ """
600
+ return pulumi.get(self, "update_time")
601
+