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.
- pulumi_gcp/__init__.py +128 -0
- pulumi_gcp/accesscontextmanager/_inputs.py +24 -4
- pulumi_gcp/accesscontextmanager/outputs.py +15 -3
- pulumi_gcp/apigee/__init__.py +2 -0
- pulumi_gcp/apigee/_inputs.py +1435 -0
- pulumi_gcp/apigee/api_product.py +1698 -0
- pulumi_gcp/apigee/outputs.py +1081 -0
- pulumi_gcp/apigee/security_action.py +1010 -0
- pulumi_gcp/artifactregistry/__init__.py +1 -0
- pulumi_gcp/artifactregistry/get_docker_images.py +164 -0
- pulumi_gcp/artifactregistry/outputs.py +109 -2
- pulumi_gcp/artifactregistry/repository.py +6 -6
- pulumi_gcp/backupdisasterrecovery/backup_vault.py +56 -0
- pulumi_gcp/backupdisasterrecovery/get_backup_vault.py +12 -1
- pulumi_gcp/bigquery/_inputs.py +6 -0
- pulumi_gcp/bigquery/get_table.py +23 -1
- pulumi_gcp/bigquery/outputs.py +4 -0
- pulumi_gcp/bigquery/table.py +62 -0
- pulumi_gcp/bigqueryanalyticshub/_inputs.py +180 -0
- pulumi_gcp/bigqueryanalyticshub/data_exchange.py +80 -0
- pulumi_gcp/bigqueryanalyticshub/listing.py +322 -2
- pulumi_gcp/bigqueryanalyticshub/listing_subscription.py +32 -0
- pulumi_gcp/bigqueryanalyticshub/outputs.py +159 -0
- pulumi_gcp/bigtable/__init__.py +1 -0
- pulumi_gcp/bigtable/_inputs.py +33 -0
- pulumi_gcp/bigtable/outputs.py +36 -0
- pulumi_gcp/bigtable/schema_bundle.py +568 -0
- pulumi_gcp/cloudfunctions/_inputs.py +48 -0
- pulumi_gcp/cloudfunctions/function.py +94 -0
- pulumi_gcp/cloudfunctions/get_function.py +23 -1
- pulumi_gcp/cloudfunctions/outputs.py +70 -0
- pulumi_gcp/cloudrunv2/_inputs.py +20 -0
- pulumi_gcp/cloudrunv2/job.py +2 -0
- pulumi_gcp/cloudrunv2/outputs.py +25 -0
- pulumi_gcp/cloudrunv2/worker_pool.py +2 -0
- pulumi_gcp/compute/__init__.py +1 -0
- pulumi_gcp/compute/_inputs.py +713 -22
- pulumi_gcp/compute/firewall_policy_with_rules.py +66 -0
- pulumi_gcp/compute/forwarding_rule.py +0 -21
- pulumi_gcp/compute/get_router.py +12 -1
- pulumi_gcp/compute/outputs.py +562 -22
- pulumi_gcp/compute/preview_feature.py +396 -0
- pulumi_gcp/compute/region_url_map.py +392 -0
- pulumi_gcp/compute/reservation.py +4 -4
- pulumi_gcp/compute/router.py +54 -0
- pulumi_gcp/compute/storage_pool.py +154 -0
- pulumi_gcp/compute/subnetwork.py +54 -0
- pulumi_gcp/config/__init__.pyi +2 -0
- pulumi_gcp/config/vars.py +4 -0
- pulumi_gcp/container/_inputs.py +278 -8
- pulumi_gcp/container/cluster.py +61 -21
- pulumi_gcp/container/get_cluster.py +12 -1
- pulumi_gcp/container/outputs.py +352 -8
- pulumi_gcp/dataproc/_inputs.py +249 -14
- pulumi_gcp/dataproc/batch.py +6 -0
- pulumi_gcp/dataproc/cluster.py +2 -0
- pulumi_gcp/dataproc/outputs.py +215 -12
- pulumi_gcp/dataproc/session_template.py +14 -2
- pulumi_gcp/developerconnect/__init__.py +1 -0
- pulumi_gcp/developerconnect/_inputs.py +583 -0
- pulumi_gcp/developerconnect/insights_config.py +895 -0
- pulumi_gcp/developerconnect/outputs.py +442 -0
- pulumi_gcp/diagflow/__init__.py +1 -0
- pulumi_gcp/diagflow/_inputs.py +1165 -58
- pulumi_gcp/diagflow/cx_generator.py +636 -0
- pulumi_gcp/diagflow/cx_tool.py +2 -2
- pulumi_gcp/diagflow/cx_webhook.py +380 -36
- pulumi_gcp/diagflow/outputs.py +848 -25
- pulumi_gcp/discoveryengine/__init__.py +2 -0
- pulumi_gcp/discoveryengine/_inputs.py +465 -0
- pulumi_gcp/discoveryengine/cmek_config.py +707 -0
- pulumi_gcp/discoveryengine/outputs.py +412 -0
- pulumi_gcp/discoveryengine/recommendation_engine.py +813 -0
- pulumi_gcp/firestore/field.py +6 -6
- pulumi_gcp/gemini/gemini_gcp_enablement_setting.py +107 -9
- pulumi_gcp/gemini/gemini_gcp_enablement_setting_binding.py +2 -2
- pulumi_gcp/gkehub/membership_binding.py +6 -6
- pulumi_gcp/gkehub/membership_rbac_role_binding.py +4 -4
- pulumi_gcp/gkehub/namespace.py +4 -4
- pulumi_gcp/gkehub/scope_rbac_role_binding.py +8 -8
- pulumi_gcp/iam/__init__.py +4 -0
- pulumi_gcp/iam/_inputs.py +98 -0
- pulumi_gcp/iam/get_workforce_pool_iam_policy.py +161 -0
- pulumi_gcp/iam/outputs.py +56 -0
- pulumi_gcp/iam/workforce_pool_iam_binding.py +761 -0
- pulumi_gcp/iam/workforce_pool_iam_member.py +761 -0
- pulumi_gcp/iam/workforce_pool_iam_policy.py +600 -0
- pulumi_gcp/iap/tunnel_dest_group.py +2 -2
- pulumi_gcp/integrationconnectors/managed_zone.py +8 -8
- pulumi_gcp/looker/instance.py +28 -7
- pulumi_gcp/managedkafka/_inputs.py +127 -0
- pulumi_gcp/managedkafka/cluster.py +131 -1
- pulumi_gcp/managedkafka/connect_cluster.py +4 -4
- pulumi_gcp/managedkafka/connector.py +4 -4
- pulumi_gcp/managedkafka/outputs.py +128 -0
- pulumi_gcp/memorystore/instance.py +8 -12
- pulumi_gcp/modelarmor/__init__.py +1 -0
- pulumi_gcp/modelarmor/_inputs.py +683 -0
- pulumi_gcp/modelarmor/floorsetting.py +736 -0
- pulumi_gcp/modelarmor/outputs.py +618 -0
- pulumi_gcp/networkconnectivity/_inputs.py +60 -0
- pulumi_gcp/networkconnectivity/internal_range.py +136 -0
- pulumi_gcp/networkconnectivity/outputs.py +55 -0
- pulumi_gcp/networkconnectivity/spoke.py +14 -14
- pulumi_gcp/oracledatabase/__init__.py +2 -0
- pulumi_gcp/oracledatabase/autonomous_database.py +262 -38
- pulumi_gcp/oracledatabase/cloud_vm_cluster.py +314 -50
- pulumi_gcp/oracledatabase/get_autonomous_database.py +23 -1
- pulumi_gcp/oracledatabase/get_cloud_vm_cluster.py +34 -1
- pulumi_gcp/oracledatabase/odb_network.py +721 -0
- pulumi_gcp/oracledatabase/odb_subnet.py +803 -0
- pulumi_gcp/oracledatabase/outputs.py +83 -0
- pulumi_gcp/orgpolicy/policy.py +2 -2
- pulumi_gcp/parametermanager/parameter_version.py +62 -0
- pulumi_gcp/parametermanager/regional_parameter_version.py +64 -0
- pulumi_gcp/provider.py +20 -0
- pulumi_gcp/pubsub/subscription.py +46 -6
- pulumi_gcp/pubsub/topic.py +36 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/cluster.py +70 -0
- pulumi_gcp/redis/get_cluster.py +12 -1
- pulumi_gcp/redis/instance.py +8 -12
- pulumi_gcp/secretmanager/get_regional_secret.py +12 -1
- pulumi_gcp/secretmanager/get_secret.py +12 -1
- pulumi_gcp/secretmanager/outputs.py +30 -0
- pulumi_gcp/secretmanager/regional_secret.py +61 -0
- pulumi_gcp/secretmanager/secret.py +61 -0
- pulumi_gcp/securesourcemanager/branch_rule.py +16 -8
- pulumi_gcp/securesourcemanager/instance.py +112 -4
- pulumi_gcp/securesourcemanager/repository.py +112 -8
- pulumi_gcp/serviceaccount/get_account_key.py +1 -0
- pulumi_gcp/sql/_inputs.py +6 -6
- pulumi_gcp/sql/database.py +0 -12
- pulumi_gcp/sql/outputs.py +4 -4
- pulumi_gcp/storage/__init__.py +2 -0
- pulumi_gcp/storage/_inputs.py +451 -0
- pulumi_gcp/storage/bucket.py +7 -7
- pulumi_gcp/storage/bucket_object.py +34 -0
- pulumi_gcp/storage/get_bucket_object.py +12 -1
- pulumi_gcp/storage/get_bucket_object_content.py +12 -1
- pulumi_gcp/storage/get_insights_dataset_config.py +363 -0
- pulumi_gcp/storage/insights_dataset_config.py +1280 -0
- pulumi_gcp/storage/outputs.py +619 -0
- pulumi_gcp/vertex/__init__.py +1 -0
- pulumi_gcp/vertex/_inputs.py +3646 -3
- pulumi_gcp/vertex/ai_endpoint.py +4 -4
- pulumi_gcp/vertex/ai_endpoint_with_model_garden_deployment.py +940 -0
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
- pulumi_gcp/vertex/outputs.py +2609 -2
- pulumi_gcp/vmwareengine/network_peering.py +7 -7
- pulumi_gcp/workbench/_inputs.py +118 -0
- pulumi_gcp/workbench/instance.py +171 -2
- pulumi_gcp/workbench/outputs.py +91 -0
- {pulumi_gcp-8.40.0a1754721948.dist-info → pulumi_gcp-8.41.0a1754981061.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.40.0a1754721948.dist-info → pulumi_gcp-8.41.0a1754981061.dist-info}/RECORD +157 -138
- {pulumi_gcp-8.40.0a1754721948.dist-info → pulumi_gcp-8.41.0a1754981061.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.40.0a1754721948.dist-info → pulumi_gcp-8.41.0a1754981061.dist-info}/top_level.txt +0 -0
pulumi_gcp/modelarmor/outputs.py
CHANGED
@@ -16,6 +16,17 @@ from .. import _utilities
|
|
16
16
|
from . import outputs
|
17
17
|
|
18
18
|
__all__ = [
|
19
|
+
'FloorsettingAiPlatformFloorSetting',
|
20
|
+
'FloorsettingFilterConfig',
|
21
|
+
'FloorsettingFilterConfigMaliciousUriFilterSettings',
|
22
|
+
'FloorsettingFilterConfigPiAndJailbreakFilterSettings',
|
23
|
+
'FloorsettingFilterConfigRaiSettings',
|
24
|
+
'FloorsettingFilterConfigRaiSettingsRaiFilter',
|
25
|
+
'FloorsettingFilterConfigSdpSettings',
|
26
|
+
'FloorsettingFilterConfigSdpSettingsAdvancedConfig',
|
27
|
+
'FloorsettingFilterConfigSdpSettingsBasicConfig',
|
28
|
+
'FloorsettingFloorSettingMetadata',
|
29
|
+
'FloorsettingFloorSettingMetadataMultiLanguageDetection',
|
19
30
|
'TemplateFilterConfig',
|
20
31
|
'TemplateFilterConfigMaliciousUriFilterSettings',
|
21
32
|
'TemplateFilterConfigPiAndJailbreakFilterSettings',
|
@@ -28,6 +39,613 @@ __all__ = [
|
|
28
39
|
'TemplateTemplateMetadataMultiLanguageDetection',
|
29
40
|
]
|
30
41
|
|
42
|
+
@pulumi.output_type
|
43
|
+
class FloorsettingAiPlatformFloorSetting(dict):
|
44
|
+
@staticmethod
|
45
|
+
def __key_warning(key: str):
|
46
|
+
suggest = None
|
47
|
+
if key == "enableCloudLogging":
|
48
|
+
suggest = "enable_cloud_logging"
|
49
|
+
elif key == "inspectAndBlock":
|
50
|
+
suggest = "inspect_and_block"
|
51
|
+
elif key == "inspectOnly":
|
52
|
+
suggest = "inspect_only"
|
53
|
+
|
54
|
+
if suggest:
|
55
|
+
pulumi.log.warn(f"Key '{key}' not found in FloorsettingAiPlatformFloorSetting. Access the value via the '{suggest}' property getter instead.")
|
56
|
+
|
57
|
+
def __getitem__(self, key: str) -> Any:
|
58
|
+
FloorsettingAiPlatformFloorSetting.__key_warning(key)
|
59
|
+
return super().__getitem__(key)
|
60
|
+
|
61
|
+
def get(self, key: str, default = None) -> Any:
|
62
|
+
FloorsettingAiPlatformFloorSetting.__key_warning(key)
|
63
|
+
return super().get(key, default)
|
64
|
+
|
65
|
+
def __init__(__self__, *,
|
66
|
+
enable_cloud_logging: Optional[_builtins.bool] = None,
|
67
|
+
inspect_and_block: Optional[_builtins.bool] = None,
|
68
|
+
inspect_only: Optional[_builtins.bool] = None):
|
69
|
+
"""
|
70
|
+
:param _builtins.bool enable_cloud_logging: If true, log Model Armor filter results to Cloud Logging.
|
71
|
+
:param _builtins.bool inspect_and_block: If true, Model Armor filters will be run in inspect and block mode.
|
72
|
+
Requests that trip Model Armor filters will be blocked.
|
73
|
+
:param _builtins.bool inspect_only: If true, Model Armor filters will be run in inspect only mode. No action
|
74
|
+
will be taken on the request.
|
75
|
+
"""
|
76
|
+
if enable_cloud_logging is not None:
|
77
|
+
pulumi.set(__self__, "enable_cloud_logging", enable_cloud_logging)
|
78
|
+
if inspect_and_block is not None:
|
79
|
+
pulumi.set(__self__, "inspect_and_block", inspect_and_block)
|
80
|
+
if inspect_only is not None:
|
81
|
+
pulumi.set(__self__, "inspect_only", inspect_only)
|
82
|
+
|
83
|
+
@_builtins.property
|
84
|
+
@pulumi.getter(name="enableCloudLogging")
|
85
|
+
def enable_cloud_logging(self) -> Optional[_builtins.bool]:
|
86
|
+
"""
|
87
|
+
If true, log Model Armor filter results to Cloud Logging.
|
88
|
+
"""
|
89
|
+
return pulumi.get(self, "enable_cloud_logging")
|
90
|
+
|
91
|
+
@_builtins.property
|
92
|
+
@pulumi.getter(name="inspectAndBlock")
|
93
|
+
def inspect_and_block(self) -> Optional[_builtins.bool]:
|
94
|
+
"""
|
95
|
+
If true, Model Armor filters will be run in inspect and block mode.
|
96
|
+
Requests that trip Model Armor filters will be blocked.
|
97
|
+
"""
|
98
|
+
return pulumi.get(self, "inspect_and_block")
|
99
|
+
|
100
|
+
@_builtins.property
|
101
|
+
@pulumi.getter(name="inspectOnly")
|
102
|
+
def inspect_only(self) -> Optional[_builtins.bool]:
|
103
|
+
"""
|
104
|
+
If true, Model Armor filters will be run in inspect only mode. No action
|
105
|
+
will be taken on the request.
|
106
|
+
"""
|
107
|
+
return pulumi.get(self, "inspect_only")
|
108
|
+
|
109
|
+
|
110
|
+
@pulumi.output_type
|
111
|
+
class FloorsettingFilterConfig(dict):
|
112
|
+
@staticmethod
|
113
|
+
def __key_warning(key: str):
|
114
|
+
suggest = None
|
115
|
+
if key == "maliciousUriFilterSettings":
|
116
|
+
suggest = "malicious_uri_filter_settings"
|
117
|
+
elif key == "piAndJailbreakFilterSettings":
|
118
|
+
suggest = "pi_and_jailbreak_filter_settings"
|
119
|
+
elif key == "raiSettings":
|
120
|
+
suggest = "rai_settings"
|
121
|
+
elif key == "sdpSettings":
|
122
|
+
suggest = "sdp_settings"
|
123
|
+
|
124
|
+
if suggest:
|
125
|
+
pulumi.log.warn(f"Key '{key}' not found in FloorsettingFilterConfig. Access the value via the '{suggest}' property getter instead.")
|
126
|
+
|
127
|
+
def __getitem__(self, key: str) -> Any:
|
128
|
+
FloorsettingFilterConfig.__key_warning(key)
|
129
|
+
return super().__getitem__(key)
|
130
|
+
|
131
|
+
def get(self, key: str, default = None) -> Any:
|
132
|
+
FloorsettingFilterConfig.__key_warning(key)
|
133
|
+
return super().get(key, default)
|
134
|
+
|
135
|
+
def __init__(__self__, *,
|
136
|
+
malicious_uri_filter_settings: Optional['outputs.FloorsettingFilterConfigMaliciousUriFilterSettings'] = None,
|
137
|
+
pi_and_jailbreak_filter_settings: Optional['outputs.FloorsettingFilterConfigPiAndJailbreakFilterSettings'] = None,
|
138
|
+
rai_settings: Optional['outputs.FloorsettingFilterConfigRaiSettings'] = None,
|
139
|
+
sdp_settings: Optional['outputs.FloorsettingFilterConfigSdpSettings'] = None):
|
140
|
+
"""
|
141
|
+
:param 'FloorsettingFilterConfigMaliciousUriFilterSettingsArgs' malicious_uri_filter_settings: Malicious URI filter settings.
|
142
|
+
Structure is documented below.
|
143
|
+
:param 'FloorsettingFilterConfigPiAndJailbreakFilterSettingsArgs' pi_and_jailbreak_filter_settings: Prompt injection and Jailbreak Filter settings.
|
144
|
+
Structure is documented below.
|
145
|
+
:param 'FloorsettingFilterConfigRaiSettingsArgs' rai_settings: Responsible AI Filter settings.
|
146
|
+
Structure is documented below.
|
147
|
+
:param 'FloorsettingFilterConfigSdpSettingsArgs' sdp_settings: Sensitive Data Protection settings.
|
148
|
+
Structure is documented below.
|
149
|
+
"""
|
150
|
+
if malicious_uri_filter_settings is not None:
|
151
|
+
pulumi.set(__self__, "malicious_uri_filter_settings", malicious_uri_filter_settings)
|
152
|
+
if pi_and_jailbreak_filter_settings is not None:
|
153
|
+
pulumi.set(__self__, "pi_and_jailbreak_filter_settings", pi_and_jailbreak_filter_settings)
|
154
|
+
if rai_settings is not None:
|
155
|
+
pulumi.set(__self__, "rai_settings", rai_settings)
|
156
|
+
if sdp_settings is not None:
|
157
|
+
pulumi.set(__self__, "sdp_settings", sdp_settings)
|
158
|
+
|
159
|
+
@_builtins.property
|
160
|
+
@pulumi.getter(name="maliciousUriFilterSettings")
|
161
|
+
def malicious_uri_filter_settings(self) -> Optional['outputs.FloorsettingFilterConfigMaliciousUriFilterSettings']:
|
162
|
+
"""
|
163
|
+
Malicious URI filter settings.
|
164
|
+
Structure is documented below.
|
165
|
+
"""
|
166
|
+
return pulumi.get(self, "malicious_uri_filter_settings")
|
167
|
+
|
168
|
+
@_builtins.property
|
169
|
+
@pulumi.getter(name="piAndJailbreakFilterSettings")
|
170
|
+
def pi_and_jailbreak_filter_settings(self) -> Optional['outputs.FloorsettingFilterConfigPiAndJailbreakFilterSettings']:
|
171
|
+
"""
|
172
|
+
Prompt injection and Jailbreak Filter settings.
|
173
|
+
Structure is documented below.
|
174
|
+
"""
|
175
|
+
return pulumi.get(self, "pi_and_jailbreak_filter_settings")
|
176
|
+
|
177
|
+
@_builtins.property
|
178
|
+
@pulumi.getter(name="raiSettings")
|
179
|
+
def rai_settings(self) -> Optional['outputs.FloorsettingFilterConfigRaiSettings']:
|
180
|
+
"""
|
181
|
+
Responsible AI Filter settings.
|
182
|
+
Structure is documented below.
|
183
|
+
"""
|
184
|
+
return pulumi.get(self, "rai_settings")
|
185
|
+
|
186
|
+
@_builtins.property
|
187
|
+
@pulumi.getter(name="sdpSettings")
|
188
|
+
def sdp_settings(self) -> Optional['outputs.FloorsettingFilterConfigSdpSettings']:
|
189
|
+
"""
|
190
|
+
Sensitive Data Protection settings.
|
191
|
+
Structure is documented below.
|
192
|
+
"""
|
193
|
+
return pulumi.get(self, "sdp_settings")
|
194
|
+
|
195
|
+
|
196
|
+
@pulumi.output_type
|
197
|
+
class FloorsettingFilterConfigMaliciousUriFilterSettings(dict):
|
198
|
+
@staticmethod
|
199
|
+
def __key_warning(key: str):
|
200
|
+
suggest = None
|
201
|
+
if key == "filterEnforcement":
|
202
|
+
suggest = "filter_enforcement"
|
203
|
+
|
204
|
+
if suggest:
|
205
|
+
pulumi.log.warn(f"Key '{key}' not found in FloorsettingFilterConfigMaliciousUriFilterSettings. Access the value via the '{suggest}' property getter instead.")
|
206
|
+
|
207
|
+
def __getitem__(self, key: str) -> Any:
|
208
|
+
FloorsettingFilterConfigMaliciousUriFilterSettings.__key_warning(key)
|
209
|
+
return super().__getitem__(key)
|
210
|
+
|
211
|
+
def get(self, key: str, default = None) -> Any:
|
212
|
+
FloorsettingFilterConfigMaliciousUriFilterSettings.__key_warning(key)
|
213
|
+
return super().get(key, default)
|
214
|
+
|
215
|
+
def __init__(__self__, *,
|
216
|
+
filter_enforcement: Optional[_builtins.str] = None):
|
217
|
+
"""
|
218
|
+
:param _builtins.str filter_enforcement: Tells whether the Malicious URI filter is enabled or disabled.
|
219
|
+
Possible values:
|
220
|
+
ENABLED
|
221
|
+
DISABLED
|
222
|
+
"""
|
223
|
+
if filter_enforcement is not None:
|
224
|
+
pulumi.set(__self__, "filter_enforcement", filter_enforcement)
|
225
|
+
|
226
|
+
@_builtins.property
|
227
|
+
@pulumi.getter(name="filterEnforcement")
|
228
|
+
def filter_enforcement(self) -> Optional[_builtins.str]:
|
229
|
+
"""
|
230
|
+
Tells whether the Malicious URI filter is enabled or disabled.
|
231
|
+
Possible values:
|
232
|
+
ENABLED
|
233
|
+
DISABLED
|
234
|
+
"""
|
235
|
+
return pulumi.get(self, "filter_enforcement")
|
236
|
+
|
237
|
+
|
238
|
+
@pulumi.output_type
|
239
|
+
class FloorsettingFilterConfigPiAndJailbreakFilterSettings(dict):
|
240
|
+
@staticmethod
|
241
|
+
def __key_warning(key: str):
|
242
|
+
suggest = None
|
243
|
+
if key == "confidenceLevel":
|
244
|
+
suggest = "confidence_level"
|
245
|
+
elif key == "filterEnforcement":
|
246
|
+
suggest = "filter_enforcement"
|
247
|
+
|
248
|
+
if suggest:
|
249
|
+
pulumi.log.warn(f"Key '{key}' not found in FloorsettingFilterConfigPiAndJailbreakFilterSettings. Access the value via the '{suggest}' property getter instead.")
|
250
|
+
|
251
|
+
def __getitem__(self, key: str) -> Any:
|
252
|
+
FloorsettingFilterConfigPiAndJailbreakFilterSettings.__key_warning(key)
|
253
|
+
return super().__getitem__(key)
|
254
|
+
|
255
|
+
def get(self, key: str, default = None) -> Any:
|
256
|
+
FloorsettingFilterConfigPiAndJailbreakFilterSettings.__key_warning(key)
|
257
|
+
return super().get(key, default)
|
258
|
+
|
259
|
+
def __init__(__self__, *,
|
260
|
+
confidence_level: Optional[_builtins.str] = None,
|
261
|
+
filter_enforcement: Optional[_builtins.str] = None):
|
262
|
+
"""
|
263
|
+
:param _builtins.str confidence_level: Possible values:
|
264
|
+
LOW_AND_ABOVE
|
265
|
+
MEDIUM_AND_ABOVE
|
266
|
+
HIGH
|
267
|
+
:param _builtins.str filter_enforcement: Tells whether Prompt injection and Jailbreak filter is enabled or
|
268
|
+
disabled.
|
269
|
+
Possible values:
|
270
|
+
ENABLED
|
271
|
+
DISABLED
|
272
|
+
"""
|
273
|
+
if confidence_level is not None:
|
274
|
+
pulumi.set(__self__, "confidence_level", confidence_level)
|
275
|
+
if filter_enforcement is not None:
|
276
|
+
pulumi.set(__self__, "filter_enforcement", filter_enforcement)
|
277
|
+
|
278
|
+
@_builtins.property
|
279
|
+
@pulumi.getter(name="confidenceLevel")
|
280
|
+
def confidence_level(self) -> Optional[_builtins.str]:
|
281
|
+
"""
|
282
|
+
Possible values:
|
283
|
+
LOW_AND_ABOVE
|
284
|
+
MEDIUM_AND_ABOVE
|
285
|
+
HIGH
|
286
|
+
"""
|
287
|
+
return pulumi.get(self, "confidence_level")
|
288
|
+
|
289
|
+
@_builtins.property
|
290
|
+
@pulumi.getter(name="filterEnforcement")
|
291
|
+
def filter_enforcement(self) -> Optional[_builtins.str]:
|
292
|
+
"""
|
293
|
+
Tells whether Prompt injection and Jailbreak filter is enabled or
|
294
|
+
disabled.
|
295
|
+
Possible values:
|
296
|
+
ENABLED
|
297
|
+
DISABLED
|
298
|
+
"""
|
299
|
+
return pulumi.get(self, "filter_enforcement")
|
300
|
+
|
301
|
+
|
302
|
+
@pulumi.output_type
|
303
|
+
class FloorsettingFilterConfigRaiSettings(dict):
|
304
|
+
@staticmethod
|
305
|
+
def __key_warning(key: str):
|
306
|
+
suggest = None
|
307
|
+
if key == "raiFilters":
|
308
|
+
suggest = "rai_filters"
|
309
|
+
|
310
|
+
if suggest:
|
311
|
+
pulumi.log.warn(f"Key '{key}' not found in FloorsettingFilterConfigRaiSettings. Access the value via the '{suggest}' property getter instead.")
|
312
|
+
|
313
|
+
def __getitem__(self, key: str) -> Any:
|
314
|
+
FloorsettingFilterConfigRaiSettings.__key_warning(key)
|
315
|
+
return super().__getitem__(key)
|
316
|
+
|
317
|
+
def get(self, key: str, default = None) -> Any:
|
318
|
+
FloorsettingFilterConfigRaiSettings.__key_warning(key)
|
319
|
+
return super().get(key, default)
|
320
|
+
|
321
|
+
def __init__(__self__, *,
|
322
|
+
rai_filters: Sequence['outputs.FloorsettingFilterConfigRaiSettingsRaiFilter']):
|
323
|
+
"""
|
324
|
+
:param Sequence['FloorsettingFilterConfigRaiSettingsRaiFilterArgs'] rai_filters: List of Responsible AI filters enabled for template.
|
325
|
+
Structure is documented below.
|
326
|
+
"""
|
327
|
+
pulumi.set(__self__, "rai_filters", rai_filters)
|
328
|
+
|
329
|
+
@_builtins.property
|
330
|
+
@pulumi.getter(name="raiFilters")
|
331
|
+
def rai_filters(self) -> Sequence['outputs.FloorsettingFilterConfigRaiSettingsRaiFilter']:
|
332
|
+
"""
|
333
|
+
List of Responsible AI filters enabled for template.
|
334
|
+
Structure is documented below.
|
335
|
+
"""
|
336
|
+
return pulumi.get(self, "rai_filters")
|
337
|
+
|
338
|
+
|
339
|
+
@pulumi.output_type
|
340
|
+
class FloorsettingFilterConfigRaiSettingsRaiFilter(dict):
|
341
|
+
@staticmethod
|
342
|
+
def __key_warning(key: str):
|
343
|
+
suggest = None
|
344
|
+
if key == "filterType":
|
345
|
+
suggest = "filter_type"
|
346
|
+
elif key == "confidenceLevel":
|
347
|
+
suggest = "confidence_level"
|
348
|
+
|
349
|
+
if suggest:
|
350
|
+
pulumi.log.warn(f"Key '{key}' not found in FloorsettingFilterConfigRaiSettingsRaiFilter. Access the value via the '{suggest}' property getter instead.")
|
351
|
+
|
352
|
+
def __getitem__(self, key: str) -> Any:
|
353
|
+
FloorsettingFilterConfigRaiSettingsRaiFilter.__key_warning(key)
|
354
|
+
return super().__getitem__(key)
|
355
|
+
|
356
|
+
def get(self, key: str, default = None) -> Any:
|
357
|
+
FloorsettingFilterConfigRaiSettingsRaiFilter.__key_warning(key)
|
358
|
+
return super().get(key, default)
|
359
|
+
|
360
|
+
def __init__(__self__, *,
|
361
|
+
filter_type: _builtins.str,
|
362
|
+
confidence_level: Optional[_builtins.str] = None):
|
363
|
+
"""
|
364
|
+
:param _builtins.str filter_type: Possible values:
|
365
|
+
SEXUALLY_EXPLICIT
|
366
|
+
HATE_SPEECH
|
367
|
+
HARASSMENT
|
368
|
+
DANGEROUS
|
369
|
+
:param _builtins.str confidence_level: Possible values:
|
370
|
+
LOW_AND_ABOVE
|
371
|
+
MEDIUM_AND_ABOVE
|
372
|
+
HIGH
|
373
|
+
"""
|
374
|
+
pulumi.set(__self__, "filter_type", filter_type)
|
375
|
+
if confidence_level is not None:
|
376
|
+
pulumi.set(__self__, "confidence_level", confidence_level)
|
377
|
+
|
378
|
+
@_builtins.property
|
379
|
+
@pulumi.getter(name="filterType")
|
380
|
+
def filter_type(self) -> _builtins.str:
|
381
|
+
"""
|
382
|
+
Possible values:
|
383
|
+
SEXUALLY_EXPLICIT
|
384
|
+
HATE_SPEECH
|
385
|
+
HARASSMENT
|
386
|
+
DANGEROUS
|
387
|
+
"""
|
388
|
+
return pulumi.get(self, "filter_type")
|
389
|
+
|
390
|
+
@_builtins.property
|
391
|
+
@pulumi.getter(name="confidenceLevel")
|
392
|
+
def confidence_level(self) -> Optional[_builtins.str]:
|
393
|
+
"""
|
394
|
+
Possible values:
|
395
|
+
LOW_AND_ABOVE
|
396
|
+
MEDIUM_AND_ABOVE
|
397
|
+
HIGH
|
398
|
+
"""
|
399
|
+
return pulumi.get(self, "confidence_level")
|
400
|
+
|
401
|
+
|
402
|
+
@pulumi.output_type
|
403
|
+
class FloorsettingFilterConfigSdpSettings(dict):
|
404
|
+
@staticmethod
|
405
|
+
def __key_warning(key: str):
|
406
|
+
suggest = None
|
407
|
+
if key == "advancedConfig":
|
408
|
+
suggest = "advanced_config"
|
409
|
+
elif key == "basicConfig":
|
410
|
+
suggest = "basic_config"
|
411
|
+
|
412
|
+
if suggest:
|
413
|
+
pulumi.log.warn(f"Key '{key}' not found in FloorsettingFilterConfigSdpSettings. Access the value via the '{suggest}' property getter instead.")
|
414
|
+
|
415
|
+
def __getitem__(self, key: str) -> Any:
|
416
|
+
FloorsettingFilterConfigSdpSettings.__key_warning(key)
|
417
|
+
return super().__getitem__(key)
|
418
|
+
|
419
|
+
def get(self, key: str, default = None) -> Any:
|
420
|
+
FloorsettingFilterConfigSdpSettings.__key_warning(key)
|
421
|
+
return super().get(key, default)
|
422
|
+
|
423
|
+
def __init__(__self__, *,
|
424
|
+
advanced_config: Optional['outputs.FloorsettingFilterConfigSdpSettingsAdvancedConfig'] = None,
|
425
|
+
basic_config: Optional['outputs.FloorsettingFilterConfigSdpSettingsBasicConfig'] = None):
|
426
|
+
"""
|
427
|
+
:param 'FloorsettingFilterConfigSdpSettingsAdvancedConfigArgs' advanced_config: Sensitive Data Protection Advanced configuration.
|
428
|
+
Structure is documented below.
|
429
|
+
:param 'FloorsettingFilterConfigSdpSettingsBasicConfigArgs' basic_config: Sensitive Data Protection basic configuration.
|
430
|
+
Structure is documented below.
|
431
|
+
"""
|
432
|
+
if advanced_config is not None:
|
433
|
+
pulumi.set(__self__, "advanced_config", advanced_config)
|
434
|
+
if basic_config is not None:
|
435
|
+
pulumi.set(__self__, "basic_config", basic_config)
|
436
|
+
|
437
|
+
@_builtins.property
|
438
|
+
@pulumi.getter(name="advancedConfig")
|
439
|
+
def advanced_config(self) -> Optional['outputs.FloorsettingFilterConfigSdpSettingsAdvancedConfig']:
|
440
|
+
"""
|
441
|
+
Sensitive Data Protection Advanced configuration.
|
442
|
+
Structure is documented below.
|
443
|
+
"""
|
444
|
+
return pulumi.get(self, "advanced_config")
|
445
|
+
|
446
|
+
@_builtins.property
|
447
|
+
@pulumi.getter(name="basicConfig")
|
448
|
+
def basic_config(self) -> Optional['outputs.FloorsettingFilterConfigSdpSettingsBasicConfig']:
|
449
|
+
"""
|
450
|
+
Sensitive Data Protection basic configuration.
|
451
|
+
Structure is documented below.
|
452
|
+
"""
|
453
|
+
return pulumi.get(self, "basic_config")
|
454
|
+
|
455
|
+
|
456
|
+
@pulumi.output_type
|
457
|
+
class FloorsettingFilterConfigSdpSettingsAdvancedConfig(dict):
|
458
|
+
@staticmethod
|
459
|
+
def __key_warning(key: str):
|
460
|
+
suggest = None
|
461
|
+
if key == "deidentifyTemplate":
|
462
|
+
suggest = "deidentify_template"
|
463
|
+
elif key == "inspectTemplate":
|
464
|
+
suggest = "inspect_template"
|
465
|
+
|
466
|
+
if suggest:
|
467
|
+
pulumi.log.warn(f"Key '{key}' not found in FloorsettingFilterConfigSdpSettingsAdvancedConfig. Access the value via the '{suggest}' property getter instead.")
|
468
|
+
|
469
|
+
def __getitem__(self, key: str) -> Any:
|
470
|
+
FloorsettingFilterConfigSdpSettingsAdvancedConfig.__key_warning(key)
|
471
|
+
return super().__getitem__(key)
|
472
|
+
|
473
|
+
def get(self, key: str, default = None) -> Any:
|
474
|
+
FloorsettingFilterConfigSdpSettingsAdvancedConfig.__key_warning(key)
|
475
|
+
return super().get(key, default)
|
476
|
+
|
477
|
+
def __init__(__self__, *,
|
478
|
+
deidentify_template: Optional[_builtins.str] = None,
|
479
|
+
inspect_template: Optional[_builtins.str] = None):
|
480
|
+
"""
|
481
|
+
:param _builtins.str deidentify_template: Optional Sensitive Data Protection Deidentify template resource name.
|
482
|
+
If provided then DeidentifyContent action is performed during Sanitization
|
483
|
+
using this template and inspect template. The De-identified data will
|
484
|
+
be returned in SdpDeidentifyResult.
|
485
|
+
Note that all info-types present in the deidentify template must be present
|
486
|
+
in inspect template.
|
487
|
+
e.g.
|
488
|
+
`projects/{project}/locations/{location}/deidentifyTemplates/{deidentify_template}`
|
489
|
+
:param _builtins.str inspect_template: Sensitive Data Protection inspect template resource name
|
490
|
+
If only inspect template is provided (de-identify template not provided),
|
491
|
+
then Sensitive Data Protection InspectContent action is performed during
|
492
|
+
Sanitization. All Sensitive Data Protection findings identified during
|
493
|
+
inspection will be returned as SdpFinding in SdpInsepctionResult.
|
494
|
+
e.g:-
|
495
|
+
`projects/{project}/locations/{location}/inspectTemplates/{inspect_template}`
|
496
|
+
"""
|
497
|
+
if deidentify_template is not None:
|
498
|
+
pulumi.set(__self__, "deidentify_template", deidentify_template)
|
499
|
+
if inspect_template is not None:
|
500
|
+
pulumi.set(__self__, "inspect_template", inspect_template)
|
501
|
+
|
502
|
+
@_builtins.property
|
503
|
+
@pulumi.getter(name="deidentifyTemplate")
|
504
|
+
def deidentify_template(self) -> Optional[_builtins.str]:
|
505
|
+
"""
|
506
|
+
Optional Sensitive Data Protection Deidentify template resource name.
|
507
|
+
If provided then DeidentifyContent action is performed during Sanitization
|
508
|
+
using this template and inspect template. The De-identified data will
|
509
|
+
be returned in SdpDeidentifyResult.
|
510
|
+
Note that all info-types present in the deidentify template must be present
|
511
|
+
in inspect template.
|
512
|
+
e.g.
|
513
|
+
`projects/{project}/locations/{location}/deidentifyTemplates/{deidentify_template}`
|
514
|
+
"""
|
515
|
+
return pulumi.get(self, "deidentify_template")
|
516
|
+
|
517
|
+
@_builtins.property
|
518
|
+
@pulumi.getter(name="inspectTemplate")
|
519
|
+
def inspect_template(self) -> Optional[_builtins.str]:
|
520
|
+
"""
|
521
|
+
Sensitive Data Protection inspect template resource name
|
522
|
+
If only inspect template is provided (de-identify template not provided),
|
523
|
+
then Sensitive Data Protection InspectContent action is performed during
|
524
|
+
Sanitization. All Sensitive Data Protection findings identified during
|
525
|
+
inspection will be returned as SdpFinding in SdpInsepctionResult.
|
526
|
+
e.g:-
|
527
|
+
`projects/{project}/locations/{location}/inspectTemplates/{inspect_template}`
|
528
|
+
"""
|
529
|
+
return pulumi.get(self, "inspect_template")
|
530
|
+
|
531
|
+
|
532
|
+
@pulumi.output_type
|
533
|
+
class FloorsettingFilterConfigSdpSettingsBasicConfig(dict):
|
534
|
+
@staticmethod
|
535
|
+
def __key_warning(key: str):
|
536
|
+
suggest = None
|
537
|
+
if key == "filterEnforcement":
|
538
|
+
suggest = "filter_enforcement"
|
539
|
+
|
540
|
+
if suggest:
|
541
|
+
pulumi.log.warn(f"Key '{key}' not found in FloorsettingFilterConfigSdpSettingsBasicConfig. Access the value via the '{suggest}' property getter instead.")
|
542
|
+
|
543
|
+
def __getitem__(self, key: str) -> Any:
|
544
|
+
FloorsettingFilterConfigSdpSettingsBasicConfig.__key_warning(key)
|
545
|
+
return super().__getitem__(key)
|
546
|
+
|
547
|
+
def get(self, key: str, default = None) -> Any:
|
548
|
+
FloorsettingFilterConfigSdpSettingsBasicConfig.__key_warning(key)
|
549
|
+
return super().get(key, default)
|
550
|
+
|
551
|
+
def __init__(__self__, *,
|
552
|
+
filter_enforcement: Optional[_builtins.str] = None):
|
553
|
+
"""
|
554
|
+
:param _builtins.str filter_enforcement: Tells whether the Sensitive Data Protection basic config is enabled or
|
555
|
+
disabled.
|
556
|
+
Possible values:
|
557
|
+
ENABLED
|
558
|
+
DISABLED
|
559
|
+
"""
|
560
|
+
if filter_enforcement is not None:
|
561
|
+
pulumi.set(__self__, "filter_enforcement", filter_enforcement)
|
562
|
+
|
563
|
+
@_builtins.property
|
564
|
+
@pulumi.getter(name="filterEnforcement")
|
565
|
+
def filter_enforcement(self) -> Optional[_builtins.str]:
|
566
|
+
"""
|
567
|
+
Tells whether the Sensitive Data Protection basic config is enabled or
|
568
|
+
disabled.
|
569
|
+
Possible values:
|
570
|
+
ENABLED
|
571
|
+
DISABLED
|
572
|
+
"""
|
573
|
+
return pulumi.get(self, "filter_enforcement")
|
574
|
+
|
575
|
+
|
576
|
+
@pulumi.output_type
|
577
|
+
class FloorsettingFloorSettingMetadata(dict):
|
578
|
+
@staticmethod
|
579
|
+
def __key_warning(key: str):
|
580
|
+
suggest = None
|
581
|
+
if key == "multiLanguageDetection":
|
582
|
+
suggest = "multi_language_detection"
|
583
|
+
|
584
|
+
if suggest:
|
585
|
+
pulumi.log.warn(f"Key '{key}' not found in FloorsettingFloorSettingMetadata. Access the value via the '{suggest}' property getter instead.")
|
586
|
+
|
587
|
+
def __getitem__(self, key: str) -> Any:
|
588
|
+
FloorsettingFloorSettingMetadata.__key_warning(key)
|
589
|
+
return super().__getitem__(key)
|
590
|
+
|
591
|
+
def get(self, key: str, default = None) -> Any:
|
592
|
+
FloorsettingFloorSettingMetadata.__key_warning(key)
|
593
|
+
return super().get(key, default)
|
594
|
+
|
595
|
+
def __init__(__self__, *,
|
596
|
+
multi_language_detection: Optional['outputs.FloorsettingFloorSettingMetadataMultiLanguageDetection'] = None):
|
597
|
+
"""
|
598
|
+
:param 'FloorsettingFloorSettingMetadataMultiLanguageDetectionArgs' multi_language_detection: Metadata for multi language detection.
|
599
|
+
Structure is documented below.
|
600
|
+
"""
|
601
|
+
if multi_language_detection is not None:
|
602
|
+
pulumi.set(__self__, "multi_language_detection", multi_language_detection)
|
603
|
+
|
604
|
+
@_builtins.property
|
605
|
+
@pulumi.getter(name="multiLanguageDetection")
|
606
|
+
def multi_language_detection(self) -> Optional['outputs.FloorsettingFloorSettingMetadataMultiLanguageDetection']:
|
607
|
+
"""
|
608
|
+
Metadata for multi language detection.
|
609
|
+
Structure is documented below.
|
610
|
+
"""
|
611
|
+
return pulumi.get(self, "multi_language_detection")
|
612
|
+
|
613
|
+
|
614
|
+
@pulumi.output_type
|
615
|
+
class FloorsettingFloorSettingMetadataMultiLanguageDetection(dict):
|
616
|
+
@staticmethod
|
617
|
+
def __key_warning(key: str):
|
618
|
+
suggest = None
|
619
|
+
if key == "enableMultiLanguageDetection":
|
620
|
+
suggest = "enable_multi_language_detection"
|
621
|
+
|
622
|
+
if suggest:
|
623
|
+
pulumi.log.warn(f"Key '{key}' not found in FloorsettingFloorSettingMetadataMultiLanguageDetection. Access the value via the '{suggest}' property getter instead.")
|
624
|
+
|
625
|
+
def __getitem__(self, key: str) -> Any:
|
626
|
+
FloorsettingFloorSettingMetadataMultiLanguageDetection.__key_warning(key)
|
627
|
+
return super().__getitem__(key)
|
628
|
+
|
629
|
+
def get(self, key: str, default = None) -> Any:
|
630
|
+
FloorsettingFloorSettingMetadataMultiLanguageDetection.__key_warning(key)
|
631
|
+
return super().get(key, default)
|
632
|
+
|
633
|
+
def __init__(__self__, *,
|
634
|
+
enable_multi_language_detection: _builtins.bool):
|
635
|
+
"""
|
636
|
+
:param _builtins.bool enable_multi_language_detection: If true, multi language detection will be enabled.
|
637
|
+
"""
|
638
|
+
pulumi.set(__self__, "enable_multi_language_detection", enable_multi_language_detection)
|
639
|
+
|
640
|
+
@_builtins.property
|
641
|
+
@pulumi.getter(name="enableMultiLanguageDetection")
|
642
|
+
def enable_multi_language_detection(self) -> _builtins.bool:
|
643
|
+
"""
|
644
|
+
If true, multi language detection will be enabled.
|
645
|
+
"""
|
646
|
+
return pulumi.get(self, "enable_multi_language_detection")
|
647
|
+
|
648
|
+
|
31
649
|
@pulumi.output_type
|
32
650
|
class TemplateFilterConfig(dict):
|
33
651
|
@staticmethod
|