pulumi-gcp 8.40.0a1754721948__py3-none-any.whl → 8.41.0a1754981061__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 (157) hide show
  1. pulumi_gcp/__init__.py +128 -0
  2. pulumi_gcp/accesscontextmanager/_inputs.py +24 -4
  3. pulumi_gcp/accesscontextmanager/outputs.py +15 -3
  4. pulumi_gcp/apigee/__init__.py +2 -0
  5. pulumi_gcp/apigee/_inputs.py +1435 -0
  6. pulumi_gcp/apigee/api_product.py +1698 -0
  7. pulumi_gcp/apigee/outputs.py +1081 -0
  8. pulumi_gcp/apigee/security_action.py +1010 -0
  9. pulumi_gcp/artifactregistry/__init__.py +1 -0
  10. pulumi_gcp/artifactregistry/get_docker_images.py +164 -0
  11. pulumi_gcp/artifactregistry/outputs.py +109 -2
  12. pulumi_gcp/artifactregistry/repository.py +6 -6
  13. pulumi_gcp/backupdisasterrecovery/backup_vault.py +56 -0
  14. pulumi_gcp/backupdisasterrecovery/get_backup_vault.py +12 -1
  15. pulumi_gcp/bigquery/_inputs.py +6 -0
  16. pulumi_gcp/bigquery/get_table.py +23 -1
  17. pulumi_gcp/bigquery/outputs.py +4 -0
  18. pulumi_gcp/bigquery/table.py +62 -0
  19. pulumi_gcp/bigqueryanalyticshub/_inputs.py +180 -0
  20. pulumi_gcp/bigqueryanalyticshub/data_exchange.py +80 -0
  21. pulumi_gcp/bigqueryanalyticshub/listing.py +322 -2
  22. pulumi_gcp/bigqueryanalyticshub/listing_subscription.py +32 -0
  23. pulumi_gcp/bigqueryanalyticshub/outputs.py +159 -0
  24. pulumi_gcp/bigtable/__init__.py +1 -0
  25. pulumi_gcp/bigtable/_inputs.py +33 -0
  26. pulumi_gcp/bigtable/outputs.py +36 -0
  27. pulumi_gcp/bigtable/schema_bundle.py +568 -0
  28. pulumi_gcp/cloudfunctions/_inputs.py +48 -0
  29. pulumi_gcp/cloudfunctions/function.py +94 -0
  30. pulumi_gcp/cloudfunctions/get_function.py +23 -1
  31. pulumi_gcp/cloudfunctions/outputs.py +70 -0
  32. pulumi_gcp/cloudrunv2/_inputs.py +20 -0
  33. pulumi_gcp/cloudrunv2/job.py +2 -0
  34. pulumi_gcp/cloudrunv2/outputs.py +25 -0
  35. pulumi_gcp/cloudrunv2/worker_pool.py +2 -0
  36. pulumi_gcp/compute/__init__.py +1 -0
  37. pulumi_gcp/compute/_inputs.py +713 -22
  38. pulumi_gcp/compute/firewall_policy_with_rules.py +66 -0
  39. pulumi_gcp/compute/forwarding_rule.py +0 -21
  40. pulumi_gcp/compute/get_router.py +12 -1
  41. pulumi_gcp/compute/outputs.py +562 -22
  42. pulumi_gcp/compute/preview_feature.py +396 -0
  43. pulumi_gcp/compute/region_url_map.py +392 -0
  44. pulumi_gcp/compute/reservation.py +4 -4
  45. pulumi_gcp/compute/router.py +54 -0
  46. pulumi_gcp/compute/storage_pool.py +154 -0
  47. pulumi_gcp/compute/subnetwork.py +54 -0
  48. pulumi_gcp/config/__init__.pyi +2 -0
  49. pulumi_gcp/config/vars.py +4 -0
  50. pulumi_gcp/container/_inputs.py +278 -8
  51. pulumi_gcp/container/cluster.py +61 -21
  52. pulumi_gcp/container/get_cluster.py +12 -1
  53. pulumi_gcp/container/outputs.py +352 -8
  54. pulumi_gcp/dataproc/_inputs.py +249 -14
  55. pulumi_gcp/dataproc/batch.py +6 -0
  56. pulumi_gcp/dataproc/cluster.py +2 -0
  57. pulumi_gcp/dataproc/outputs.py +215 -12
  58. pulumi_gcp/dataproc/session_template.py +14 -2
  59. pulumi_gcp/developerconnect/__init__.py +1 -0
  60. pulumi_gcp/developerconnect/_inputs.py +583 -0
  61. pulumi_gcp/developerconnect/insights_config.py +895 -0
  62. pulumi_gcp/developerconnect/outputs.py +442 -0
  63. pulumi_gcp/diagflow/__init__.py +1 -0
  64. pulumi_gcp/diagflow/_inputs.py +1165 -58
  65. pulumi_gcp/diagflow/cx_generator.py +636 -0
  66. pulumi_gcp/diagflow/cx_tool.py +2 -2
  67. pulumi_gcp/diagflow/cx_webhook.py +380 -36
  68. pulumi_gcp/diagflow/outputs.py +848 -25
  69. pulumi_gcp/discoveryengine/__init__.py +2 -0
  70. pulumi_gcp/discoveryengine/_inputs.py +465 -0
  71. pulumi_gcp/discoveryengine/cmek_config.py +707 -0
  72. pulumi_gcp/discoveryengine/outputs.py +412 -0
  73. pulumi_gcp/discoveryengine/recommendation_engine.py +813 -0
  74. pulumi_gcp/firestore/field.py +6 -6
  75. pulumi_gcp/gemini/gemini_gcp_enablement_setting.py +107 -9
  76. pulumi_gcp/gemini/gemini_gcp_enablement_setting_binding.py +2 -2
  77. pulumi_gcp/gkehub/membership_binding.py +6 -6
  78. pulumi_gcp/gkehub/membership_rbac_role_binding.py +4 -4
  79. pulumi_gcp/gkehub/namespace.py +4 -4
  80. pulumi_gcp/gkehub/scope_rbac_role_binding.py +8 -8
  81. pulumi_gcp/iam/__init__.py +4 -0
  82. pulumi_gcp/iam/_inputs.py +98 -0
  83. pulumi_gcp/iam/get_workforce_pool_iam_policy.py +161 -0
  84. pulumi_gcp/iam/outputs.py +56 -0
  85. pulumi_gcp/iam/workforce_pool_iam_binding.py +761 -0
  86. pulumi_gcp/iam/workforce_pool_iam_member.py +761 -0
  87. pulumi_gcp/iam/workforce_pool_iam_policy.py +600 -0
  88. pulumi_gcp/iap/tunnel_dest_group.py +2 -2
  89. pulumi_gcp/integrationconnectors/managed_zone.py +8 -8
  90. pulumi_gcp/looker/instance.py +28 -7
  91. pulumi_gcp/managedkafka/_inputs.py +127 -0
  92. pulumi_gcp/managedkafka/cluster.py +131 -1
  93. pulumi_gcp/managedkafka/connect_cluster.py +4 -4
  94. pulumi_gcp/managedkafka/connector.py +4 -4
  95. pulumi_gcp/managedkafka/outputs.py +128 -0
  96. pulumi_gcp/memorystore/instance.py +8 -12
  97. pulumi_gcp/modelarmor/__init__.py +1 -0
  98. pulumi_gcp/modelarmor/_inputs.py +683 -0
  99. pulumi_gcp/modelarmor/floorsetting.py +736 -0
  100. pulumi_gcp/modelarmor/outputs.py +618 -0
  101. pulumi_gcp/networkconnectivity/_inputs.py +60 -0
  102. pulumi_gcp/networkconnectivity/internal_range.py +136 -0
  103. pulumi_gcp/networkconnectivity/outputs.py +55 -0
  104. pulumi_gcp/networkconnectivity/spoke.py +14 -14
  105. pulumi_gcp/oracledatabase/__init__.py +2 -0
  106. pulumi_gcp/oracledatabase/autonomous_database.py +262 -38
  107. pulumi_gcp/oracledatabase/cloud_vm_cluster.py +314 -50
  108. pulumi_gcp/oracledatabase/get_autonomous_database.py +23 -1
  109. pulumi_gcp/oracledatabase/get_cloud_vm_cluster.py +34 -1
  110. pulumi_gcp/oracledatabase/odb_network.py +721 -0
  111. pulumi_gcp/oracledatabase/odb_subnet.py +803 -0
  112. pulumi_gcp/oracledatabase/outputs.py +83 -0
  113. pulumi_gcp/orgpolicy/policy.py +2 -2
  114. pulumi_gcp/parametermanager/parameter_version.py +62 -0
  115. pulumi_gcp/parametermanager/regional_parameter_version.py +64 -0
  116. pulumi_gcp/provider.py +20 -0
  117. pulumi_gcp/pubsub/subscription.py +46 -6
  118. pulumi_gcp/pubsub/topic.py +36 -0
  119. pulumi_gcp/pulumi-plugin.json +1 -1
  120. pulumi_gcp/redis/cluster.py +70 -0
  121. pulumi_gcp/redis/get_cluster.py +12 -1
  122. pulumi_gcp/redis/instance.py +8 -12
  123. pulumi_gcp/secretmanager/get_regional_secret.py +12 -1
  124. pulumi_gcp/secretmanager/get_secret.py +12 -1
  125. pulumi_gcp/secretmanager/outputs.py +30 -0
  126. pulumi_gcp/secretmanager/regional_secret.py +61 -0
  127. pulumi_gcp/secretmanager/secret.py +61 -0
  128. pulumi_gcp/securesourcemanager/branch_rule.py +16 -8
  129. pulumi_gcp/securesourcemanager/instance.py +112 -4
  130. pulumi_gcp/securesourcemanager/repository.py +112 -8
  131. pulumi_gcp/serviceaccount/get_account_key.py +1 -0
  132. pulumi_gcp/sql/_inputs.py +6 -6
  133. pulumi_gcp/sql/database.py +0 -12
  134. pulumi_gcp/sql/outputs.py +4 -4
  135. pulumi_gcp/storage/__init__.py +2 -0
  136. pulumi_gcp/storage/_inputs.py +451 -0
  137. pulumi_gcp/storage/bucket.py +7 -7
  138. pulumi_gcp/storage/bucket_object.py +34 -0
  139. pulumi_gcp/storage/get_bucket_object.py +12 -1
  140. pulumi_gcp/storage/get_bucket_object_content.py +12 -1
  141. pulumi_gcp/storage/get_insights_dataset_config.py +363 -0
  142. pulumi_gcp/storage/insights_dataset_config.py +1280 -0
  143. pulumi_gcp/storage/outputs.py +619 -0
  144. pulumi_gcp/vertex/__init__.py +1 -0
  145. pulumi_gcp/vertex/_inputs.py +3646 -3
  146. pulumi_gcp/vertex/ai_endpoint.py +4 -4
  147. pulumi_gcp/vertex/ai_endpoint_with_model_garden_deployment.py +940 -0
  148. pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
  149. pulumi_gcp/vertex/outputs.py +2609 -2
  150. pulumi_gcp/vmwareengine/network_peering.py +7 -7
  151. pulumi_gcp/workbench/_inputs.py +118 -0
  152. pulumi_gcp/workbench/instance.py +171 -2
  153. pulumi_gcp/workbench/outputs.py +91 -0
  154. {pulumi_gcp-8.40.0a1754721948.dist-info → pulumi_gcp-8.41.0a1754981061.dist-info}/METADATA +1 -1
  155. {pulumi_gcp-8.40.0a1754721948.dist-info → pulumi_gcp-8.41.0a1754981061.dist-info}/RECORD +157 -138
  156. {pulumi_gcp-8.40.0a1754721948.dist-info → pulumi_gcp-8.41.0a1754981061.dist-info}/WHEEL +0 -0
  157. {pulumi_gcp-8.40.0a1754721948.dist-info → pulumi_gcp-8.41.0a1754981061.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,636 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import builtins as _builtins
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
+ from . import outputs
17
+ from ._inputs import *
18
+
19
+ __all__ = ['CxGeneratorArgs', 'CxGenerator']
20
+
21
+ @pulumi.input_type
22
+ class CxGeneratorArgs:
23
+ def __init__(__self__, *,
24
+ display_name: pulumi.Input[_builtins.str],
25
+ prompt_text: pulumi.Input['CxGeneratorPromptTextArgs'],
26
+ language_code: Optional[pulumi.Input[_builtins.str]] = None,
27
+ llm_model_settings: Optional[pulumi.Input['CxGeneratorLlmModelSettingsArgs']] = None,
28
+ model_parameter: Optional[pulumi.Input['CxGeneratorModelParameterArgs']] = None,
29
+ parent: Optional[pulumi.Input[_builtins.str]] = None,
30
+ placeholders: Optional[pulumi.Input[Sequence[pulumi.Input['CxGeneratorPlaceholderArgs']]]] = None):
31
+ """
32
+ The set of arguments for constructing a CxGenerator resource.
33
+ :param pulumi.Input[_builtins.str] display_name: The human-readable name of the generator, unique within the agent.
34
+ :param pulumi.Input['CxGeneratorPromptTextArgs'] prompt_text: Prompt for the LLM model.
35
+ Structure is documented below.
36
+ :param pulumi.Input[_builtins.str] language_code: The language to create generators for the following fields:
37
+ * Generator.prompt_text.text
38
+ If not specified, the agent's default language is used.
39
+ :param pulumi.Input['CxGeneratorLlmModelSettingsArgs'] llm_model_settings: The LLM model settings.
40
+ Structure is documented below.
41
+ :param pulumi.Input['CxGeneratorModelParameterArgs'] model_parameter: Parameters passed to the LLM to configure its behavior.
42
+ Structure is documented below.
43
+ :param pulumi.Input[_builtins.str] parent: The agent to create a Generator for.
44
+ Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.
45
+ :param pulumi.Input[Sequence[pulumi.Input['CxGeneratorPlaceholderArgs']]] placeholders: List of custom placeholders in the prompt text.
46
+ Structure is documented below.
47
+ """
48
+ pulumi.set(__self__, "display_name", display_name)
49
+ pulumi.set(__self__, "prompt_text", prompt_text)
50
+ if language_code is not None:
51
+ pulumi.set(__self__, "language_code", language_code)
52
+ if llm_model_settings is not None:
53
+ pulumi.set(__self__, "llm_model_settings", llm_model_settings)
54
+ if model_parameter is not None:
55
+ pulumi.set(__self__, "model_parameter", model_parameter)
56
+ if parent is not None:
57
+ pulumi.set(__self__, "parent", parent)
58
+ if placeholders is not None:
59
+ pulumi.set(__self__, "placeholders", placeholders)
60
+
61
+ @_builtins.property
62
+ @pulumi.getter(name="displayName")
63
+ def display_name(self) -> pulumi.Input[_builtins.str]:
64
+ """
65
+ The human-readable name of the generator, unique within the agent.
66
+ """
67
+ return pulumi.get(self, "display_name")
68
+
69
+ @display_name.setter
70
+ def display_name(self, value: pulumi.Input[_builtins.str]):
71
+ pulumi.set(self, "display_name", value)
72
+
73
+ @_builtins.property
74
+ @pulumi.getter(name="promptText")
75
+ def prompt_text(self) -> pulumi.Input['CxGeneratorPromptTextArgs']:
76
+ """
77
+ Prompt for the LLM model.
78
+ Structure is documented below.
79
+ """
80
+ return pulumi.get(self, "prompt_text")
81
+
82
+ @prompt_text.setter
83
+ def prompt_text(self, value: pulumi.Input['CxGeneratorPromptTextArgs']):
84
+ pulumi.set(self, "prompt_text", value)
85
+
86
+ @_builtins.property
87
+ @pulumi.getter(name="languageCode")
88
+ def language_code(self) -> Optional[pulumi.Input[_builtins.str]]:
89
+ """
90
+ The language to create generators for the following fields:
91
+ * Generator.prompt_text.text
92
+ If not specified, the agent's default language is used.
93
+ """
94
+ return pulumi.get(self, "language_code")
95
+
96
+ @language_code.setter
97
+ def language_code(self, value: Optional[pulumi.Input[_builtins.str]]):
98
+ pulumi.set(self, "language_code", value)
99
+
100
+ @_builtins.property
101
+ @pulumi.getter(name="llmModelSettings")
102
+ def llm_model_settings(self) -> Optional[pulumi.Input['CxGeneratorLlmModelSettingsArgs']]:
103
+ """
104
+ The LLM model settings.
105
+ Structure is documented below.
106
+ """
107
+ return pulumi.get(self, "llm_model_settings")
108
+
109
+ @llm_model_settings.setter
110
+ def llm_model_settings(self, value: Optional[pulumi.Input['CxGeneratorLlmModelSettingsArgs']]):
111
+ pulumi.set(self, "llm_model_settings", value)
112
+
113
+ @_builtins.property
114
+ @pulumi.getter(name="modelParameter")
115
+ def model_parameter(self) -> Optional[pulumi.Input['CxGeneratorModelParameterArgs']]:
116
+ """
117
+ Parameters passed to the LLM to configure its behavior.
118
+ Structure is documented below.
119
+ """
120
+ return pulumi.get(self, "model_parameter")
121
+
122
+ @model_parameter.setter
123
+ def model_parameter(self, value: Optional[pulumi.Input['CxGeneratorModelParameterArgs']]):
124
+ pulumi.set(self, "model_parameter", value)
125
+
126
+ @_builtins.property
127
+ @pulumi.getter
128
+ def parent(self) -> Optional[pulumi.Input[_builtins.str]]:
129
+ """
130
+ The agent to create a Generator for.
131
+ Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.
132
+ """
133
+ return pulumi.get(self, "parent")
134
+
135
+ @parent.setter
136
+ def parent(self, value: Optional[pulumi.Input[_builtins.str]]):
137
+ pulumi.set(self, "parent", value)
138
+
139
+ @_builtins.property
140
+ @pulumi.getter
141
+ def placeholders(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['CxGeneratorPlaceholderArgs']]]]:
142
+ """
143
+ List of custom placeholders in the prompt text.
144
+ Structure is documented below.
145
+ """
146
+ return pulumi.get(self, "placeholders")
147
+
148
+ @placeholders.setter
149
+ def placeholders(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['CxGeneratorPlaceholderArgs']]]]):
150
+ pulumi.set(self, "placeholders", value)
151
+
152
+
153
+ @pulumi.input_type
154
+ class _CxGeneratorState:
155
+ def __init__(__self__, *,
156
+ display_name: Optional[pulumi.Input[_builtins.str]] = None,
157
+ language_code: Optional[pulumi.Input[_builtins.str]] = None,
158
+ llm_model_settings: Optional[pulumi.Input['CxGeneratorLlmModelSettingsArgs']] = None,
159
+ model_parameter: Optional[pulumi.Input['CxGeneratorModelParameterArgs']] = None,
160
+ name: Optional[pulumi.Input[_builtins.str]] = None,
161
+ parent: Optional[pulumi.Input[_builtins.str]] = None,
162
+ placeholders: Optional[pulumi.Input[Sequence[pulumi.Input['CxGeneratorPlaceholderArgs']]]] = None,
163
+ prompt_text: Optional[pulumi.Input['CxGeneratorPromptTextArgs']] = None):
164
+ """
165
+ Input properties used for looking up and filtering CxGenerator resources.
166
+ :param pulumi.Input[_builtins.str] display_name: The human-readable name of the generator, unique within the agent.
167
+ :param pulumi.Input[_builtins.str] language_code: The language to create generators for the following fields:
168
+ * Generator.prompt_text.text
169
+ If not specified, the agent's default language is used.
170
+ :param pulumi.Input['CxGeneratorLlmModelSettingsArgs'] llm_model_settings: The LLM model settings.
171
+ Structure is documented below.
172
+ :param pulumi.Input['CxGeneratorModelParameterArgs'] model_parameter: Parameters passed to the LLM to configure its behavior.
173
+ Structure is documented below.
174
+ :param pulumi.Input[_builtins.str] name: The unique identifier of the Generator.
175
+ Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/generators/<Generator ID>.
176
+ :param pulumi.Input[_builtins.str] parent: The agent to create a Generator for.
177
+ Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.
178
+ :param pulumi.Input[Sequence[pulumi.Input['CxGeneratorPlaceholderArgs']]] placeholders: List of custom placeholders in the prompt text.
179
+ Structure is documented below.
180
+ :param pulumi.Input['CxGeneratorPromptTextArgs'] prompt_text: Prompt for the LLM model.
181
+ Structure is documented below.
182
+ """
183
+ if display_name is not None:
184
+ pulumi.set(__self__, "display_name", display_name)
185
+ if language_code is not None:
186
+ pulumi.set(__self__, "language_code", language_code)
187
+ if llm_model_settings is not None:
188
+ pulumi.set(__self__, "llm_model_settings", llm_model_settings)
189
+ if model_parameter is not None:
190
+ pulumi.set(__self__, "model_parameter", model_parameter)
191
+ if name is not None:
192
+ pulumi.set(__self__, "name", name)
193
+ if parent is not None:
194
+ pulumi.set(__self__, "parent", parent)
195
+ if placeholders is not None:
196
+ pulumi.set(__self__, "placeholders", placeholders)
197
+ if prompt_text is not None:
198
+ pulumi.set(__self__, "prompt_text", prompt_text)
199
+
200
+ @_builtins.property
201
+ @pulumi.getter(name="displayName")
202
+ def display_name(self) -> Optional[pulumi.Input[_builtins.str]]:
203
+ """
204
+ The human-readable name of the generator, unique within the agent.
205
+ """
206
+ return pulumi.get(self, "display_name")
207
+
208
+ @display_name.setter
209
+ def display_name(self, value: Optional[pulumi.Input[_builtins.str]]):
210
+ pulumi.set(self, "display_name", value)
211
+
212
+ @_builtins.property
213
+ @pulumi.getter(name="languageCode")
214
+ def language_code(self) -> Optional[pulumi.Input[_builtins.str]]:
215
+ """
216
+ The language to create generators for the following fields:
217
+ * Generator.prompt_text.text
218
+ If not specified, the agent's default language is used.
219
+ """
220
+ return pulumi.get(self, "language_code")
221
+
222
+ @language_code.setter
223
+ def language_code(self, value: Optional[pulumi.Input[_builtins.str]]):
224
+ pulumi.set(self, "language_code", value)
225
+
226
+ @_builtins.property
227
+ @pulumi.getter(name="llmModelSettings")
228
+ def llm_model_settings(self) -> Optional[pulumi.Input['CxGeneratorLlmModelSettingsArgs']]:
229
+ """
230
+ The LLM model settings.
231
+ Structure is documented below.
232
+ """
233
+ return pulumi.get(self, "llm_model_settings")
234
+
235
+ @llm_model_settings.setter
236
+ def llm_model_settings(self, value: Optional[pulumi.Input['CxGeneratorLlmModelSettingsArgs']]):
237
+ pulumi.set(self, "llm_model_settings", value)
238
+
239
+ @_builtins.property
240
+ @pulumi.getter(name="modelParameter")
241
+ def model_parameter(self) -> Optional[pulumi.Input['CxGeneratorModelParameterArgs']]:
242
+ """
243
+ Parameters passed to the LLM to configure its behavior.
244
+ Structure is documented below.
245
+ """
246
+ return pulumi.get(self, "model_parameter")
247
+
248
+ @model_parameter.setter
249
+ def model_parameter(self, value: Optional[pulumi.Input['CxGeneratorModelParameterArgs']]):
250
+ pulumi.set(self, "model_parameter", value)
251
+
252
+ @_builtins.property
253
+ @pulumi.getter
254
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
255
+ """
256
+ The unique identifier of the Generator.
257
+ Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/generators/<Generator ID>.
258
+ """
259
+ return pulumi.get(self, "name")
260
+
261
+ @name.setter
262
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
263
+ pulumi.set(self, "name", value)
264
+
265
+ @_builtins.property
266
+ @pulumi.getter
267
+ def parent(self) -> Optional[pulumi.Input[_builtins.str]]:
268
+ """
269
+ The agent to create a Generator for.
270
+ Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.
271
+ """
272
+ return pulumi.get(self, "parent")
273
+
274
+ @parent.setter
275
+ def parent(self, value: Optional[pulumi.Input[_builtins.str]]):
276
+ pulumi.set(self, "parent", value)
277
+
278
+ @_builtins.property
279
+ @pulumi.getter
280
+ def placeholders(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['CxGeneratorPlaceholderArgs']]]]:
281
+ """
282
+ List of custom placeholders in the prompt text.
283
+ Structure is documented below.
284
+ """
285
+ return pulumi.get(self, "placeholders")
286
+
287
+ @placeholders.setter
288
+ def placeholders(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['CxGeneratorPlaceholderArgs']]]]):
289
+ pulumi.set(self, "placeholders", value)
290
+
291
+ @_builtins.property
292
+ @pulumi.getter(name="promptText")
293
+ def prompt_text(self) -> Optional[pulumi.Input['CxGeneratorPromptTextArgs']]:
294
+ """
295
+ Prompt for the LLM model.
296
+ Structure is documented below.
297
+ """
298
+ return pulumi.get(self, "prompt_text")
299
+
300
+ @prompt_text.setter
301
+ def prompt_text(self, value: Optional[pulumi.Input['CxGeneratorPromptTextArgs']]):
302
+ pulumi.set(self, "prompt_text", value)
303
+
304
+
305
+ @pulumi.type_token("gcp:diagflow/cxGenerator:CxGenerator")
306
+ class CxGenerator(pulumi.CustomResource):
307
+ @overload
308
+ def __init__(__self__,
309
+ resource_name: str,
310
+ opts: Optional[pulumi.ResourceOptions] = None,
311
+ display_name: Optional[pulumi.Input[_builtins.str]] = None,
312
+ language_code: Optional[pulumi.Input[_builtins.str]] = None,
313
+ llm_model_settings: Optional[pulumi.Input[Union['CxGeneratorLlmModelSettingsArgs', 'CxGeneratorLlmModelSettingsArgsDict']]] = None,
314
+ model_parameter: Optional[pulumi.Input[Union['CxGeneratorModelParameterArgs', 'CxGeneratorModelParameterArgsDict']]] = None,
315
+ parent: Optional[pulumi.Input[_builtins.str]] = None,
316
+ placeholders: Optional[pulumi.Input[Sequence[pulumi.Input[Union['CxGeneratorPlaceholderArgs', 'CxGeneratorPlaceholderArgsDict']]]]] = None,
317
+ prompt_text: Optional[pulumi.Input[Union['CxGeneratorPromptTextArgs', 'CxGeneratorPromptTextArgsDict']]] = None,
318
+ __props__=None):
319
+ """
320
+ Generators contain prompt to be sent to the LLM model to generate text. The prompt can contain parameters which will be resolved before calling the model. It can optionally contain banned phrases to ensure the model responses are safe.
321
+
322
+ To get more information about Generator, see:
323
+
324
+ * [API documentation](https://cloud.google.com/dialogflow/cx/docs/reference/rest/v3/projects.locations.agents.generators)
325
+ * How-to Guides
326
+ * [Official Documentation](https://cloud.google.com/dialogflow/cx/docs)
327
+
328
+ ## Example Usage
329
+
330
+ ### Dialogflowcx Generator Basic
331
+
332
+ ```python
333
+ import pulumi
334
+ import pulumi_gcp as gcp
335
+
336
+ agent = gcp.diagflow.CxAgent("agent",
337
+ display_name="dialogflowcx-agent-fucntion",
338
+ location="global",
339
+ default_language_code="en",
340
+ supported_language_codes=[
341
+ "fr",
342
+ "de",
343
+ "es",
344
+ ],
345
+ time_zone="America/New_York",
346
+ description="Example description.")
347
+ generator = gcp.diagflow.CxGenerator("generator",
348
+ parent=agent.id,
349
+ language_code="fr",
350
+ display_name="TF Prompt generator",
351
+ llm_model_settings={
352
+ "model": "gemini-2.0-flash-001",
353
+ "prompt_text": "Return me some great results",
354
+ },
355
+ prompt_text={
356
+ "text": "Send me great results in french",
357
+ },
358
+ model_parameter={
359
+ "temperature": 0.55,
360
+ })
361
+ ```
362
+
363
+ ## Import
364
+
365
+ Generator can be imported using any of these accepted formats:
366
+
367
+ * `{{parent}}/generators/{{name}}`
368
+
369
+ * `{{parent}}/{{name}}`
370
+
371
+ When using the `pulumi import` command, Generator can be imported using one of the formats above. For example:
372
+
373
+ ```sh
374
+ $ pulumi import gcp:diagflow/cxGenerator:CxGenerator default {{parent}}/generators/{{name}}
375
+ ```
376
+
377
+ ```sh
378
+ $ pulumi import gcp:diagflow/cxGenerator:CxGenerator default {{parent}}/{{name}}
379
+ ```
380
+
381
+ :param str resource_name: The name of the resource.
382
+ :param pulumi.ResourceOptions opts: Options for the resource.
383
+ :param pulumi.Input[_builtins.str] display_name: The human-readable name of the generator, unique within the agent.
384
+ :param pulumi.Input[_builtins.str] language_code: The language to create generators for the following fields:
385
+ * Generator.prompt_text.text
386
+ If not specified, the agent's default language is used.
387
+ :param pulumi.Input[Union['CxGeneratorLlmModelSettingsArgs', 'CxGeneratorLlmModelSettingsArgsDict']] llm_model_settings: The LLM model settings.
388
+ Structure is documented below.
389
+ :param pulumi.Input[Union['CxGeneratorModelParameterArgs', 'CxGeneratorModelParameterArgsDict']] model_parameter: Parameters passed to the LLM to configure its behavior.
390
+ Structure is documented below.
391
+ :param pulumi.Input[_builtins.str] parent: The agent to create a Generator for.
392
+ Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.
393
+ :param pulumi.Input[Sequence[pulumi.Input[Union['CxGeneratorPlaceholderArgs', 'CxGeneratorPlaceholderArgsDict']]]] placeholders: List of custom placeholders in the prompt text.
394
+ Structure is documented below.
395
+ :param pulumi.Input[Union['CxGeneratorPromptTextArgs', 'CxGeneratorPromptTextArgsDict']] prompt_text: Prompt for the LLM model.
396
+ Structure is documented below.
397
+ """
398
+ ...
399
+ @overload
400
+ def __init__(__self__,
401
+ resource_name: str,
402
+ args: CxGeneratorArgs,
403
+ opts: Optional[pulumi.ResourceOptions] = None):
404
+ """
405
+ Generators contain prompt to be sent to the LLM model to generate text. The prompt can contain parameters which will be resolved before calling the model. It can optionally contain banned phrases to ensure the model responses are safe.
406
+
407
+ To get more information about Generator, see:
408
+
409
+ * [API documentation](https://cloud.google.com/dialogflow/cx/docs/reference/rest/v3/projects.locations.agents.generators)
410
+ * How-to Guides
411
+ * [Official Documentation](https://cloud.google.com/dialogflow/cx/docs)
412
+
413
+ ## Example Usage
414
+
415
+ ### Dialogflowcx Generator Basic
416
+
417
+ ```python
418
+ import pulumi
419
+ import pulumi_gcp as gcp
420
+
421
+ agent = gcp.diagflow.CxAgent("agent",
422
+ display_name="dialogflowcx-agent-fucntion",
423
+ location="global",
424
+ default_language_code="en",
425
+ supported_language_codes=[
426
+ "fr",
427
+ "de",
428
+ "es",
429
+ ],
430
+ time_zone="America/New_York",
431
+ description="Example description.")
432
+ generator = gcp.diagflow.CxGenerator("generator",
433
+ parent=agent.id,
434
+ language_code="fr",
435
+ display_name="TF Prompt generator",
436
+ llm_model_settings={
437
+ "model": "gemini-2.0-flash-001",
438
+ "prompt_text": "Return me some great results",
439
+ },
440
+ prompt_text={
441
+ "text": "Send me great results in french",
442
+ },
443
+ model_parameter={
444
+ "temperature": 0.55,
445
+ })
446
+ ```
447
+
448
+ ## Import
449
+
450
+ Generator can be imported using any of these accepted formats:
451
+
452
+ * `{{parent}}/generators/{{name}}`
453
+
454
+ * `{{parent}}/{{name}}`
455
+
456
+ When using the `pulumi import` command, Generator can be imported using one of the formats above. For example:
457
+
458
+ ```sh
459
+ $ pulumi import gcp:diagflow/cxGenerator:CxGenerator default {{parent}}/generators/{{name}}
460
+ ```
461
+
462
+ ```sh
463
+ $ pulumi import gcp:diagflow/cxGenerator:CxGenerator default {{parent}}/{{name}}
464
+ ```
465
+
466
+ :param str resource_name: The name of the resource.
467
+ :param CxGeneratorArgs args: The arguments to use to populate this resource's properties.
468
+ :param pulumi.ResourceOptions opts: Options for the resource.
469
+ """
470
+ ...
471
+ def __init__(__self__, resource_name: str, *args, **kwargs):
472
+ resource_args, opts = _utilities.get_resource_args_opts(CxGeneratorArgs, pulumi.ResourceOptions, *args, **kwargs)
473
+ if resource_args is not None:
474
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
475
+ else:
476
+ __self__._internal_init(resource_name, *args, **kwargs)
477
+
478
+ def _internal_init(__self__,
479
+ resource_name: str,
480
+ opts: Optional[pulumi.ResourceOptions] = None,
481
+ display_name: Optional[pulumi.Input[_builtins.str]] = None,
482
+ language_code: Optional[pulumi.Input[_builtins.str]] = None,
483
+ llm_model_settings: Optional[pulumi.Input[Union['CxGeneratorLlmModelSettingsArgs', 'CxGeneratorLlmModelSettingsArgsDict']]] = None,
484
+ model_parameter: Optional[pulumi.Input[Union['CxGeneratorModelParameterArgs', 'CxGeneratorModelParameterArgsDict']]] = None,
485
+ parent: Optional[pulumi.Input[_builtins.str]] = None,
486
+ placeholders: Optional[pulumi.Input[Sequence[pulumi.Input[Union['CxGeneratorPlaceholderArgs', 'CxGeneratorPlaceholderArgsDict']]]]] = None,
487
+ prompt_text: Optional[pulumi.Input[Union['CxGeneratorPromptTextArgs', 'CxGeneratorPromptTextArgsDict']]] = None,
488
+ __props__=None):
489
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
490
+ if not isinstance(opts, pulumi.ResourceOptions):
491
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
492
+ if opts.id is None:
493
+ if __props__ is not None:
494
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
495
+ __props__ = CxGeneratorArgs.__new__(CxGeneratorArgs)
496
+
497
+ if display_name is None and not opts.urn:
498
+ raise TypeError("Missing required property 'display_name'")
499
+ __props__.__dict__["display_name"] = display_name
500
+ __props__.__dict__["language_code"] = language_code
501
+ __props__.__dict__["llm_model_settings"] = llm_model_settings
502
+ __props__.__dict__["model_parameter"] = model_parameter
503
+ __props__.__dict__["parent"] = parent
504
+ __props__.__dict__["placeholders"] = placeholders
505
+ if prompt_text is None and not opts.urn:
506
+ raise TypeError("Missing required property 'prompt_text'")
507
+ __props__.__dict__["prompt_text"] = prompt_text
508
+ __props__.__dict__["name"] = None
509
+ super(CxGenerator, __self__).__init__(
510
+ 'gcp:diagflow/cxGenerator:CxGenerator',
511
+ resource_name,
512
+ __props__,
513
+ opts)
514
+
515
+ @staticmethod
516
+ def get(resource_name: str,
517
+ id: pulumi.Input[str],
518
+ opts: Optional[pulumi.ResourceOptions] = None,
519
+ display_name: Optional[pulumi.Input[_builtins.str]] = None,
520
+ language_code: Optional[pulumi.Input[_builtins.str]] = None,
521
+ llm_model_settings: Optional[pulumi.Input[Union['CxGeneratorLlmModelSettingsArgs', 'CxGeneratorLlmModelSettingsArgsDict']]] = None,
522
+ model_parameter: Optional[pulumi.Input[Union['CxGeneratorModelParameterArgs', 'CxGeneratorModelParameterArgsDict']]] = None,
523
+ name: Optional[pulumi.Input[_builtins.str]] = None,
524
+ parent: Optional[pulumi.Input[_builtins.str]] = None,
525
+ placeholders: Optional[pulumi.Input[Sequence[pulumi.Input[Union['CxGeneratorPlaceholderArgs', 'CxGeneratorPlaceholderArgsDict']]]]] = None,
526
+ prompt_text: Optional[pulumi.Input[Union['CxGeneratorPromptTextArgs', 'CxGeneratorPromptTextArgsDict']]] = None) -> 'CxGenerator':
527
+ """
528
+ Get an existing CxGenerator resource's state with the given name, id, and optional extra
529
+ properties used to qualify the lookup.
530
+
531
+ :param str resource_name: The unique name of the resulting resource.
532
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
533
+ :param pulumi.ResourceOptions opts: Options for the resource.
534
+ :param pulumi.Input[_builtins.str] display_name: The human-readable name of the generator, unique within the agent.
535
+ :param pulumi.Input[_builtins.str] language_code: The language to create generators for the following fields:
536
+ * Generator.prompt_text.text
537
+ If not specified, the agent's default language is used.
538
+ :param pulumi.Input[Union['CxGeneratorLlmModelSettingsArgs', 'CxGeneratorLlmModelSettingsArgsDict']] llm_model_settings: The LLM model settings.
539
+ Structure is documented below.
540
+ :param pulumi.Input[Union['CxGeneratorModelParameterArgs', 'CxGeneratorModelParameterArgsDict']] model_parameter: Parameters passed to the LLM to configure its behavior.
541
+ Structure is documented below.
542
+ :param pulumi.Input[_builtins.str] name: The unique identifier of the Generator.
543
+ Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/generators/<Generator ID>.
544
+ :param pulumi.Input[_builtins.str] parent: The agent to create a Generator for.
545
+ Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.
546
+ :param pulumi.Input[Sequence[pulumi.Input[Union['CxGeneratorPlaceholderArgs', 'CxGeneratorPlaceholderArgsDict']]]] placeholders: List of custom placeholders in the prompt text.
547
+ Structure is documented below.
548
+ :param pulumi.Input[Union['CxGeneratorPromptTextArgs', 'CxGeneratorPromptTextArgsDict']] prompt_text: Prompt for the LLM model.
549
+ Structure is documented below.
550
+ """
551
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
552
+
553
+ __props__ = _CxGeneratorState.__new__(_CxGeneratorState)
554
+
555
+ __props__.__dict__["display_name"] = display_name
556
+ __props__.__dict__["language_code"] = language_code
557
+ __props__.__dict__["llm_model_settings"] = llm_model_settings
558
+ __props__.__dict__["model_parameter"] = model_parameter
559
+ __props__.__dict__["name"] = name
560
+ __props__.__dict__["parent"] = parent
561
+ __props__.__dict__["placeholders"] = placeholders
562
+ __props__.__dict__["prompt_text"] = prompt_text
563
+ return CxGenerator(resource_name, opts=opts, __props__=__props__)
564
+
565
+ @_builtins.property
566
+ @pulumi.getter(name="displayName")
567
+ def display_name(self) -> pulumi.Output[_builtins.str]:
568
+ """
569
+ The human-readable name of the generator, unique within the agent.
570
+ """
571
+ return pulumi.get(self, "display_name")
572
+
573
+ @_builtins.property
574
+ @pulumi.getter(name="languageCode")
575
+ def language_code(self) -> pulumi.Output[Optional[_builtins.str]]:
576
+ """
577
+ The language to create generators for the following fields:
578
+ * Generator.prompt_text.text
579
+ If not specified, the agent's default language is used.
580
+ """
581
+ return pulumi.get(self, "language_code")
582
+
583
+ @_builtins.property
584
+ @pulumi.getter(name="llmModelSettings")
585
+ def llm_model_settings(self) -> pulumi.Output[Optional['outputs.CxGeneratorLlmModelSettings']]:
586
+ """
587
+ The LLM model settings.
588
+ Structure is documented below.
589
+ """
590
+ return pulumi.get(self, "llm_model_settings")
591
+
592
+ @_builtins.property
593
+ @pulumi.getter(name="modelParameter")
594
+ def model_parameter(self) -> pulumi.Output[Optional['outputs.CxGeneratorModelParameter']]:
595
+ """
596
+ Parameters passed to the LLM to configure its behavior.
597
+ Structure is documented below.
598
+ """
599
+ return pulumi.get(self, "model_parameter")
600
+
601
+ @_builtins.property
602
+ @pulumi.getter
603
+ def name(self) -> pulumi.Output[_builtins.str]:
604
+ """
605
+ The unique identifier of the Generator.
606
+ Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/generators/<Generator ID>.
607
+ """
608
+ return pulumi.get(self, "name")
609
+
610
+ @_builtins.property
611
+ @pulumi.getter
612
+ def parent(self) -> pulumi.Output[Optional[_builtins.str]]:
613
+ """
614
+ The agent to create a Generator for.
615
+ Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.
616
+ """
617
+ return pulumi.get(self, "parent")
618
+
619
+ @_builtins.property
620
+ @pulumi.getter
621
+ def placeholders(self) -> pulumi.Output[Optional[Sequence['outputs.CxGeneratorPlaceholder']]]:
622
+ """
623
+ List of custom placeholders in the prompt text.
624
+ Structure is documented below.
625
+ """
626
+ return pulumi.get(self, "placeholders")
627
+
628
+ @_builtins.property
629
+ @pulumi.getter(name="promptText")
630
+ def prompt_text(self) -> pulumi.Output['outputs.CxGeneratorPromptText']:
631
+ """
632
+ Prompt for the LLM model.
633
+ Structure is documented below.
634
+ """
635
+ return pulumi.get(self, "prompt_text")
636
+
@@ -399,7 +399,7 @@ class CxTool(pulumi.CustomResource):
399
399
 
400
400
  my_datastore = gcp.discoveryengine.DataStore("my_datastore",
401
401
  location="global",
402
- data_store_id="datastore-tool-test-_79169",
402
+ data_store_id="datastore-tool",
403
403
  display_name="datastore for Tool test",
404
404
  industry_vertical="GENERIC",
405
405
  content_config="NO_CONTENT",
@@ -613,7 +613,7 @@ class CxTool(pulumi.CustomResource):
613
613
 
614
614
  my_datastore = gcp.discoveryengine.DataStore("my_datastore",
615
615
  location="global",
616
- data_store_id="datastore-tool-test-_79169",
616
+ data_store_id="datastore-tool",
617
617
  display_name="datastore for Tool test",
618
618
  industry_vertical="GENERIC",
619
619
  content_config="NO_CONTENT",