pulumi-gcp 7.21.0a1714565535__py3-none-any.whl → 7.21.0a1714768411__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 +40 -0
- pulumi_gcp/alloydb/_inputs.py +74 -0
- pulumi_gcp/alloydb/instance.py +90 -0
- pulumi_gcp/alloydb/outputs.py +98 -0
- pulumi_gcp/apigee/environment.py +47 -0
- pulumi_gcp/applicationintegration/__init__.py +1 -0
- pulumi_gcp/applicationintegration/_inputs.py +843 -0
- pulumi_gcp/applicationintegration/auth_config.py +998 -0
- pulumi_gcp/applicationintegration/outputs.py +891 -0
- pulumi_gcp/bigquerydatapolicy/_inputs.py +21 -4
- pulumi_gcp/bigquerydatapolicy/data_policy.py +78 -0
- pulumi_gcp/bigquerydatapolicy/outputs.py +16 -3
- pulumi_gcp/certificateauthority/_inputs.py +92 -12
- pulumi_gcp/certificateauthority/authority.py +110 -0
- pulumi_gcp/certificateauthority/certificate.py +176 -0
- pulumi_gcp/certificateauthority/outputs.py +144 -12
- pulumi_gcp/composer/__init__.py +1 -0
- pulumi_gcp/composer/user_workloads_secret.py +441 -0
- pulumi_gcp/compute/__init__.py +1 -0
- pulumi_gcp/compute/_inputs.py +121 -58
- pulumi_gcp/compute/global_forwarding_rule.py +0 -282
- pulumi_gcp/compute/outputs.py +120 -57
- pulumi_gcp/compute/region_target_https_proxy.py +257 -0
- pulumi_gcp/compute/region_url_map.py +0 -470
- pulumi_gcp/compute/security_policy_rule.py +850 -0
- pulumi_gcp/dataloss/__init__.py +1 -0
- pulumi_gcp/dataloss/_inputs.py +1040 -0
- pulumi_gcp/dataloss/outputs.py +1123 -0
- pulumi_gcp/dataloss/prevention_discovery_config.py +737 -0
- pulumi_gcp/dns/_inputs.py +2 -2
- pulumi_gcp/dns/outputs.py +2 -2
- pulumi_gcp/dns/record_set.py +2 -2
- pulumi_gcp/filestore/get_instance.py +11 -1
- pulumi_gcp/filestore/instance.py +101 -0
- pulumi_gcp/firebase/_inputs.py +16 -0
- pulumi_gcp/firebase/app_check_play_integrity_config.py +20 -0
- pulumi_gcp/firebase/app_check_recaptcha_enterprise_config.py +10 -0
- pulumi_gcp/firebase/hosting_version.py +44 -0
- pulumi_gcp/firebase/outputs.py +12 -0
- pulumi_gcp/logging/folder_sink.py +54 -0
- pulumi_gcp/logging/organization_sink.py +54 -0
- pulumi_gcp/monitoring/_inputs.py +46 -2
- pulumi_gcp/monitoring/outputs.py +40 -2
- pulumi_gcp/monitoring/uptime_check_config.py +6 -0
- pulumi_gcp/networkconnectivity/__init__.py +1 -0
- pulumi_gcp/networkconnectivity/internal_range.py +1024 -0
- pulumi_gcp/secretmanager/get_secret.py +13 -3
- pulumi_gcp/secretmanager/outputs.py +20 -1
- pulumi_gcp/secretmanager/secret.py +90 -3
- pulumi_gcp/storage/__init__.py +1 -0
- pulumi_gcp/storage/get_bucket_objects.py +153 -0
- pulumi_gcp/storage/outputs.py +63 -0
- {pulumi_gcp-7.21.0a1714565535.dist-info → pulumi_gcp-7.21.0a1714768411.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.21.0a1714565535.dist-info → pulumi_gcp-7.21.0a1714768411.dist-info}/RECORD +56 -50
- {pulumi_gcp-7.21.0a1714565535.dist-info → pulumi_gcp-7.21.0a1714768411.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.21.0a1714565535.dist-info → pulumi_gcp-7.21.0a1714768411.dist-info}/top_level.txt +0 -0
pulumi_gcp/dataloss/outputs.py
CHANGED
@@ -209,6 +209,31 @@ __all__ = [
|
|
209
209
|
'PreventionDeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionConditionExpressionsConditionsConditionValue',
|
210
210
|
'PreventionDeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionConditionExpressionsConditionsConditionValueDateValue',
|
211
211
|
'PreventionDeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSuppressionConditionExpressionsConditionsConditionValueTimeValue',
|
212
|
+
'PreventionDiscoveryConfigAction',
|
213
|
+
'PreventionDiscoveryConfigActionExportData',
|
214
|
+
'PreventionDiscoveryConfigActionExportDataProfileTable',
|
215
|
+
'PreventionDiscoveryConfigActionPubSubNotification',
|
216
|
+
'PreventionDiscoveryConfigActionPubSubNotificationPubsubCondition',
|
217
|
+
'PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionExpressions',
|
218
|
+
'PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionExpressionsCondition',
|
219
|
+
'PreventionDiscoveryConfigError',
|
220
|
+
'PreventionDiscoveryConfigErrorDetails',
|
221
|
+
'PreventionDiscoveryConfigOrgConfig',
|
222
|
+
'PreventionDiscoveryConfigOrgConfigLocation',
|
223
|
+
'PreventionDiscoveryConfigTarget',
|
224
|
+
'PreventionDiscoveryConfigTargetBigQueryTarget',
|
225
|
+
'PreventionDiscoveryConfigTargetBigQueryTargetCadence',
|
226
|
+
'PreventionDiscoveryConfigTargetBigQueryTargetCadenceSchemaModifiedCadence',
|
227
|
+
'PreventionDiscoveryConfigTargetBigQueryTargetCadenceTableModifiedCadence',
|
228
|
+
'PreventionDiscoveryConfigTargetBigQueryTargetConditions',
|
229
|
+
'PreventionDiscoveryConfigTargetBigQueryTargetConditionsOrConditions',
|
230
|
+
'PreventionDiscoveryConfigTargetBigQueryTargetConditionsTypes',
|
231
|
+
'PreventionDiscoveryConfigTargetBigQueryTargetDisabled',
|
232
|
+
'PreventionDiscoveryConfigTargetBigQueryTargetFilter',
|
233
|
+
'PreventionDiscoveryConfigTargetBigQueryTargetFilterOtherTables',
|
234
|
+
'PreventionDiscoveryConfigTargetBigQueryTargetFilterTables',
|
235
|
+
'PreventionDiscoveryConfigTargetBigQueryTargetFilterTablesIncludeRegexes',
|
236
|
+
'PreventionDiscoveryConfigTargetBigQueryTargetFilterTablesIncludeRegexesPattern',
|
212
237
|
'PreventionInspectTemplateInspectConfig',
|
213
238
|
'PreventionInspectTemplateInspectConfigCustomInfoType',
|
214
239
|
'PreventionInspectTemplateInspectConfigCustomInfoTypeDictionary',
|
@@ -11166,6 +11191,1104 @@ class PreventionDeidentifyTemplateDeidentifyConfigRecordTransformationsRecordSup
|
|
11166
11191
|
return pulumi.get(self, "seconds")
|
11167
11192
|
|
11168
11193
|
|
11194
|
+
@pulumi.output_type
|
11195
|
+
class PreventionDiscoveryConfigAction(dict):
|
11196
|
+
@staticmethod
|
11197
|
+
def __key_warning(key: str):
|
11198
|
+
suggest = None
|
11199
|
+
if key == "exportData":
|
11200
|
+
suggest = "export_data"
|
11201
|
+
elif key == "pubSubNotification":
|
11202
|
+
suggest = "pub_sub_notification"
|
11203
|
+
|
11204
|
+
if suggest:
|
11205
|
+
pulumi.log.warn(f"Key '{key}' not found in PreventionDiscoveryConfigAction. Access the value via the '{suggest}' property getter instead.")
|
11206
|
+
|
11207
|
+
def __getitem__(self, key: str) -> Any:
|
11208
|
+
PreventionDiscoveryConfigAction.__key_warning(key)
|
11209
|
+
return super().__getitem__(key)
|
11210
|
+
|
11211
|
+
def get(self, key: str, default = None) -> Any:
|
11212
|
+
PreventionDiscoveryConfigAction.__key_warning(key)
|
11213
|
+
return super().get(key, default)
|
11214
|
+
|
11215
|
+
def __init__(__self__, *,
|
11216
|
+
export_data: Optional['outputs.PreventionDiscoveryConfigActionExportData'] = None,
|
11217
|
+
pub_sub_notification: Optional['outputs.PreventionDiscoveryConfigActionPubSubNotification'] = None):
|
11218
|
+
"""
|
11219
|
+
:param 'PreventionDiscoveryConfigActionExportDataArgs' export_data: Export data profiles into a provided location
|
11220
|
+
Structure is documented below.
|
11221
|
+
:param 'PreventionDiscoveryConfigActionPubSubNotificationArgs' pub_sub_notification: Publish a message into the Pub/Sub topic.
|
11222
|
+
Structure is documented below.
|
11223
|
+
"""
|
11224
|
+
if export_data is not None:
|
11225
|
+
pulumi.set(__self__, "export_data", export_data)
|
11226
|
+
if pub_sub_notification is not None:
|
11227
|
+
pulumi.set(__self__, "pub_sub_notification", pub_sub_notification)
|
11228
|
+
|
11229
|
+
@property
|
11230
|
+
@pulumi.getter(name="exportData")
|
11231
|
+
def export_data(self) -> Optional['outputs.PreventionDiscoveryConfigActionExportData']:
|
11232
|
+
"""
|
11233
|
+
Export data profiles into a provided location
|
11234
|
+
Structure is documented below.
|
11235
|
+
"""
|
11236
|
+
return pulumi.get(self, "export_data")
|
11237
|
+
|
11238
|
+
@property
|
11239
|
+
@pulumi.getter(name="pubSubNotification")
|
11240
|
+
def pub_sub_notification(self) -> Optional['outputs.PreventionDiscoveryConfigActionPubSubNotification']:
|
11241
|
+
"""
|
11242
|
+
Publish a message into the Pub/Sub topic.
|
11243
|
+
Structure is documented below.
|
11244
|
+
"""
|
11245
|
+
return pulumi.get(self, "pub_sub_notification")
|
11246
|
+
|
11247
|
+
|
11248
|
+
@pulumi.output_type
|
11249
|
+
class PreventionDiscoveryConfigActionExportData(dict):
|
11250
|
+
@staticmethod
|
11251
|
+
def __key_warning(key: str):
|
11252
|
+
suggest = None
|
11253
|
+
if key == "profileTable":
|
11254
|
+
suggest = "profile_table"
|
11255
|
+
|
11256
|
+
if suggest:
|
11257
|
+
pulumi.log.warn(f"Key '{key}' not found in PreventionDiscoveryConfigActionExportData. Access the value via the '{suggest}' property getter instead.")
|
11258
|
+
|
11259
|
+
def __getitem__(self, key: str) -> Any:
|
11260
|
+
PreventionDiscoveryConfigActionExportData.__key_warning(key)
|
11261
|
+
return super().__getitem__(key)
|
11262
|
+
|
11263
|
+
def get(self, key: str, default = None) -> Any:
|
11264
|
+
PreventionDiscoveryConfigActionExportData.__key_warning(key)
|
11265
|
+
return super().get(key, default)
|
11266
|
+
|
11267
|
+
def __init__(__self__, *,
|
11268
|
+
profile_table: Optional['outputs.PreventionDiscoveryConfigActionExportDataProfileTable'] = None):
|
11269
|
+
"""
|
11270
|
+
:param 'PreventionDiscoveryConfigActionExportDataProfileTableArgs' profile_table: Store all table and column profiles in an existing table or a new table in an existing dataset. Each re-generation will result in a new row in BigQuery
|
11271
|
+
Structure is documented below.
|
11272
|
+
"""
|
11273
|
+
if profile_table is not None:
|
11274
|
+
pulumi.set(__self__, "profile_table", profile_table)
|
11275
|
+
|
11276
|
+
@property
|
11277
|
+
@pulumi.getter(name="profileTable")
|
11278
|
+
def profile_table(self) -> Optional['outputs.PreventionDiscoveryConfigActionExportDataProfileTable']:
|
11279
|
+
"""
|
11280
|
+
Store all table and column profiles in an existing table or a new table in an existing dataset. Each re-generation will result in a new row in BigQuery
|
11281
|
+
Structure is documented below.
|
11282
|
+
"""
|
11283
|
+
return pulumi.get(self, "profile_table")
|
11284
|
+
|
11285
|
+
|
11286
|
+
@pulumi.output_type
|
11287
|
+
class PreventionDiscoveryConfigActionExportDataProfileTable(dict):
|
11288
|
+
@staticmethod
|
11289
|
+
def __key_warning(key: str):
|
11290
|
+
suggest = None
|
11291
|
+
if key == "datasetId":
|
11292
|
+
suggest = "dataset_id"
|
11293
|
+
elif key == "projectId":
|
11294
|
+
suggest = "project_id"
|
11295
|
+
elif key == "tableId":
|
11296
|
+
suggest = "table_id"
|
11297
|
+
|
11298
|
+
if suggest:
|
11299
|
+
pulumi.log.warn(f"Key '{key}' not found in PreventionDiscoveryConfigActionExportDataProfileTable. Access the value via the '{suggest}' property getter instead.")
|
11300
|
+
|
11301
|
+
def __getitem__(self, key: str) -> Any:
|
11302
|
+
PreventionDiscoveryConfigActionExportDataProfileTable.__key_warning(key)
|
11303
|
+
return super().__getitem__(key)
|
11304
|
+
|
11305
|
+
def get(self, key: str, default = None) -> Any:
|
11306
|
+
PreventionDiscoveryConfigActionExportDataProfileTable.__key_warning(key)
|
11307
|
+
return super().get(key, default)
|
11308
|
+
|
11309
|
+
def __init__(__self__, *,
|
11310
|
+
dataset_id: Optional[str] = None,
|
11311
|
+
project_id: Optional[str] = None,
|
11312
|
+
table_id: Optional[str] = None):
|
11313
|
+
"""
|
11314
|
+
:param str dataset_id: Dataset Id of the table
|
11315
|
+
:param str project_id: The Google Cloud Platform project ID of the project containing the table. If omitted, the project ID is inferred from the API call.
|
11316
|
+
:param str table_id: Name of the table
|
11317
|
+
"""
|
11318
|
+
if dataset_id is not None:
|
11319
|
+
pulumi.set(__self__, "dataset_id", dataset_id)
|
11320
|
+
if project_id is not None:
|
11321
|
+
pulumi.set(__self__, "project_id", project_id)
|
11322
|
+
if table_id is not None:
|
11323
|
+
pulumi.set(__self__, "table_id", table_id)
|
11324
|
+
|
11325
|
+
@property
|
11326
|
+
@pulumi.getter(name="datasetId")
|
11327
|
+
def dataset_id(self) -> Optional[str]:
|
11328
|
+
"""
|
11329
|
+
Dataset Id of the table
|
11330
|
+
"""
|
11331
|
+
return pulumi.get(self, "dataset_id")
|
11332
|
+
|
11333
|
+
@property
|
11334
|
+
@pulumi.getter(name="projectId")
|
11335
|
+
def project_id(self) -> Optional[str]:
|
11336
|
+
"""
|
11337
|
+
The Google Cloud Platform project ID of the project containing the table. If omitted, the project ID is inferred from the API call.
|
11338
|
+
"""
|
11339
|
+
return pulumi.get(self, "project_id")
|
11340
|
+
|
11341
|
+
@property
|
11342
|
+
@pulumi.getter(name="tableId")
|
11343
|
+
def table_id(self) -> Optional[str]:
|
11344
|
+
"""
|
11345
|
+
Name of the table
|
11346
|
+
"""
|
11347
|
+
return pulumi.get(self, "table_id")
|
11348
|
+
|
11349
|
+
|
11350
|
+
@pulumi.output_type
|
11351
|
+
class PreventionDiscoveryConfigActionPubSubNotification(dict):
|
11352
|
+
@staticmethod
|
11353
|
+
def __key_warning(key: str):
|
11354
|
+
suggest = None
|
11355
|
+
if key == "detailOfMessage":
|
11356
|
+
suggest = "detail_of_message"
|
11357
|
+
elif key == "pubsubCondition":
|
11358
|
+
suggest = "pubsub_condition"
|
11359
|
+
|
11360
|
+
if suggest:
|
11361
|
+
pulumi.log.warn(f"Key '{key}' not found in PreventionDiscoveryConfigActionPubSubNotification. Access the value via the '{suggest}' property getter instead.")
|
11362
|
+
|
11363
|
+
def __getitem__(self, key: str) -> Any:
|
11364
|
+
PreventionDiscoveryConfigActionPubSubNotification.__key_warning(key)
|
11365
|
+
return super().__getitem__(key)
|
11366
|
+
|
11367
|
+
def get(self, key: str, default = None) -> Any:
|
11368
|
+
PreventionDiscoveryConfigActionPubSubNotification.__key_warning(key)
|
11369
|
+
return super().get(key, default)
|
11370
|
+
|
11371
|
+
def __init__(__self__, *,
|
11372
|
+
detail_of_message: Optional[str] = None,
|
11373
|
+
event: Optional[str] = None,
|
11374
|
+
pubsub_condition: Optional['outputs.PreventionDiscoveryConfigActionPubSubNotificationPubsubCondition'] = None,
|
11375
|
+
topic: Optional[str] = None):
|
11376
|
+
"""
|
11377
|
+
:param str detail_of_message: How much data to include in the pub/sub message.
|
11378
|
+
Possible values are: `TABLE_PROFILE`, `RESOURCE_NAME`.
|
11379
|
+
:param str event: The type of event that triggers a Pub/Sub. At most one PubSubNotification per EventType is permitted.
|
11380
|
+
Possible values are: `NEW_PROFILE`, `CHANGED_PROFILE`, `SCORE_INCREASED`, `ERROR_CHANGED`.
|
11381
|
+
:param 'PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionArgs' pubsub_condition: Conditions for triggering pubsub
|
11382
|
+
Structure is documented below.
|
11383
|
+
:param str topic: Cloud Pub/Sub topic to send notifications to. Format is projects/{project}/topics/{topic}.
|
11384
|
+
"""
|
11385
|
+
if detail_of_message is not None:
|
11386
|
+
pulumi.set(__self__, "detail_of_message", detail_of_message)
|
11387
|
+
if event is not None:
|
11388
|
+
pulumi.set(__self__, "event", event)
|
11389
|
+
if pubsub_condition is not None:
|
11390
|
+
pulumi.set(__self__, "pubsub_condition", pubsub_condition)
|
11391
|
+
if topic is not None:
|
11392
|
+
pulumi.set(__self__, "topic", topic)
|
11393
|
+
|
11394
|
+
@property
|
11395
|
+
@pulumi.getter(name="detailOfMessage")
|
11396
|
+
def detail_of_message(self) -> Optional[str]:
|
11397
|
+
"""
|
11398
|
+
How much data to include in the pub/sub message.
|
11399
|
+
Possible values are: `TABLE_PROFILE`, `RESOURCE_NAME`.
|
11400
|
+
"""
|
11401
|
+
return pulumi.get(self, "detail_of_message")
|
11402
|
+
|
11403
|
+
@property
|
11404
|
+
@pulumi.getter
|
11405
|
+
def event(self) -> Optional[str]:
|
11406
|
+
"""
|
11407
|
+
The type of event that triggers a Pub/Sub. At most one PubSubNotification per EventType is permitted.
|
11408
|
+
Possible values are: `NEW_PROFILE`, `CHANGED_PROFILE`, `SCORE_INCREASED`, `ERROR_CHANGED`.
|
11409
|
+
"""
|
11410
|
+
return pulumi.get(self, "event")
|
11411
|
+
|
11412
|
+
@property
|
11413
|
+
@pulumi.getter(name="pubsubCondition")
|
11414
|
+
def pubsub_condition(self) -> Optional['outputs.PreventionDiscoveryConfigActionPubSubNotificationPubsubCondition']:
|
11415
|
+
"""
|
11416
|
+
Conditions for triggering pubsub
|
11417
|
+
Structure is documented below.
|
11418
|
+
"""
|
11419
|
+
return pulumi.get(self, "pubsub_condition")
|
11420
|
+
|
11421
|
+
@property
|
11422
|
+
@pulumi.getter
|
11423
|
+
def topic(self) -> Optional[str]:
|
11424
|
+
"""
|
11425
|
+
Cloud Pub/Sub topic to send notifications to. Format is projects/{project}/topics/{topic}.
|
11426
|
+
"""
|
11427
|
+
return pulumi.get(self, "topic")
|
11428
|
+
|
11429
|
+
|
11430
|
+
@pulumi.output_type
|
11431
|
+
class PreventionDiscoveryConfigActionPubSubNotificationPubsubCondition(dict):
|
11432
|
+
def __init__(__self__, *,
|
11433
|
+
expressions: Optional['outputs.PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionExpressions'] = None):
|
11434
|
+
"""
|
11435
|
+
:param 'PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionExpressionsArgs' expressions: An expression
|
11436
|
+
Structure is documented below.
|
11437
|
+
"""
|
11438
|
+
if expressions is not None:
|
11439
|
+
pulumi.set(__self__, "expressions", expressions)
|
11440
|
+
|
11441
|
+
@property
|
11442
|
+
@pulumi.getter
|
11443
|
+
def expressions(self) -> Optional['outputs.PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionExpressions']:
|
11444
|
+
"""
|
11445
|
+
An expression
|
11446
|
+
Structure is documented below.
|
11447
|
+
"""
|
11448
|
+
return pulumi.get(self, "expressions")
|
11449
|
+
|
11450
|
+
|
11451
|
+
@pulumi.output_type
|
11452
|
+
class PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionExpressions(dict):
|
11453
|
+
@staticmethod
|
11454
|
+
def __key_warning(key: str):
|
11455
|
+
suggest = None
|
11456
|
+
if key == "logicalOperator":
|
11457
|
+
suggest = "logical_operator"
|
11458
|
+
|
11459
|
+
if suggest:
|
11460
|
+
pulumi.log.warn(f"Key '{key}' not found in PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionExpressions. Access the value via the '{suggest}' property getter instead.")
|
11461
|
+
|
11462
|
+
def __getitem__(self, key: str) -> Any:
|
11463
|
+
PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionExpressions.__key_warning(key)
|
11464
|
+
return super().__getitem__(key)
|
11465
|
+
|
11466
|
+
def get(self, key: str, default = None) -> Any:
|
11467
|
+
PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionExpressions.__key_warning(key)
|
11468
|
+
return super().get(key, default)
|
11469
|
+
|
11470
|
+
def __init__(__self__, *,
|
11471
|
+
conditions: Optional[Sequence['outputs.PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionExpressionsCondition']] = None,
|
11472
|
+
logical_operator: Optional[str] = None):
|
11473
|
+
"""
|
11474
|
+
:param Sequence['PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionExpressionsConditionArgs'] conditions: Conditions to apply to the expression
|
11475
|
+
Structure is documented below.
|
11476
|
+
:param str logical_operator: The operator to apply to the collection of conditions
|
11477
|
+
Possible values are: `OR`, `AND`.
|
11478
|
+
"""
|
11479
|
+
if conditions is not None:
|
11480
|
+
pulumi.set(__self__, "conditions", conditions)
|
11481
|
+
if logical_operator is not None:
|
11482
|
+
pulumi.set(__self__, "logical_operator", logical_operator)
|
11483
|
+
|
11484
|
+
@property
|
11485
|
+
@pulumi.getter
|
11486
|
+
def conditions(self) -> Optional[Sequence['outputs.PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionExpressionsCondition']]:
|
11487
|
+
"""
|
11488
|
+
Conditions to apply to the expression
|
11489
|
+
Structure is documented below.
|
11490
|
+
"""
|
11491
|
+
return pulumi.get(self, "conditions")
|
11492
|
+
|
11493
|
+
@property
|
11494
|
+
@pulumi.getter(name="logicalOperator")
|
11495
|
+
def logical_operator(self) -> Optional[str]:
|
11496
|
+
"""
|
11497
|
+
The operator to apply to the collection of conditions
|
11498
|
+
Possible values are: `OR`, `AND`.
|
11499
|
+
"""
|
11500
|
+
return pulumi.get(self, "logical_operator")
|
11501
|
+
|
11502
|
+
|
11503
|
+
@pulumi.output_type
|
11504
|
+
class PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionExpressionsCondition(dict):
|
11505
|
+
@staticmethod
|
11506
|
+
def __key_warning(key: str):
|
11507
|
+
suggest = None
|
11508
|
+
if key == "minimumRiskScore":
|
11509
|
+
suggest = "minimum_risk_score"
|
11510
|
+
elif key == "minimumSensitivityScore":
|
11511
|
+
suggest = "minimum_sensitivity_score"
|
11512
|
+
|
11513
|
+
if suggest:
|
11514
|
+
pulumi.log.warn(f"Key '{key}' not found in PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionExpressionsCondition. Access the value via the '{suggest}' property getter instead.")
|
11515
|
+
|
11516
|
+
def __getitem__(self, key: str) -> Any:
|
11517
|
+
PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionExpressionsCondition.__key_warning(key)
|
11518
|
+
return super().__getitem__(key)
|
11519
|
+
|
11520
|
+
def get(self, key: str, default = None) -> Any:
|
11521
|
+
PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionExpressionsCondition.__key_warning(key)
|
11522
|
+
return super().get(key, default)
|
11523
|
+
|
11524
|
+
def __init__(__self__, *,
|
11525
|
+
minimum_risk_score: Optional[str] = None,
|
11526
|
+
minimum_sensitivity_score: Optional[str] = None):
|
11527
|
+
"""
|
11528
|
+
:param str minimum_risk_score: The minimum data risk score that triggers the condition.
|
11529
|
+
Possible values are: `HIGH`, `MEDIUM_OR_HIGH`.
|
11530
|
+
:param str minimum_sensitivity_score: The minimum sensitivity level that triggers the condition.
|
11531
|
+
Possible values are: `HIGH`, `MEDIUM_OR_HIGH`.
|
11532
|
+
"""
|
11533
|
+
if minimum_risk_score is not None:
|
11534
|
+
pulumi.set(__self__, "minimum_risk_score", minimum_risk_score)
|
11535
|
+
if minimum_sensitivity_score is not None:
|
11536
|
+
pulumi.set(__self__, "minimum_sensitivity_score", minimum_sensitivity_score)
|
11537
|
+
|
11538
|
+
@property
|
11539
|
+
@pulumi.getter(name="minimumRiskScore")
|
11540
|
+
def minimum_risk_score(self) -> Optional[str]:
|
11541
|
+
"""
|
11542
|
+
The minimum data risk score that triggers the condition.
|
11543
|
+
Possible values are: `HIGH`, `MEDIUM_OR_HIGH`.
|
11544
|
+
"""
|
11545
|
+
return pulumi.get(self, "minimum_risk_score")
|
11546
|
+
|
11547
|
+
@property
|
11548
|
+
@pulumi.getter(name="minimumSensitivityScore")
|
11549
|
+
def minimum_sensitivity_score(self) -> Optional[str]:
|
11550
|
+
"""
|
11551
|
+
The minimum sensitivity level that triggers the condition.
|
11552
|
+
Possible values are: `HIGH`, `MEDIUM_OR_HIGH`.
|
11553
|
+
"""
|
11554
|
+
return pulumi.get(self, "minimum_sensitivity_score")
|
11555
|
+
|
11556
|
+
|
11557
|
+
@pulumi.output_type
|
11558
|
+
class PreventionDiscoveryConfigError(dict):
|
11559
|
+
def __init__(__self__, *,
|
11560
|
+
details: Optional['outputs.PreventionDiscoveryConfigErrorDetails'] = None,
|
11561
|
+
timestamp: Optional[str] = None):
|
11562
|
+
"""
|
11563
|
+
:param 'PreventionDiscoveryConfigErrorDetailsArgs' details: A list of messages that carry the error details.
|
11564
|
+
:param str timestamp: The times the error occurred. List includes the oldest timestamp and the last 9 timestamps.
|
11565
|
+
"""
|
11566
|
+
if details is not None:
|
11567
|
+
pulumi.set(__self__, "details", details)
|
11568
|
+
if timestamp is not None:
|
11569
|
+
pulumi.set(__self__, "timestamp", timestamp)
|
11570
|
+
|
11571
|
+
@property
|
11572
|
+
@pulumi.getter
|
11573
|
+
def details(self) -> Optional['outputs.PreventionDiscoveryConfigErrorDetails']:
|
11574
|
+
"""
|
11575
|
+
A list of messages that carry the error details.
|
11576
|
+
"""
|
11577
|
+
return pulumi.get(self, "details")
|
11578
|
+
|
11579
|
+
@property
|
11580
|
+
@pulumi.getter
|
11581
|
+
def timestamp(self) -> Optional[str]:
|
11582
|
+
"""
|
11583
|
+
The times the error occurred. List includes the oldest timestamp and the last 9 timestamps.
|
11584
|
+
"""
|
11585
|
+
return pulumi.get(self, "timestamp")
|
11586
|
+
|
11587
|
+
|
11588
|
+
@pulumi.output_type
|
11589
|
+
class PreventionDiscoveryConfigErrorDetails(dict):
|
11590
|
+
def __init__(__self__, *,
|
11591
|
+
code: Optional[int] = None,
|
11592
|
+
details: Optional[Sequence[Mapping[str, Any]]] = None,
|
11593
|
+
message: Optional[str] = None):
|
11594
|
+
"""
|
11595
|
+
:param int code: The status code, which should be an enum value of google.rpc.Code.
|
11596
|
+
:param Sequence[Mapping[str, Any]] details: A list of messages that carry the error details.
|
11597
|
+
:param str message: A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
|
11598
|
+
"""
|
11599
|
+
if code is not None:
|
11600
|
+
pulumi.set(__self__, "code", code)
|
11601
|
+
if details is not None:
|
11602
|
+
pulumi.set(__self__, "details", details)
|
11603
|
+
if message is not None:
|
11604
|
+
pulumi.set(__self__, "message", message)
|
11605
|
+
|
11606
|
+
@property
|
11607
|
+
@pulumi.getter
|
11608
|
+
def code(self) -> Optional[int]:
|
11609
|
+
"""
|
11610
|
+
The status code, which should be an enum value of google.rpc.Code.
|
11611
|
+
"""
|
11612
|
+
return pulumi.get(self, "code")
|
11613
|
+
|
11614
|
+
@property
|
11615
|
+
@pulumi.getter
|
11616
|
+
def details(self) -> Optional[Sequence[Mapping[str, Any]]]:
|
11617
|
+
"""
|
11618
|
+
A list of messages that carry the error details.
|
11619
|
+
"""
|
11620
|
+
return pulumi.get(self, "details")
|
11621
|
+
|
11622
|
+
@property
|
11623
|
+
@pulumi.getter
|
11624
|
+
def message(self) -> Optional[str]:
|
11625
|
+
"""
|
11626
|
+
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
|
11627
|
+
"""
|
11628
|
+
return pulumi.get(self, "message")
|
11629
|
+
|
11630
|
+
|
11631
|
+
@pulumi.output_type
|
11632
|
+
class PreventionDiscoveryConfigOrgConfig(dict):
|
11633
|
+
@staticmethod
|
11634
|
+
def __key_warning(key: str):
|
11635
|
+
suggest = None
|
11636
|
+
if key == "projectId":
|
11637
|
+
suggest = "project_id"
|
11638
|
+
|
11639
|
+
if suggest:
|
11640
|
+
pulumi.log.warn(f"Key '{key}' not found in PreventionDiscoveryConfigOrgConfig. Access the value via the '{suggest}' property getter instead.")
|
11641
|
+
|
11642
|
+
def __getitem__(self, key: str) -> Any:
|
11643
|
+
PreventionDiscoveryConfigOrgConfig.__key_warning(key)
|
11644
|
+
return super().__getitem__(key)
|
11645
|
+
|
11646
|
+
def get(self, key: str, default = None) -> Any:
|
11647
|
+
PreventionDiscoveryConfigOrgConfig.__key_warning(key)
|
11648
|
+
return super().get(key, default)
|
11649
|
+
|
11650
|
+
def __init__(__self__, *,
|
11651
|
+
location: Optional['outputs.PreventionDiscoveryConfigOrgConfigLocation'] = None,
|
11652
|
+
project_id: Optional[str] = None):
|
11653
|
+
"""
|
11654
|
+
:param 'PreventionDiscoveryConfigOrgConfigLocationArgs' location: The data to scan folder org or project
|
11655
|
+
Structure is documented below.
|
11656
|
+
:param str project_id: The project that will run the scan. The DLP service account that exists within this project must have access to all resources that are profiled, and the cloud DLP API must be enabled.
|
11657
|
+
"""
|
11658
|
+
if location is not None:
|
11659
|
+
pulumi.set(__self__, "location", location)
|
11660
|
+
if project_id is not None:
|
11661
|
+
pulumi.set(__self__, "project_id", project_id)
|
11662
|
+
|
11663
|
+
@property
|
11664
|
+
@pulumi.getter
|
11665
|
+
def location(self) -> Optional['outputs.PreventionDiscoveryConfigOrgConfigLocation']:
|
11666
|
+
"""
|
11667
|
+
The data to scan folder org or project
|
11668
|
+
Structure is documented below.
|
11669
|
+
"""
|
11670
|
+
return pulumi.get(self, "location")
|
11671
|
+
|
11672
|
+
@property
|
11673
|
+
@pulumi.getter(name="projectId")
|
11674
|
+
def project_id(self) -> Optional[str]:
|
11675
|
+
"""
|
11676
|
+
The project that will run the scan. The DLP service account that exists within this project must have access to all resources that are profiled, and the cloud DLP API must be enabled.
|
11677
|
+
"""
|
11678
|
+
return pulumi.get(self, "project_id")
|
11679
|
+
|
11680
|
+
|
11681
|
+
@pulumi.output_type
|
11682
|
+
class PreventionDiscoveryConfigOrgConfigLocation(dict):
|
11683
|
+
@staticmethod
|
11684
|
+
def __key_warning(key: str):
|
11685
|
+
suggest = None
|
11686
|
+
if key == "folderId":
|
11687
|
+
suggest = "folder_id"
|
11688
|
+
elif key == "organizationId":
|
11689
|
+
suggest = "organization_id"
|
11690
|
+
|
11691
|
+
if suggest:
|
11692
|
+
pulumi.log.warn(f"Key '{key}' not found in PreventionDiscoveryConfigOrgConfigLocation. Access the value via the '{suggest}' property getter instead.")
|
11693
|
+
|
11694
|
+
def __getitem__(self, key: str) -> Any:
|
11695
|
+
PreventionDiscoveryConfigOrgConfigLocation.__key_warning(key)
|
11696
|
+
return super().__getitem__(key)
|
11697
|
+
|
11698
|
+
def get(self, key: str, default = None) -> Any:
|
11699
|
+
PreventionDiscoveryConfigOrgConfigLocation.__key_warning(key)
|
11700
|
+
return super().get(key, default)
|
11701
|
+
|
11702
|
+
def __init__(__self__, *,
|
11703
|
+
folder_id: Optional[str] = None,
|
11704
|
+
organization_id: Optional[str] = None):
|
11705
|
+
"""
|
11706
|
+
:param str folder_id: The ID for the folder within an organization to scan
|
11707
|
+
:param str organization_id: The ID of an organization to scan
|
11708
|
+
"""
|
11709
|
+
if folder_id is not None:
|
11710
|
+
pulumi.set(__self__, "folder_id", folder_id)
|
11711
|
+
if organization_id is not None:
|
11712
|
+
pulumi.set(__self__, "organization_id", organization_id)
|
11713
|
+
|
11714
|
+
@property
|
11715
|
+
@pulumi.getter(name="folderId")
|
11716
|
+
def folder_id(self) -> Optional[str]:
|
11717
|
+
"""
|
11718
|
+
The ID for the folder within an organization to scan
|
11719
|
+
"""
|
11720
|
+
return pulumi.get(self, "folder_id")
|
11721
|
+
|
11722
|
+
@property
|
11723
|
+
@pulumi.getter(name="organizationId")
|
11724
|
+
def organization_id(self) -> Optional[str]:
|
11725
|
+
"""
|
11726
|
+
The ID of an organization to scan
|
11727
|
+
"""
|
11728
|
+
return pulumi.get(self, "organization_id")
|
11729
|
+
|
11730
|
+
|
11731
|
+
@pulumi.output_type
|
11732
|
+
class PreventionDiscoveryConfigTarget(dict):
|
11733
|
+
@staticmethod
|
11734
|
+
def __key_warning(key: str):
|
11735
|
+
suggest = None
|
11736
|
+
if key == "bigQueryTarget":
|
11737
|
+
suggest = "big_query_target"
|
11738
|
+
|
11739
|
+
if suggest:
|
11740
|
+
pulumi.log.warn(f"Key '{key}' not found in PreventionDiscoveryConfigTarget. Access the value via the '{suggest}' property getter instead.")
|
11741
|
+
|
11742
|
+
def __getitem__(self, key: str) -> Any:
|
11743
|
+
PreventionDiscoveryConfigTarget.__key_warning(key)
|
11744
|
+
return super().__getitem__(key)
|
11745
|
+
|
11746
|
+
def get(self, key: str, default = None) -> Any:
|
11747
|
+
PreventionDiscoveryConfigTarget.__key_warning(key)
|
11748
|
+
return super().get(key, default)
|
11749
|
+
|
11750
|
+
def __init__(__self__, *,
|
11751
|
+
big_query_target: Optional['outputs.PreventionDiscoveryConfigTargetBigQueryTarget'] = None):
|
11752
|
+
"""
|
11753
|
+
:param 'PreventionDiscoveryConfigTargetBigQueryTargetArgs' big_query_target: BigQuery target for Discovery. The first target to match a table will be the one applied.
|
11754
|
+
Structure is documented below.
|
11755
|
+
"""
|
11756
|
+
if big_query_target is not None:
|
11757
|
+
pulumi.set(__self__, "big_query_target", big_query_target)
|
11758
|
+
|
11759
|
+
@property
|
11760
|
+
@pulumi.getter(name="bigQueryTarget")
|
11761
|
+
def big_query_target(self) -> Optional['outputs.PreventionDiscoveryConfigTargetBigQueryTarget']:
|
11762
|
+
"""
|
11763
|
+
BigQuery target for Discovery. The first target to match a table will be the one applied.
|
11764
|
+
Structure is documented below.
|
11765
|
+
"""
|
11766
|
+
return pulumi.get(self, "big_query_target")
|
11767
|
+
|
11768
|
+
|
11769
|
+
@pulumi.output_type
|
11770
|
+
class PreventionDiscoveryConfigTargetBigQueryTarget(dict):
|
11771
|
+
def __init__(__self__, *,
|
11772
|
+
cadence: Optional['outputs.PreventionDiscoveryConfigTargetBigQueryTargetCadence'] = None,
|
11773
|
+
conditions: Optional['outputs.PreventionDiscoveryConfigTargetBigQueryTargetConditions'] = None,
|
11774
|
+
disabled: Optional['outputs.PreventionDiscoveryConfigTargetBigQueryTargetDisabled'] = None,
|
11775
|
+
filter: Optional['outputs.PreventionDiscoveryConfigTargetBigQueryTargetFilter'] = None):
|
11776
|
+
"""
|
11777
|
+
:param 'PreventionDiscoveryConfigTargetBigQueryTargetCadenceArgs' cadence: How often and when to update profiles. New tables that match both the fiter and conditions are scanned as quickly as possible depending on system capacity.
|
11778
|
+
Structure is documented below.
|
11779
|
+
:param 'PreventionDiscoveryConfigTargetBigQueryTargetConditionsArgs' conditions: In addition to matching the filter, these conditions must be true before a profile is generated
|
11780
|
+
Structure is documented below.
|
11781
|
+
:param 'PreventionDiscoveryConfigTargetBigQueryTargetDisabledArgs' disabled: Tables that match this filter will not have profiles created.
|
11782
|
+
:param 'PreventionDiscoveryConfigTargetBigQueryTargetFilterArgs' filter: Required. The tables the discovery cadence applies to. The first target with a matching filter will be the one to apply to a table
|
11783
|
+
Structure is documented below.
|
11784
|
+
"""
|
11785
|
+
if cadence is not None:
|
11786
|
+
pulumi.set(__self__, "cadence", cadence)
|
11787
|
+
if conditions is not None:
|
11788
|
+
pulumi.set(__self__, "conditions", conditions)
|
11789
|
+
if disabled is not None:
|
11790
|
+
pulumi.set(__self__, "disabled", disabled)
|
11791
|
+
if filter is not None:
|
11792
|
+
pulumi.set(__self__, "filter", filter)
|
11793
|
+
|
11794
|
+
@property
|
11795
|
+
@pulumi.getter
|
11796
|
+
def cadence(self) -> Optional['outputs.PreventionDiscoveryConfigTargetBigQueryTargetCadence']:
|
11797
|
+
"""
|
11798
|
+
How often and when to update profiles. New tables that match both the fiter and conditions are scanned as quickly as possible depending on system capacity.
|
11799
|
+
Structure is documented below.
|
11800
|
+
"""
|
11801
|
+
return pulumi.get(self, "cadence")
|
11802
|
+
|
11803
|
+
@property
|
11804
|
+
@pulumi.getter
|
11805
|
+
def conditions(self) -> Optional['outputs.PreventionDiscoveryConfigTargetBigQueryTargetConditions']:
|
11806
|
+
"""
|
11807
|
+
In addition to matching the filter, these conditions must be true before a profile is generated
|
11808
|
+
Structure is documented below.
|
11809
|
+
"""
|
11810
|
+
return pulumi.get(self, "conditions")
|
11811
|
+
|
11812
|
+
@property
|
11813
|
+
@pulumi.getter
|
11814
|
+
def disabled(self) -> Optional['outputs.PreventionDiscoveryConfigTargetBigQueryTargetDisabled']:
|
11815
|
+
"""
|
11816
|
+
Tables that match this filter will not have profiles created.
|
11817
|
+
"""
|
11818
|
+
return pulumi.get(self, "disabled")
|
11819
|
+
|
11820
|
+
@property
|
11821
|
+
@pulumi.getter
|
11822
|
+
def filter(self) -> Optional['outputs.PreventionDiscoveryConfigTargetBigQueryTargetFilter']:
|
11823
|
+
"""
|
11824
|
+
Required. The tables the discovery cadence applies to. The first target with a matching filter will be the one to apply to a table
|
11825
|
+
Structure is documented below.
|
11826
|
+
"""
|
11827
|
+
return pulumi.get(self, "filter")
|
11828
|
+
|
11829
|
+
|
11830
|
+
@pulumi.output_type
|
11831
|
+
class PreventionDiscoveryConfigTargetBigQueryTargetCadence(dict):
|
11832
|
+
@staticmethod
|
11833
|
+
def __key_warning(key: str):
|
11834
|
+
suggest = None
|
11835
|
+
if key == "schemaModifiedCadence":
|
11836
|
+
suggest = "schema_modified_cadence"
|
11837
|
+
elif key == "tableModifiedCadence":
|
11838
|
+
suggest = "table_modified_cadence"
|
11839
|
+
|
11840
|
+
if suggest:
|
11841
|
+
pulumi.log.warn(f"Key '{key}' not found in PreventionDiscoveryConfigTargetBigQueryTargetCadence. Access the value via the '{suggest}' property getter instead.")
|
11842
|
+
|
11843
|
+
def __getitem__(self, key: str) -> Any:
|
11844
|
+
PreventionDiscoveryConfigTargetBigQueryTargetCadence.__key_warning(key)
|
11845
|
+
return super().__getitem__(key)
|
11846
|
+
|
11847
|
+
def get(self, key: str, default = None) -> Any:
|
11848
|
+
PreventionDiscoveryConfigTargetBigQueryTargetCadence.__key_warning(key)
|
11849
|
+
return super().get(key, default)
|
11850
|
+
|
11851
|
+
def __init__(__self__, *,
|
11852
|
+
schema_modified_cadence: Optional['outputs.PreventionDiscoveryConfigTargetBigQueryTargetCadenceSchemaModifiedCadence'] = None,
|
11853
|
+
table_modified_cadence: Optional['outputs.PreventionDiscoveryConfigTargetBigQueryTargetCadenceTableModifiedCadence'] = None):
|
11854
|
+
"""
|
11855
|
+
:param 'PreventionDiscoveryConfigTargetBigQueryTargetCadenceSchemaModifiedCadenceArgs' schema_modified_cadence: Governs when to update data profiles when a schema is modified
|
11856
|
+
Structure is documented below.
|
11857
|
+
:param 'PreventionDiscoveryConfigTargetBigQueryTargetCadenceTableModifiedCadenceArgs' table_modified_cadence: Governs when to update profile when a table is modified.
|
11858
|
+
Structure is documented below.
|
11859
|
+
"""
|
11860
|
+
if schema_modified_cadence is not None:
|
11861
|
+
pulumi.set(__self__, "schema_modified_cadence", schema_modified_cadence)
|
11862
|
+
if table_modified_cadence is not None:
|
11863
|
+
pulumi.set(__self__, "table_modified_cadence", table_modified_cadence)
|
11864
|
+
|
11865
|
+
@property
|
11866
|
+
@pulumi.getter(name="schemaModifiedCadence")
|
11867
|
+
def schema_modified_cadence(self) -> Optional['outputs.PreventionDiscoveryConfigTargetBigQueryTargetCadenceSchemaModifiedCadence']:
|
11868
|
+
"""
|
11869
|
+
Governs when to update data profiles when a schema is modified
|
11870
|
+
Structure is documented below.
|
11871
|
+
"""
|
11872
|
+
return pulumi.get(self, "schema_modified_cadence")
|
11873
|
+
|
11874
|
+
@property
|
11875
|
+
@pulumi.getter(name="tableModifiedCadence")
|
11876
|
+
def table_modified_cadence(self) -> Optional['outputs.PreventionDiscoveryConfigTargetBigQueryTargetCadenceTableModifiedCadence']:
|
11877
|
+
"""
|
11878
|
+
Governs when to update profile when a table is modified.
|
11879
|
+
Structure is documented below.
|
11880
|
+
"""
|
11881
|
+
return pulumi.get(self, "table_modified_cadence")
|
11882
|
+
|
11883
|
+
|
11884
|
+
@pulumi.output_type
|
11885
|
+
class PreventionDiscoveryConfigTargetBigQueryTargetCadenceSchemaModifiedCadence(dict):
|
11886
|
+
def __init__(__self__, *,
|
11887
|
+
frequency: Optional[str] = None,
|
11888
|
+
types: Optional[Sequence[str]] = None):
|
11889
|
+
"""
|
11890
|
+
:param str frequency: How frequently profiles may be updated when schemas are modified. Default to monthly
|
11891
|
+
Possible values are: `UPDATE_FREQUENCY_NEVER`, `UPDATE_FREQUENCY_DAILY`, `UPDATE_FREQUENCY_MONTHLY`.
|
11892
|
+
:param Sequence[str] types: The type of events to consider when deciding if the table's schema has been modified and should have the profile updated. Defaults to NEW_COLUMN.
|
11893
|
+
Each value may be one of: `SCHEMA_NEW_COLUMNS`, `SCHEMA_REMOVED_COLUMNS`.
|
11894
|
+
"""
|
11895
|
+
if frequency is not None:
|
11896
|
+
pulumi.set(__self__, "frequency", frequency)
|
11897
|
+
if types is not None:
|
11898
|
+
pulumi.set(__self__, "types", types)
|
11899
|
+
|
11900
|
+
@property
|
11901
|
+
@pulumi.getter
|
11902
|
+
def frequency(self) -> Optional[str]:
|
11903
|
+
"""
|
11904
|
+
How frequently profiles may be updated when schemas are modified. Default to monthly
|
11905
|
+
Possible values are: `UPDATE_FREQUENCY_NEVER`, `UPDATE_FREQUENCY_DAILY`, `UPDATE_FREQUENCY_MONTHLY`.
|
11906
|
+
"""
|
11907
|
+
return pulumi.get(self, "frequency")
|
11908
|
+
|
11909
|
+
@property
|
11910
|
+
@pulumi.getter
|
11911
|
+
def types(self) -> Optional[Sequence[str]]:
|
11912
|
+
"""
|
11913
|
+
The type of events to consider when deciding if the table's schema has been modified and should have the profile updated. Defaults to NEW_COLUMN.
|
11914
|
+
Each value may be one of: `SCHEMA_NEW_COLUMNS`, `SCHEMA_REMOVED_COLUMNS`.
|
11915
|
+
"""
|
11916
|
+
return pulumi.get(self, "types")
|
11917
|
+
|
11918
|
+
|
11919
|
+
@pulumi.output_type
|
11920
|
+
class PreventionDiscoveryConfigTargetBigQueryTargetCadenceTableModifiedCadence(dict):
|
11921
|
+
def __init__(__self__, *,
|
11922
|
+
frequency: Optional[str] = None,
|
11923
|
+
types: Optional[Sequence[str]] = None):
|
11924
|
+
"""
|
11925
|
+
:param str frequency: How frequently data profiles can be updated when tables are modified. Defaults to never.
|
11926
|
+
Possible values are: `UPDATE_FREQUENCY_NEVER`, `UPDATE_FREQUENCY_DAILY`, `UPDATE_FREQUENCY_MONTHLY`.
|
11927
|
+
:param Sequence[str] types: The type of events to consider when deciding if the table has been modified and should have the profile updated. Defaults to MODIFIED_TIMESTAMP
|
11928
|
+
Each value may be one of: `TABLE_MODIFIED_TIMESTAMP`.
|
11929
|
+
"""
|
11930
|
+
if frequency is not None:
|
11931
|
+
pulumi.set(__self__, "frequency", frequency)
|
11932
|
+
if types is not None:
|
11933
|
+
pulumi.set(__self__, "types", types)
|
11934
|
+
|
11935
|
+
@property
|
11936
|
+
@pulumi.getter
|
11937
|
+
def frequency(self) -> Optional[str]:
|
11938
|
+
"""
|
11939
|
+
How frequently data profiles can be updated when tables are modified. Defaults to never.
|
11940
|
+
Possible values are: `UPDATE_FREQUENCY_NEVER`, `UPDATE_FREQUENCY_DAILY`, `UPDATE_FREQUENCY_MONTHLY`.
|
11941
|
+
"""
|
11942
|
+
return pulumi.get(self, "frequency")
|
11943
|
+
|
11944
|
+
@property
|
11945
|
+
@pulumi.getter
|
11946
|
+
def types(self) -> Optional[Sequence[str]]:
|
11947
|
+
"""
|
11948
|
+
The type of events to consider when deciding if the table has been modified and should have the profile updated. Defaults to MODIFIED_TIMESTAMP
|
11949
|
+
Each value may be one of: `TABLE_MODIFIED_TIMESTAMP`.
|
11950
|
+
"""
|
11951
|
+
return pulumi.get(self, "types")
|
11952
|
+
|
11953
|
+
|
11954
|
+
@pulumi.output_type
|
11955
|
+
class PreventionDiscoveryConfigTargetBigQueryTargetConditions(dict):
|
11956
|
+
@staticmethod
|
11957
|
+
def __key_warning(key: str):
|
11958
|
+
suggest = None
|
11959
|
+
if key == "createdAfter":
|
11960
|
+
suggest = "created_after"
|
11961
|
+
elif key == "orConditions":
|
11962
|
+
suggest = "or_conditions"
|
11963
|
+
elif key == "typeCollection":
|
11964
|
+
suggest = "type_collection"
|
11965
|
+
|
11966
|
+
if suggest:
|
11967
|
+
pulumi.log.warn(f"Key '{key}' not found in PreventionDiscoveryConfigTargetBigQueryTargetConditions. Access the value via the '{suggest}' property getter instead.")
|
11968
|
+
|
11969
|
+
def __getitem__(self, key: str) -> Any:
|
11970
|
+
PreventionDiscoveryConfigTargetBigQueryTargetConditions.__key_warning(key)
|
11971
|
+
return super().__getitem__(key)
|
11972
|
+
|
11973
|
+
def get(self, key: str, default = None) -> Any:
|
11974
|
+
PreventionDiscoveryConfigTargetBigQueryTargetConditions.__key_warning(key)
|
11975
|
+
return super().get(key, default)
|
11976
|
+
|
11977
|
+
def __init__(__self__, *,
|
11978
|
+
created_after: Optional[str] = None,
|
11979
|
+
or_conditions: Optional['outputs.PreventionDiscoveryConfigTargetBigQueryTargetConditionsOrConditions'] = None,
|
11980
|
+
type_collection: Optional[str] = None,
|
11981
|
+
types: Optional['outputs.PreventionDiscoveryConfigTargetBigQueryTargetConditionsTypes'] = None):
|
11982
|
+
"""
|
11983
|
+
:param str created_after: A timestamp in RFC3339 UTC "Zulu" format with nanosecond resolution and upto nine fractional digits.
|
11984
|
+
:param 'PreventionDiscoveryConfigTargetBigQueryTargetConditionsOrConditionsArgs' or_conditions: At least one of the conditions must be true for a table to be scanned.
|
11985
|
+
Structure is documented below.
|
11986
|
+
:param str type_collection: Restrict discovery to categories of table types. Currently view, materialized view, snapshot and non-biglake external tables are supported.
|
11987
|
+
Possible values are: `BIG_QUERY_COLLECTION_ALL_TYPES`, `BIG_QUERY_COLLECTION_ONLY_SUPPORTED_TYPES`.
|
11988
|
+
:param 'PreventionDiscoveryConfigTargetBigQueryTargetConditionsTypesArgs' types: Restrict discovery to specific table type
|
11989
|
+
Structure is documented below.
|
11990
|
+
"""
|
11991
|
+
if created_after is not None:
|
11992
|
+
pulumi.set(__self__, "created_after", created_after)
|
11993
|
+
if or_conditions is not None:
|
11994
|
+
pulumi.set(__self__, "or_conditions", or_conditions)
|
11995
|
+
if type_collection is not None:
|
11996
|
+
pulumi.set(__self__, "type_collection", type_collection)
|
11997
|
+
if types is not None:
|
11998
|
+
pulumi.set(__self__, "types", types)
|
11999
|
+
|
12000
|
+
@property
|
12001
|
+
@pulumi.getter(name="createdAfter")
|
12002
|
+
def created_after(self) -> Optional[str]:
|
12003
|
+
"""
|
12004
|
+
A timestamp in RFC3339 UTC "Zulu" format with nanosecond resolution and upto nine fractional digits.
|
12005
|
+
"""
|
12006
|
+
return pulumi.get(self, "created_after")
|
12007
|
+
|
12008
|
+
@property
|
12009
|
+
@pulumi.getter(name="orConditions")
|
12010
|
+
def or_conditions(self) -> Optional['outputs.PreventionDiscoveryConfigTargetBigQueryTargetConditionsOrConditions']:
|
12011
|
+
"""
|
12012
|
+
At least one of the conditions must be true for a table to be scanned.
|
12013
|
+
Structure is documented below.
|
12014
|
+
"""
|
12015
|
+
return pulumi.get(self, "or_conditions")
|
12016
|
+
|
12017
|
+
@property
|
12018
|
+
@pulumi.getter(name="typeCollection")
|
12019
|
+
def type_collection(self) -> Optional[str]:
|
12020
|
+
"""
|
12021
|
+
Restrict discovery to categories of table types. Currently view, materialized view, snapshot and non-biglake external tables are supported.
|
12022
|
+
Possible values are: `BIG_QUERY_COLLECTION_ALL_TYPES`, `BIG_QUERY_COLLECTION_ONLY_SUPPORTED_TYPES`.
|
12023
|
+
"""
|
12024
|
+
return pulumi.get(self, "type_collection")
|
12025
|
+
|
12026
|
+
@property
|
12027
|
+
@pulumi.getter
|
12028
|
+
def types(self) -> Optional['outputs.PreventionDiscoveryConfigTargetBigQueryTargetConditionsTypes']:
|
12029
|
+
"""
|
12030
|
+
Restrict discovery to specific table type
|
12031
|
+
Structure is documented below.
|
12032
|
+
"""
|
12033
|
+
return pulumi.get(self, "types")
|
12034
|
+
|
12035
|
+
|
12036
|
+
@pulumi.output_type
|
12037
|
+
class PreventionDiscoveryConfigTargetBigQueryTargetConditionsOrConditions(dict):
|
12038
|
+
@staticmethod
|
12039
|
+
def __key_warning(key: str):
|
12040
|
+
suggest = None
|
12041
|
+
if key == "minAge":
|
12042
|
+
suggest = "min_age"
|
12043
|
+
elif key == "minRowCount":
|
12044
|
+
suggest = "min_row_count"
|
12045
|
+
|
12046
|
+
if suggest:
|
12047
|
+
pulumi.log.warn(f"Key '{key}' not found in PreventionDiscoveryConfigTargetBigQueryTargetConditionsOrConditions. Access the value via the '{suggest}' property getter instead.")
|
12048
|
+
|
12049
|
+
def __getitem__(self, key: str) -> Any:
|
12050
|
+
PreventionDiscoveryConfigTargetBigQueryTargetConditionsOrConditions.__key_warning(key)
|
12051
|
+
return super().__getitem__(key)
|
12052
|
+
|
12053
|
+
def get(self, key: str, default = None) -> Any:
|
12054
|
+
PreventionDiscoveryConfigTargetBigQueryTargetConditionsOrConditions.__key_warning(key)
|
12055
|
+
return super().get(key, default)
|
12056
|
+
|
12057
|
+
def __init__(__self__, *,
|
12058
|
+
min_age: Optional[str] = None,
|
12059
|
+
min_row_count: Optional[int] = None):
|
12060
|
+
"""
|
12061
|
+
:param str min_age: Duration format. The minimum age a table must have before Cloud DLP can profile it. Value greater than 1.
|
12062
|
+
:param int min_row_count: Minimum number of rows that should be present before Cloud DLP profiles as a table.
|
12063
|
+
"""
|
12064
|
+
if min_age is not None:
|
12065
|
+
pulumi.set(__self__, "min_age", min_age)
|
12066
|
+
if min_row_count is not None:
|
12067
|
+
pulumi.set(__self__, "min_row_count", min_row_count)
|
12068
|
+
|
12069
|
+
@property
|
12070
|
+
@pulumi.getter(name="minAge")
|
12071
|
+
def min_age(self) -> Optional[str]:
|
12072
|
+
"""
|
12073
|
+
Duration format. The minimum age a table must have before Cloud DLP can profile it. Value greater than 1.
|
12074
|
+
"""
|
12075
|
+
return pulumi.get(self, "min_age")
|
12076
|
+
|
12077
|
+
@property
|
12078
|
+
@pulumi.getter(name="minRowCount")
|
12079
|
+
def min_row_count(self) -> Optional[int]:
|
12080
|
+
"""
|
12081
|
+
Minimum number of rows that should be present before Cloud DLP profiles as a table.
|
12082
|
+
"""
|
12083
|
+
return pulumi.get(self, "min_row_count")
|
12084
|
+
|
12085
|
+
|
12086
|
+
@pulumi.output_type
|
12087
|
+
class PreventionDiscoveryConfigTargetBigQueryTargetConditionsTypes(dict):
|
12088
|
+
def __init__(__self__, *,
|
12089
|
+
types: Optional[Sequence[str]] = None):
|
12090
|
+
"""
|
12091
|
+
:param Sequence[str] types: A set of BiqQuery table types
|
12092
|
+
Each value may be one of: `BIG_QUERY_TABLE_TYPE_TABLE`, `BIG_QUERY_TABLE_TYPE_EXTERNAL_BIG_LAKE`.
|
12093
|
+
"""
|
12094
|
+
if types is not None:
|
12095
|
+
pulumi.set(__self__, "types", types)
|
12096
|
+
|
12097
|
+
@property
|
12098
|
+
@pulumi.getter
|
12099
|
+
def types(self) -> Optional[Sequence[str]]:
|
12100
|
+
"""
|
12101
|
+
A set of BiqQuery table types
|
12102
|
+
Each value may be one of: `BIG_QUERY_TABLE_TYPE_TABLE`, `BIG_QUERY_TABLE_TYPE_EXTERNAL_BIG_LAKE`.
|
12103
|
+
"""
|
12104
|
+
return pulumi.get(self, "types")
|
12105
|
+
|
12106
|
+
|
12107
|
+
@pulumi.output_type
|
12108
|
+
class PreventionDiscoveryConfigTargetBigQueryTargetDisabled(dict):
|
12109
|
+
def __init__(__self__):
|
12110
|
+
pass
|
12111
|
+
|
12112
|
+
|
12113
|
+
@pulumi.output_type
|
12114
|
+
class PreventionDiscoveryConfigTargetBigQueryTargetFilter(dict):
|
12115
|
+
@staticmethod
|
12116
|
+
def __key_warning(key: str):
|
12117
|
+
suggest = None
|
12118
|
+
if key == "otherTables":
|
12119
|
+
suggest = "other_tables"
|
12120
|
+
|
12121
|
+
if suggest:
|
12122
|
+
pulumi.log.warn(f"Key '{key}' not found in PreventionDiscoveryConfigTargetBigQueryTargetFilter. Access the value via the '{suggest}' property getter instead.")
|
12123
|
+
|
12124
|
+
def __getitem__(self, key: str) -> Any:
|
12125
|
+
PreventionDiscoveryConfigTargetBigQueryTargetFilter.__key_warning(key)
|
12126
|
+
return super().__getitem__(key)
|
12127
|
+
|
12128
|
+
def get(self, key: str, default = None) -> Any:
|
12129
|
+
PreventionDiscoveryConfigTargetBigQueryTargetFilter.__key_warning(key)
|
12130
|
+
return super().get(key, default)
|
12131
|
+
|
12132
|
+
def __init__(__self__, *,
|
12133
|
+
other_tables: Optional['outputs.PreventionDiscoveryConfigTargetBigQueryTargetFilterOtherTables'] = None,
|
12134
|
+
tables: Optional['outputs.PreventionDiscoveryConfigTargetBigQueryTargetFilterTables'] = None):
|
12135
|
+
"""
|
12136
|
+
:param 'PreventionDiscoveryConfigTargetBigQueryTargetFilterOtherTablesArgs' other_tables: Catch-all. This should always be the last filter in the list because anything above it will apply first.
|
12137
|
+
:param 'PreventionDiscoveryConfigTargetBigQueryTargetFilterTablesArgs' tables: A specific set of tables for this filter to apply to. A table collection must be specified in only one filter per config.
|
12138
|
+
Structure is documented below.
|
12139
|
+
"""
|
12140
|
+
if other_tables is not None:
|
12141
|
+
pulumi.set(__self__, "other_tables", other_tables)
|
12142
|
+
if tables is not None:
|
12143
|
+
pulumi.set(__self__, "tables", tables)
|
12144
|
+
|
12145
|
+
@property
|
12146
|
+
@pulumi.getter(name="otherTables")
|
12147
|
+
def other_tables(self) -> Optional['outputs.PreventionDiscoveryConfigTargetBigQueryTargetFilterOtherTables']:
|
12148
|
+
"""
|
12149
|
+
Catch-all. This should always be the last filter in the list because anything above it will apply first.
|
12150
|
+
"""
|
12151
|
+
return pulumi.get(self, "other_tables")
|
12152
|
+
|
12153
|
+
@property
|
12154
|
+
@pulumi.getter
|
12155
|
+
def tables(self) -> Optional['outputs.PreventionDiscoveryConfigTargetBigQueryTargetFilterTables']:
|
12156
|
+
"""
|
12157
|
+
A specific set of tables for this filter to apply to. A table collection must be specified in only one filter per config.
|
12158
|
+
Structure is documented below.
|
12159
|
+
"""
|
12160
|
+
return pulumi.get(self, "tables")
|
12161
|
+
|
12162
|
+
|
12163
|
+
@pulumi.output_type
|
12164
|
+
class PreventionDiscoveryConfigTargetBigQueryTargetFilterOtherTables(dict):
|
12165
|
+
def __init__(__self__):
|
12166
|
+
pass
|
12167
|
+
|
12168
|
+
|
12169
|
+
@pulumi.output_type
|
12170
|
+
class PreventionDiscoveryConfigTargetBigQueryTargetFilterTables(dict):
|
12171
|
+
@staticmethod
|
12172
|
+
def __key_warning(key: str):
|
12173
|
+
suggest = None
|
12174
|
+
if key == "includeRegexes":
|
12175
|
+
suggest = "include_regexes"
|
12176
|
+
|
12177
|
+
if suggest:
|
12178
|
+
pulumi.log.warn(f"Key '{key}' not found in PreventionDiscoveryConfigTargetBigQueryTargetFilterTables. Access the value via the '{suggest}' property getter instead.")
|
12179
|
+
|
12180
|
+
def __getitem__(self, key: str) -> Any:
|
12181
|
+
PreventionDiscoveryConfigTargetBigQueryTargetFilterTables.__key_warning(key)
|
12182
|
+
return super().__getitem__(key)
|
12183
|
+
|
12184
|
+
def get(self, key: str, default = None) -> Any:
|
12185
|
+
PreventionDiscoveryConfigTargetBigQueryTargetFilterTables.__key_warning(key)
|
12186
|
+
return super().get(key, default)
|
12187
|
+
|
12188
|
+
def __init__(__self__, *,
|
12189
|
+
include_regexes: Optional['outputs.PreventionDiscoveryConfigTargetBigQueryTargetFilterTablesIncludeRegexes'] = None):
|
12190
|
+
"""
|
12191
|
+
:param 'PreventionDiscoveryConfigTargetBigQueryTargetFilterTablesIncludeRegexesArgs' include_regexes: A collection of regular expressions to match a BQ table against.
|
12192
|
+
Structure is documented below.
|
12193
|
+
"""
|
12194
|
+
if include_regexes is not None:
|
12195
|
+
pulumi.set(__self__, "include_regexes", include_regexes)
|
12196
|
+
|
12197
|
+
@property
|
12198
|
+
@pulumi.getter(name="includeRegexes")
|
12199
|
+
def include_regexes(self) -> Optional['outputs.PreventionDiscoveryConfigTargetBigQueryTargetFilterTablesIncludeRegexes']:
|
12200
|
+
"""
|
12201
|
+
A collection of regular expressions to match a BQ table against.
|
12202
|
+
Structure is documented below.
|
12203
|
+
"""
|
12204
|
+
return pulumi.get(self, "include_regexes")
|
12205
|
+
|
12206
|
+
|
12207
|
+
@pulumi.output_type
|
12208
|
+
class PreventionDiscoveryConfigTargetBigQueryTargetFilterTablesIncludeRegexes(dict):
|
12209
|
+
def __init__(__self__, *,
|
12210
|
+
patterns: Optional[Sequence['outputs.PreventionDiscoveryConfigTargetBigQueryTargetFilterTablesIncludeRegexesPattern']] = None):
|
12211
|
+
"""
|
12212
|
+
:param Sequence['PreventionDiscoveryConfigTargetBigQueryTargetFilterTablesIncludeRegexesPatternArgs'] patterns: A single BigQuery regular expression pattern to match against one or more tables, datasets, or projects that contain BigQuery tables.
|
12213
|
+
Structure is documented below.
|
12214
|
+
"""
|
12215
|
+
if patterns is not None:
|
12216
|
+
pulumi.set(__self__, "patterns", patterns)
|
12217
|
+
|
12218
|
+
@property
|
12219
|
+
@pulumi.getter
|
12220
|
+
def patterns(self) -> Optional[Sequence['outputs.PreventionDiscoveryConfigTargetBigQueryTargetFilterTablesIncludeRegexesPattern']]:
|
12221
|
+
"""
|
12222
|
+
A single BigQuery regular expression pattern to match against one or more tables, datasets, or projects that contain BigQuery tables.
|
12223
|
+
Structure is documented below.
|
12224
|
+
"""
|
12225
|
+
return pulumi.get(self, "patterns")
|
12226
|
+
|
12227
|
+
|
12228
|
+
@pulumi.output_type
|
12229
|
+
class PreventionDiscoveryConfigTargetBigQueryTargetFilterTablesIncludeRegexesPattern(dict):
|
12230
|
+
@staticmethod
|
12231
|
+
def __key_warning(key: str):
|
12232
|
+
suggest = None
|
12233
|
+
if key == "datasetIdRegex":
|
12234
|
+
suggest = "dataset_id_regex"
|
12235
|
+
elif key == "projectIdRegex":
|
12236
|
+
suggest = "project_id_regex"
|
12237
|
+
elif key == "tableIdRegex":
|
12238
|
+
suggest = "table_id_regex"
|
12239
|
+
|
12240
|
+
if suggest:
|
12241
|
+
pulumi.log.warn(f"Key '{key}' not found in PreventionDiscoveryConfigTargetBigQueryTargetFilterTablesIncludeRegexesPattern. Access the value via the '{suggest}' property getter instead.")
|
12242
|
+
|
12243
|
+
def __getitem__(self, key: str) -> Any:
|
12244
|
+
PreventionDiscoveryConfigTargetBigQueryTargetFilterTablesIncludeRegexesPattern.__key_warning(key)
|
12245
|
+
return super().__getitem__(key)
|
12246
|
+
|
12247
|
+
def get(self, key: str, default = None) -> Any:
|
12248
|
+
PreventionDiscoveryConfigTargetBigQueryTargetFilterTablesIncludeRegexesPattern.__key_warning(key)
|
12249
|
+
return super().get(key, default)
|
12250
|
+
|
12251
|
+
def __init__(__self__, *,
|
12252
|
+
dataset_id_regex: Optional[str] = None,
|
12253
|
+
project_id_regex: Optional[str] = None,
|
12254
|
+
table_id_regex: Optional[str] = None):
|
12255
|
+
"""
|
12256
|
+
:param str dataset_id_regex: if unset, this property matches all datasets
|
12257
|
+
:param str project_id_regex: For organizations, if unset, will match all projects. Has no effect for data profile configurations created within a project.
|
12258
|
+
:param str table_id_regex: if unset, this property matches all tables
|
12259
|
+
"""
|
12260
|
+
if dataset_id_regex is not None:
|
12261
|
+
pulumi.set(__self__, "dataset_id_regex", dataset_id_regex)
|
12262
|
+
if project_id_regex is not None:
|
12263
|
+
pulumi.set(__self__, "project_id_regex", project_id_regex)
|
12264
|
+
if table_id_regex is not None:
|
12265
|
+
pulumi.set(__self__, "table_id_regex", table_id_regex)
|
12266
|
+
|
12267
|
+
@property
|
12268
|
+
@pulumi.getter(name="datasetIdRegex")
|
12269
|
+
def dataset_id_regex(self) -> Optional[str]:
|
12270
|
+
"""
|
12271
|
+
if unset, this property matches all datasets
|
12272
|
+
"""
|
12273
|
+
return pulumi.get(self, "dataset_id_regex")
|
12274
|
+
|
12275
|
+
@property
|
12276
|
+
@pulumi.getter(name="projectIdRegex")
|
12277
|
+
def project_id_regex(self) -> Optional[str]:
|
12278
|
+
"""
|
12279
|
+
For organizations, if unset, will match all projects. Has no effect for data profile configurations created within a project.
|
12280
|
+
"""
|
12281
|
+
return pulumi.get(self, "project_id_regex")
|
12282
|
+
|
12283
|
+
@property
|
12284
|
+
@pulumi.getter(name="tableIdRegex")
|
12285
|
+
def table_id_regex(self) -> Optional[str]:
|
12286
|
+
"""
|
12287
|
+
if unset, this property matches all tables
|
12288
|
+
"""
|
12289
|
+
return pulumi.get(self, "table_id_regex")
|
12290
|
+
|
12291
|
+
|
11169
12292
|
@pulumi.output_type
|
11170
12293
|
class PreventionInspectTemplateInspectConfig(dict):
|
11171
12294
|
@staticmethod
|