pulumi-gcp 7.7.1__py3-none-any.whl → 7.8.0__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- pulumi_gcp/__init__.py +43 -0
- pulumi_gcp/alloydb/instance.py +1 -1
- pulumi_gcp/blockchainnodeengine/__init__.py +10 -0
- pulumi_gcp/blockchainnodeengine/_inputs.py +388 -0
- pulumi_gcp/blockchainnodeengine/blockchain_nodes.py +791 -0
- pulumi_gcp/blockchainnodeengine/outputs.py +441 -0
- pulumi_gcp/compute/__init__.py +2 -0
- pulumi_gcp/compute/disk.py +28 -0
- pulumi_gcp/compute/get_disk.py +11 -1
- pulumi_gcp/compute/get_instance_group_manager.py +11 -1
- pulumi_gcp/compute/get_machine_types.py +143 -0
- pulumi_gcp/compute/instance_group_manager.py +28 -0
- pulumi_gcp/compute/interconnect_attachment.py +75 -0
- pulumi_gcp/compute/outputs.py +219 -0
- pulumi_gcp/compute/region_instance_group_manager.py +28 -0
- pulumi_gcp/compute/region_network_endpoint.py +556 -0
- pulumi_gcp/compute/region_network_endpoint_group.py +128 -71
- pulumi_gcp/config/__init__.pyi +2 -2
- pulumi_gcp/config/vars.py +4 -4
- pulumi_gcp/discoveryengine/__init__.py +4 -0
- pulumi_gcp/discoveryengine/_inputs.py +237 -0
- pulumi_gcp/discoveryengine/chat_engine.py +822 -0
- pulumi_gcp/discoveryengine/outputs.py +304 -0
- pulumi_gcp/discoveryengine/search_engine.py +752 -0
- pulumi_gcp/filestore/_inputs.py +1 -3
- pulumi_gcp/filestore/outputs.py +1 -3
- pulumi_gcp/memcache/instance.py +61 -0
- pulumi_gcp/netapp/__init__.py +1 -0
- pulumi_gcp/netapp/storage_pool.py +34 -6
- pulumi_gcp/netapp/volume.py +65 -2
- pulumi_gcp/netapp/volume_snapshot.py +625 -0
- pulumi_gcp/provider.py +20 -0
- pulumi_gcp/vmwareengine/private_cloud.py +0 -7
- {pulumi_gcp-7.7.1.dist-info → pulumi_gcp-7.8.0.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.7.1.dist-info → pulumi_gcp-7.8.0.dist-info}/RECORD +37 -26
- {pulumi_gcp-7.7.1.dist-info → pulumi_gcp-7.8.0.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.7.1.dist-info → pulumi_gcp-7.8.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,304 @@
|
|
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 pulumi
|
8
|
+
import pulumi.runtime
|
9
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
10
|
+
from .. import _utilities
|
11
|
+
from . import outputs
|
12
|
+
|
13
|
+
__all__ = [
|
14
|
+
'ChatEngineChatEngineConfig',
|
15
|
+
'ChatEngineChatEngineConfigAgentCreationConfig',
|
16
|
+
'ChatEngineChatEngineMetadata',
|
17
|
+
'ChatEngineCommonConfig',
|
18
|
+
'SearchEngineCommonConfig',
|
19
|
+
'SearchEngineSearchEngineConfig',
|
20
|
+
]
|
21
|
+
|
22
|
+
@pulumi.output_type
|
23
|
+
class ChatEngineChatEngineConfig(dict):
|
24
|
+
@staticmethod
|
25
|
+
def __key_warning(key: str):
|
26
|
+
suggest = None
|
27
|
+
if key == "agentCreationConfig":
|
28
|
+
suggest = "agent_creation_config"
|
29
|
+
|
30
|
+
if suggest:
|
31
|
+
pulumi.log.warn(f"Key '{key}' not found in ChatEngineChatEngineConfig. Access the value via the '{suggest}' property getter instead.")
|
32
|
+
|
33
|
+
def __getitem__(self, key: str) -> Any:
|
34
|
+
ChatEngineChatEngineConfig.__key_warning(key)
|
35
|
+
return super().__getitem__(key)
|
36
|
+
|
37
|
+
def get(self, key: str, default = None) -> Any:
|
38
|
+
ChatEngineChatEngineConfig.__key_warning(key)
|
39
|
+
return super().get(key, default)
|
40
|
+
|
41
|
+
def __init__(__self__, *,
|
42
|
+
agent_creation_config: 'outputs.ChatEngineChatEngineConfigAgentCreationConfig'):
|
43
|
+
"""
|
44
|
+
:param 'ChatEngineChatEngineConfigAgentCreationConfigArgs' agent_creation_config: The configuration to generate the Dialogflow agent that is associated to this Engine.
|
45
|
+
Structure is documented below.
|
46
|
+
"""
|
47
|
+
pulumi.set(__self__, "agent_creation_config", agent_creation_config)
|
48
|
+
|
49
|
+
@property
|
50
|
+
@pulumi.getter(name="agentCreationConfig")
|
51
|
+
def agent_creation_config(self) -> 'outputs.ChatEngineChatEngineConfigAgentCreationConfig':
|
52
|
+
"""
|
53
|
+
The configuration to generate the Dialogflow agent that is associated to this Engine.
|
54
|
+
Structure is documented below.
|
55
|
+
"""
|
56
|
+
return pulumi.get(self, "agent_creation_config")
|
57
|
+
|
58
|
+
|
59
|
+
@pulumi.output_type
|
60
|
+
class ChatEngineChatEngineConfigAgentCreationConfig(dict):
|
61
|
+
@staticmethod
|
62
|
+
def __key_warning(key: str):
|
63
|
+
suggest = None
|
64
|
+
if key == "defaultLanguageCode":
|
65
|
+
suggest = "default_language_code"
|
66
|
+
elif key == "timeZone":
|
67
|
+
suggest = "time_zone"
|
68
|
+
|
69
|
+
if suggest:
|
70
|
+
pulumi.log.warn(f"Key '{key}' not found in ChatEngineChatEngineConfigAgentCreationConfig. Access the value via the '{suggest}' property getter instead.")
|
71
|
+
|
72
|
+
def __getitem__(self, key: str) -> Any:
|
73
|
+
ChatEngineChatEngineConfigAgentCreationConfig.__key_warning(key)
|
74
|
+
return super().__getitem__(key)
|
75
|
+
|
76
|
+
def get(self, key: str, default = None) -> Any:
|
77
|
+
ChatEngineChatEngineConfigAgentCreationConfig.__key_warning(key)
|
78
|
+
return super().get(key, default)
|
79
|
+
|
80
|
+
def __init__(__self__, *,
|
81
|
+
default_language_code: str,
|
82
|
+
time_zone: str,
|
83
|
+
business: Optional[str] = None,
|
84
|
+
location: Optional[str] = None):
|
85
|
+
"""
|
86
|
+
:param str default_language_code: The default language of the agent as a language tag. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes.
|
87
|
+
:param str time_zone: The time zone of the agent from the [time zone database](https://www.iana.org/time-zones), e.g., America/New_York, Europe/Paris.
|
88
|
+
:param str business: Name of the company, organization or other entity that the agent represents. Used for knowledge connector LLM prompt and for knowledge search.
|
89
|
+
:param str location: Agent location for Agent creation, currently supported values: global/us/eu, it needs to be the same region as the Chat Engine.
|
90
|
+
|
91
|
+
- - -
|
92
|
+
"""
|
93
|
+
pulumi.set(__self__, "default_language_code", default_language_code)
|
94
|
+
pulumi.set(__self__, "time_zone", time_zone)
|
95
|
+
if business is not None:
|
96
|
+
pulumi.set(__self__, "business", business)
|
97
|
+
if location is not None:
|
98
|
+
pulumi.set(__self__, "location", location)
|
99
|
+
|
100
|
+
@property
|
101
|
+
@pulumi.getter(name="defaultLanguageCode")
|
102
|
+
def default_language_code(self) -> str:
|
103
|
+
"""
|
104
|
+
The default language of the agent as a language tag. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes.
|
105
|
+
"""
|
106
|
+
return pulumi.get(self, "default_language_code")
|
107
|
+
|
108
|
+
@property
|
109
|
+
@pulumi.getter(name="timeZone")
|
110
|
+
def time_zone(self) -> str:
|
111
|
+
"""
|
112
|
+
The time zone of the agent from the [time zone database](https://www.iana.org/time-zones), e.g., America/New_York, Europe/Paris.
|
113
|
+
"""
|
114
|
+
return pulumi.get(self, "time_zone")
|
115
|
+
|
116
|
+
@property
|
117
|
+
@pulumi.getter
|
118
|
+
def business(self) -> Optional[str]:
|
119
|
+
"""
|
120
|
+
Name of the company, organization or other entity that the agent represents. Used for knowledge connector LLM prompt and for knowledge search.
|
121
|
+
"""
|
122
|
+
return pulumi.get(self, "business")
|
123
|
+
|
124
|
+
@property
|
125
|
+
@pulumi.getter
|
126
|
+
def location(self) -> Optional[str]:
|
127
|
+
"""
|
128
|
+
Agent location for Agent creation, currently supported values: global/us/eu, it needs to be the same region as the Chat Engine.
|
129
|
+
|
130
|
+
- - -
|
131
|
+
"""
|
132
|
+
return pulumi.get(self, "location")
|
133
|
+
|
134
|
+
|
135
|
+
@pulumi.output_type
|
136
|
+
class ChatEngineChatEngineMetadata(dict):
|
137
|
+
@staticmethod
|
138
|
+
def __key_warning(key: str):
|
139
|
+
suggest = None
|
140
|
+
if key == "dialogflowAgent":
|
141
|
+
suggest = "dialogflow_agent"
|
142
|
+
|
143
|
+
if suggest:
|
144
|
+
pulumi.log.warn(f"Key '{key}' not found in ChatEngineChatEngineMetadata. Access the value via the '{suggest}' property getter instead.")
|
145
|
+
|
146
|
+
def __getitem__(self, key: str) -> Any:
|
147
|
+
ChatEngineChatEngineMetadata.__key_warning(key)
|
148
|
+
return super().__getitem__(key)
|
149
|
+
|
150
|
+
def get(self, key: str, default = None) -> Any:
|
151
|
+
ChatEngineChatEngineMetadata.__key_warning(key)
|
152
|
+
return super().get(key, default)
|
153
|
+
|
154
|
+
def __init__(__self__, *,
|
155
|
+
dialogflow_agent: Optional[str] = None):
|
156
|
+
"""
|
157
|
+
:param str dialogflow_agent: (Output)
|
158
|
+
The resource name of a Dialogflow agent, that this Chat Engine refers to.
|
159
|
+
"""
|
160
|
+
if dialogflow_agent is not None:
|
161
|
+
pulumi.set(__self__, "dialogflow_agent", dialogflow_agent)
|
162
|
+
|
163
|
+
@property
|
164
|
+
@pulumi.getter(name="dialogflowAgent")
|
165
|
+
def dialogflow_agent(self) -> Optional[str]:
|
166
|
+
"""
|
167
|
+
(Output)
|
168
|
+
The resource name of a Dialogflow agent, that this Chat Engine refers to.
|
169
|
+
"""
|
170
|
+
return pulumi.get(self, "dialogflow_agent")
|
171
|
+
|
172
|
+
|
173
|
+
@pulumi.output_type
|
174
|
+
class ChatEngineCommonConfig(dict):
|
175
|
+
@staticmethod
|
176
|
+
def __key_warning(key: str):
|
177
|
+
suggest = None
|
178
|
+
if key == "companyName":
|
179
|
+
suggest = "company_name"
|
180
|
+
|
181
|
+
if suggest:
|
182
|
+
pulumi.log.warn(f"Key '{key}' not found in ChatEngineCommonConfig. Access the value via the '{suggest}' property getter instead.")
|
183
|
+
|
184
|
+
def __getitem__(self, key: str) -> Any:
|
185
|
+
ChatEngineCommonConfig.__key_warning(key)
|
186
|
+
return super().__getitem__(key)
|
187
|
+
|
188
|
+
def get(self, key: str, default = None) -> Any:
|
189
|
+
ChatEngineCommonConfig.__key_warning(key)
|
190
|
+
return super().get(key, default)
|
191
|
+
|
192
|
+
def __init__(__self__, *,
|
193
|
+
company_name: Optional[str] = None):
|
194
|
+
"""
|
195
|
+
:param str company_name: The name of the company, business or entity that is associated with the engine. Setting this may help improve LLM related features.
|
196
|
+
"""
|
197
|
+
if company_name is not None:
|
198
|
+
pulumi.set(__self__, "company_name", company_name)
|
199
|
+
|
200
|
+
@property
|
201
|
+
@pulumi.getter(name="companyName")
|
202
|
+
def company_name(self) -> Optional[str]:
|
203
|
+
"""
|
204
|
+
The name of the company, business or entity that is associated with the engine. Setting this may help improve LLM related features.
|
205
|
+
"""
|
206
|
+
return pulumi.get(self, "company_name")
|
207
|
+
|
208
|
+
|
209
|
+
@pulumi.output_type
|
210
|
+
class SearchEngineCommonConfig(dict):
|
211
|
+
@staticmethod
|
212
|
+
def __key_warning(key: str):
|
213
|
+
suggest = None
|
214
|
+
if key == "companyName":
|
215
|
+
suggest = "company_name"
|
216
|
+
|
217
|
+
if suggest:
|
218
|
+
pulumi.log.warn(f"Key '{key}' not found in SearchEngineCommonConfig. Access the value via the '{suggest}' property getter instead.")
|
219
|
+
|
220
|
+
def __getitem__(self, key: str) -> Any:
|
221
|
+
SearchEngineCommonConfig.__key_warning(key)
|
222
|
+
return super().__getitem__(key)
|
223
|
+
|
224
|
+
def get(self, key: str, default = None) -> Any:
|
225
|
+
SearchEngineCommonConfig.__key_warning(key)
|
226
|
+
return super().get(key, default)
|
227
|
+
|
228
|
+
def __init__(__self__, *,
|
229
|
+
company_name: Optional[str] = None):
|
230
|
+
"""
|
231
|
+
:param str company_name: The name of the company, business or entity that is associated with the engine. Setting this may help improve LLM related features.cd
|
232
|
+
"""
|
233
|
+
if company_name is not None:
|
234
|
+
pulumi.set(__self__, "company_name", company_name)
|
235
|
+
|
236
|
+
@property
|
237
|
+
@pulumi.getter(name="companyName")
|
238
|
+
def company_name(self) -> Optional[str]:
|
239
|
+
"""
|
240
|
+
The name of the company, business or entity that is associated with the engine. Setting this may help improve LLM related features.cd
|
241
|
+
"""
|
242
|
+
return pulumi.get(self, "company_name")
|
243
|
+
|
244
|
+
|
245
|
+
@pulumi.output_type
|
246
|
+
class SearchEngineSearchEngineConfig(dict):
|
247
|
+
@staticmethod
|
248
|
+
def __key_warning(key: str):
|
249
|
+
suggest = None
|
250
|
+
if key == "searchAddOns":
|
251
|
+
suggest = "search_add_ons"
|
252
|
+
elif key == "searchTier":
|
253
|
+
suggest = "search_tier"
|
254
|
+
|
255
|
+
if suggest:
|
256
|
+
pulumi.log.warn(f"Key '{key}' not found in SearchEngineSearchEngineConfig. Access the value via the '{suggest}' property getter instead.")
|
257
|
+
|
258
|
+
def __getitem__(self, key: str) -> Any:
|
259
|
+
SearchEngineSearchEngineConfig.__key_warning(key)
|
260
|
+
return super().__getitem__(key)
|
261
|
+
|
262
|
+
def get(self, key: str, default = None) -> Any:
|
263
|
+
SearchEngineSearchEngineConfig.__key_warning(key)
|
264
|
+
return super().get(key, default)
|
265
|
+
|
266
|
+
def __init__(__self__, *,
|
267
|
+
search_add_ons: Optional[Sequence[str]] = None,
|
268
|
+
search_tier: Optional[str] = None):
|
269
|
+
"""
|
270
|
+
:param Sequence[str] search_add_ons: The add-on that this search engine enables.
|
271
|
+
Each value may be one of: `SEARCH_ADD_ON_LLM`.
|
272
|
+
|
273
|
+
- - -
|
274
|
+
:param str search_tier: The search feature tier of this engine. Defaults to SearchTier.SEARCH_TIER_STANDARD if not specified.
|
275
|
+
Default value is `SEARCH_TIER_STANDARD`.
|
276
|
+
Possible values are: `SEARCH_TIER_STANDARD`, `SEARCH_TIER_ENTERPRISE`.
|
277
|
+
"""
|
278
|
+
if search_add_ons is not None:
|
279
|
+
pulumi.set(__self__, "search_add_ons", search_add_ons)
|
280
|
+
if search_tier is not None:
|
281
|
+
pulumi.set(__self__, "search_tier", search_tier)
|
282
|
+
|
283
|
+
@property
|
284
|
+
@pulumi.getter(name="searchAddOns")
|
285
|
+
def search_add_ons(self) -> Optional[Sequence[str]]:
|
286
|
+
"""
|
287
|
+
The add-on that this search engine enables.
|
288
|
+
Each value may be one of: `SEARCH_ADD_ON_LLM`.
|
289
|
+
|
290
|
+
- - -
|
291
|
+
"""
|
292
|
+
return pulumi.get(self, "search_add_ons")
|
293
|
+
|
294
|
+
@property
|
295
|
+
@pulumi.getter(name="searchTier")
|
296
|
+
def search_tier(self) -> Optional[str]:
|
297
|
+
"""
|
298
|
+
The search feature tier of this engine. Defaults to SearchTier.SEARCH_TIER_STANDARD if not specified.
|
299
|
+
Default value is `SEARCH_TIER_STANDARD`.
|
300
|
+
Possible values are: `SEARCH_TIER_STANDARD`, `SEARCH_TIER_ENTERPRISE`.
|
301
|
+
"""
|
302
|
+
return pulumi.get(self, "search_tier")
|
303
|
+
|
304
|
+
|