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