pulumi-gcp 7.27.0a1718103841__py3-none-any.whl → 7.27.0a1718247696__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. pulumi_gcp/__init__.py +32 -0
  2. pulumi_gcp/appengine/_inputs.py +40 -0
  3. pulumi_gcp/appengine/flexible_app_version.py +47 -0
  4. pulumi_gcp/appengine/outputs.py +51 -0
  5. pulumi_gcp/bigtable/instance.py +47 -0
  6. pulumi_gcp/clouddeploy/_inputs.py +16 -0
  7. pulumi_gcp/clouddeploy/outputs.py +12 -0
  8. pulumi_gcp/compute/__init__.py +2 -0
  9. pulumi_gcp/compute/_inputs.py +84 -0
  10. pulumi_gcp/compute/backend_service.py +54 -0
  11. pulumi_gcp/compute/disk.py +68 -0
  12. pulumi_gcp/compute/get_backend_service.py +11 -1
  13. pulumi_gcp/compute/get_disk.py +11 -1
  14. pulumi_gcp/compute/get_instance.py +11 -1
  15. pulumi_gcp/compute/get_instance_group_manager.py +31 -1
  16. pulumi_gcp/compute/get_instance_template.py +11 -1
  17. pulumi_gcp/compute/get_region_instance_template.py +11 -1
  18. pulumi_gcp/compute/get_security_policy.py +214 -0
  19. pulumi_gcp/compute/instance.py +47 -0
  20. pulumi_gcp/compute/instance_from_machine_image.py +47 -0
  21. pulumi_gcp/compute/instance_from_template.py +47 -0
  22. pulumi_gcp/compute/instance_group_manager.py +185 -0
  23. pulumi_gcp/compute/instance_template.py +47 -0
  24. pulumi_gcp/compute/outputs.py +1039 -0
  25. pulumi_gcp/compute/project_cloud_armor_tier.py +336 -0
  26. pulumi_gcp/compute/region_instance_group_manager.py +185 -0
  27. pulumi_gcp/compute/region_instance_template.py +47 -0
  28. pulumi_gcp/config/__init__.pyi +2 -0
  29. pulumi_gcp/config/vars.py +4 -0
  30. pulumi_gcp/container/_inputs.py +33 -4
  31. pulumi_gcp/container/cluster.py +61 -0
  32. pulumi_gcp/container/get_cluster.py +11 -1
  33. pulumi_gcp/container/outputs.py +48 -4
  34. pulumi_gcp/dataloss/_inputs.py +185 -19
  35. pulumi_gcp/dataloss/outputs.py +206 -17
  36. pulumi_gcp/dataloss/prevention_inspect_template.py +54 -0
  37. pulumi_gcp/gkebackup/_inputs.py +282 -7
  38. pulumi_gcp/gkebackup/backup_plan.py +100 -0
  39. pulumi_gcp/gkebackup/outputs.py +312 -7
  40. pulumi_gcp/gkebackup/restore_plan.py +326 -0
  41. pulumi_gcp/gkebackup/restore_plan_iam_binding.py +326 -0
  42. pulumi_gcp/gkebackup/restore_plan_iam_member.py +326 -0
  43. pulumi_gcp/gkebackup/restore_plan_iam_policy.py +326 -0
  44. pulumi_gcp/healthcare/_inputs.py +17 -1
  45. pulumi_gcp/healthcare/dicom_store.py +2 -0
  46. pulumi_gcp/healthcare/fhir_store.py +44 -60
  47. pulumi_gcp/healthcare/outputs.py +15 -1
  48. pulumi_gcp/integrationconnectors/endpoint_attachment.py +47 -0
  49. pulumi_gcp/kms/crypto_key.py +14 -7
  50. pulumi_gcp/netapp/_inputs.py +58 -0
  51. pulumi_gcp/netapp/outputs.py +67 -0
  52. pulumi_gcp/netapp/volume.py +54 -0
  53. pulumi_gcp/networkservices/__init__.py +1 -0
  54. pulumi_gcp/networkservices/_inputs.py +47 -0
  55. pulumi_gcp/networkservices/outputs.py +56 -0
  56. pulumi_gcp/networkservices/service_lb_policies.py +782 -0
  57. pulumi_gcp/provider.py +20 -0
  58. pulumi_gcp/pulumi-plugin.json +1 -1
  59. pulumi_gcp/redis/_inputs.py +44 -0
  60. pulumi_gcp/redis/cluster.py +128 -3
  61. pulumi_gcp/redis/outputs.py +36 -0
  62. pulumi_gcp/secretmanager/_inputs.py +20 -0
  63. pulumi_gcp/secretmanager/outputs.py +20 -0
  64. pulumi_gcp/secretmanager/secret_iam_binding.py +244 -0
  65. pulumi_gcp/secretmanager/secret_iam_member.py +244 -0
  66. pulumi_gcp/secretmanager/secret_iam_policy.py +224 -0
  67. pulumi_gcp/securitycenter/__init__.py +1 -0
  68. pulumi_gcp/securitycenter/management_organization_event_threat_detection_custom_module.py +568 -0
  69. pulumi_gcp/spanner/__init__.py +1 -0
  70. pulumi_gcp/spanner/_inputs.py +68 -0
  71. pulumi_gcp/spanner/instance_config.py +569 -0
  72. pulumi_gcp/spanner/outputs.py +73 -0
  73. pulumi_gcp/sql/_inputs.py +8 -2
  74. pulumi_gcp/sql/outputs.py +9 -6
  75. pulumi_gcp/workstations/_inputs.py +51 -1
  76. pulumi_gcp/workstations/outputs.py +46 -2
  77. pulumi_gcp/workstations/workstation_config.py +10 -4
  78. {pulumi_gcp-7.27.0a1718103841.dist-info → pulumi_gcp-7.27.0a1718247696.dist-info}/METADATA +1 -1
  79. {pulumi_gcp-7.27.0a1718103841.dist-info → pulumi_gcp-7.27.0a1718247696.dist-info}/RECORD +81 -76
  80. {pulumi_gcp-7.27.0a1718103841.dist-info → pulumi_gcp-7.27.0a1718247696.dist-info}/WHEEL +0 -0
  81. {pulumi_gcp-7.27.0a1718103841.dist-info → pulumi_gcp-7.27.0a1718247696.dist-info}/top_level.txt +0 -0
