1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. dataloss
  5. PreventionDiscoveryConfig
Google Cloud Classic v7.29.0 published on Wednesday, Jun 26, 2024 by Pulumi

gcp.dataloss.PreventionDiscoveryConfig

Explore with Pulumi AI

gcp logo
Google Cloud Classic v7.29.0 published on Wednesday, Jun 26, 2024 by Pulumi

    Configuration for discovery to scan resources for profile generation. Only one discovery configuration may exist per organization, folder, or project.

    To get more information about DiscoveryConfig, see:

    Example Usage

    Create PreventionDiscoveryConfig Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new PreventionDiscoveryConfig(name: string, args: PreventionDiscoveryConfigArgs, opts?: CustomResourceOptions);
    @overload
    def PreventionDiscoveryConfig(resource_name: str,
                                  args: PreventionDiscoveryConfigArgs,
                                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def PreventionDiscoveryConfig(resource_name: str,
                                  opts: Optional[ResourceOptions] = None,
                                  location: Optional[str] = None,
                                  parent: Optional[str] = None,
                                  actions: Optional[Sequence[PreventionDiscoveryConfigActionArgs]] = None,
                                  display_name: Optional[str] = None,
                                  inspect_templates: Optional[Sequence[str]] = None,
                                  org_config: Optional[PreventionDiscoveryConfigOrgConfigArgs] = None,
                                  status: Optional[str] = None,
                                  targets: Optional[Sequence[PreventionDiscoveryConfigTargetArgs]] = None)
    func NewPreventionDiscoveryConfig(ctx *Context, name string, args PreventionDiscoveryConfigArgs, opts ...ResourceOption) (*PreventionDiscoveryConfig, error)
    public PreventionDiscoveryConfig(string name, PreventionDiscoveryConfigArgs args, CustomResourceOptions? opts = null)
    public PreventionDiscoveryConfig(String name, PreventionDiscoveryConfigArgs args)
    public PreventionDiscoveryConfig(String name, PreventionDiscoveryConfigArgs args, CustomResourceOptions options)
    
    type: gcp:dataloss:PreventionDiscoveryConfig
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args PreventionDiscoveryConfigArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args PreventionDiscoveryConfigArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args PreventionDiscoveryConfigArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PreventionDiscoveryConfigArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PreventionDiscoveryConfigArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var preventionDiscoveryConfigResource = new Gcp.DataLoss.PreventionDiscoveryConfig("preventionDiscoveryConfigResource", new()
    {
        Location = "string",
        Parent = "string",
        Actions = new[]
        {
            new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigActionArgs
            {
                ExportData = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigActionExportDataArgs
                {
                    ProfileTable = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigActionExportDataProfileTableArgs
                    {
                        DatasetId = "string",
                        ProjectId = "string",
                        TableId = "string",
                    },
                },
                PubSubNotification = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigActionPubSubNotificationArgs
                {
                    DetailOfMessage = "string",
                    Event = "string",
                    PubsubCondition = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionArgs
                    {
                        Expressions = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionExpressionsArgs
                        {
                            Conditions = new[]
                            {
                                new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionExpressionsConditionArgs
                                {
                                    MinimumRiskScore = "string",
                                    MinimumSensitivityScore = "string",
                                },
                            },
                            LogicalOperator = "string",
                        },
                    },
                    Topic = "string",
                },
            },
        },
        DisplayName = "string",
        InspectTemplates = new[]
        {
            "string",
        },
        OrgConfig = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigOrgConfigArgs
        {
            Location = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigOrgConfigLocationArgs
            {
                FolderId = "string",
                OrganizationId = "string",
            },
            ProjectId = "string",
        },
        Status = "string",
        Targets = new[]
        {
            new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigTargetArgs
            {
                BigQueryTarget = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigTargetBigQueryTargetArgs
                {
                    Cadence = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigTargetBigQueryTargetCadenceArgs
                    {
                        SchemaModifiedCadence = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigTargetBigQueryTargetCadenceSchemaModifiedCadenceArgs
                        {
                            Frequency = "string",
                            Types = new[]
                            {
                                "string",
                            },
                        },
                        TableModifiedCadence = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigTargetBigQueryTargetCadenceTableModifiedCadenceArgs
                        {
                            Frequency = "string",
                            Types = new[]
                            {
                                "string",
                            },
                        },
                    },
                    Conditions = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigTargetBigQueryTargetConditionsArgs
                    {
                        CreatedAfter = "string",
                        OrConditions = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigTargetBigQueryTargetConditionsOrConditionsArgs
                        {
                            MinAge = "string",
                            MinRowCount = 0,
                        },
                        TypeCollection = "string",
                        Types = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigTargetBigQueryTargetConditionsTypesArgs
                        {
                            Types = new[]
                            {
                                "string",
                            },
                        },
                    },
                    Disabled = null,
                    Filter = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigTargetBigQueryTargetFilterArgs
                    {
                        OtherTables = null,
                        TableReference = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigTargetBigQueryTargetFilterTableReferenceArgs
                        {
                            DatasetId = "string",
                            TableId = "string",
                        },
                        Tables = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigTargetBigQueryTargetFilterTablesArgs
                        {
                            IncludeRegexes = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigTargetBigQueryTargetFilterTablesIncludeRegexesArgs
                            {
                                Patterns = new[]
                                {
                                    new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigTargetBigQueryTargetFilterTablesIncludeRegexesPatternArgs
                                    {
                                        DatasetIdRegex = "string",
                                        ProjectIdRegex = "string",
                                        TableIdRegex = "string",
                                    },
                                },
                            },
                        },
                    },
                },
                CloudSqlTarget = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigTargetCloudSqlTargetArgs
                {
                    Filter = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigTargetCloudSqlTargetFilterArgs
                    {
                        Collection = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigTargetCloudSqlTargetFilterCollectionArgs
                        {
                            IncludeRegexes = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigTargetCloudSqlTargetFilterCollectionIncludeRegexesArgs
                            {
                                Patterns = new[]
                                {
                                    new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigTargetCloudSqlTargetFilterCollectionIncludeRegexesPatternArgs
                                    {
                                        DatabaseRegex = "string",
                                        DatabaseResourceNameRegex = "string",
                                        InstanceRegex = "string",
                                        ProjectIdRegex = "string",
                                    },
                                },
                            },
                        },
                        DatabaseResourceReference = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigTargetCloudSqlTargetFilterDatabaseResourceReferenceArgs
                        {
                            Database = "string",
                            DatabaseResource = "string",
                            Instance = "string",
                            ProjectId = "string",
                        },
                        Others = null,
                    },
                    Conditions = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigTargetCloudSqlTargetConditionsArgs
                    {
                        DatabaseEngines = new[]
                        {
                            "string",
                        },
                        Types = new[]
                        {
                            "string",
                        },
                    },
                    Disabled = null,
                    GenerationCadence = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigTargetCloudSqlTargetGenerationCadenceArgs
                    {
                        RefreshFrequency = "string",
                        SchemaModifiedCadence = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigTargetCloudSqlTargetGenerationCadenceSchemaModifiedCadenceArgs
                        {
                            Frequency = "string",
                            Types = new[]
                            {
                                "string",
                            },
                        },
                    },
                },
                SecretsTarget = null,
            },
        },
    });
    
    example, err := dataloss.NewPreventionDiscoveryConfig(ctx, "preventionDiscoveryConfigResource", &dataloss.PreventionDiscoveryConfigArgs{
    	Location: pulumi.String("string"),
    	Parent:   pulumi.String("string"),
    	Actions: dataloss.PreventionDiscoveryConfigActionArray{
    		&dataloss.PreventionDiscoveryConfigActionArgs{
    			ExportData: &dataloss.PreventionDiscoveryConfigActionExportDataArgs{
    				ProfileTable: &dataloss.PreventionDiscoveryConfigActionExportDataProfileTableArgs{
    					DatasetId: pulumi.String("string"),
    					ProjectId: pulumi.String("string"),
    					TableId:   pulumi.String("string"),
    				},
    			},
    			PubSubNotification: &dataloss.PreventionDiscoveryConfigActionPubSubNotificationArgs{
    				DetailOfMessage: pulumi.String("string"),
    				Event:           pulumi.String("string"),
    				PubsubCondition: &dataloss.PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionArgs{
    					Expressions: &dataloss.PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionExpressionsArgs{
    						Conditions: dataloss.PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionExpressionsConditionArray{
    							&dataloss.PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionExpressionsConditionArgs{
    								MinimumRiskScore:        pulumi.String("string"),
    								MinimumSensitivityScore: pulumi.String("string"),
    							},
    						},
    						LogicalOperator: pulumi.String("string"),
    					},
    				},
    				Topic: pulumi.String("string"),
    			},
    		},
    	},
    	DisplayName: pulumi.String("string"),
    	InspectTemplates: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	OrgConfig: &dataloss.PreventionDiscoveryConfigOrgConfigArgs{
    		Location: &dataloss.PreventionDiscoveryConfigOrgConfigLocationArgs{
    			FolderId:       pulumi.String("string"),
    			OrganizationId: pulumi.String("string"),
    		},
    		ProjectId: pulumi.String("string"),
    	},
    	Status: pulumi.String("string"),
    	Targets: dataloss.PreventionDiscoveryConfigTargetArray{
    		&dataloss.PreventionDiscoveryConfigTargetArgs{
    			BigQueryTarget: &dataloss.PreventionDiscoveryConfigTargetBigQueryTargetArgs{
    				Cadence: &dataloss.PreventionDiscoveryConfigTargetBigQueryTargetCadenceArgs{
    					SchemaModifiedCadence: &dataloss.PreventionDiscoveryConfigTargetBigQueryTargetCadenceSchemaModifiedCadenceArgs{
    						Frequency: pulumi.String("string"),
    						Types: pulumi.StringArray{
    							pulumi.String("string"),
    						},
    					},
    					TableModifiedCadence: &dataloss.PreventionDiscoveryConfigTargetBigQueryTargetCadenceTableModifiedCadenceArgs{
    						Frequency: pulumi.String("string"),
    						Types: pulumi.StringArray{
    							pulumi.String("string"),
    						},
    					},
    				},
    				Conditions: &dataloss.PreventionDiscoveryConfigTargetBigQueryTargetConditionsArgs{
    					CreatedAfter: pulumi.String("string"),
    					OrConditions: &dataloss.PreventionDiscoveryConfigTargetBigQueryTargetConditionsOrConditionsArgs{
    						MinAge:      pulumi.String("string"),
    						MinRowCount: pulumi.Int(0),
    					},
    					TypeCollection: pulumi.String("string"),
    					Types: &dataloss.PreventionDiscoveryConfigTargetBigQueryTargetConditionsTypesArgs{
    						Types: pulumi.StringArray{
    							pulumi.String("string"),
    						},
    					},
    				},
    				Disabled: nil,
    				Filter: &dataloss.PreventionDiscoveryConfigTargetBigQueryTargetFilterArgs{
    					OtherTables: nil,
    					TableReference: &dataloss.PreventionDiscoveryConfigTargetBigQueryTargetFilterTableReferenceArgs{
    						DatasetId: pulumi.String("string"),
    						TableId:   pulumi.String("string"),
    					},
    					Tables: &dataloss.PreventionDiscoveryConfigTargetBigQueryTargetFilterTablesArgs{
    						IncludeRegexes: &dataloss.PreventionDiscoveryConfigTargetBigQueryTargetFilterTablesIncludeRegexesArgs{
    							Patterns: dataloss.PreventionDiscoveryConfigTargetBigQueryTargetFilterTablesIncludeRegexesPatternArray{
    								&dataloss.PreventionDiscoveryConfigTargetBigQueryTargetFilterTablesIncludeRegexesPatternArgs{
    									DatasetIdRegex: pulumi.String("string"),
    									ProjectIdRegex: pulumi.String("string"),
    									TableIdRegex:   pulumi.String("string"),
    								},
    							},
    						},
    					},
    				},
    			},
    			CloudSqlTarget: &dataloss.PreventionDiscoveryConfigTargetCloudSqlTargetArgs{
    				Filter: &dataloss.PreventionDiscoveryConfigTargetCloudSqlTargetFilterArgs{
    					Collection: &dataloss.PreventionDiscoveryConfigTargetCloudSqlTargetFilterCollectionArgs{
    						IncludeRegexes: &dataloss.PreventionDiscoveryConfigTargetCloudSqlTargetFilterCollectionIncludeRegexesArgs{
    							Patterns: dataloss.PreventionDiscoveryConfigTargetCloudSqlTargetFilterCollectionIncludeRegexesPatternArray{
    								&dataloss.PreventionDiscoveryConfigTargetCloudSqlTargetFilterCollectionIncludeRegexesPatternArgs{
    									DatabaseRegex:             pulumi.String("string"),
    									DatabaseResourceNameRegex: pulumi.String("string"),
    									InstanceRegex:             pulumi.String("string"),
    									ProjectIdRegex:            pulumi.String("string"),
    								},
    							},
    						},
    					},
    					DatabaseResourceReference: &dataloss.PreventionDiscoveryConfigTargetCloudSqlTargetFilterDatabaseResourceReferenceArgs{
    						Database:         pulumi.String("string"),
    						DatabaseResource: pulumi.String("string"),
    						Instance:         pulumi.String("string"),
    						ProjectId:        pulumi.String("string"),
    					},
    					Others: nil,
    				},
    				Conditions: &dataloss.PreventionDiscoveryConfigTargetCloudSqlTargetConditionsArgs{
    					DatabaseEngines: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					Types: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    				},
    				Disabled: nil,
    				GenerationCadence: &dataloss.PreventionDiscoveryConfigTargetCloudSqlTargetGenerationCadenceArgs{
    					RefreshFrequency: pulumi.String("string"),
    					SchemaModifiedCadence: &dataloss.PreventionDiscoveryConfigTargetCloudSqlTargetGenerationCadenceSchemaModifiedCadenceArgs{
    						Frequency: pulumi.String("string"),
    						Types: pulumi.StringArray{
    							pulumi.String("string"),
    						},
    					},
    				},
    			},
    			SecretsTarget: nil,
    		},
    	},
    })
    
    var preventionDiscoveryConfigResource = new PreventionDiscoveryConfig("preventionDiscoveryConfigResource", PreventionDiscoveryConfigArgs.builder()
        .location("string")
        .parent("string")
        .actions(PreventionDiscoveryConfigActionArgs.builder()
            .exportData(PreventionDiscoveryConfigActionExportDataArgs.builder()
                .profileTable(PreventionDiscoveryConfigActionExportDataProfileTableArgs.builder()
                    .datasetId("string")
                    .projectId("string")
                    .tableId("string")
                    .build())
                .build())
            .pubSubNotification(PreventionDiscoveryConfigActionPubSubNotificationArgs.builder()
                .detailOfMessage("string")
                .event("string")
                .pubsubCondition(PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionArgs.builder()
                    .expressions(PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionExpressionsArgs.builder()
                        .conditions(PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionExpressionsConditionArgs.builder()
                            .minimumRiskScore("string")
                            .minimumSensitivityScore("string")
                            .build())
                        .logicalOperator("string")
                        .build())
                    .build())
                .topic("string")
                .build())
            .build())
        .displayName("string")
        .inspectTemplates("string")
        .orgConfig(PreventionDiscoveryConfigOrgConfigArgs.builder()
            .location(PreventionDiscoveryConfigOrgConfigLocationArgs.builder()
                .folderId("string")
                .organizationId("string")
                .build())
            .projectId("string")
            .build())
        .status("string")
        .targets(PreventionDiscoveryConfigTargetArgs.builder()
            .bigQueryTarget(PreventionDiscoveryConfigTargetBigQueryTargetArgs.builder()
                .cadence(PreventionDiscoveryConfigTargetBigQueryTargetCadenceArgs.builder()
                    .schemaModifiedCadence(PreventionDiscoveryConfigTargetBigQueryTargetCadenceSchemaModifiedCadenceArgs.builder()
                        .frequency("string")
                        .types("string")
                        .build())
                    .tableModifiedCadence(PreventionDiscoveryConfigTargetBigQueryTargetCadenceTableModifiedCadenceArgs.builder()
                        .frequency("string")
                        .types("string")
                        .build())
                    .build())
                .conditions(PreventionDiscoveryConfigTargetBigQueryTargetConditionsArgs.builder()
                    .createdAfter("string")
                    .orConditions(PreventionDiscoveryConfigTargetBigQueryTargetConditionsOrConditionsArgs.builder()
                        .minAge("string")
                        .minRowCount(0)
                        .build())
                    .typeCollection("string")
                    .types(PreventionDiscoveryConfigTargetBigQueryTargetConditionsTypesArgs.builder()
                        .types("string")
                        .build())
                    .build())
                .disabled()
                .filter(PreventionDiscoveryConfigTargetBigQueryTargetFilterArgs.builder()
                    .otherTables()
                    .tableReference(PreventionDiscoveryConfigTargetBigQueryTargetFilterTableReferenceArgs.builder()
                        .datasetId("string")
                        .tableId("string")
                        .build())
                    .tables(PreventionDiscoveryConfigTargetBigQueryTargetFilterTablesArgs.builder()
                        .includeRegexes(PreventionDiscoveryConfigTargetBigQueryTargetFilterTablesIncludeRegexesArgs.builder()
                            .patterns(PreventionDiscoveryConfigTargetBigQueryTargetFilterTablesIncludeRegexesPatternArgs.builder()
                                .datasetIdRegex("string")
                                .projectIdRegex("string")
                                .tableIdRegex("string")
                                .build())
                            .build())
                        .build())
                    .build())
                .build())
            .cloudSqlTarget(PreventionDiscoveryConfigTargetCloudSqlTargetArgs.builder()
                .filter(PreventionDiscoveryConfigTargetCloudSqlTargetFilterArgs.builder()
                    .collection(PreventionDiscoveryConfigTargetCloudSqlTargetFilterCollectionArgs.builder()
                        .includeRegexes(PreventionDiscoveryConfigTargetCloudSqlTargetFilterCollectionIncludeRegexesArgs.builder()
                            .patterns(PreventionDiscoveryConfigTargetCloudSqlTargetFilterCollectionIncludeRegexesPatternArgs.builder()
                                .databaseRegex("string")
                                .databaseResourceNameRegex("string")
                                .instanceRegex("string")
                                .projectIdRegex("string")
                                .build())
                            .build())
                        .build())
                    .databaseResourceReference(PreventionDiscoveryConfigTargetCloudSqlTargetFilterDatabaseResourceReferenceArgs.builder()
                        .database("string")
                        .databaseResource("string")
                        .instance("string")
                        .projectId("string")
                        .build())
                    .others()
                    .build())
                .conditions(PreventionDiscoveryConfigTargetCloudSqlTargetConditionsArgs.builder()
                    .databaseEngines("string")
                    .types("string")
                    .build())
                .disabled()
                .generationCadence(PreventionDiscoveryConfigTargetCloudSqlTargetGenerationCadenceArgs.builder()
                    .refreshFrequency("string")
                    .schemaModifiedCadence(PreventionDiscoveryConfigTargetCloudSqlTargetGenerationCadenceSchemaModifiedCadenceArgs.builder()
                        .frequency("string")
                        .types("string")
                        .build())
                    .build())
                .build())
            .secretsTarget()
            .build())
        .build());
    
    prevention_discovery_config_resource = gcp.dataloss.PreventionDiscoveryConfig("preventionDiscoveryConfigResource",
        location="string",
        parent="string",
        actions=[gcp.dataloss.PreventionDiscoveryConfigActionArgs(
            export_data=gcp.dataloss.PreventionDiscoveryConfigActionExportDataArgs(
                profile_table=gcp.dataloss.PreventionDiscoveryConfigActionExportDataProfileTableArgs(
                    dataset_id="string",
                    project_id="string",
                    table_id="string",
                ),
            ),
            pub_sub_notification=gcp.dataloss.PreventionDiscoveryConfigActionPubSubNotificationArgs(
                detail_of_message="string",
                event="string",
                pubsub_condition=gcp.dataloss.PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionArgs(
                    expressions=gcp.dataloss.PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionExpressionsArgs(
                        conditions=[gcp.dataloss.PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionExpressionsConditionArgs(
                            minimum_risk_score="string",
                            minimum_sensitivity_score="string",
                        )],
                        logical_operator="string",
                    ),
                ),
                topic="string",
            ),
        )],
        display_name="string",
        inspect_templates=["string"],
        org_config=gcp.dataloss.PreventionDiscoveryConfigOrgConfigArgs(
            location=gcp.dataloss.PreventionDiscoveryConfigOrgConfigLocationArgs(
                folder_id="string",
                organization_id="string",
            ),
            project_id="string",
        ),
        status="string",
        targets=[gcp.dataloss.PreventionDiscoveryConfigTargetArgs(
            big_query_target=gcp.dataloss.PreventionDiscoveryConfigTargetBigQueryTargetArgs(
                cadence=gcp.dataloss.PreventionDiscoveryConfigTargetBigQueryTargetCadenceArgs(
                    schema_modified_cadence=gcp.dataloss.PreventionDiscoveryConfigTargetBigQueryTargetCadenceSchemaModifiedCadenceArgs(
                        frequency="string",
                        types=["string"],
                    ),
                    table_modified_cadence=gcp.dataloss.PreventionDiscoveryConfigTargetBigQueryTargetCadenceTableModifiedCadenceArgs(
                        frequency="string",
                        types=["string"],
                    ),
                ),
                conditions=gcp.dataloss.PreventionDiscoveryConfigTargetBigQueryTargetConditionsArgs(
                    created_after="string",
                    or_conditions=gcp.dataloss.PreventionDiscoveryConfigTargetBigQueryTargetConditionsOrConditionsArgs(
                        min_age="string",
                        min_row_count=0,
                    ),
                    type_collection="string",
                    types=gcp.dataloss.PreventionDiscoveryConfigTargetBigQueryTargetConditionsTypesArgs(
                        types=["string"],
                    ),
                ),
                disabled=gcp.dataloss.PreventionDiscoveryConfigTargetBigQueryTargetDisabledArgs(),
                filter=gcp.dataloss.PreventionDiscoveryConfigTargetBigQueryTargetFilterArgs(
                    other_tables=gcp.dataloss.PreventionDiscoveryConfigTargetBigQueryTargetFilterOtherTablesArgs(),
                    table_reference=gcp.dataloss.PreventionDiscoveryConfigTargetBigQueryTargetFilterTableReferenceArgs(
                        dataset_id="string",
                        table_id="string",
                    ),
                    tables=gcp.dataloss.PreventionDiscoveryConfigTargetBigQueryTargetFilterTablesArgs(
                        include_regexes=gcp.dataloss.PreventionDiscoveryConfigTargetBigQueryTargetFilterTablesIncludeRegexesArgs(
                            patterns=[gcp.dataloss.PreventionDiscoveryConfigTargetBigQueryTargetFilterTablesIncludeRegexesPatternArgs(
                                dataset_id_regex="string",
                                project_id_regex="string",
                                table_id_regex="string",
                            )],
                        ),
                    ),
                ),
            ),
            cloud_sql_target=gcp.dataloss.PreventionDiscoveryConfigTargetCloudSqlTargetArgs(
                filter=gcp.dataloss.PreventionDiscoveryConfigTargetCloudSqlTargetFilterArgs(
                    collection=gcp.dataloss.PreventionDiscoveryConfigTargetCloudSqlTargetFilterCollectionArgs(
                        include_regexes=gcp.dataloss.PreventionDiscoveryConfigTargetCloudSqlTargetFilterCollectionIncludeRegexesArgs(
                            patterns=[gcp.dataloss.PreventionDiscoveryConfigTargetCloudSqlTargetFilterCollectionIncludeRegexesPatternArgs(
                                database_regex="string",
                                database_resource_name_regex="string",
                                instance_regex="string",
                                project_id_regex="string",
                            )],
                        ),
                    ),
                    database_resource_reference=gcp.dataloss.PreventionDiscoveryConfigTargetCloudSqlTargetFilterDatabaseResourceReferenceArgs(
                        database="string",
                        database_resource="string",
                        instance="string",
                        project_id="string",
                    ),
                    others=gcp.dataloss.PreventionDiscoveryConfigTargetCloudSqlTargetFilterOthersArgs(),
                ),
                conditions=gcp.dataloss.PreventionDiscoveryConfigTargetCloudSqlTargetConditionsArgs(
                    database_engines=["string"],
                    types=["string"],
                ),
                disabled=gcp.dataloss.PreventionDiscoveryConfigTargetCloudSqlTargetDisabledArgs(),
                generation_cadence=gcp.dataloss.PreventionDiscoveryConfigTargetCloudSqlTargetGenerationCadenceArgs(
                    refresh_frequency="string",
                    schema_modified_cadence=gcp.dataloss.PreventionDiscoveryConfigTargetCloudSqlTargetGenerationCadenceSchemaModifiedCadenceArgs(
                        frequency="string",
                        types=["string"],
                    ),
                ),
            ),
            secrets_target=gcp.dataloss.PreventionDiscoveryConfigTargetSecretsTargetArgs(),
        )])
    
    const preventionDiscoveryConfigResource = new gcp.dataloss.PreventionDiscoveryConfig("preventionDiscoveryConfigResource", {
        location: "string",
        parent: "string",
        actions: [{
            exportData: {
                profileTable: {
                    datasetId: "string",
                    projectId: "string",
                    tableId: "string",
                },
            },
            pubSubNotification: {
                detailOfMessage: "string",
                event: "string",
                pubsubCondition: {
                    expressions: {
                        conditions: [{
                            minimumRiskScore: "string",
                            minimumSensitivityScore: "string",
                        }],
                        logicalOperator: "string",
                    },
                },
                topic: "string",
            },
        }],
        displayName: "string",
        inspectTemplates: ["string"],
        orgConfig: {
            location: {
                folderId: "string",
                organizationId: "string",
            },
            projectId: "string",
        },
        status: "string",
        targets: [{
            bigQueryTarget: {
                cadence: {
                    schemaModifiedCadence: {
                        frequency: "string",
                        types: ["string"],
                    },
                    tableModifiedCadence: {
                        frequency: "string",
                        types: ["string"],
                    },
                },
                conditions: {
                    createdAfter: "string",
                    orConditions: {
                        minAge: "string",
                        minRowCount: 0,
                    },
                    typeCollection: "string",
                    types: {
                        types: ["string"],
                    },
                },
                disabled: {},
                filter: {
                    otherTables: {},
                    tableReference: {
                        datasetId: "string",
                        tableId: "string",
                    },
                    tables: {
                        includeRegexes: {
                            patterns: [{
                                datasetIdRegex: "string",
                                projectIdRegex: "string",
                                tableIdRegex: "string",
                            }],
                        },
                    },
                },
            },
            cloudSqlTarget: {
                filter: {
                    collection: {
                        includeRegexes: {
                            patterns: [{
                                databaseRegex: "string",
                                databaseResourceNameRegex: "string",
                                instanceRegex: "string",
                                projectIdRegex: "string",
                            }],
                        },
                    },
                    databaseResourceReference: {
                        database: "string",
                        databaseResource: "string",
                        instance: "string",
                        projectId: "string",
                    },
                    others: {},
                },
                conditions: {
                    databaseEngines: ["string"],
                    types: ["string"],
                },
                disabled: {},
                generationCadence: {
                    refreshFrequency: "string",
                    schemaModifiedCadence: {
                        frequency: "string",
                        types: ["string"],
                    },
                },
            },
            secretsTarget: {},
        }],
    });
    
    type: gcp:dataloss:PreventionDiscoveryConfig
    properties:
        actions:
            - exportData:
                profileTable:
                    datasetId: string
                    projectId: string
                    tableId: string
              pubSubNotification:
                detailOfMessage: string
                event: string
                pubsubCondition:
                    expressions:
                        conditions:
                            - minimumRiskScore: string
                              minimumSensitivityScore: string
                        logicalOperator: string
                topic: string
        displayName: string
        inspectTemplates:
            - string
        location: string
        orgConfig:
            location:
                folderId: string
                organizationId: string
            projectId: string
        parent: string
        status: string
        targets:
            - bigQueryTarget:
                cadence:
                    schemaModifiedCadence:
                        frequency: string
                        types:
                            - string
                    tableModifiedCadence:
                        frequency: string
                        types:
                            - string
                conditions:
                    createdAfter: string
                    orConditions:
                        minAge: string
                        minRowCount: 0
                    typeCollection: string
                    types:
                        types:
                            - string
                disabled: {}
                filter:
                    otherTables: {}
                    tableReference:
                        datasetId: string
                        tableId: string
                    tables:
                        includeRegexes:
                            patterns:
                                - datasetIdRegex: string
                                  projectIdRegex: string
                                  tableIdRegex: string
              cloudSqlTarget:
                conditions:
                    databaseEngines:
                        - string
                    types:
                        - string
                disabled: {}
                filter:
                    collection:
                        includeRegexes:
                            patterns:
                                - databaseRegex: string
                                  databaseResourceNameRegex: string
                                  instanceRegex: string
                                  projectIdRegex: string
                    databaseResourceReference:
                        database: string
                        databaseResource: string
                        instance: string
                        projectId: string
                    others: {}
                generationCadence:
                    refreshFrequency: string
                    schemaModifiedCadence:
                        frequency: string
                        types:
                            - string
              secretsTarget: {}
    

    PreventionDiscoveryConfig Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The PreventionDiscoveryConfig resource accepts the following input properties:

    Location string
    Location to create the discovery config in.


    Parent string
    The parent of the discovery config in any of the following formats:

    • projects/{{project}}/locations/{{location}}
    • organizations/{{organization_id}}/locations/{{location}}
    Actions List<PreventionDiscoveryConfigAction>
    Actions to execute at the completion of scanning Structure is documented below.
    DisplayName string
    Display Name (max 1000 Chars)
    InspectTemplates List<string>
    Detection logic for profile generation
    OrgConfig PreventionDiscoveryConfigOrgConfig
    A nested object resource Structure is documented below.
    Status string
    Required. A status for this configuration Possible values are: RUNNING, PAUSED.
    Targets List<PreventionDiscoveryConfigTarget>
    Target to match against for determining what to scan and how frequently Structure is documented below.
    Location string
    Location to create the discovery config in.


    Parent string
    The parent of the discovery config in any of the following formats:

    • projects/{{project}}/locations/{{location}}
    • organizations/{{organization_id}}/locations/{{location}}
    Actions []PreventionDiscoveryConfigActionArgs
    Actions to execute at the completion of scanning Structure is documented below.
    DisplayName string
    Display Name (max 1000 Chars)
    InspectTemplates []string
    Detection logic for profile generation
    OrgConfig PreventionDiscoveryConfigOrgConfigArgs
    A nested object resource Structure is documented below.
    Status string
    Required. A status for this configuration Possible values are: RUNNING, PAUSED.
    Targets []PreventionDiscoveryConfigTargetArgs
    Target to match against for determining what to scan and how frequently Structure is documented below.
    location String
    Location to create the discovery config in.


    parent String
    The parent of the discovery config in any of the following formats:

    • projects/{{project}}/locations/{{location}}
    • organizations/{{organization_id}}/locations/{{location}}
    actions List<PreventionDiscoveryConfigAction>
    Actions to execute at the completion of scanning Structure is documented below.
    displayName String
    Display Name (max 1000 Chars)
    inspectTemplates List<String>
    Detection logic for profile generation
    orgConfig PreventionDiscoveryConfigOrgConfig
    A nested object resource Structure is documented below.
    status String
    Required. A status for this configuration Possible values are: RUNNING, PAUSED.
    targets List<PreventionDiscoveryConfigTarget>
    Target to match against for determining what to scan and how frequently Structure is documented below.
    location string
    Location to create the discovery config in.


    parent string
    The parent of the discovery config in any of the following formats:

    • projects/{{project}}/locations/{{location}}
    • organizations/{{organization_id}}/locations/{{location}}
    actions PreventionDiscoveryConfigAction[]
    Actions to execute at the completion of scanning Structure is documented below.
    displayName string
    Display Name (max 1000 Chars)
    inspectTemplates string[]
    Detection logic for profile generation
    orgConfig PreventionDiscoveryConfigOrgConfig
    A nested object resource Structure is documented below.
    status string
    Required. A status for this configuration Possible values are: RUNNING, PAUSED.
    targets PreventionDiscoveryConfigTarget[]
    Target to match against for determining what to scan and how frequently Structure is documented below.
    location str
    Location to create the discovery config in.


    parent str
    The parent of the discovery config in any of the following formats:

    • projects/{{project}}/locations/{{location}}
    • organizations/{{organization_id}}/locations/{{location}}
    actions Sequence[PreventionDiscoveryConfigActionArgs]
    Actions to execute at the completion of scanning Structure is documented below.
    display_name str
    Display Name (max 1000 Chars)
    inspect_templates Sequence[str]
    Detection logic for profile generation
    org_config PreventionDiscoveryConfigOrgConfigArgs
    A nested object resource Structure is documented below.
    status str
    Required. A status for this configuration Possible values are: RUNNING, PAUSED.
    targets Sequence[PreventionDiscoveryConfigTargetArgs]
    Target to match against for determining what to scan and how frequently Structure is documented below.
    location String
    Location to create the discovery config in.


    parent String
    The parent of the discovery config in any of the following formats:

    • projects/{{project}}/locations/{{location}}
    • organizations/{{organization_id}}/locations/{{location}}
    actions List<Property Map>
    Actions to execute at the completion of scanning Structure is documented below.
    displayName String
    Display Name (max 1000 Chars)
    inspectTemplates List<String>
    Detection logic for profile generation
    orgConfig Property Map
    A nested object resource Structure is documented below.
    status String
    Required. A status for this configuration Possible values are: RUNNING, PAUSED.
    targets List<Property Map>
    Target to match against for determining what to scan and how frequently Structure is documented below.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the PreventionDiscoveryConfig resource produces the following output properties:

    CreateTime string
    Output only. The creation timestamp of a DiscoveryConfig.
    Errors List<PreventionDiscoveryConfigError>
    Output only. A stream of errors encountered when the config was activated. Repeated errors may result in the config automatically being paused. Output only field. Will return the last 100 errors. Whenever the config is modified this list will be cleared. Structure is documented below.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastRunTime string
    Output only. The timestamp of the last time this config was executed
    Name string
    Unique resource name for the DiscoveryConfig, assigned by the service when the DiscoveryConfig is created.
    UpdateTime string
    Output only. The last update timestamp of a DiscoveryConfig.
    CreateTime string
    Output only. The creation timestamp of a DiscoveryConfig.
    Errors []PreventionDiscoveryConfigError
    Output only. A stream of errors encountered when the config was activated. Repeated errors may result in the config automatically being paused. Output only field. Will return the last 100 errors. Whenever the config is modified this list will be cleared. Structure is documented below.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastRunTime string
    Output only. The timestamp of the last time this config was executed
    Name string
    Unique resource name for the DiscoveryConfig, assigned by the service when the DiscoveryConfig is created.
    UpdateTime string
    Output only. The last update timestamp of a DiscoveryConfig.
    createTime String
    Output only. The creation timestamp of a DiscoveryConfig.
    errors List<PreventionDiscoveryConfigError>
    Output only. A stream of errors encountered when the config was activated. Repeated errors may result in the config automatically being paused. Output only field. Will return the last 100 errors. Whenever the config is modified this list will be cleared. Structure is documented below.
    id String
    The provider-assigned unique ID for this managed resource.
    lastRunTime String
    Output only. The timestamp of the last time this config was executed
    name String
    Unique resource name for the DiscoveryConfig, assigned by the service when the DiscoveryConfig is created.
    updateTime String
    Output only. The last update timestamp of a DiscoveryConfig.
    createTime string
    Output only. The creation timestamp of a DiscoveryConfig.
    errors PreventionDiscoveryConfigError[]
    Output only. A stream of errors encountered when the config was activated. Repeated errors may result in the config automatically being paused. Output only field. Will return the last 100 errors. Whenever the config is modified this list will be cleared. Structure is documented below.
    id string
    The provider-assigned unique ID for this managed resource.
    lastRunTime string
    Output only. The timestamp of the last time this config was executed
    name string
    Unique resource name for the DiscoveryConfig, assigned by the service when the DiscoveryConfig is created.
    updateTime string
    Output only. The last update timestamp of a DiscoveryConfig.
    create_time str
    Output only. The creation timestamp of a DiscoveryConfig.
    errors Sequence[PreventionDiscoveryConfigError]
    Output only. A stream of errors encountered when the config was activated. Repeated errors may result in the config automatically being paused. Output only field. Will return the last 100 errors. Whenever the config is modified this list will be cleared. Structure is documented below.
    id str
    The provider-assigned unique ID for this managed resource.
    last_run_time str
    Output only. The timestamp of the last time this config was executed
    name str
    Unique resource name for the DiscoveryConfig, assigned by the service when the DiscoveryConfig is created.
    update_time str
    Output only. The last update timestamp of a DiscoveryConfig.
    createTime String
    Output only. The creation timestamp of a DiscoveryConfig.
    errors List<Property Map>
    Output only. A stream of errors encountered when the config was activated. Repeated errors may result in the config automatically being paused. Output only field. Will return the last 100 errors. Whenever the config is modified this list will be cleared. Structure is documented below.
    id String
    The provider-assigned unique ID for this managed resource.
    lastRunTime String
    Output only. The timestamp of the last time this config was executed
    name String
    Unique resource name for the DiscoveryConfig, assigned by the service when the DiscoveryConfig is created.
    updateTime String
    Output only. The last update timestamp of a DiscoveryConfig.

    Look up Existing PreventionDiscoveryConfig Resource

    Get an existing PreventionDiscoveryConfig resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: PreventionDiscoveryConfigState, opts?: CustomResourceOptions): PreventionDiscoveryConfig
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            actions: Optional[Sequence[PreventionDiscoveryConfigActionArgs]] = None,
            create_time: Optional[str] = None,
            display_name: Optional[str] = None,
            errors: Optional[Sequence[PreventionDiscoveryConfigErrorArgs]] = None,
            inspect_templates: Optional[Sequence[str]] = None,
            last_run_time: Optional[str] = None,
            location: Optional[str] = None,
            name: Optional[str] = None,
            org_config: Optional[PreventionDiscoveryConfigOrgConfigArgs] = None,
            parent: Optional[str] = None,
            status: Optional[str] = None,
            targets: Optional[Sequence[PreventionDiscoveryConfigTargetArgs]] = None,
            update_time: Optional[str] = None) -> PreventionDiscoveryConfig
    func GetPreventionDiscoveryConfig(ctx *Context, name string, id IDInput, state *PreventionDiscoveryConfigState, opts ...ResourceOption) (*PreventionDiscoveryConfig, error)
    public static PreventionDiscoveryConfig Get(string name, Input<string> id, PreventionDiscoveryConfigState? state, CustomResourceOptions? opts = null)
    public static PreventionDiscoveryConfig get(String name, Output<String> id, PreventionDiscoveryConfigState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Actions List<PreventionDiscoveryConfigAction>
    Actions to execute at the completion of scanning Structure is documented below.
    CreateTime string
    Output only. The creation timestamp of a DiscoveryConfig.
    DisplayName string
    Display Name (max 1000 Chars)
    Errors List<PreventionDiscoveryConfigError>
    Output only. A stream of errors encountered when the config was activated. Repeated errors may result in the config automatically being paused. Output only field. Will return the last 100 errors. Whenever the config is modified this list will be cleared. Structure is documented below.
    InspectTemplates List<string>
    Detection logic for profile generation
    LastRunTime string
    Output only. The timestamp of the last time this config was executed
    Location string
    Location to create the discovery config in.


    Name string
    Unique resource name for the DiscoveryConfig, assigned by the service when the DiscoveryConfig is created.
    OrgConfig PreventionDiscoveryConfigOrgConfig
    A nested object resource Structure is documented below.
    Parent string
    The parent of the discovery config in any of the following formats:

    • projects/{{project}}/locations/{{location}}
    • organizations/{{organization_id}}/locations/{{location}}
    Status string
    Required. A status for this configuration Possible values are: RUNNING, PAUSED.
    Targets List<PreventionDiscoveryConfigTarget>
    Target to match against for determining what to scan and how frequently Structure is documented below.
    UpdateTime string
    Output only. The last update timestamp of a DiscoveryConfig.
    Actions []PreventionDiscoveryConfigActionArgs
    Actions to execute at the completion of scanning Structure is documented below.
    CreateTime string
    Output only. The creation timestamp of a DiscoveryConfig.
    DisplayName string
    Display Name (max 1000 Chars)
    Errors []PreventionDiscoveryConfigErrorArgs
    Output only. A stream of errors encountered when the config was activated. Repeated errors may result in the config automatically being paused. Output only field. Will return the last 100 errors. Whenever the config is modified this list will be cleared. Structure is documented below.
    InspectTemplates []string
    Detection logic for profile generation
    LastRunTime string
    Output only. The timestamp of the last time this config was executed
    Location string
    Location to create the discovery config in.


    Name string
    Unique resource name for the DiscoveryConfig, assigned by the service when the DiscoveryConfig is created.
    OrgConfig PreventionDiscoveryConfigOrgConfigArgs
    A nested object resource Structure is documented below.
    Parent string
    The parent of the discovery config in any of the following formats:

    • projects/{{project}}/locations/{{location}}
    • organizations/{{organization_id}}/locations/{{location}}
    Status string
    Required. A status for this configuration Possible values are: RUNNING, PAUSED.
    Targets []PreventionDiscoveryConfigTargetArgs
    Target to match against for determining what to scan and how frequently Structure is documented below.
    UpdateTime string
    Output only. The last update timestamp of a DiscoveryConfig.
    actions List<PreventionDiscoveryConfigAction>
    Actions to execute at the completion of scanning Structure is documented below.
    createTime String
    Output only. The creation timestamp of a DiscoveryConfig.
    displayName String
    Display Name (max 1000 Chars)
    errors List<PreventionDiscoveryConfigError>
    Output only. A stream of errors encountered when the config was activated. Repeated errors may result in the config automatically being paused. Output only field. Will return the last 100 errors. Whenever the config is modified this list will be cleared. Structure is documented below.
    inspectTemplates List<String>
    Detection logic for profile generation
    lastRunTime String
    Output only. The timestamp of the last time this config was executed
    location String
    Location to create the discovery config in.


    name String
    Unique resource name for the DiscoveryConfig, assigned by the service when the DiscoveryConfig is created.
    orgConfig PreventionDiscoveryConfigOrgConfig
    A nested object resource Structure is documented below.
    parent String
    The parent of the discovery config in any of the following formats:

    • projects/{{project}}/locations/{{location}}
    • organizations/{{organization_id}}/locations/{{location}}
    status String
    Required. A status for this configuration Possible values are: RUNNING, PAUSED.
    targets List<PreventionDiscoveryConfigTarget>
    Target to match against for determining what to scan and how frequently Structure is documented below.
    updateTime String
    Output only. The last update timestamp of a DiscoveryConfig.
    actions PreventionDiscoveryConfigAction[]
    Actions to execute at the completion of scanning Structure is documented below.
    createTime string
    Output only. The creation timestamp of a DiscoveryConfig.
    displayName string
    Display Name (max 1000 Chars)
    errors PreventionDiscoveryConfigError[]
    Output only. A stream of errors encountered when the config was activated. Repeated errors may result in the config automatically being paused. Output only field. Will return the last 100 errors. Whenever the config is modified this list will be cleared. Structure is documented below.
    inspectTemplates string[]
    Detection logic for profile generation
    lastRunTime string
    Output only. The timestamp of the last time this config was executed
    location string
    Location to create the discovery config in.


    name string
    Unique resource name for the DiscoveryConfig, assigned by the service when the DiscoveryConfig is created.
    orgConfig PreventionDiscoveryConfigOrgConfig
    A nested object resource Structure is documented below.
    parent string
    The parent of the discovery config in any of the following formats:

    • projects/{{project}}/locations/{{location}}
    • organizations/{{organization_id}}/locations/{{location}}
    status string
    Required. A status for this configuration Possible values are: RUNNING, PAUSED.
    targets PreventionDiscoveryConfigTarget[]
    Target to match against for determining what to scan and how frequently Structure is documented below.
    updateTime string
    Output only. The last update timestamp of a DiscoveryConfig.
    actions Sequence[PreventionDiscoveryConfigActionArgs]
    Actions to execute at the completion of scanning Structure is documented below.
    create_time str
    Output only. The creation timestamp of a DiscoveryConfig.
    display_name str
    Display Name (max 1000 Chars)
    errors Sequence[PreventionDiscoveryConfigErrorArgs]
    Output only. A stream of errors encountered when the config was activated. Repeated errors may result in the config automatically being paused. Output only field. Will return the last 100 errors. Whenever the config is modified this list will be cleared. Structure is documented below.
    inspect_templates Sequence[str]
    Detection logic for profile generation
    last_run_time str
    Output only. The timestamp of the last time this config was executed
    location str
    Location to create the discovery config in.


    name str
    Unique resource name for the DiscoveryConfig, assigned by the service when the DiscoveryConfig is created.
    org_config PreventionDiscoveryConfigOrgConfigArgs
    A nested object resource Structure is documented below.
    parent str
    The parent of the discovery config in any of the following formats:

    • projects/{{project}}/locations/{{location}}
    • organizations/{{organization_id}}/locations/{{location}}
    status str
    Required. A status for this configuration Possible values are: RUNNING, PAUSED.
    targets Sequence[PreventionDiscoveryConfigTargetArgs]
    Target to match against for determining what to scan and how frequently Structure is documented below.
    update_time str
    Output only. The last update timestamp of a DiscoveryConfig.
    actions List<Property Map>
    Actions to execute at the completion of scanning Structure is documented below.
    createTime String
    Output only. The creation timestamp of a DiscoveryConfig.
    displayName String
    Display Name (max 1000 Chars)
    errors List<Property Map>
    Output only. A stream of errors encountered when the config was activated. Repeated errors may result in the config automatically being paused. Output only field. Will return the last 100 errors. Whenever the config is modified this list will be cleared. Structure is documented below.
    inspectTemplates List<String>
    Detection logic for profile generation
    lastRunTime String
    Output only. The timestamp of the last time this config was executed
    location String
    Location to create the discovery config in.


    name String
    Unique resource name for the DiscoveryConfig, assigned by the service when the DiscoveryConfig is created.
    orgConfig Property Map
    A nested object resource Structure is documented below.
    parent String
    The parent of the discovery config in any of the following formats:

    • projects/{{project}}/locations/{{location}}
    • organizations/{{organization_id}}/locations/{{location}}
    status String
    Required. A status for this configuration Possible values are: RUNNING, PAUSED.
    targets List<Property Map>
    Target to match against for determining what to scan and how frequently Structure is documented below.
    updateTime String
    Output only. The last update timestamp of a DiscoveryConfig.

    Supporting Types

    PreventionDiscoveryConfigAction, PreventionDiscoveryConfigActionArgs

    ExportData PreventionDiscoveryConfigActionExportData
    Export data profiles into a provided location Structure is documented below.
    PubSubNotification PreventionDiscoveryConfigActionPubSubNotification
    Publish a message into the Pub/Sub topic. Structure is documented below.
    ExportData PreventionDiscoveryConfigActionExportData
    Export data profiles into a provided location Structure is documented below.
    PubSubNotification PreventionDiscoveryConfigActionPubSubNotification
    Publish a message into the Pub/Sub topic. Structure is documented below.
    exportData PreventionDiscoveryConfigActionExportData
    Export data profiles into a provided location Structure is documented below.
    pubSubNotification PreventionDiscoveryConfigActionPubSubNotification
    Publish a message into the Pub/Sub topic. Structure is documented below.
    exportData PreventionDiscoveryConfigActionExportData
    Export data profiles into a provided location Structure is documented below.
    pubSubNotification PreventionDiscoveryConfigActionPubSubNotification
    Publish a message into the Pub/Sub topic. Structure is documented below.
    export_data PreventionDiscoveryConfigActionExportData
    Export data profiles into a provided location Structure is documented below.
    pub_sub_notification PreventionDiscoveryConfigActionPubSubNotification
    Publish a message into the Pub/Sub topic. Structure is documented below.
    exportData Property Map
    Export data profiles into a provided location Structure is documented below.
    pubSubNotification Property Map
    Publish a message into the Pub/Sub topic. Structure is documented below.

    PreventionDiscoveryConfigActionExportData, PreventionDiscoveryConfigActionExportDataArgs

    ProfileTable PreventionDiscoveryConfigActionExportDataProfileTable
    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 Structure is documented below.
    ProfileTable PreventionDiscoveryConfigActionExportDataProfileTable
    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 Structure is documented below.
    profileTable PreventionDiscoveryConfigActionExportDataProfileTable
    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 Structure is documented below.
    profileTable PreventionDiscoveryConfigActionExportDataProfileTable
    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 Structure is documented below.
    profile_table PreventionDiscoveryConfigActionExportDataProfileTable
    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 Structure is documented below.
    profileTable Property Map
    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 Structure is documented below.

    PreventionDiscoveryConfigActionExportDataProfileTable, PreventionDiscoveryConfigActionExportDataProfileTableArgs

    DatasetId string
    Dataset Id of the table
    ProjectId string
    The Google Cloud Platform project ID of the project containing the table. If omitted, the project ID is inferred from the API call.
    TableId string
    Name of the table
    DatasetId string
    Dataset Id of the table
    ProjectId string
    The Google Cloud Platform project ID of the project containing the table. If omitted, the project ID is inferred from the API call.
    TableId string
    Name of the table
    datasetId String
    Dataset Id of the table
    projectId String
    The Google Cloud Platform project ID of the project containing the table. If omitted, the project ID is inferred from the API call.
    tableId String
    Name of the table
    datasetId string
    Dataset Id of the table
    projectId string
    The Google Cloud Platform project ID of the project containing the table. If omitted, the project ID is inferred from the API call.
    tableId string
    Name of the table
    dataset_id str
    Dataset Id of the table
    project_id str
    The Google Cloud Platform project ID of the project containing the table. If omitted, the project ID is inferred from the API call.
    table_id str
    Name of the table
    datasetId String
    Dataset Id of the table
    projectId String
    The Google Cloud Platform project ID of the project containing the table. If omitted, the project ID is inferred from the API call.
    tableId String
    Name of the table

    PreventionDiscoveryConfigActionPubSubNotification, PreventionDiscoveryConfigActionPubSubNotificationArgs

    DetailOfMessage string
    How much data to include in the pub/sub message. Possible values are: TABLE_PROFILE, RESOURCE_NAME.
    Event string
    The type of event that triggers a Pub/Sub. At most one PubSubNotification per EventType is permitted. Possible values are: NEW_PROFILE, CHANGED_PROFILE, SCORE_INCREASED, ERROR_CHANGED.
    PubsubCondition PreventionDiscoveryConfigActionPubSubNotificationPubsubCondition
    Conditions for triggering pubsub Structure is documented below.
    Topic string
    Cloud Pub/Sub topic to send notifications to. Format is projects/{project}/topics/{topic}.
    DetailOfMessage string
    How much data to include in the pub/sub message. Possible values are: TABLE_PROFILE, RESOURCE_NAME.
    Event string
    The type of event that triggers a Pub/Sub. At most one PubSubNotification per EventType is permitted. Possible values are: NEW_PROFILE, CHANGED_PROFILE, SCORE_INCREASED, ERROR_CHANGED.
    PubsubCondition PreventionDiscoveryConfigActionPubSubNotificationPubsubCondition
    Conditions for triggering pubsub Structure is documented below.
    Topic string
    Cloud Pub/Sub topic to send notifications to. Format is projects/{project}/topics/{topic}.
    detailOfMessage String
    How much data to include in the pub/sub message. Possible values are: TABLE_PROFILE, RESOURCE_NAME.
    event String
    The type of event that triggers a Pub/Sub. At most one PubSubNotification per EventType is permitted. Possible values are: NEW_PROFILE, CHANGED_PROFILE, SCORE_INCREASED, ERROR_CHANGED.
    pubsubCondition PreventionDiscoveryConfigActionPubSubNotificationPubsubCondition
    Conditions for triggering pubsub Structure is documented below.
    topic String
    Cloud Pub/Sub topic to send notifications to. Format is projects/{project}/topics/{topic}.
    detailOfMessage string
    How much data to include in the pub/sub message. Possible values are: TABLE_PROFILE, RESOURCE_NAME.
    event string
    The type of event that triggers a Pub/Sub. At most one PubSubNotification per EventType is permitted. Possible values are: NEW_PROFILE, CHANGED_PROFILE, SCORE_INCREASED, ERROR_CHANGED.
    pubsubCondition PreventionDiscoveryConfigActionPubSubNotificationPubsubCondition
    Conditions for triggering pubsub Structure is documented below.
    topic string
    Cloud Pub/Sub topic to send notifications to. Format is projects/{project}/topics/{topic}.
    detail_of_message str
    How much data to include in the pub/sub message. Possible values are: TABLE_PROFILE, RESOURCE_NAME.
    event str
    The type of event that triggers a Pub/Sub. At most one PubSubNotification per EventType is permitted. Possible values are: NEW_PROFILE, CHANGED_PROFILE, SCORE_INCREASED, ERROR_CHANGED.
    pubsub_condition PreventionDiscoveryConfigActionPubSubNotificationPubsubCondition
    Conditions for triggering pubsub Structure is documented below.
    topic str
    Cloud Pub/Sub topic to send notifications to. Format is projects/{project}/topics/{topic}.
    detailOfMessage String
    How much data to include in the pub/sub message. Possible values are: TABLE_PROFILE, RESOURCE_NAME.
    event String
    The type of event that triggers a Pub/Sub. At most one PubSubNotification per EventType is permitted. Possible values are: NEW_PROFILE, CHANGED_PROFILE, SCORE_INCREASED, ERROR_CHANGED.
    pubsubCondition Property Map
    Conditions for triggering pubsub Structure is documented below.
    topic String
    Cloud Pub/Sub topic to send notifications to. Format is projects/{project}/topics/{topic}.

    PreventionDiscoveryConfigActionPubSubNotificationPubsubCondition, PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionArgs

    expressions Property Map
    An expression Structure is documented below.

    PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionExpressions, PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionExpressionsArgs

    Conditions List<PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionExpressionsCondition>
    Conditions to apply to the expression Structure is documented below.
    LogicalOperator string
    The operator to apply to the collection of conditions Possible values are: OR, AND.
    Conditions []PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionExpressionsCondition
    Conditions to apply to the expression Structure is documented below.
    LogicalOperator string
    The operator to apply to the collection of conditions Possible values are: OR, AND.
    conditions List<PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionExpressionsCondition>
    Conditions to apply to the expression Structure is documented below.
    logicalOperator String
    The operator to apply to the collection of conditions Possible values are: OR, AND.
    conditions PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionExpressionsCondition[]
    Conditions to apply to the expression Structure is documented below.
    logicalOperator string
    The operator to apply to the collection of conditions Possible values are: OR, AND.
    conditions Sequence[PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionExpressionsCondition]
    Conditions to apply to the expression Structure is documented below.
    logical_operator str
    The operator to apply to the collection of conditions Possible values are: OR, AND.
    conditions List<Property Map>
    Conditions to apply to the expression Structure is documented below.
    logicalOperator String
    The operator to apply to the collection of conditions Possible values are: OR, AND.

    PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionExpressionsCondition, PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionExpressionsConditionArgs

    MinimumRiskScore string
    The minimum data risk score that triggers the condition. Possible values are: HIGH, MEDIUM_OR_HIGH.
    MinimumSensitivityScore string
    The minimum sensitivity level that triggers the condition. Possible values are: HIGH, MEDIUM_OR_HIGH.
    MinimumRiskScore string
    The minimum data risk score that triggers the condition. Possible values are: HIGH, MEDIUM_OR_HIGH.
    MinimumSensitivityScore string
    The minimum sensitivity level that triggers the condition. Possible values are: HIGH, MEDIUM_OR_HIGH.
    minimumRiskScore String
    The minimum data risk score that triggers the condition. Possible values are: HIGH, MEDIUM_OR_HIGH.
    minimumSensitivityScore String
    The minimum sensitivity level that triggers the condition. Possible values are: HIGH, MEDIUM_OR_HIGH.
    minimumRiskScore string
    The minimum data risk score that triggers the condition. Possible values are: HIGH, MEDIUM_OR_HIGH.
    minimumSensitivityScore string
    The minimum sensitivity level that triggers the condition. Possible values are: HIGH, MEDIUM_OR_HIGH.
    minimum_risk_score str
    The minimum data risk score that triggers the condition. Possible values are: HIGH, MEDIUM_OR_HIGH.
    minimum_sensitivity_score str
    The minimum sensitivity level that triggers the condition. Possible values are: HIGH, MEDIUM_OR_HIGH.
    minimumRiskScore String
    The minimum data risk score that triggers the condition. Possible values are: HIGH, MEDIUM_OR_HIGH.
    minimumSensitivityScore String
    The minimum sensitivity level that triggers the condition. Possible values are: HIGH, MEDIUM_OR_HIGH.

    PreventionDiscoveryConfigError, PreventionDiscoveryConfigErrorArgs

    Details PreventionDiscoveryConfigErrorDetails
    A list of messages that carry the error details.
    Timestamp string
    The times the error occurred. List includes the oldest timestamp and the last 9 timestamps.
    Details PreventionDiscoveryConfigErrorDetails
    A list of messages that carry the error details.
    Timestamp string
    The times the error occurred. List includes the oldest timestamp and the last 9 timestamps.
    details PreventionDiscoveryConfigErrorDetails
    A list of messages that carry the error details.
    timestamp String
    The times the error occurred. List includes the oldest timestamp and the last 9 timestamps.
    details PreventionDiscoveryConfigErrorDetails
    A list of messages that carry the error details.
    timestamp string
    The times the error occurred. List includes the oldest timestamp and the last 9 timestamps.
    details PreventionDiscoveryConfigErrorDetails
    A list of messages that carry the error details.
    timestamp str
    The times the error occurred. List includes the oldest timestamp and the last 9 timestamps.
    details Property Map
    A list of messages that carry the error details.
    timestamp String
    The times the error occurred. List includes the oldest timestamp and the last 9 timestamps.

    PreventionDiscoveryConfigErrorDetails, PreventionDiscoveryConfigErrorDetailsArgs

    Code int
    The status code, which should be an enum value of google.rpc.Code.
    Details List<ImmutableDictionary<string, object>>
    A list of messages that carry the error details.
    Message string
    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.
    Code int
    The status code, which should be an enum value of google.rpc.Code.
    Details []map[string]interface{}
    A list of messages that carry the error details.
    Message string
    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.
    code Integer
    The status code, which should be an enum value of google.rpc.Code.
    details List<Map<String,Object>>
    A list of messages that carry the error details.
    message String
    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.
    code number
    The status code, which should be an enum value of google.rpc.Code.
    details {[key: string]: any}[]
    A list of messages that carry the error details.
    message string
    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.
    code int
    The status code, which should be an enum value of google.rpc.Code.
    details Sequence[Mapping[str, Any]]
    A list of messages that carry the error details.
    message str
    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.
    code Number
    The status code, which should be an enum value of google.rpc.Code.
    details List<Map<Any>>
    A list of messages that carry the error details.
    message String
    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.

    PreventionDiscoveryConfigOrgConfig, PreventionDiscoveryConfigOrgConfigArgs

    Location PreventionDiscoveryConfigOrgConfigLocation
    The data to scan folder org or project Structure is documented below.
    ProjectId string
    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.
    Location PreventionDiscoveryConfigOrgConfigLocation
    The data to scan folder org or project Structure is documented below.
    ProjectId string
    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.
    location PreventionDiscoveryConfigOrgConfigLocation
    The data to scan folder org or project Structure is documented below.
    projectId String
    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.
    location PreventionDiscoveryConfigOrgConfigLocation
    The data to scan folder org or project Structure is documented below.
    projectId string
    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.
    location PreventionDiscoveryConfigOrgConfigLocation
    The data to scan folder org or project Structure is documented below.
    project_id str
    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.
    location Property Map
    The data to scan folder org or project Structure is documented below.
    projectId String
    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.

    PreventionDiscoveryConfigOrgConfigLocation, PreventionDiscoveryConfigOrgConfigLocationArgs

    FolderId string
    The ID for the folder within an organization to scan
    OrganizationId string
    The ID of an organization to scan
    FolderId string
    The ID for the folder within an organization to scan
    OrganizationId string
    The ID of an organization to scan
    folderId String
    The ID for the folder within an organization to scan
    organizationId String
    The ID of an organization to scan
    folderId string
    The ID for the folder within an organization to scan
    organizationId string
    The ID of an organization to scan
    folder_id str
    The ID for the folder within an organization to scan
    organization_id str
    The ID of an organization to scan
    folderId String
    The ID for the folder within an organization to scan
    organizationId String
    The ID of an organization to scan

    PreventionDiscoveryConfigTarget, PreventionDiscoveryConfigTargetArgs

    BigQueryTarget PreventionDiscoveryConfigTargetBigQueryTarget
    BigQuery target for Discovery. The first target to match a table will be the one applied. Structure is documented below.
    CloudSqlTarget PreventionDiscoveryConfigTargetCloudSqlTarget
    Cloud SQL target for Discovery. The first target to match a table will be the one applied. Structure is documented below.
    SecretsTarget PreventionDiscoveryConfigTargetSecretsTarget
    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.
    BigQueryTarget PreventionDiscoveryConfigTargetBigQueryTarget
    BigQuery target for Discovery. The first target to match a table will be the one applied. Structure is documented below.
    CloudSqlTarget PreventionDiscoveryConfigTargetCloudSqlTarget
    Cloud SQL target for Discovery. The first target to match a table will be the one applied. Structure is documented below.
    SecretsTarget PreventionDiscoveryConfigTargetSecretsTarget
    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.
    bigQueryTarget PreventionDiscoveryConfigTargetBigQueryTarget
    BigQuery target for Discovery. The first target to match a table will be the one applied. Structure is documented below.
    cloudSqlTarget PreventionDiscoveryConfigTargetCloudSqlTarget
    Cloud SQL target for Discovery. The first target to match a table will be the one applied. Structure is documented below.
    secretsTarget PreventionDiscoveryConfigTargetSecretsTarget
    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.
    bigQueryTarget PreventionDiscoveryConfigTargetBigQueryTarget
    BigQuery target for Discovery. The first target to match a table will be the one applied. Structure is documented below.
    cloudSqlTarget PreventionDiscoveryConfigTargetCloudSqlTarget
    Cloud SQL target for Discovery. The first target to match a table will be the one applied. Structure is documented below.
    secretsTarget PreventionDiscoveryConfigTargetSecretsTarget
    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.
    big_query_target PreventionDiscoveryConfigTargetBigQueryTarget
    BigQuery target for Discovery. The first target to match a table will be the one applied. Structure is documented below.
    cloud_sql_target PreventionDiscoveryConfigTargetCloudSqlTarget
    Cloud SQL target for Discovery. The first target to match a table will be the one applied. Structure is documented below.
    secrets_target PreventionDiscoveryConfigTargetSecretsTarget
    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.
    bigQueryTarget Property Map
    BigQuery target for Discovery. The first target to match a table will be the one applied. Structure is documented below.
    cloudSqlTarget Property Map
    Cloud SQL target for Discovery. The first target to match a table will be the one applied. Structure is documented below.
    secretsTarget Property Map
    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.

    PreventionDiscoveryConfigTargetBigQueryTarget, PreventionDiscoveryConfigTargetBigQueryTargetArgs

    Cadence PreventionDiscoveryConfigTargetBigQueryTargetCadence
    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. Structure is documented below.
    Conditions PreventionDiscoveryConfigTargetBigQueryTargetConditions
    In addition to matching the filter, these conditions must be true before a profile is generated Structure is documented below.
    Disabled PreventionDiscoveryConfigTargetBigQueryTargetDisabled
    Tables that match this filter will not have profiles created.
    Filter PreventionDiscoveryConfigTargetBigQueryTargetFilter
    Required. The tables the discovery cadence applies to. The first target with a matching filter will be the one to apply to a table Structure is documented below.
    Cadence PreventionDiscoveryConfigTargetBigQueryTargetCadence
    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. Structure is documented below.
    Conditions PreventionDiscoveryConfigTargetBigQueryTargetConditions
    In addition to matching the filter, these conditions must be true before a profile is generated Structure is documented below.
    Disabled PreventionDiscoveryConfigTargetBigQueryTargetDisabled
    Tables that match this filter will not have profiles created.
    Filter PreventionDiscoveryConfigTargetBigQueryTargetFilter
    Required. The tables the discovery cadence applies to. The first target with a matching filter will be the one to apply to a table Structure is documented below.
    cadence PreventionDiscoveryConfigTargetBigQueryTargetCadence
    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. Structure is documented below.
    conditions PreventionDiscoveryConfigTargetBigQueryTargetConditions
    In addition to matching the filter, these conditions must be true before a profile is generated Structure is documented below.
    disabled PreventionDiscoveryConfigTargetBigQueryTargetDisabled
    Tables that match this filter will not have profiles created.
    filter PreventionDiscoveryConfigTargetBigQueryTargetFilter
    Required. The tables the discovery cadence applies to. The first target with a matching filter will be the one to apply to a table Structure is documented below.
    cadence PreventionDiscoveryConfigTargetBigQueryTargetCadence
    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. Structure is documented below.
    conditions PreventionDiscoveryConfigTargetBigQueryTargetConditions
    In addition to matching the filter, these conditions must be true before a profile is generated Structure is documented below.
    disabled PreventionDiscoveryConfigTargetBigQueryTargetDisabled
    Tables that match this filter will not have profiles created.
    filter PreventionDiscoveryConfigTargetBigQueryTargetFilter
    Required. The tables the discovery cadence applies to. The first target with a matching filter will be the one to apply to a table Structure is documented below.
    cadence PreventionDiscoveryConfigTargetBigQueryTargetCadence
    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. Structure is documented below.
    conditions PreventionDiscoveryConfigTargetBigQueryTargetConditions
    In addition to matching the filter, these conditions must be true before a profile is generated Structure is documented below.
    disabled PreventionDiscoveryConfigTargetBigQueryTargetDisabled
    Tables that match this filter will not have profiles created.
    filter PreventionDiscoveryConfigTargetBigQueryTargetFilter
    Required. The tables the discovery cadence applies to. The first target with a matching filter will be the one to apply to a table Structure is documented below.
    cadence Property Map
    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. Structure is documented below.
    conditions Property Map
    In addition to matching the filter, these conditions must be true before a profile is generated Structure is documented below.
    disabled Property Map
    Tables that match this filter will not have profiles created.
    filter Property Map
    Required. The tables the discovery cadence applies to. The first target with a matching filter will be the one to apply to a table Structure is documented below.

    PreventionDiscoveryConfigTargetBigQueryTargetCadence, PreventionDiscoveryConfigTargetBigQueryTargetCadenceArgs

    SchemaModifiedCadence PreventionDiscoveryConfigTargetBigQueryTargetCadenceSchemaModifiedCadence
    Governs when to update data profiles when a schema is modified Structure is documented below.
    TableModifiedCadence PreventionDiscoveryConfigTargetBigQueryTargetCadenceTableModifiedCadence
    Governs when to update profile when a table is modified. Structure is documented below.
    SchemaModifiedCadence PreventionDiscoveryConfigTargetBigQueryTargetCadenceSchemaModifiedCadence
    Governs when to update data profiles when a schema is modified Structure is documented below.
    TableModifiedCadence PreventionDiscoveryConfigTargetBigQueryTargetCadenceTableModifiedCadence
    Governs when to update profile when a table is modified. Structure is documented below.
    schemaModifiedCadence PreventionDiscoveryConfigTargetBigQueryTargetCadenceSchemaModifiedCadence
    Governs when to update data profiles when a schema is modified Structure is documented below.
    tableModifiedCadence PreventionDiscoveryConfigTargetBigQueryTargetCadenceTableModifiedCadence
    Governs when to update profile when a table is modified. Structure is documented below.
    schemaModifiedCadence PreventionDiscoveryConfigTargetBigQueryTargetCadenceSchemaModifiedCadence
    Governs when to update data profiles when a schema is modified Structure is documented below.
    tableModifiedCadence PreventionDiscoveryConfigTargetBigQueryTargetCadenceTableModifiedCadence
    Governs when to update profile when a table is modified. Structure is documented below.
    schema_modified_cadence PreventionDiscoveryConfigTargetBigQueryTargetCadenceSchemaModifiedCadence
    Governs when to update data profiles when a schema is modified Structure is documented below.
    table_modified_cadence PreventionDiscoveryConfigTargetBigQueryTargetCadenceTableModifiedCadence
    Governs when to update profile when a table is modified. Structure is documented below.
    schemaModifiedCadence Property Map
    Governs when to update data profiles when a schema is modified Structure is documented below.
    tableModifiedCadence Property Map
    Governs when to update profile when a table is modified. Structure is documented below.

    PreventionDiscoveryConfigTargetBigQueryTargetCadenceSchemaModifiedCadence, PreventionDiscoveryConfigTargetBigQueryTargetCadenceSchemaModifiedCadenceArgs

    Frequency string
    Frequency to regenerate data profiles when the schema is modified. Defaults to monthly. Possible values are: UPDATE_FREQUENCY_NEVER, UPDATE_FREQUENCY_DAILY, UPDATE_FREQUENCY_MONTHLY.
    Types List<string>
    The types of schema modifications to consider. Defaults to NEW_COLUMNS. Each value may be one of: NEW_COLUMNS, REMOVED_COLUMNS.
    Frequency string
    Frequency to regenerate data profiles when the schema is modified. Defaults to monthly. Possible values are: UPDATE_FREQUENCY_NEVER, UPDATE_FREQUENCY_DAILY, UPDATE_FREQUENCY_MONTHLY.
    Types []string
    The types of schema modifications to consider. Defaults to NEW_COLUMNS. Each value may be one of: NEW_COLUMNS, REMOVED_COLUMNS.
    frequency String
    Frequency to regenerate data profiles when the schema is modified. Defaults to monthly. Possible values are: UPDATE_FREQUENCY_NEVER, UPDATE_FREQUENCY_DAILY, UPDATE_FREQUENCY_MONTHLY.
    types List<String>
    The types of schema modifications to consider. Defaults to NEW_COLUMNS. Each value may be one of: NEW_COLUMNS, REMOVED_COLUMNS.
    frequency string
    Frequency to regenerate data profiles when the schema is modified. Defaults to monthly. Possible values are: UPDATE_FREQUENCY_NEVER, UPDATE_FREQUENCY_DAILY, UPDATE_FREQUENCY_MONTHLY.
    types string[]
    The types of schema modifications to consider. Defaults to NEW_COLUMNS. Each value may be one of: NEW_COLUMNS, REMOVED_COLUMNS.
    frequency str
    Frequency to regenerate data profiles when the schema is modified. Defaults to monthly. Possible values are: UPDATE_FREQUENCY_NEVER, UPDATE_FREQUENCY_DAILY, UPDATE_FREQUENCY_MONTHLY.
    types Sequence[str]
    The types of schema modifications to consider. Defaults to NEW_COLUMNS. Each value may be one of: NEW_COLUMNS, REMOVED_COLUMNS.
    frequency String
    Frequency to regenerate data profiles when the schema is modified. Defaults to monthly. Possible values are: UPDATE_FREQUENCY_NEVER, UPDATE_FREQUENCY_DAILY, UPDATE_FREQUENCY_MONTHLY.
    types List<String>
    The types of schema modifications to consider. Defaults to NEW_COLUMNS. Each value may be one of: NEW_COLUMNS, REMOVED_COLUMNS.

    PreventionDiscoveryConfigTargetBigQueryTargetCadenceTableModifiedCadence, PreventionDiscoveryConfigTargetBigQueryTargetCadenceTableModifiedCadenceArgs

    Frequency string
    How frequently data profiles can be updated when tables are modified. Defaults to never. Possible values are: UPDATE_FREQUENCY_NEVER, UPDATE_FREQUENCY_DAILY, UPDATE_FREQUENCY_MONTHLY.
    Types List<string>
    The type of events to consider when deciding if the table has been modified and should have the profile updated. Defaults to MODIFIED_TIMESTAMP Each value may be one of: TABLE_MODIFIED_TIMESTAMP.
    Frequency string
    How frequently data profiles can be updated when tables are modified. Defaults to never. Possible values are: UPDATE_FREQUENCY_NEVER, UPDATE_FREQUENCY_DAILY, UPDATE_FREQUENCY_MONTHLY.
    Types []string
    The type of events to consider when deciding if the table has been modified and should have the profile updated. Defaults to MODIFIED_TIMESTAMP Each value may be one of: TABLE_MODIFIED_TIMESTAMP.
    frequency String
    How frequently data profiles can be updated when tables are modified. Defaults to never. Possible values are: UPDATE_FREQUENCY_NEVER, UPDATE_FREQUENCY_DAILY, UPDATE_FREQUENCY_MONTHLY.
    types List<String>
    The type of events to consider when deciding if the table has been modified and should have the profile updated. Defaults to MODIFIED_TIMESTAMP Each value may be one of: TABLE_MODIFIED_TIMESTAMP.
    frequency string
    How frequently data profiles can be updated when tables are modified. Defaults to never. Possible values are: UPDATE_FREQUENCY_NEVER, UPDATE_FREQUENCY_DAILY, UPDATE_FREQUENCY_MONTHLY.
    types string[]
    The type of events to consider when deciding if the table has been modified and should have the profile updated. Defaults to MODIFIED_TIMESTAMP Each value may be one of: TABLE_MODIFIED_TIMESTAMP.
    frequency str
    How frequently data profiles can be updated when tables are modified. Defaults to never. Possible values are: UPDATE_FREQUENCY_NEVER, UPDATE_FREQUENCY_DAILY, UPDATE_FREQUENCY_MONTHLY.
    types Sequence[str]
    The type of events to consider when deciding if the table has been modified and should have the profile updated. Defaults to MODIFIED_TIMESTAMP Each value may be one of: TABLE_MODIFIED_TIMESTAMP.
    frequency String
    How frequently data profiles can be updated when tables are modified. Defaults to never. Possible values are: UPDATE_FREQUENCY_NEVER, UPDATE_FREQUENCY_DAILY, UPDATE_FREQUENCY_MONTHLY.
    types List<String>
    The type of events to consider when deciding if the table has been modified and should have the profile updated. Defaults to MODIFIED_TIMESTAMP Each value may be one of: TABLE_MODIFIED_TIMESTAMP.

    PreventionDiscoveryConfigTargetBigQueryTargetConditions, PreventionDiscoveryConfigTargetBigQueryTargetConditionsArgs

    CreatedAfter string
    A timestamp in RFC3339 UTC "Zulu" format with nanosecond resolution and upto nine fractional digits.
    OrConditions PreventionDiscoveryConfigTargetBigQueryTargetConditionsOrConditions
    At least one of the conditions must be true for a table to be scanned. Structure is documented below.
    TypeCollection string
    Restrict discovery to categories of table types. Currently view, materialized view, snapshot and non-biglake external tables are supported. Possible values are: BIG_QUERY_COLLECTION_ALL_TYPES, BIG_QUERY_COLLECTION_ONLY_SUPPORTED_TYPES.
    Types PreventionDiscoveryConfigTargetBigQueryTargetConditionsTypes
    Data profiles will only be generated for the database resource types specified in this field. If not specified, defaults to [DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES]. Each value may be one of: DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES, DATABASE_RESOURCE_TYPE_TABLE.
    CreatedAfter string
    A timestamp in RFC3339 UTC "Zulu" format with nanosecond resolution and upto nine fractional digits.
    OrConditions PreventionDiscoveryConfigTargetBigQueryTargetConditionsOrConditions
    At least one of the conditions must be true for a table to be scanned. Structure is documented below.
    TypeCollection string
    Restrict discovery to categories of table types. Currently view, materialized view, snapshot and non-biglake external tables are supported. Possible values are: BIG_QUERY_COLLECTION_ALL_TYPES, BIG_QUERY_COLLECTION_ONLY_SUPPORTED_TYPES.
    Types PreventionDiscoveryConfigTargetBigQueryTargetConditionsTypes
    Data profiles will only be generated for the database resource types specified in this field. If not specified, defaults to [DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES]. Each value may be one of: DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES, DATABASE_RESOURCE_TYPE_TABLE.
    createdAfter String
    A timestamp in RFC3339 UTC "Zulu" format with nanosecond resolution and upto nine fractional digits.
    orConditions PreventionDiscoveryConfigTargetBigQueryTargetConditionsOrConditions
    At least one of the conditions must be true for a table to be scanned. Structure is documented below.
    typeCollection String
    Restrict discovery to categories of table types. Currently view, materialized view, snapshot and non-biglake external tables are supported. Possible values are: BIG_QUERY_COLLECTION_ALL_TYPES, BIG_QUERY_COLLECTION_ONLY_SUPPORTED_TYPES.
    types PreventionDiscoveryConfigTargetBigQueryTargetConditionsTypes
    Data profiles will only be generated for the database resource types specified in this field. If not specified, defaults to [DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES]. Each value may be one of: DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES, DATABASE_RESOURCE_TYPE_TABLE.
    createdAfter string
    A timestamp in RFC3339 UTC "Zulu" format with nanosecond resolution and upto nine fractional digits.
    orConditions PreventionDiscoveryConfigTargetBigQueryTargetConditionsOrConditions
    At least one of the conditions must be true for a table to be scanned. Structure is documented below.
    typeCollection string
    Restrict discovery to categories of table types. Currently view, materialized view, snapshot and non-biglake external tables are supported. Possible values are: BIG_QUERY_COLLECTION_ALL_TYPES, BIG_QUERY_COLLECTION_ONLY_SUPPORTED_TYPES.
    types PreventionDiscoveryConfigTargetBigQueryTargetConditionsTypes
    Data profiles will only be generated for the database resource types specified in this field. If not specified, defaults to [DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES]. Each value may be one of: DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES, DATABASE_RESOURCE_TYPE_TABLE.
    created_after str
    A timestamp in RFC3339 UTC "Zulu" format with nanosecond resolution and upto nine fractional digits.
    or_conditions PreventionDiscoveryConfigTargetBigQueryTargetConditionsOrConditions
    At least one of the conditions must be true for a table to be scanned. Structure is documented below.
    type_collection str
    Restrict discovery to categories of table types. Currently view, materialized view, snapshot and non-biglake external tables are supported. Possible values are: BIG_QUERY_COLLECTION_ALL_TYPES, BIG_QUERY_COLLECTION_ONLY_SUPPORTED_TYPES.
    types PreventionDiscoveryConfigTargetBigQueryTargetConditionsTypes
    Data profiles will only be generated for the database resource types specified in this field. If not specified, defaults to [DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES]. Each value may be one of: DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES, DATABASE_RESOURCE_TYPE_TABLE.
    createdAfter String
    A timestamp in RFC3339 UTC "Zulu" format with nanosecond resolution and upto nine fractional digits.
    orConditions Property Map
    At least one of the conditions must be true for a table to be scanned. Structure is documented below.
    typeCollection String
    Restrict discovery to categories of table types. Currently view, materialized view, snapshot and non-biglake external tables are supported. Possible values are: BIG_QUERY_COLLECTION_ALL_TYPES, BIG_QUERY_COLLECTION_ONLY_SUPPORTED_TYPES.
    types Property Map
    Data profiles will only be generated for the database resource types specified in this field. If not specified, defaults to [DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES]. Each value may be one of: DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES, DATABASE_RESOURCE_TYPE_TABLE.

    PreventionDiscoveryConfigTargetBigQueryTargetConditionsOrConditions, PreventionDiscoveryConfigTargetBigQueryTargetConditionsOrConditionsArgs

    MinAge string
    Duration format. The minimum age a table must have before Cloud DLP can profile it. Value greater than 1.
    MinRowCount int
    Minimum number of rows that should be present before Cloud DLP profiles as a table.
    MinAge string
    Duration format. The minimum age a table must have before Cloud DLP can profile it. Value greater than 1.
    MinRowCount int
    Minimum number of rows that should be present before Cloud DLP profiles as a table.
    minAge String
    Duration format. The minimum age a table must have before Cloud DLP can profile it. Value greater than 1.
    minRowCount Integer
    Minimum number of rows that should be present before Cloud DLP profiles as a table.
    minAge string
    Duration format. The minimum age a table must have before Cloud DLP can profile it. Value greater than 1.
    minRowCount number
    Minimum number of rows that should be present before Cloud DLP profiles as a table.
    min_age str
    Duration format. The minimum age a table must have before Cloud DLP can profile it. Value greater than 1.
    min_row_count int
    Minimum number of rows that should be present before Cloud DLP profiles as a table.
    minAge String
    Duration format. The minimum age a table must have before Cloud DLP can profile it. Value greater than 1.
    minRowCount Number
    Minimum number of rows that should be present before Cloud DLP profiles as a table.

    PreventionDiscoveryConfigTargetBigQueryTargetConditionsTypes, PreventionDiscoveryConfigTargetBigQueryTargetConditionsTypesArgs

    Types List<string>
    A set of BiqQuery table types Each value may be one of: BIG_QUERY_TABLE_TYPE_TABLE, BIG_QUERY_TABLE_TYPE_EXTERNAL_BIG_LAKE.
    Types []string
    A set of BiqQuery table types Each value may be one of: BIG_QUERY_TABLE_TYPE_TABLE, BIG_QUERY_TABLE_TYPE_EXTERNAL_BIG_LAKE.
    types List<String>
    A set of BiqQuery table types Each value may be one of: BIG_QUERY_TABLE_TYPE_TABLE, BIG_QUERY_TABLE_TYPE_EXTERNAL_BIG_LAKE.
    types string[]
    A set of BiqQuery table types Each value may be one of: BIG_QUERY_TABLE_TYPE_TABLE, BIG_QUERY_TABLE_TYPE_EXTERNAL_BIG_LAKE.
    types Sequence[str]
    A set of BiqQuery table types Each value may be one of: BIG_QUERY_TABLE_TYPE_TABLE, BIG_QUERY_TABLE_TYPE_EXTERNAL_BIG_LAKE.
    types List<String>
    A set of BiqQuery table types Each value may be one of: BIG_QUERY_TABLE_TYPE_TABLE, BIG_QUERY_TABLE_TYPE_EXTERNAL_BIG_LAKE.

    PreventionDiscoveryConfigTargetBigQueryTargetFilter, PreventionDiscoveryConfigTargetBigQueryTargetFilterArgs

    OtherTables PreventionDiscoveryConfigTargetBigQueryTargetFilterOtherTables
    Catch-all. This should always be the last filter in the list because anything above it will apply first.
    TableReference PreventionDiscoveryConfigTargetBigQueryTargetFilterTableReference
    The table to scan. Discovery configurations including this can only include one DiscoveryTarget (the DiscoveryTarget with this TableReference). Structure is documented below.
    Tables PreventionDiscoveryConfigTargetBigQueryTargetFilterTables
    A specific set of tables for this filter to apply to. A table collection must be specified in only one filter per config. Structure is documented below.
    OtherTables PreventionDiscoveryConfigTargetBigQueryTargetFilterOtherTables
    Catch-all. This should always be the last filter in the list because anything above it will apply first.
    TableReference PreventionDiscoveryConfigTargetBigQueryTargetFilterTableReference
    The table to scan. Discovery configurations including this can only include one DiscoveryTarget (the DiscoveryTarget with this TableReference). Structure is documented below.
    Tables PreventionDiscoveryConfigTargetBigQueryTargetFilterTables
    A specific set of tables for this filter to apply to. A table collection must be specified in only one filter per config. Structure is documented below.
    otherTables PreventionDiscoveryConfigTargetBigQueryTargetFilterOtherTables
    Catch-all. This should always be the last filter in the list because anything above it will apply first.
    tableReference PreventionDiscoveryConfigTargetBigQueryTargetFilterTableReference
    The table to scan. Discovery configurations including this can only include one DiscoveryTarget (the DiscoveryTarget with this TableReference). Structure is documented below.
    tables PreventionDiscoveryConfigTargetBigQueryTargetFilterTables
    A specific set of tables for this filter to apply to. A table collection must be specified in only one filter per config. Structure is documented below.
    otherTables PreventionDiscoveryConfigTargetBigQueryTargetFilterOtherTables
    Catch-all. This should always be the last filter in the list because anything above it will apply first.
    tableReference PreventionDiscoveryConfigTargetBigQueryTargetFilterTableReference
    The table to scan. Discovery configurations including this can only include one DiscoveryTarget (the DiscoveryTarget with this TableReference). Structure is documented below.
    tables PreventionDiscoveryConfigTargetBigQueryTargetFilterTables
    A specific set of tables for this filter to apply to. A table collection must be specified in only one filter per config. Structure is documented below.
    other_tables PreventionDiscoveryConfigTargetBigQueryTargetFilterOtherTables
    Catch-all. This should always be the last filter in the list because anything above it will apply first.
    table_reference PreventionDiscoveryConfigTargetBigQueryTargetFilterTableReference
    The table to scan. Discovery configurations including this can only include one DiscoveryTarget (the DiscoveryTarget with this TableReference). Structure is documented below.
    tables PreventionDiscoveryConfigTargetBigQueryTargetFilterTables
    A specific set of tables for this filter to apply to. A table collection must be specified in only one filter per config. Structure is documented below.
    otherTables Property Map
    Catch-all. This should always be the last filter in the list because anything above it will apply first.
    tableReference Property Map
    The table to scan. Discovery configurations including this can only include one DiscoveryTarget (the DiscoveryTarget with this TableReference). Structure is documented below.
    tables Property Map
    A specific set of tables for this filter to apply to. A table collection must be specified in only one filter per config. Structure is documented below.

    PreventionDiscoveryConfigTargetBigQueryTargetFilterTableReference, PreventionDiscoveryConfigTargetBigQueryTargetFilterTableReferenceArgs

    DatasetId string
    Dataset ID of the table.
    TableId string
    Name of the table.
    DatasetId string
    Dataset ID of the table.
    TableId string
    Name of the table.
    datasetId String
    Dataset ID of the table.
    tableId String
    Name of the table.
    datasetId string
    Dataset ID of the table.
    tableId string
    Name of the table.
    dataset_id str
    Dataset ID of the table.
    table_id str
    Name of the table.
    datasetId String
    Dataset ID of the table.
    tableId String
    Name of the table.

    PreventionDiscoveryConfigTargetBigQueryTargetFilterTables, PreventionDiscoveryConfigTargetBigQueryTargetFilterTablesArgs

    IncludeRegexes PreventionDiscoveryConfigTargetBigQueryTargetFilterTablesIncludeRegexes
    A collection of regular expressions to match a BQ table against. Structure is documented below.
    IncludeRegexes PreventionDiscoveryConfigTargetBigQueryTargetFilterTablesIncludeRegexes
    A collection of regular expressions to match a BQ table against. Structure is documented below.
    includeRegexes PreventionDiscoveryConfigTargetBigQueryTargetFilterTablesIncludeRegexes
    A collection of regular expressions to match a BQ table against. Structure is documented below.
    includeRegexes PreventionDiscoveryConfigTargetBigQueryTargetFilterTablesIncludeRegexes
    A collection of regular expressions to match a BQ table against. Structure is documented below.
    include_regexes PreventionDiscoveryConfigTargetBigQueryTargetFilterTablesIncludeRegexes
    A collection of regular expressions to match a BQ table against. Structure is documented below.
    includeRegexes Property Map
    A collection of regular expressions to match a BQ table against. Structure is documented below.

    PreventionDiscoveryConfigTargetBigQueryTargetFilterTablesIncludeRegexes, PreventionDiscoveryConfigTargetBigQueryTargetFilterTablesIncludeRegexesArgs

    Patterns List<PreventionDiscoveryConfigTargetBigQueryTargetFilterTablesIncludeRegexesPattern>
    A group of regular expression patterns to match against one or more database resources. Maximum of 100 entries. The sum of all regular expressions' length can't exceed 10 KiB. Structure is documented below.
    Patterns []PreventionDiscoveryConfigTargetBigQueryTargetFilterTablesIncludeRegexesPattern
    A group of regular expression patterns to match against one or more database resources. Maximum of 100 entries. The sum of all regular expressions' length can't exceed 10 KiB. Structure is documented below.
    patterns List<PreventionDiscoveryConfigTargetBigQueryTargetFilterTablesIncludeRegexesPattern>
    A group of regular expression patterns to match against one or more database resources. Maximum of 100 entries. The sum of all regular expressions' length can't exceed 10 KiB. Structure is documented below.
    patterns PreventionDiscoveryConfigTargetBigQueryTargetFilterTablesIncludeRegexesPattern[]
    A group of regular expression patterns to match against one or more database resources. Maximum of 100 entries. The sum of all regular expressions' length can't exceed 10 KiB. Structure is documented below.
    patterns Sequence[PreventionDiscoveryConfigTargetBigQueryTargetFilterTablesIncludeRegexesPattern]
    A group of regular expression patterns to match against one or more database resources. Maximum of 100 entries. The sum of all regular expressions' length can't exceed 10 KiB. Structure is documented below.
    patterns List<Property Map>
    A group of regular expression patterns to match against one or more database resources. Maximum of 100 entries. The sum of all regular expressions' length can't exceed 10 KiB. Structure is documented below.

    PreventionDiscoveryConfigTargetBigQueryTargetFilterTablesIncludeRegexesPattern, PreventionDiscoveryConfigTargetBigQueryTargetFilterTablesIncludeRegexesPatternArgs

    DatasetIdRegex string
    if unset, this property matches all datasets
    ProjectIdRegex string
    For organizations, if unset, will match all projects. Has no effect for data profile configurations created within a project.
    TableIdRegex string
    if unset, this property matches all tables
    DatasetIdRegex string
    if unset, this property matches all datasets
    ProjectIdRegex string
    For organizations, if unset, will match all projects. Has no effect for data profile configurations created within a project.
    TableIdRegex string
    if unset, this property matches all tables
    datasetIdRegex String
    if unset, this property matches all datasets
    projectIdRegex String
    For organizations, if unset, will match all projects. Has no effect for data profile configurations created within a project.
    tableIdRegex String
    if unset, this property matches all tables
    datasetIdRegex string
    if unset, this property matches all datasets
    projectIdRegex string
    For organizations, if unset, will match all projects. Has no effect for data profile configurations created within a project.
    tableIdRegex string
    if unset, this property matches all tables
    dataset_id_regex str
    if unset, this property matches all datasets
    project_id_regex str
    For organizations, if unset, will match all projects. Has no effect for data profile configurations created within a project.
    table_id_regex str
    if unset, this property matches all tables
    datasetIdRegex String
    if unset, this property matches all datasets
    projectIdRegex String
    For organizations, if unset, will match all projects. Has no effect for data profile configurations created within a project.
    tableIdRegex String
    if unset, this property matches all tables

    PreventionDiscoveryConfigTargetCloudSqlTarget, PreventionDiscoveryConfigTargetCloudSqlTargetArgs

    Filter PreventionDiscoveryConfigTargetCloudSqlTargetFilter
    Required. The tables the discovery cadence applies to. The first target with a matching filter will be the one to apply to a table. Structure is documented below.
    Conditions PreventionDiscoveryConfigTargetCloudSqlTargetConditions
    In addition to matching the filter, these conditions must be true before a profile is generated. Structure is documented below.
    Disabled PreventionDiscoveryConfigTargetCloudSqlTargetDisabled
    Disable profiling for database resources that match this filter.
    GenerationCadence PreventionDiscoveryConfigTargetCloudSqlTargetGenerationCadence
    How often and when to update profiles. New tables that match both the filter and conditions are scanned as quickly as possible depending on system capacity. Structure is documented below.
    Filter PreventionDiscoveryConfigTargetCloudSqlTargetFilter
    Required. The tables the discovery cadence applies to. The first target with a matching filter will be the one to apply to a table. Structure is documented below.
    Conditions PreventionDiscoveryConfigTargetCloudSqlTargetConditions
    In addition to matching the filter, these conditions must be true before a profile is generated. Structure is documented below.
    Disabled PreventionDiscoveryConfigTargetCloudSqlTargetDisabled
    Disable profiling for database resources that match this filter.
    GenerationCadence PreventionDiscoveryConfigTargetCloudSqlTargetGenerationCadence
    How often and when to update profiles. New tables that match both the filter and conditions are scanned as quickly as possible depending on system capacity. Structure is documented below.
    filter PreventionDiscoveryConfigTargetCloudSqlTargetFilter
    Required. The tables the discovery cadence applies to. The first target with a matching filter will be the one to apply to a table. Structure is documented below.
    conditions PreventionDiscoveryConfigTargetCloudSqlTargetConditions
    In addition to matching the filter, these conditions must be true before a profile is generated. Structure is documented below.
    disabled PreventionDiscoveryConfigTargetCloudSqlTargetDisabled
    Disable profiling for database resources that match this filter.
    generationCadence PreventionDiscoveryConfigTargetCloudSqlTargetGenerationCadence
    How often and when to update profiles. New tables that match both the filter and conditions are scanned as quickly as possible depending on system capacity. Structure is documented below.
    filter PreventionDiscoveryConfigTargetCloudSqlTargetFilter
    Required. The tables the discovery cadence applies to. The first target with a matching filter will be the one to apply to a table. Structure is documented below.
    conditions PreventionDiscoveryConfigTargetCloudSqlTargetConditions
    In addition to matching the filter, these conditions must be true before a profile is generated. Structure is documented below.
    disabled PreventionDiscoveryConfigTargetCloudSqlTargetDisabled
    Disable profiling for database resources that match this filter.
    generationCadence PreventionDiscoveryConfigTargetCloudSqlTargetGenerationCadence
    How often and when to update profiles. New tables that match both the filter and conditions are scanned as quickly as possible depending on system capacity. Structure is documented below.
    filter PreventionDiscoveryConfigTargetCloudSqlTargetFilter
    Required. The tables the discovery cadence applies to. The first target with a matching filter will be the one to apply to a table. Structure is documented below.
    conditions PreventionDiscoveryConfigTargetCloudSqlTargetConditions
    In addition to matching the filter, these conditions must be true before a profile is generated. Structure is documented below.
    disabled PreventionDiscoveryConfigTargetCloudSqlTargetDisabled
    Disable profiling for database resources that match this filter.
    generation_cadence PreventionDiscoveryConfigTargetCloudSqlTargetGenerationCadence
    How often and when to update profiles. New tables that match both the filter and conditions are scanned as quickly as possible depending on system capacity. Structure is documented below.
    filter Property Map
    Required. The tables the discovery cadence applies to. The first target with a matching filter will be the one to apply to a table. Structure is documented below.
    conditions Property Map
    In addition to matching the filter, these conditions must be true before a profile is generated. Structure is documented below.
    disabled Property Map
    Disable profiling for database resources that match this filter.
    generationCadence Property Map
    How often and when to update profiles. New tables that match both the filter and conditions are scanned as quickly as possible depending on system capacity. Structure is documented below.

    PreventionDiscoveryConfigTargetCloudSqlTargetConditions, PreventionDiscoveryConfigTargetCloudSqlTargetConditionsArgs

    DatabaseEngines List<string>
    Database engines that should be profiled. Optional. Defaults to ALL_SUPPORTED_DATABASE_ENGINES if unspecified. Each value may be one of: ALL_SUPPORTED_DATABASE_ENGINES, MYSQL, POSTGRES.
    Types List<string>
    Data profiles will only be generated for the database resource types specified in this field. If not specified, defaults to [DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES]. Each value may be one of: DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES, DATABASE_RESOURCE_TYPE_TABLE.
    DatabaseEngines []string
    Database engines that should be profiled. Optional. Defaults to ALL_SUPPORTED_DATABASE_ENGINES if unspecified. Each value may be one of: ALL_SUPPORTED_DATABASE_ENGINES, MYSQL, POSTGRES.
    Types []string
    Data profiles will only be generated for the database resource types specified in this field. If not specified, defaults to [DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES]. Each value may be one of: DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES, DATABASE_RESOURCE_TYPE_TABLE.
    databaseEngines List<String>
    Database engines that should be profiled. Optional. Defaults to ALL_SUPPORTED_DATABASE_ENGINES if unspecified. Each value may be one of: ALL_SUPPORTED_DATABASE_ENGINES, MYSQL, POSTGRES.
    types List<String>
    Data profiles will only be generated for the database resource types specified in this field. If not specified, defaults to [DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES]. Each value may be one of: DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES, DATABASE_RESOURCE_TYPE_TABLE.
    databaseEngines string[]
    Database engines that should be profiled. Optional. Defaults to ALL_SUPPORTED_DATABASE_ENGINES if unspecified. Each value may be one of: ALL_SUPPORTED_DATABASE_ENGINES, MYSQL, POSTGRES.
    types string[]
    Data profiles will only be generated for the database resource types specified in this field. If not specified, defaults to [DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES]. Each value may be one of: DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES, DATABASE_RESOURCE_TYPE_TABLE.
    database_engines Sequence[str]
    Database engines that should be profiled. Optional. Defaults to ALL_SUPPORTED_DATABASE_ENGINES if unspecified. Each value may be one of: ALL_SUPPORTED_DATABASE_ENGINES, MYSQL, POSTGRES.
    types Sequence[str]
    Data profiles will only be generated for the database resource types specified in this field. If not specified, defaults to [DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES]. Each value may be one of: DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES, DATABASE_RESOURCE_TYPE_TABLE.
    databaseEngines List<String>
    Database engines that should be profiled. Optional. Defaults to ALL_SUPPORTED_DATABASE_ENGINES if unspecified. Each value may be one of: ALL_SUPPORTED_DATABASE_ENGINES, MYSQL, POSTGRES.
    types List<String>
    Data profiles will only be generated for the database resource types specified in this field. If not specified, defaults to [DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES]. Each value may be one of: DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES, DATABASE_RESOURCE_TYPE_TABLE.

    PreventionDiscoveryConfigTargetCloudSqlTargetFilter, PreventionDiscoveryConfigTargetCloudSqlTargetFilterArgs

    Collection PreventionDiscoveryConfigTargetCloudSqlTargetFilterCollection
    A specific set of database resources for this filter to apply to. Structure is documented below.
    DatabaseResourceReference PreventionDiscoveryConfigTargetCloudSqlTargetFilterDatabaseResourceReference
    The database resource to scan. Targets including this can only include one target (the target with this database resource reference). Structure is documented below.
    Others PreventionDiscoveryConfigTargetCloudSqlTargetFilterOthers
    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.
    Collection PreventionDiscoveryConfigTargetCloudSqlTargetFilterCollection
    A specific set of database resources for this filter to apply to. Structure is documented below.
    DatabaseResourceReference PreventionDiscoveryConfigTargetCloudSqlTargetFilterDatabaseResourceReference
    The database resource to scan. Targets including this can only include one target (the target with this database resource reference). Structure is documented below.
    Others PreventionDiscoveryConfigTargetCloudSqlTargetFilterOthers
    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.
    collection PreventionDiscoveryConfigTargetCloudSqlTargetFilterCollection
    A specific set of database resources for this filter to apply to. Structure is documented below.
    databaseResourceReference PreventionDiscoveryConfigTargetCloudSqlTargetFilterDatabaseResourceReference
    The database resource to scan. Targets including this can only include one target (the target with this database resource reference). Structure is documented below.
    others PreventionDiscoveryConfigTargetCloudSqlTargetFilterOthers
    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.
    collection PreventionDiscoveryConfigTargetCloudSqlTargetFilterCollection
    A specific set of database resources for this filter to apply to. Structure is documented below.
    databaseResourceReference PreventionDiscoveryConfigTargetCloudSqlTargetFilterDatabaseResourceReference
    The database resource to scan. Targets including this can only include one target (the target with this database resource reference). Structure is documented below.
    others PreventionDiscoveryConfigTargetCloudSqlTargetFilterOthers
    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.
    collection PreventionDiscoveryConfigTargetCloudSqlTargetFilterCollection
    A specific set of database resources for this filter to apply to. Structure is documented below.
    database_resource_reference PreventionDiscoveryConfigTargetCloudSqlTargetFilterDatabaseResourceReference
    The database resource to scan. Targets including this can only include one target (the target with this database resource reference). Structure is documented below.
    others PreventionDiscoveryConfigTargetCloudSqlTargetFilterOthers
    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.
    collection Property Map
    A specific set of database resources for this filter to apply to. Structure is documented below.
    databaseResourceReference Property Map
    The database resource to scan. Targets including this can only include one target (the target with this database resource reference). Structure is documented below.
    others Property Map
    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.

    PreventionDiscoveryConfigTargetCloudSqlTargetFilterCollection, PreventionDiscoveryConfigTargetCloudSqlTargetFilterCollectionArgs

    IncludeRegexes PreventionDiscoveryConfigTargetCloudSqlTargetFilterCollectionIncludeRegexes
    A collection of regular expressions to match a database resource against. Structure is documented below.
    IncludeRegexes PreventionDiscoveryConfigTargetCloudSqlTargetFilterCollectionIncludeRegexes
    A collection of regular expressions to match a database resource against. Structure is documented below.
    includeRegexes PreventionDiscoveryConfigTargetCloudSqlTargetFilterCollectionIncludeRegexes
    A collection of regular expressions to match a database resource against. Structure is documented below.
    includeRegexes PreventionDiscoveryConfigTargetCloudSqlTargetFilterCollectionIncludeRegexes
    A collection of regular expressions to match a database resource against. Structure is documented below.
    include_regexes PreventionDiscoveryConfigTargetCloudSqlTargetFilterCollectionIncludeRegexes
    A collection of regular expressions to match a database resource against. Structure is documented below.
    includeRegexes Property Map
    A collection of regular expressions to match a database resource against. Structure is documented below.

    PreventionDiscoveryConfigTargetCloudSqlTargetFilterCollectionIncludeRegexes, PreventionDiscoveryConfigTargetCloudSqlTargetFilterCollectionIncludeRegexesArgs

    Patterns List<PreventionDiscoveryConfigTargetCloudSqlTargetFilterCollectionIncludeRegexesPattern>
    A group of regular expression patterns to match against one or more database resources. Maximum of 100 entries. The sum of all regular expressions' length can't exceed 10 KiB. Structure is documented below.
    Patterns []PreventionDiscoveryConfigTargetCloudSqlTargetFilterCollectionIncludeRegexesPattern
    A group of regular expression patterns to match against one or more database resources. Maximum of 100 entries. The sum of all regular expressions' length can't exceed 10 KiB. Structure is documented below.
    patterns List<PreventionDiscoveryConfigTargetCloudSqlTargetFilterCollectionIncludeRegexesPattern>
    A group of regular expression patterns to match against one or more database resources. Maximum of 100 entries. The sum of all regular expressions' length can't exceed 10 KiB. Structure is documented below.
    patterns PreventionDiscoveryConfigTargetCloudSqlTargetFilterCollectionIncludeRegexesPattern[]
    A group of regular expression patterns to match against one or more database resources. Maximum of 100 entries. The sum of all regular expressions' length can't exceed 10 KiB. Structure is documented below.
    patterns Sequence[PreventionDiscoveryConfigTargetCloudSqlTargetFilterCollectionIncludeRegexesPattern]
    A group of regular expression patterns to match against one or more database resources. Maximum of 100 entries. The sum of all regular expressions' length can't exceed 10 KiB. Structure is documented below.
    patterns List<Property Map>
    A group of regular expression patterns to match against one or more database resources. Maximum of 100 entries. The sum of all regular expressions' length can't exceed 10 KiB. Structure is documented below.

    PreventionDiscoveryConfigTargetCloudSqlTargetFilterCollectionIncludeRegexesPattern, PreventionDiscoveryConfigTargetCloudSqlTargetFilterCollectionIncludeRegexesPatternArgs

    DatabaseRegex string
    Regex to test the database name against. If empty, all databases match.
    DatabaseResourceNameRegex string
    Regex to test the database resource's name against. An example of a database resource name is a table's name. Other database resource names like view names could be included in the future. If empty, all database resources match.'
    InstanceRegex string
    Regex to test the instance name against. If empty, all instances match.
    ProjectIdRegex string
    For organizations, if unset, will match all projects. Has no effect for data profile configurations created within a project.
    DatabaseRegex string
    Regex to test the database name against. If empty, all databases match.
    DatabaseResourceNameRegex string
    Regex to test the database resource's name against. An example of a database resource name is a table's name. Other database resource names like view names could be included in the future. If empty, all database resources match.'
    InstanceRegex string
    Regex to test the instance name against. If empty, all instances match.
    ProjectIdRegex string
    For organizations, if unset, will match all projects. Has no effect for data profile configurations created within a project.
    databaseRegex String
    Regex to test the database name against. If empty, all databases match.
    databaseResourceNameRegex String
    Regex to test the database resource's name against. An example of a database resource name is a table's name. Other database resource names like view names could be included in the future. If empty, all database resources match.'
    instanceRegex String
    Regex to test the instance name against. If empty, all instances match.
    projectIdRegex String
    For organizations, if unset, will match all projects. Has no effect for data profile configurations created within a project.
    databaseRegex string
    Regex to test the database name against. If empty, all databases match.
    databaseResourceNameRegex string
    Regex to test the database resource's name against. An example of a database resource name is a table's name. Other database resource names like view names could be included in the future. If empty, all database resources match.'
    instanceRegex string
    Regex to test the instance name against. If empty, all instances match.
    projectIdRegex string
    For organizations, if unset, will match all projects. Has no effect for data profile configurations created within a project.
    database_regex str
    Regex to test the database name against. If empty, all databases match.
    database_resource_name_regex str
    Regex to test the database resource's name against. An example of a database resource name is a table's name. Other database resource names like view names could be included in the future. If empty, all database resources match.'
    instance_regex str
    Regex to test the instance name against. If empty, all instances match.
    project_id_regex str
    For organizations, if unset, will match all projects. Has no effect for data profile configurations created within a project.
    databaseRegex String
    Regex to test the database name against. If empty, all databases match.
    databaseResourceNameRegex String
    Regex to test the database resource's name against. An example of a database resource name is a table's name. Other database resource names like view names could be included in the future. If empty, all database resources match.'
    instanceRegex String
    Regex to test the instance name against. If empty, all instances match.
    projectIdRegex String
    For organizations, if unset, will match all projects. Has no effect for data profile configurations created within a project.

    PreventionDiscoveryConfigTargetCloudSqlTargetFilterDatabaseResourceReference, PreventionDiscoveryConfigTargetCloudSqlTargetFilterDatabaseResourceReferenceArgs

    Database string
    Required. Name of a database within the instance.
    DatabaseResource string
    Required. Name of a database resource, for example, a table within the database.
    Instance string
    Required. The instance where this resource is located. For example: Cloud SQL instance ID.
    ProjectId string
    Required. If within a project-level config, then this must match the config's project ID.
    Database string
    Required. Name of a database within the instance.
    DatabaseResource string
    Required. Name of a database resource, for example, a table within the database.
    Instance string
    Required. The instance where this resource is located. For example: Cloud SQL instance ID.
    ProjectId string
    Required. If within a project-level config, then this must match the config's project ID.
    database String
    Required. Name of a database within the instance.
    databaseResource String
    Required. Name of a database resource, for example, a table within the database.
    instance String
    Required. The instance where this resource is located. For example: Cloud SQL instance ID.
    projectId String
    Required. If within a project-level config, then this must match the config's project ID.
    database string
    Required. Name of a database within the instance.
    databaseResource string
    Required. Name of a database resource, for example, a table within the database.
    instance string
    Required. The instance where this resource is located. For example: Cloud SQL instance ID.
    projectId string
    Required. If within a project-level config, then this must match the config's project ID.
    database str
    Required. Name of a database within the instance.
    database_resource str
    Required. Name of a database resource, for example, a table within the database.
    instance str
    Required. The instance where this resource is located. For example: Cloud SQL instance ID.
    project_id str
    Required. If within a project-level config, then this must match the config's project ID.
    database String
    Required. Name of a database within the instance.
    databaseResource String
    Required. Name of a database resource, for example, a table within the database.
    instance String
    Required. The instance where this resource is located. For example: Cloud SQL instance ID.
    projectId String
    Required. If within a project-level config, then this must match the config's project ID.

    PreventionDiscoveryConfigTargetCloudSqlTargetGenerationCadence, PreventionDiscoveryConfigTargetCloudSqlTargetGenerationCadenceArgs

    RefreshFrequency string
    Data changes (non-schema changes) in Cloud SQL tables can't trigger reprofiling. If you set this field, profiles are refreshed at this frequency regardless of whether the underlying tables have changes. Defaults to never. Possible values are: UPDATE_FREQUENCY_NEVER, UPDATE_FREQUENCY_DAILY, UPDATE_FREQUENCY_MONTHLY.
    SchemaModifiedCadence PreventionDiscoveryConfigTargetCloudSqlTargetGenerationCadenceSchemaModifiedCadence
    Governs when to update data profiles when a schema is modified Structure is documented below.
    RefreshFrequency string
    Data changes (non-schema changes) in Cloud SQL tables can't trigger reprofiling. If you set this field, profiles are refreshed at this frequency regardless of whether the underlying tables have changes. Defaults to never. Possible values are: UPDATE_FREQUENCY_NEVER, UPDATE_FREQUENCY_DAILY, UPDATE_FREQUENCY_MONTHLY.
    SchemaModifiedCadence PreventionDiscoveryConfigTargetCloudSqlTargetGenerationCadenceSchemaModifiedCadence
    Governs when to update data profiles when a schema is modified Structure is documented below.
    refreshFrequency String
    Data changes (non-schema changes) in Cloud SQL tables can't trigger reprofiling. If you set this field, profiles are refreshed at this frequency regardless of whether the underlying tables have changes. Defaults to never. Possible values are: UPDATE_FREQUENCY_NEVER, UPDATE_FREQUENCY_DAILY, UPDATE_FREQUENCY_MONTHLY.
    schemaModifiedCadence PreventionDiscoveryConfigTargetCloudSqlTargetGenerationCadenceSchemaModifiedCadence
    Governs when to update data profiles when a schema is modified Structure is documented below.
    refreshFrequency string
    Data changes (non-schema changes) in Cloud SQL tables can't trigger reprofiling. If you set this field, profiles are refreshed at this frequency regardless of whether the underlying tables have changes. Defaults to never. Possible values are: UPDATE_FREQUENCY_NEVER, UPDATE_FREQUENCY_DAILY, UPDATE_FREQUENCY_MONTHLY.
    schemaModifiedCadence PreventionDiscoveryConfigTargetCloudSqlTargetGenerationCadenceSchemaModifiedCadence
    Governs when to update data profiles when a schema is modified Structure is documented below.
    refresh_frequency str
    Data changes (non-schema changes) in Cloud SQL tables can't trigger reprofiling. If you set this field, profiles are refreshed at this frequency regardless of whether the underlying tables have changes. Defaults to never. Possible values are: UPDATE_FREQUENCY_NEVER, UPDATE_FREQUENCY_DAILY, UPDATE_FREQUENCY_MONTHLY.
    schema_modified_cadence PreventionDiscoveryConfigTargetCloudSqlTargetGenerationCadenceSchemaModifiedCadence
    Governs when to update data profiles when a schema is modified Structure is documented below.
    refreshFrequency String
    Data changes (non-schema changes) in Cloud SQL tables can't trigger reprofiling. If you set this field, profiles are refreshed at this frequency regardless of whether the underlying tables have changes. Defaults to never. Possible values are: UPDATE_FREQUENCY_NEVER, UPDATE_FREQUENCY_DAILY, UPDATE_FREQUENCY_MONTHLY.
    schemaModifiedCadence Property Map
    Governs when to update data profiles when a schema is modified Structure is documented below.

    PreventionDiscoveryConfigTargetCloudSqlTargetGenerationCadenceSchemaModifiedCadence, PreventionDiscoveryConfigTargetCloudSqlTargetGenerationCadenceSchemaModifiedCadenceArgs

    Frequency string
    Frequency to regenerate data profiles when the schema is modified. Defaults to monthly. Possible values are: UPDATE_FREQUENCY_NEVER, UPDATE_FREQUENCY_DAILY, UPDATE_FREQUENCY_MONTHLY.
    Types List<string>
    The types of schema modifications to consider. Defaults to NEW_COLUMNS. Each value may be one of: NEW_COLUMNS, REMOVED_COLUMNS.
    Frequency string
    Frequency to regenerate data profiles when the schema is modified. Defaults to monthly. Possible values are: UPDATE_FREQUENCY_NEVER, UPDATE_FREQUENCY_DAILY, UPDATE_FREQUENCY_MONTHLY.
    Types []string
    The types of schema modifications to consider. Defaults to NEW_COLUMNS. Each value may be one of: NEW_COLUMNS, REMOVED_COLUMNS.
    frequency String
    Frequency to regenerate data profiles when the schema is modified. Defaults to monthly. Possible values are: UPDATE_FREQUENCY_NEVER, UPDATE_FREQUENCY_DAILY, UPDATE_FREQUENCY_MONTHLY.
    types List<String>
    The types of schema modifications to consider. Defaults to NEW_COLUMNS. Each value may be one of: NEW_COLUMNS, REMOVED_COLUMNS.
    frequency string
    Frequency to regenerate data profiles when the schema is modified. Defaults to monthly. Possible values are: UPDATE_FREQUENCY_NEVER, UPDATE_FREQUENCY_DAILY, UPDATE_FREQUENCY_MONTHLY.
    types string[]
    The types of schema modifications to consider. Defaults to NEW_COLUMNS. Each value may be one of: NEW_COLUMNS, REMOVED_COLUMNS.
    frequency str
    Frequency to regenerate data profiles when the schema is modified. Defaults to monthly. Possible values are: UPDATE_FREQUENCY_NEVER, UPDATE_FREQUENCY_DAILY, UPDATE_FREQUENCY_MONTHLY.
    types Sequence[str]
    The types of schema modifications to consider. Defaults to NEW_COLUMNS. Each value may be one of: NEW_COLUMNS, REMOVED_COLUMNS.
    frequency String
    Frequency to regenerate data profiles when the schema is modified. Defaults to monthly. Possible values are: UPDATE_FREQUENCY_NEVER, UPDATE_FREQUENCY_DAILY, UPDATE_FREQUENCY_MONTHLY.
    types List<String>
    The types of schema modifications to consider. Defaults to NEW_COLUMNS. Each value may be one of: NEW_COLUMNS, REMOVED_COLUMNS.

    Import

    DiscoveryConfig can be imported using any of these accepted formats:

    • {{parent}}/discoveryConfigs/{{name}}

    • {{parent}}/{{name}}

    When using the pulumi import command, DiscoveryConfig can be imported using one of the formats above. For example:

    $ pulumi import gcp:dataloss/preventionDiscoveryConfig:PreventionDiscoveryConfig default {{parent}}/discoveryConfigs/{{name}}
    
    $ pulumi import gcp:dataloss/preventionDiscoveryConfig:PreventionDiscoveryConfig default {{parent}}/{{name}}
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Google Cloud (GCP) Classic pulumi/pulumi-gcp
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the google-beta Terraform Provider.
    gcp logo
    Google Cloud Classic v7.29.0 published on Wednesday, Jun 26, 2024 by Pulumi