@@ -231,6 +231,7 @@ __all__ = [
231
231
  'PreventionDiscoveryConfigTargetBigQueryTargetDisabled',
232
232
  'PreventionDiscoveryConfigTargetBigQueryTargetFilter',
233
233
  'PreventionDiscoveryConfigTargetBigQueryTargetFilterOtherTables',
234
+ 'PreventionDiscoveryConfigTargetBigQueryTargetFilterTableReference',
234
235
  'PreventionDiscoveryConfigTargetBigQueryTargetFilterTables',
235
236
  'PreventionDiscoveryConfigTargetBigQueryTargetFilterTablesIncludeRegexes',
236
237
  'PreventionDiscoveryConfigTargetBigQueryTargetFilterTablesIncludeRegexesPattern',
@@ -241,9 +242,11 @@ __all__ = [
241
242
  'PreventionDiscoveryConfigTargetCloudSqlTargetFilterCollection',
242
243
  'PreventionDiscoveryConfigTargetCloudSqlTargetFilterCollectionIncludeRegexes',
243
244
  'PreventionDiscoveryConfigTargetCloudSqlTargetFilterCollectionIncludeRegexesPattern',
245
+ 'PreventionDiscoveryConfigTargetCloudSqlTargetFilterDatabaseResourceReference',
244
246
  'PreventionDiscoveryConfigTargetCloudSqlTargetFilterOthers',
245
247
  'PreventionDiscoveryConfigTargetCloudSqlTargetGenerationCadence',
246
248
  'PreventionDiscoveryConfigTargetCloudSqlTargetGenerationCadenceSchemaModifiedCadence',
249
+ 'PreventionDiscoveryConfigTargetSecretsTarget',
247
250
  'PreventionInspectTemplateInspectConfig',
248
251
  'PreventionInspectTemplateInspectConfigCustomInfoType',
249
252
  'PreventionInspectTemplateInspectConfigCustomInfoTypeDictionary',
@@ -11747,6 +11750,8 @@ class PreventionDiscoveryConfigTarget(dict):
11747
11750
  suggest = "big_query_target"
11748
11751
  elif key == "cloudSqlTarget":
11749
11752
  suggest = "cloud_sql_target"
11753
+ elif key == "secretsTarget":
11754
+ suggest = "secrets_target"
11750
11755
 
11751
11756
  if suggest:
11752
11757
  pulumi.log.warn(f"Key '{key}' not found in PreventionDiscoveryConfigTarget. Access the value via the '{suggest}' property getter instead.")
@@ -11761,17 +11766,21 @@ class PreventionDiscoveryConfigTarget(dict):
11761
11766
 
11762
11767
  def __init__(__self__, *,
11763
11768
  big_query_target: Optional['outputs.PreventionDiscoveryConfigTargetBigQueryTarget'] = None,
11764
- cloud_sql_target: Optional['outputs.PreventionDiscoveryConfigTargetCloudSqlTarget'] = None):
11769
+ cloud_sql_target: Optional['outputs.PreventionDiscoveryConfigTargetCloudSqlTarget'] = None,
11770
+ secrets_target: Optional['outputs.PreventionDiscoveryConfigTargetSecretsTarget'] = None):
11765
11771
  """
11766
11772
  :param 'PreventionDiscoveryConfigTargetBigQueryTargetArgs' big_query_target: BigQuery target for Discovery. The first target to match a table will be the one applied.
11767
11773
  Structure is documented below.
11768
11774
  :param 'PreventionDiscoveryConfigTargetCloudSqlTargetArgs' cloud_sql_target: Cloud SQL target for Discovery. The first target to match a table will be the one applied.
11769
11775
  Structure is documented below.
11776
+ :param 'PreventionDiscoveryConfigTargetSecretsTargetArgs' secrets_target: Discovery target that looks for credentials and secrets stored in cloud resource metadata and reports them as vulnerabilities to Security Command Center. Only one target of this type is allowed.
11770
11777
  """
11771
11778
  if big_query_target is not None:
11772
11779
  pulumi.set(__self__, "big_query_target", big_query_target)
11773
11780
  if cloud_sql_target is not None:
11774
11781
  pulumi.set(__self__, "cloud_sql_target", cloud_sql_target)
11782
+ if secrets_target is not None:
11783
+ pulumi.set(__self__, "secrets_target", secrets_target)
11775
11784
 
11776
11785
  @property
11777
11786
  @pulumi.getter(name="bigQueryTarget")
@@ -11791,6 +11800,14 @@ class PreventionDiscoveryConfigTarget(dict):
11791
11800
  """
11792
11801
  return pulumi.get(self, "cloud_sql_target")
11793
11802
 
11803
+ @property
11804
+ @pulumi.getter(name="secretsTarget")
11805
+ def secrets_target(self) -> Optional['outputs.PreventionDiscoveryConfigTargetSecretsTarget']:
11806
+ """
11807
+ Discovery target that looks for credentials and secrets stored in cloud resource metadata and reports them as vulnerabilities to Security Command Center. Only one target of this type is allowed.
11808
+ """
11809
+ return pulumi.get(self, "secrets_target")
11810
+
11794
11811
 
11795
11812
  @pulumi.output_type
11796
11813
  class PreventionDiscoveryConfigTargetBigQueryTarget(dict):
@@ -12143,6 +12160,8 @@ class PreventionDiscoveryConfigTargetBigQueryTargetFilter(dict):
12143
12160
  suggest = None
12144
12161
  if key == "otherTables":
12145
12162
  suggest = "other_tables"
12163
+ elif key == "tableReference":
12164
+ suggest = "table_reference"
12146
12165
 
12147
12166
  if suggest:
12148
12167
  pulumi.log.warn(f"Key '{key}' not found in PreventionDiscoveryConfigTargetBigQueryTargetFilter. Access the value via the '{suggest}' property getter instead.")
@@ -12157,14 +12176,19 @@ class PreventionDiscoveryConfigTargetBigQueryTargetFilter(dict):
12157
12176
 
12158
12177
  def __init__(__self__, *,
12159
12178
  other_tables: Optional['outputs.PreventionDiscoveryConfigTargetBigQueryTargetFilterOtherTables'] = None,
12179
+ table_reference: Optional['outputs.PreventionDiscoveryConfigTargetBigQueryTargetFilterTableReference'] = None,
12160
12180
  tables: Optional['outputs.PreventionDiscoveryConfigTargetBigQueryTargetFilterTables'] = None):
12161
12181
  """
12162
12182
  :param 'PreventionDiscoveryConfigTargetBigQueryTargetFilterOtherTablesArgs' other_tables: Catch-all. This should always be the last filter in the list because anything above it will apply first.
12183
+ :param 'PreventionDiscoveryConfigTargetBigQueryTargetFilterTableReferenceArgs' table_reference: The table to scan. Discovery configurations including this can only include one DiscoveryTarget (the DiscoveryTarget with this TableReference).
12184
+ Structure is documented below.
12163
12185
  :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.
12164
12186
  Structure is documented below.
12165
12187
  """
12166
12188
  if other_tables is not None:
12167
12189
  pulumi.set(__self__, "other_tables", other_tables)
12190
+ if table_reference is not None:
12191
+ pulumi.set(__self__, "table_reference", table_reference)
12168
12192
  if tables is not None:
12169
12193
  pulumi.set(__self__, "tables", tables)
12170
12194
 
@@ -12176,6 +12200,15 @@ class PreventionDiscoveryConfigTargetBigQueryTargetFilter(dict):
12176
12200
  """
12177
12201
  return pulumi.get(self, "other_tables")
12178
12202
 
12203
+ @property
12204
+ @pulumi.getter(name="tableReference")
12205
+ def table_reference(self) -> Optional['outputs.PreventionDiscoveryConfigTargetBigQueryTargetFilterTableReference']:
12206
+ """
12207
+ The table to scan. Discovery configurations including this can only include one DiscoveryTarget (the DiscoveryTarget with this TableReference).
12208
+ Structure is documented below.
12209
+ """
12210
+ return pulumi.get(self, "table_reference")
12211
+
12179
12212
  @property
12180
12213
  @pulumi.getter
12181
12214
  def tables(self) -> Optional['outputs.PreventionDiscoveryConfigTargetBigQueryTargetFilterTables']:
@@ -12192,6 +12225,54 @@ class PreventionDiscoveryConfigTargetBigQueryTargetFilterOtherTables(dict):
12192
12225
  pass
12193
12226
 
12194
12227
 
12228
+ @pulumi.output_type
12229
+ class PreventionDiscoveryConfigTargetBigQueryTargetFilterTableReference(dict):
12230
+ @staticmethod
12231
+ def __key_warning(key: str):
12232
+ suggest = None
12233
+ if key == "datasetId":
12234
+ suggest = "dataset_id"
12235
+ elif key == "tableId":
12236
+ suggest = "table_id"
12237
+
12238
+ if suggest:
12239
+ pulumi.log.warn(f"Key '{key}' not found in PreventionDiscoveryConfigTargetBigQueryTargetFilterTableReference. Access the value via the '{suggest}' property getter instead.")
12240
+
12241
+ def __getitem__(self, key: str) -> Any:
12242
+ PreventionDiscoveryConfigTargetBigQueryTargetFilterTableReference.__key_warning(key)
12243
+ return super().__getitem__(key)
12244
+
12245
+ def get(self, key: str, default = None) -> Any:
12246
+ PreventionDiscoveryConfigTargetBigQueryTargetFilterTableReference.__key_warning(key)
12247
+ return super().get(key, default)
12248
+
12249
+ def __init__(__self__, *,
12250
+ dataset_id: str,
12251
+ table_id: str):
12252
+ """
12253
+ :param str dataset_id: Dataset ID of the table.
12254
+ :param str table_id: Name of the table.
12255
+ """
12256
+ pulumi.set(__self__, "dataset_id", dataset_id)
12257
+ pulumi.set(__self__, "table_id", table_id)
12258
+
12259
+ @property
12260
+ @pulumi.getter(name="datasetId")
12261
+ def dataset_id(self) -> str:
12262
+ """
12263
+ Dataset ID of the table.
12264
+ """
12265
+ return pulumi.get(self, "dataset_id")
12266
+
12267
+ @property
12268
+ @pulumi.getter(name="tableId")
12269
+ def table_id(self) -> str:
12270
+ """
12271
+ Name of the table.
12272
+ """
12273
+ return pulumi.get(self, "table_id")
12274
+
12275
+
12195
12276
  @pulumi.output_type
12196
12277
  class PreventionDiscoveryConfigTargetBigQueryTargetFilterTables(dict):
12197
12278
  @staticmethod
@@ -12452,16 +12533,38 @@ class PreventionDiscoveryConfigTargetCloudSqlTargetDisabled(dict):
12452
12533
 
12453
12534
  @pulumi.output_type
12454
12535
  class PreventionDiscoveryConfigTargetCloudSqlTargetFilter(dict):
12536
+ @staticmethod
12537
+ def __key_warning(key: str):
12538
+ suggest = None
12539
+ if key == "databaseResourceReference":
12540
+ suggest = "database_resource_reference"
12541
+
12542
+ if suggest:
12543
+ pulumi.log.warn(f"Key '{key}' not found in PreventionDiscoveryConfigTargetCloudSqlTargetFilter. Access the value via the '{suggest}' property getter instead.")
12544
+
12545
+ def __getitem__(self, key: str) -> Any:
12546
+ PreventionDiscoveryConfigTargetCloudSqlTargetFilter.__key_warning(key)
12547
+ return super().__getitem__(key)
12548
+
12549
+ def get(self, key: str, default = None) -> Any:
12550
+ PreventionDiscoveryConfigTargetCloudSqlTargetFilter.__key_warning(key)
12551
+ return super().get(key, default)
12552
+
12455
12553
  def __init__(__self__, *,
12456
12554
  collection: Optional['outputs.PreventionDiscoveryConfigTargetCloudSqlTargetFilterCollection'] = None,
12555
+ database_resource_reference: Optional['outputs.PreventionDiscoveryConfigTargetCloudSqlTargetFilterDatabaseResourceReference'] = None,
12457
12556
  others: Optional['outputs.PreventionDiscoveryConfigTargetCloudSqlTargetFilterOthers'] = None):
12458
12557
  """
12459
12558
  :param 'PreventionDiscoveryConfigTargetCloudSqlTargetFilterCollectionArgs' collection: A specific set of database resources for this filter to apply to.
12460
12559
  Structure is documented below.
12560
+ :param 'PreventionDiscoveryConfigTargetCloudSqlTargetFilterDatabaseResourceReferenceArgs' database_resource_reference: The database resource to scan. Targets including this can only include one target (the target with this database resource reference).
12561
+ Structure is documented below.
12461
12562
  :param 'PreventionDiscoveryConfigTargetCloudSqlTargetFilterOthersArgs' others: Catch-all. This should always be the last target in the list because anything above it will apply first. Should only appear once in a configuration. If none is specified, a default one will be added automatically.
12462
12563
  """
12463
12564
  if collection is not None:
12464
12565
  pulumi.set(__self__, "collection", collection)
12566
+ if database_resource_reference is not None:
12567
+ pulumi.set(__self__, "database_resource_reference", database_resource_reference)
12465
12568
  if others is not None:
12466
12569
  pulumi.set(__self__, "others", others)
12467
12570
 
@@ -12474,6 +12577,15 @@ class PreventionDiscoveryConfigTargetCloudSqlTargetFilter(dict):
12474
12577
  """
12475
12578
  return pulumi.get(self, "collection")
12476
12579
 
12580
+ @property
12581
+ @pulumi.getter(name="databaseResourceReference")
12582
+ def database_resource_reference(self) -> Optional['outputs.PreventionDiscoveryConfigTargetCloudSqlTargetFilterDatabaseResourceReference']:
12583
+ """
12584
+ The database resource to scan. Targets including this can only include one target (the target with this database resource reference).
12585
+ Structure is documented below.
12586
+ """
12587
+ return pulumi.get(self, "database_resource_reference")
12588
+
12477
12589
  @property
12478
12590
  @pulumi.getter
12479
12591
  def others(self) -> Optional['outputs.PreventionDiscoveryConfigTargetCloudSqlTargetFilterOthers']:
@@ -12620,6 +12732,76 @@ class PreventionDiscoveryConfigTargetCloudSqlTargetFilterCollectionIncludeRegexe
12620
12732
  return pulumi.get(self, "project_id_regex")
12621
12733
 
12622
12734
 
12735
+ @pulumi.output_type
12736
+ class PreventionDiscoveryConfigTargetCloudSqlTargetFilterDatabaseResourceReference(dict):
12737
+ @staticmethod
12738
+ def __key_warning(key: str):
12739
+ suggest = None
12740
+ if key == "databaseResource":
12741
+ suggest = "database_resource"
12742
+ elif key == "projectId":
12743
+ suggest = "project_id"
12744
+
12745
+ if suggest:
12746
+ pulumi.log.warn(f"Key '{key}' not found in PreventionDiscoveryConfigTargetCloudSqlTargetFilterDatabaseResourceReference. Access the value via the '{suggest}' property getter instead.")
12747
+
12748
+ def __getitem__(self, key: str) -> Any:
12749
+ PreventionDiscoveryConfigTargetCloudSqlTargetFilterDatabaseResourceReference.__key_warning(key)
12750
+ return super().__getitem__(key)
12751
+
12752
+ def get(self, key: str, default = None) -> Any:
12753
+ PreventionDiscoveryConfigTargetCloudSqlTargetFilterDatabaseResourceReference.__key_warning(key)
12754
+ return super().get(key, default)
12755
+
12756
+ def __init__(__self__, *,
12757
+ database: str,
12758
+ database_resource: str,
12759
+ instance: str,
12760
+ project_id: str):
12761
+ """
12762
+ :param str database: Required. Name of a database within the instance.
12763
+ :param str database_resource: Required. Name of a database resource, for example, a table within the database.
12764
+ :param str instance: Required. The instance where this resource is located. For example: Cloud SQL instance ID.
12765
+ :param str project_id: Required. If within a project-level config, then this must match the config's project ID.
12766
+ """
12767
+ pulumi.set(__self__, "database", database)
12768
+ pulumi.set(__self__, "database_resource", database_resource)
12769
+ pulumi.set(__self__, "instance", instance)
12770
+ pulumi.set(__self__, "project_id", project_id)
12771
+
12772
+ @property
12773
+ @pulumi.getter
12774
+ def database(self) -> str:
12775
+ """
12776
+ Required. Name of a database within the instance.
12777
+ """
12778
+ return pulumi.get(self, "database")
12779
+
12780
+ @property
12781
+ @pulumi.getter(name="databaseResource")
12782
+ def database_resource(self) -> str:
12783
+ """
12784
+ Required. Name of a database resource, for example, a table within the database.
12785
+ """
12786
+ return pulumi.get(self, "database_resource")
12787
+
12788
+ @property
12789
+ @pulumi.getter
12790
+ def instance(self) -> str:
12791
+ """
12792
+ Required. The instance where this resource is located. For example: Cloud SQL instance ID.
12793
+ """
12794
+ return pulumi.get(self, "instance")
12795
+
12796
+ @property
12797
+ @pulumi.getter(name="projectId")
12798
+ def project_id(self) -> str:
12799
+ """
12800
+ Required. If within a project-level config, then this must match the config's project ID.
12801
+ """
12802
+ return pulumi.get(self, "project_id")
12803
+
12804
+
12623
12805
  @pulumi.output_type
12624
12806
  class PreventionDiscoveryConfigTargetCloudSqlTargetFilterOthers(dict):
12625
12807
  def __init__(__self__):
@@ -12715,6 +12897,12 @@ class PreventionDiscoveryConfigTargetCloudSqlTargetGenerationCadenceSchemaModifi
12715
12897
  return pulumi.get(self, "types")
12716
12898
 
12717
12899
 
12900
+ @pulumi.output_type
12901
+ class PreventionDiscoveryConfigTargetSecretsTarget(dict):
12902
+ def __init__(__self__):
12903
+ pass
12904
+
12905
+
12718
12906
  @pulumi.output_type
12719
12907
  class PreventionInspectTemplateInspectConfig(dict):
12720
12908
  @staticmethod
@@ -13442,10 +13630,10 @@ class PreventionInspectTemplateInspectConfigLimitsMaxFindingsPerInfoType(dict):
13442
13630
  @staticmethod
13443
13631
  def __key_warning(key: str):
13444
13632
  suggest = None
13445
- if key == "infoType":
13446
- suggest = "info_type"
13447
- elif key == "maxFindings":
13633
+ if key == "maxFindings":
13448
13634
  suggest = "max_findings"
13635
+ elif key == "infoType":
13636
+ suggest = "info_type"
13449
13637
 
13450
13638
  if suggest:
13451
13639
  pulumi.log.warn(f"Key '{key}' not found in PreventionInspectTemplateInspectConfigLimitsMaxFindingsPerInfoType. Access the value via the '{suggest}' property getter instead.")
@@ -13459,21 +13647,30 @@ class PreventionInspectTemplateInspectConfigLimitsMaxFindingsPerInfoType(dict):
13459
13647
  return super().get(key, default)
13460
13648
 
13461
13649
  def __init__(__self__, *,
13462
- info_type: 'outputs.PreventionInspectTemplateInspectConfigLimitsMaxFindingsPerInfoTypeInfoType',
13463
- max_findings: int):
13650
+ max_findings: int,
13651
+ info_type: Optional['outputs.PreventionInspectTemplateInspectConfigLimitsMaxFindingsPerInfoTypeInfoType'] = None):
13464
13652
  """
13653
+ :param int max_findings: Max findings limit for the given infoType.
13465
13654
  :param 'PreventionInspectTemplateInspectConfigLimitsMaxFindingsPerInfoTypeInfoTypeArgs' info_type: Type of information the findings limit applies to. Only one limit per infoType should be provided. If InfoTypeLimit does
13466
13655
  not have an infoType, the DLP API applies the limit against all infoTypes that are found but not
13467
13656
  specified in another InfoTypeLimit.
13468
13657
  Structure is documented below.
13469
- :param int max_findings: Max findings limit for the given infoType.
13470
13658
  """
13471
- pulumi.set(__self__, "info_type", info_type)
13472
13659
  pulumi.set(__self__, "max_findings", max_findings)
13660
+ if info_type is not None:
13661
+ pulumi.set(__self__, "info_type", info_type)
13662
+
13663
+ @property
13664
+ @pulumi.getter(name="maxFindings")
13665
+ def max_findings(self) -> int:
13666
+ """
13667
+ Max findings limit for the given infoType.
13668
+ """
13669
+ return pulumi.get(self, "max_findings")
13473
13670
 
13474
13671
  @property
13475
13672
  @pulumi.getter(name="infoType")
13476
- def info_type(self) -> 'outputs.PreventionInspectTemplateInspectConfigLimitsMaxFindingsPerInfoTypeInfoType':
13673
+ def info_type(self) -> Optional['outputs.PreventionInspectTemplateInspectConfigLimitsMaxFindingsPerInfoTypeInfoType']:
13477
13674
  """
13478
13675
  Type of information the findings limit applies to. Only one limit per infoType should be provided. If InfoTypeLimit does
13479
13676
  not have an infoType, the DLP API applies the limit against all infoTypes that are found but not
@@ -13482,14 +13679,6 @@ class PreventionInspectTemplateInspectConfigLimitsMaxFindingsPerInfoType(dict):
13482
13679
  """
13483
13680
  return pulumi.get(self, "info_type")
13484
13681
 
13485
- @property
13486
- @pulumi.getter(name="maxFindings")
13487
- def max_findings(self) -> int:
13488
- """
13489
- Max findings limit for the given infoType.
13490
- """
13491
- return pulumi.get(self, "max_findings")
13492
-
13493
13682
 
13494
13683
  @pulumi.output_type
13495
13684
  class PreventionInspectTemplateInspectConfigLimitsMaxFindingsPerInfoTypeInfoType(dict):
@@ -504,6 +504,33 @@ class PreventionInspectTemplate(pulumi.CustomResource):
504
504
  ),
505
505
  ))
506
506
  ```
507
+ ### Dlp Inspect Template Max Infotype Per Finding Default
508
+
509
+ ```python
510
+ import pulumi
511
+ import pulumi_gcp as gcp
512
+
513
+ max_infotype_per_finding_default = gcp.dataloss.PreventionInspectTemplate("max_infotype_per_finding_default",
514
+ parent="projects/my-project-name",
515
+ inspect_config=gcp.dataloss.PreventionInspectTemplateInspectConfigArgs(
516
+ info_types=[
517
+ gcp.dataloss.PreventionInspectTemplateInspectConfigInfoTypeArgs(
518
+ name="EMAIL_ADDRESS",
519
+ ),
520
+ gcp.dataloss.PreventionInspectTemplateInspectConfigInfoTypeArgs(
521
+ name="PERSON_NAME",
522
+ ),
523
+ ],
524
+ min_likelihood="UNLIKELY",
525
+ limits=gcp.dataloss.PreventionInspectTemplateInspectConfigLimitsArgs(
526
+ max_findings_per_request=333,
527
+ max_findings_per_item=222,
528
+ max_findings_per_info_types=[gcp.dataloss.PreventionInspectTemplateInspectConfigLimitsMaxFindingsPerInfoTypeArgs(
529
+ max_findings=111,
530
+ )],
531
+ ),
532
+ ))
533
+ ```
507
534
 
508
535
  ## Import
509
536
 
@@ -796,6 +823,33 @@ class PreventionInspectTemplate(pulumi.CustomResource):
796
823
  ),
797
824
  ))
798
825
  ```
826
+ ### Dlp Inspect Template Max Infotype Per Finding Default
827
+
828
+ ```python
829
+ import pulumi
830
+ import pulumi_gcp as gcp
831
+
832
+ max_infotype_per_finding_default = gcp.dataloss.PreventionInspectTemplate("max_infotype_per_finding_default",
833
+ parent="projects/my-project-name",
834
+ inspect_config=gcp.dataloss.PreventionInspectTemplateInspectConfigArgs(
835
+ info_types=[
836
+ gcp.dataloss.PreventionInspectTemplateInspectConfigInfoTypeArgs(
837
+ name="EMAIL_ADDRESS",
838
+ ),
839
+ gcp.dataloss.PreventionInspectTemplateInspectConfigInfoTypeArgs(
840
+ name="PERSON_NAME",
841
+ ),
842
+ ],
843
+ min_likelihood="UNLIKELY",
844
+ limits=gcp.dataloss.PreventionInspectTemplateInspectConfigLimitsArgs(
845
+ max_findings_per_request=333,
846
+ max_findings_per_item=222,
847
+ max_findings_per_info_types=[gcp.dataloss.PreventionInspectTemplateInspectConfigLimitsMaxFindingsPerInfoTypeArgs(
848
+ max_findings=111,
849
+ )],
850
+ ),
851
+ ))
852
+ ```
799
853
 
800
854
  ## Import
801
855