gcp.dataloss.PreventionJobTrigger
Explore with Pulumi AI
A job trigger configuration.
To get more information about JobTrigger, see:
- API documentation
- How-to Guides
Example Usage
Dlp Job Trigger Basic
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const basic = new gcp.dataloss.PreventionJobTrigger("basic", {
    parent: "projects/my-project-name",
    description: "Description",
    displayName: "Displayname",
    triggers: [{
        schedule: {
            recurrencePeriodDuration: "86400s",
        },
    }],
    inspectJob: {
        inspectTemplateName: "fake",
        actions: [{
            saveFindings: {
                outputConfig: {
                    table: {
                        projectId: "project",
                        datasetId: "dataset",
                    },
                },
            },
        }],
        storageConfig: {
            cloudStorageOptions: {
                fileSet: {
                    url: "gs://mybucket/directory/",
                },
            },
        },
    },
});
import pulumi
import pulumi_gcp as gcp
basic = gcp.dataloss.PreventionJobTrigger("basic",
    parent="projects/my-project-name",
    description="Description",
    display_name="Displayname",
    triggers=[{
        "schedule": {
            "recurrence_period_duration": "86400s",
        },
    }],
    inspect_job={
        "inspect_template_name": "fake",
        "actions": [{
            "save_findings": {
                "output_config": {
                    "table": {
                        "project_id": "project",
                        "dataset_id": "dataset",
                    },
                },
            },
        }],
        "storage_config": {
            "cloud_storage_options": {
                "file_set": {
                    "url": "gs://mybucket/directory/",
                },
            },
        },
    })
package main
import (
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/dataloss"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dataloss.NewPreventionJobTrigger(ctx, "basic", &dataloss.PreventionJobTriggerArgs{
			Parent:      pulumi.String("projects/my-project-name"),
			Description: pulumi.String("Description"),
			DisplayName: pulumi.String("Displayname"),
			Triggers: dataloss.PreventionJobTriggerTriggerArray{
				&dataloss.PreventionJobTriggerTriggerArgs{
					Schedule: &dataloss.PreventionJobTriggerTriggerScheduleArgs{
						RecurrencePeriodDuration: pulumi.String("86400s"),
					},
				},
			},
			InspectJob: &dataloss.PreventionJobTriggerInspectJobArgs{
				InspectTemplateName: pulumi.String("fake"),
				Actions: dataloss.PreventionJobTriggerInspectJobActionArray{
					&dataloss.PreventionJobTriggerInspectJobActionArgs{
						SaveFindings: &dataloss.PreventionJobTriggerInspectJobActionSaveFindingsArgs{
							OutputConfig: &dataloss.PreventionJobTriggerInspectJobActionSaveFindingsOutputConfigArgs{
								Table: &dataloss.PreventionJobTriggerInspectJobActionSaveFindingsOutputConfigTableArgs{
									ProjectId: pulumi.String("project"),
									DatasetId: pulumi.String("dataset"),
								},
							},
						},
					},
				},
				StorageConfig: &dataloss.PreventionJobTriggerInspectJobStorageConfigArgs{
					CloudStorageOptions: &dataloss.PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsArgs{
						FileSet: &dataloss.PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsFileSetArgs{
							Url: pulumi.String("gs://mybucket/directory/"),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() => 
{
    var basic = new Gcp.DataLoss.PreventionJobTrigger("basic", new()
    {
        Parent = "projects/my-project-name",
        Description = "Description",
        DisplayName = "Displayname",
        Triggers = new[]
        {
            new Gcp.DataLoss.Inputs.PreventionJobTriggerTriggerArgs
            {
                Schedule = new Gcp.DataLoss.Inputs.PreventionJobTriggerTriggerScheduleArgs
                {
                    RecurrencePeriodDuration = "86400s",
                },
            },
        },
        InspectJob = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobArgs
        {
            InspectTemplateName = "fake",
            Actions = new[]
            {
                new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobActionArgs
                {
                    SaveFindings = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobActionSaveFindingsArgs
                    {
                        OutputConfig = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobActionSaveFindingsOutputConfigArgs
                        {
                            Table = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobActionSaveFindingsOutputConfigTableArgs
                            {
                                ProjectId = "project",
                                DatasetId = "dataset",
                            },
                        },
                    },
                },
            },
            StorageConfig = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobStorageConfigArgs
            {
                CloudStorageOptions = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsArgs
                {
                    FileSet = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsFileSetArgs
                    {
                        Url = "gs://mybucket/directory/",
                    },
                },
            },
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.dataloss.PreventionJobTrigger;
import com.pulumi.gcp.dataloss.PreventionJobTriggerArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerTriggerArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerTriggerScheduleArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobStorageConfigArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsFileSetArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var basic = new PreventionJobTrigger("basic", PreventionJobTriggerArgs.builder()
            .parent("projects/my-project-name")
            .description("Description")
            .displayName("Displayname")
            .triggers(PreventionJobTriggerTriggerArgs.builder()
                .schedule(PreventionJobTriggerTriggerScheduleArgs.builder()
                    .recurrencePeriodDuration("86400s")
                    .build())
                .build())
            .inspectJob(PreventionJobTriggerInspectJobArgs.builder()
                .inspectTemplateName("fake")
                .actions(PreventionJobTriggerInspectJobActionArgs.builder()
                    .saveFindings(PreventionJobTriggerInspectJobActionSaveFindingsArgs.builder()
                        .outputConfig(PreventionJobTriggerInspectJobActionSaveFindingsOutputConfigArgs.builder()
                            .table(PreventionJobTriggerInspectJobActionSaveFindingsOutputConfigTableArgs.builder()
                                .projectId("project")
                                .datasetId("dataset")
                                .build())
                            .build())
                        .build())
                    .build())
                .storageConfig(PreventionJobTriggerInspectJobStorageConfigArgs.builder()
                    .cloudStorageOptions(PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsArgs.builder()
                        .fileSet(PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsFileSetArgs.builder()
                            .url("gs://mybucket/directory/")
                            .build())
                        .build())
                    .build())
                .build())
            .build());
    }
}
resources:
  basic:
    type: gcp:dataloss:PreventionJobTrigger
    properties:
      parent: projects/my-project-name
      description: Description
      displayName: Displayname
      triggers:
        - schedule:
            recurrencePeriodDuration: 86400s
      inspectJob:
        inspectTemplateName: fake
        actions:
          - saveFindings:
              outputConfig:
                table:
                  projectId: project
                  datasetId: dataset
        storageConfig:
          cloudStorageOptions:
            fileSet:
              url: gs://mybucket/directory/
Dlp Job Trigger Bigquery Row Limit
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const bigqueryRowLimit = new gcp.dataloss.PreventionJobTrigger("bigquery_row_limit", {
    parent: "projects/my-project-name",
    description: "Description",
    displayName: "Displayname",
    triggers: [{
        schedule: {
            recurrencePeriodDuration: "86400s",
        },
    }],
    inspectJob: {
        inspectTemplateName: "fake",
        actions: [{
            saveFindings: {
                outputConfig: {
                    table: {
                        projectId: "project",
                        datasetId: "dataset",
                    },
                },
            },
        }],
        storageConfig: {
            bigQueryOptions: {
                tableReference: {
                    projectId: "project",
                    datasetId: "dataset",
                    tableId: "table_to_scan",
                },
                rowsLimit: 1000,
                sampleMethod: "RANDOM_START",
            },
        },
    },
});
import pulumi
import pulumi_gcp as gcp
bigquery_row_limit = gcp.dataloss.PreventionJobTrigger("bigquery_row_limit",
    parent="projects/my-project-name",
    description="Description",
    display_name="Displayname",
    triggers=[{
        "schedule": {
            "recurrence_period_duration": "86400s",
        },
    }],
    inspect_job={
        "inspect_template_name": "fake",
        "actions": [{
            "save_findings": {
                "output_config": {
                    "table": {
                        "project_id": "project",
                        "dataset_id": "dataset",
                    },
                },
            },
        }],
        "storage_config": {
            "big_query_options": {
                "table_reference": {
                    "project_id": "project",
                    "dataset_id": "dataset",
                    "table_id": "table_to_scan",
                },
                "rows_limit": 1000,
                "sample_method": "RANDOM_START",
            },
        },
    })
package main
import (
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/dataloss"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dataloss.NewPreventionJobTrigger(ctx, "bigquery_row_limit", &dataloss.PreventionJobTriggerArgs{
			Parent:      pulumi.String("projects/my-project-name"),
			Description: pulumi.String("Description"),
			DisplayName: pulumi.String("Displayname"),
			Triggers: dataloss.PreventionJobTriggerTriggerArray{
				&dataloss.PreventionJobTriggerTriggerArgs{
					Schedule: &dataloss.PreventionJobTriggerTriggerScheduleArgs{
						RecurrencePeriodDuration: pulumi.String("86400s"),
					},
				},
			},
			InspectJob: &dataloss.PreventionJobTriggerInspectJobArgs{
				InspectTemplateName: pulumi.String("fake"),
				Actions: dataloss.PreventionJobTriggerInspectJobActionArray{
					&dataloss.PreventionJobTriggerInspectJobActionArgs{
						SaveFindings: &dataloss.PreventionJobTriggerInspectJobActionSaveFindingsArgs{
							OutputConfig: &dataloss.PreventionJobTriggerInspectJobActionSaveFindingsOutputConfigArgs{
								Table: &dataloss.PreventionJobTriggerInspectJobActionSaveFindingsOutputConfigTableArgs{
									ProjectId: pulumi.String("project"),
									DatasetId: pulumi.String("dataset"),
								},
							},
						},
					},
				},
				StorageConfig: &dataloss.PreventionJobTriggerInspectJobStorageConfigArgs{
					BigQueryOptions: &dataloss.PreventionJobTriggerInspectJobStorageConfigBigQueryOptionsArgs{
						TableReference: &dataloss.PreventionJobTriggerInspectJobStorageConfigBigQueryOptionsTableReferenceArgs{
							ProjectId: pulumi.String("project"),
							DatasetId: pulumi.String("dataset"),
							TableId:   pulumi.String("table_to_scan"),
						},
						RowsLimit:    pulumi.Int(1000),
						SampleMethod: pulumi.String("RANDOM_START"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() => 
{
    var bigqueryRowLimit = new Gcp.DataLoss.PreventionJobTrigger("bigquery_row_limit", new()
    {
        Parent = "projects/my-project-name",
        Description = "Description",
        DisplayName = "Displayname",
        Triggers = new[]
        {
            new Gcp.DataLoss.Inputs.PreventionJobTriggerTriggerArgs
            {
                Schedule = new Gcp.DataLoss.Inputs.PreventionJobTriggerTriggerScheduleArgs
                {
                    RecurrencePeriodDuration = "86400s",
                },
            },
        },
        InspectJob = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobArgs
        {
            InspectTemplateName = "fake",
            Actions = new[]
            {
                new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobActionArgs
                {
                    SaveFindings = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobActionSaveFindingsArgs
                    {
                        OutputConfig = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobActionSaveFindingsOutputConfigArgs
                        {
                            Table = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobActionSaveFindingsOutputConfigTableArgs
                            {
                                ProjectId = "project",
                                DatasetId = "dataset",
                            },
                        },
                    },
                },
            },
            StorageConfig = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobStorageConfigArgs
            {
                BigQueryOptions = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobStorageConfigBigQueryOptionsArgs
                {
                    TableReference = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobStorageConfigBigQueryOptionsTableReferenceArgs
                    {
                        ProjectId = "project",
                        DatasetId = "dataset",
                        TableId = "table_to_scan",
                    },
                    RowsLimit = 1000,
                    SampleMethod = "RANDOM_START",
                },
            },
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.dataloss.PreventionJobTrigger;
import com.pulumi.gcp.dataloss.PreventionJobTriggerArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerTriggerArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerTriggerScheduleArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobStorageConfigArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobStorageConfigBigQueryOptionsArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobStorageConfigBigQueryOptionsTableReferenceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var bigqueryRowLimit = new PreventionJobTrigger("bigqueryRowLimit", PreventionJobTriggerArgs.builder()
            .parent("projects/my-project-name")
            .description("Description")
            .displayName("Displayname")
            .triggers(PreventionJobTriggerTriggerArgs.builder()
                .schedule(PreventionJobTriggerTriggerScheduleArgs.builder()
                    .recurrencePeriodDuration("86400s")
                    .build())
                .build())
            .inspectJob(PreventionJobTriggerInspectJobArgs.builder()
                .inspectTemplateName("fake")
                .actions(PreventionJobTriggerInspectJobActionArgs.builder()
                    .saveFindings(PreventionJobTriggerInspectJobActionSaveFindingsArgs.builder()
                        .outputConfig(PreventionJobTriggerInspectJobActionSaveFindingsOutputConfigArgs.builder()
                            .table(PreventionJobTriggerInspectJobActionSaveFindingsOutputConfigTableArgs.builder()
                                .projectId("project")
                                .datasetId("dataset")
                                .build())
                            .build())
                        .build())
                    .build())
                .storageConfig(PreventionJobTriggerInspectJobStorageConfigArgs.builder()
                    .bigQueryOptions(PreventionJobTriggerInspectJobStorageConfigBigQueryOptionsArgs.builder()
                        .tableReference(PreventionJobTriggerInspectJobStorageConfigBigQueryOptionsTableReferenceArgs.builder()
                            .projectId("project")
                            .datasetId("dataset")
                            .tableId("table_to_scan")
                            .build())
                        .rowsLimit(1000)
                        .sampleMethod("RANDOM_START")
                        .build())
                    .build())
                .build())
            .build());
    }
}
resources:
  bigqueryRowLimit:
    type: gcp:dataloss:PreventionJobTrigger
    name: bigquery_row_limit
    properties:
      parent: projects/my-project-name
      description: Description
      displayName: Displayname
      triggers:
        - schedule:
            recurrencePeriodDuration: 86400s
      inspectJob:
        inspectTemplateName: fake
        actions:
          - saveFindings:
              outputConfig:
                table:
                  projectId: project
                  datasetId: dataset
        storageConfig:
          bigQueryOptions:
            tableReference:
              projectId: project
              datasetId: dataset
              tableId: table_to_scan
            rowsLimit: 1000
            sampleMethod: RANDOM_START
Dlp Job Trigger Bigquery Row Limit Percentage
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const bigqueryRowLimitPercentage = new gcp.dataloss.PreventionJobTrigger("bigquery_row_limit_percentage", {
    parent: "projects/my-project-name",
    description: "Description",
    displayName: "Displayname",
    triggers: [{
        schedule: {
            recurrencePeriodDuration: "86400s",
        },
    }],
    inspectJob: {
        inspectTemplateName: "fake",
        actions: [{
            saveFindings: {
                outputConfig: {
                    table: {
                        projectId: "project",
                        datasetId: "dataset",
                    },
                },
            },
        }],
        storageConfig: {
            bigQueryOptions: {
                tableReference: {
                    projectId: "project",
                    datasetId: "dataset",
                    tableId: "table_to_scan",
                },
                rowsLimitPercent: 50,
                sampleMethod: "RANDOM_START",
            },
        },
    },
});
import pulumi
import pulumi_gcp as gcp
bigquery_row_limit_percentage = gcp.dataloss.PreventionJobTrigger("bigquery_row_limit_percentage",
    parent="projects/my-project-name",
    description="Description",
    display_name="Displayname",
    triggers=[{
        "schedule": {
            "recurrence_period_duration": "86400s",
        },
    }],
    inspect_job={
        "inspect_template_name": "fake",
        "actions": [{
            "save_findings": {
                "output_config": {
                    "table": {
                        "project_id": "project",
                        "dataset_id": "dataset",
                    },
                },
            },
        }],
        "storage_config": {
            "big_query_options": {
                "table_reference": {
                    "project_id": "project",
                    "dataset_id": "dataset",
                    "table_id": "table_to_scan",
                },
                "rows_limit_percent": 50,
                "sample_method": "RANDOM_START",
            },
        },
    })
package main
import (
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/dataloss"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dataloss.NewPreventionJobTrigger(ctx, "bigquery_row_limit_percentage", &dataloss.PreventionJobTriggerArgs{
			Parent:      pulumi.String("projects/my-project-name"),
			Description: pulumi.String("Description"),
			DisplayName: pulumi.String("Displayname"),
			Triggers: dataloss.PreventionJobTriggerTriggerArray{
				&dataloss.PreventionJobTriggerTriggerArgs{
					Schedule: &dataloss.PreventionJobTriggerTriggerScheduleArgs{
						RecurrencePeriodDuration: pulumi.String("86400s"),
					},
				},
			},
			InspectJob: &dataloss.PreventionJobTriggerInspectJobArgs{
				InspectTemplateName: pulumi.String("fake"),
				Actions: dataloss.PreventionJobTriggerInspectJobActionArray{
					&dataloss.PreventionJobTriggerInspectJobActionArgs{
						SaveFindings: &dataloss.PreventionJobTriggerInspectJobActionSaveFindingsArgs{
							OutputConfig: &dataloss.PreventionJobTriggerInspectJobActionSaveFindingsOutputConfigArgs{
								Table: &dataloss.PreventionJobTriggerInspectJobActionSaveFindingsOutputConfigTableArgs{
									ProjectId: pulumi.String("project"),
									DatasetId: pulumi.String("dataset"),
								},
							},
						},
					},
				},
				StorageConfig: &dataloss.PreventionJobTriggerInspectJobStorageConfigArgs{
					BigQueryOptions: &dataloss.PreventionJobTriggerInspectJobStorageConfigBigQueryOptionsArgs{
						TableReference: &dataloss.PreventionJobTriggerInspectJobStorageConfigBigQueryOptionsTableReferenceArgs{
							ProjectId: pulumi.String("project"),
							DatasetId: pulumi.String("dataset"),
							TableId:   pulumi.String("table_to_scan"),
						},
						RowsLimitPercent: pulumi.Int(50),
						SampleMethod:     pulumi.String("RANDOM_START"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() => 
{
    var bigqueryRowLimitPercentage = new Gcp.DataLoss.PreventionJobTrigger("bigquery_row_limit_percentage", new()
    {
        Parent = "projects/my-project-name",
        Description = "Description",
        DisplayName = "Displayname",
        Triggers = new[]
        {
            new Gcp.DataLoss.Inputs.PreventionJobTriggerTriggerArgs
            {
                Schedule = new Gcp.DataLoss.Inputs.PreventionJobTriggerTriggerScheduleArgs
                {
                    RecurrencePeriodDuration = "86400s",
                },
            },
        },
        InspectJob = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobArgs
        {
            InspectTemplateName = "fake",
            Actions = new[]
            {
                new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobActionArgs
                {
                    SaveFindings = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobActionSaveFindingsArgs
                    {
                        OutputConfig = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobActionSaveFindingsOutputConfigArgs
                        {
                            Table = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobActionSaveFindingsOutputConfigTableArgs
                            {
                                ProjectId = "project",
                                DatasetId = "dataset",
                            },
                        },
                    },
                },
            },
            StorageConfig = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobStorageConfigArgs
            {
                BigQueryOptions = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobStorageConfigBigQueryOptionsArgs
                {
                    TableReference = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobStorageConfigBigQueryOptionsTableReferenceArgs
                    {
                        ProjectId = "project",
                        DatasetId = "dataset",
                        TableId = "table_to_scan",
                    },
                    RowsLimitPercent = 50,
                    SampleMethod = "RANDOM_START",
                },
            },
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.dataloss.PreventionJobTrigger;
import com.pulumi.gcp.dataloss.PreventionJobTriggerArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerTriggerArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerTriggerScheduleArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobStorageConfigArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobStorageConfigBigQueryOptionsArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobStorageConfigBigQueryOptionsTableReferenceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var bigqueryRowLimitPercentage = new PreventionJobTrigger("bigqueryRowLimitPercentage", PreventionJobTriggerArgs.builder()
            .parent("projects/my-project-name")
            .description("Description")
            .displayName("Displayname")
            .triggers(PreventionJobTriggerTriggerArgs.builder()
                .schedule(PreventionJobTriggerTriggerScheduleArgs.builder()
                    .recurrencePeriodDuration("86400s")
                    .build())
                .build())
            .inspectJob(PreventionJobTriggerInspectJobArgs.builder()
                .inspectTemplateName("fake")
                .actions(PreventionJobTriggerInspectJobActionArgs.builder()
                    .saveFindings(PreventionJobTriggerInspectJobActionSaveFindingsArgs.builder()
                        .outputConfig(PreventionJobTriggerInspectJobActionSaveFindingsOutputConfigArgs.builder()
                            .table(PreventionJobTriggerInspectJobActionSaveFindingsOutputConfigTableArgs.builder()
                                .projectId("project")
                                .datasetId("dataset")
                                .build())
                            .build())
                        .build())
                    .build())
                .storageConfig(PreventionJobTriggerInspectJobStorageConfigArgs.builder()
                    .bigQueryOptions(PreventionJobTriggerInspectJobStorageConfigBigQueryOptionsArgs.builder()
                        .tableReference(PreventionJobTriggerInspectJobStorageConfigBigQueryOptionsTableReferenceArgs.builder()
                            .projectId("project")
                            .datasetId("dataset")
                            .tableId("table_to_scan")
                            .build())
                        .rowsLimitPercent(50)
                        .sampleMethod("RANDOM_START")
                        .build())
                    .build())
                .build())
            .build());
    }
}
resources:
  bigqueryRowLimitPercentage:
    type: gcp:dataloss:PreventionJobTrigger
    name: bigquery_row_limit_percentage
    properties:
      parent: projects/my-project-name
      description: Description
      displayName: Displayname
      triggers:
        - schedule:
            recurrencePeriodDuration: 86400s
      inspectJob:
        inspectTemplateName: fake
        actions:
          - saveFindings:
              outputConfig:
                table:
                  projectId: project
                  datasetId: dataset
        storageConfig:
          bigQueryOptions:
            tableReference:
              projectId: project
              datasetId: dataset
              tableId: table_to_scan
            rowsLimitPercent: 50
            sampleMethod: RANDOM_START
Dlp Job Trigger Job Notification Emails
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const jobNotificationEmails = new gcp.dataloss.PreventionJobTrigger("job_notification_emails", {
    parent: "projects/my-project-name",
    description: "Description for the job_trigger created by terraform",
    displayName: "TerraformDisplayName",
    triggers: [{
        schedule: {
            recurrencePeriodDuration: "86400s",
        },
    }],
    inspectJob: {
        inspectTemplateName: "sample-inspect-template",
        actions: [{
            jobNotificationEmails: {},
        }],
        storageConfig: {
            cloudStorageOptions: {
                fileSet: {
                    url: "gs://mybucket/directory/",
                },
            },
        },
    },
});
import pulumi
import pulumi_gcp as gcp
job_notification_emails = gcp.dataloss.PreventionJobTrigger("job_notification_emails",
    parent="projects/my-project-name",
    description="Description for the job_trigger created by terraform",
    display_name="TerraformDisplayName",
    triggers=[{
        "schedule": {
            "recurrence_period_duration": "86400s",
        },
    }],
    inspect_job={
        "inspect_template_name": "sample-inspect-template",
        "actions": [{
            "job_notification_emails": {},
        }],
        "storage_config": {
            "cloud_storage_options": {
                "file_set": {
                    "url": "gs://mybucket/directory/",
                },
            },
        },
    })
package main
import (
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/dataloss"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dataloss.NewPreventionJobTrigger(ctx, "job_notification_emails", &dataloss.PreventionJobTriggerArgs{
			Parent:      pulumi.String("projects/my-project-name"),
			Description: pulumi.String("Description for the job_trigger created by terraform"),
			DisplayName: pulumi.String("TerraformDisplayName"),
			Triggers: dataloss.PreventionJobTriggerTriggerArray{
				&dataloss.PreventionJobTriggerTriggerArgs{
					Schedule: &dataloss.PreventionJobTriggerTriggerScheduleArgs{
						RecurrencePeriodDuration: pulumi.String("86400s"),
					},
				},
			},
			InspectJob: &dataloss.PreventionJobTriggerInspectJobArgs{
				InspectTemplateName: pulumi.String("sample-inspect-template"),
				Actions: dataloss.PreventionJobTriggerInspectJobActionArray{
					&dataloss.PreventionJobTriggerInspectJobActionArgs{
						JobNotificationEmails: &dataloss.PreventionJobTriggerInspectJobActionJobNotificationEmailsArgs{},
					},
				},
				StorageConfig: &dataloss.PreventionJobTriggerInspectJobStorageConfigArgs{
					CloudStorageOptions: &dataloss.PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsArgs{
						FileSet: &dataloss.PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsFileSetArgs{
							Url: pulumi.String("gs://mybucket/directory/"),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() => 
{
    var jobNotificationEmails = new Gcp.DataLoss.PreventionJobTrigger("job_notification_emails", new()
    {
        Parent = "projects/my-project-name",
        Description = "Description for the job_trigger created by terraform",
        DisplayName = "TerraformDisplayName",
        Triggers = new[]
        {
            new Gcp.DataLoss.Inputs.PreventionJobTriggerTriggerArgs
            {
                Schedule = new Gcp.DataLoss.Inputs.PreventionJobTriggerTriggerScheduleArgs
                {
                    RecurrencePeriodDuration = "86400s",
                },
            },
        },
        InspectJob = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobArgs
        {
            InspectTemplateName = "sample-inspect-template",
            Actions = new[]
            {
                new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobActionArgs
                {
                    JobNotificationEmails = null,
                },
            },
            StorageConfig = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobStorageConfigArgs
            {
                CloudStorageOptions = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsArgs
                {
                    FileSet = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsFileSetArgs
                    {
                        Url = "gs://mybucket/directory/",
                    },
                },
            },
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.dataloss.PreventionJobTrigger;
import com.pulumi.gcp.dataloss.PreventionJobTriggerArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerTriggerArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerTriggerScheduleArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobStorageConfigArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsFileSetArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var jobNotificationEmails = new PreventionJobTrigger("jobNotificationEmails", PreventionJobTriggerArgs.builder()
            .parent("projects/my-project-name")
            .description("Description for the job_trigger created by terraform")
            .displayName("TerraformDisplayName")
            .triggers(PreventionJobTriggerTriggerArgs.builder()
                .schedule(PreventionJobTriggerTriggerScheduleArgs.builder()
                    .recurrencePeriodDuration("86400s")
                    .build())
                .build())
            .inspectJob(PreventionJobTriggerInspectJobArgs.builder()
                .inspectTemplateName("sample-inspect-template")
                .actions(PreventionJobTriggerInspectJobActionArgs.builder()
                    .jobNotificationEmails()
                    .build())
                .storageConfig(PreventionJobTriggerInspectJobStorageConfigArgs.builder()
                    .cloudStorageOptions(PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsArgs.builder()
                        .fileSet(PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsFileSetArgs.builder()
                            .url("gs://mybucket/directory/")
                            .build())
                        .build())
                    .build())
                .build())
            .build());
    }
}
resources:
  jobNotificationEmails:
    type: gcp:dataloss:PreventionJobTrigger
    name: job_notification_emails
    properties:
      parent: projects/my-project-name
      description: Description for the job_trigger created by terraform
      displayName: TerraformDisplayName
      triggers:
        - schedule:
            recurrencePeriodDuration: 86400s
      inspectJob:
        inspectTemplateName: sample-inspect-template
        actions:
          - jobNotificationEmails: {}
        storageConfig:
          cloudStorageOptions:
            fileSet:
              url: gs://mybucket/directory/
Dlp Job Trigger Deidentify
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const _default = new gcp.bigquery.Dataset("default", {
    datasetId: "tf_test",
    friendlyName: "terraform-test",
    description: "Description for the dataset created by terraform",
    location: "US",
    defaultTableExpirationMs: 3600000,
    labels: {
        env: "default",
    },
});
const defaultTable = new gcp.bigquery.Table("default", {
    datasetId: _default.datasetId,
    tableId: "tf_test",
    deletionProtection: false,
    timePartitioning: {
        type: "DAY",
    },
    labels: {
        env: "default",
    },
    schema: `    [
    {
      "name": "quantity",
      "type": "NUMERIC",
      "mode": "NULLABLE",
      "description": "The quantity"
    },
    {
      "name": "name",
      "type": "STRING",
      "mode": "NULLABLE",
      "description": "Name of the object"
    }
    ]
`,
});
const deidentify = new gcp.dataloss.PreventionJobTrigger("deidentify", {
    parent: "projects/my-project-name",
    description: "Description for the job_trigger created by terraform",
    displayName: "TerraformDisplayName",
    triggers: [{
        schedule: {
            recurrencePeriodDuration: "86400s",
        },
    }],
    inspectJob: {
        inspectTemplateName: "sample-inspect-template",
        actions: [{
            deidentify: {
                cloudStorageOutput: "gs://samplebucket/dir/",
                fileTypesToTransforms: [
                    "CSV",
                    "TSV",
                ],
                transformationDetailsStorageConfig: {
                    table: {
                        projectId: "my-project-name",
                        datasetId: _default.datasetId,
                        tableId: defaultTable.tableId,
                    },
                },
                transformationConfig: {
                    deidentifyTemplate: "sample-deidentify-template",
                    imageRedactTemplate: "sample-image-redact-template",
                    structuredDeidentifyTemplate: "sample-structured-deidentify-template",
                },
            },
        }],
        storageConfig: {
            cloudStorageOptions: {
                fileSet: {
                    url: "gs://mybucket/directory/",
                },
            },
        },
    },
});
import pulumi
import pulumi_gcp as gcp
default = gcp.bigquery.Dataset("default",
    dataset_id="tf_test",
    friendly_name="terraform-test",
    description="Description for the dataset created by terraform",
    location="US",
    default_table_expiration_ms=3600000,
    labels={
        "env": "default",
    })
default_table = gcp.bigquery.Table("default",
    dataset_id=default.dataset_id,
    table_id="tf_test",
    deletion_protection=False,
    time_partitioning={
        "type": "DAY",
    },
    labels={
        "env": "default",
    },
    schema="""    [
    {
      "name": "quantity",
      "type": "NUMERIC",
      "mode": "NULLABLE",
      "description": "The quantity"
    },
    {
      "name": "name",
      "type": "STRING",
      "mode": "NULLABLE",
      "description": "Name of the object"
    }
    ]
""")
deidentify = gcp.dataloss.PreventionJobTrigger("deidentify",
    parent="projects/my-project-name",
    description="Description for the job_trigger created by terraform",
    display_name="TerraformDisplayName",
    triggers=[{
        "schedule": {
            "recurrence_period_duration": "86400s",
        },
    }],
    inspect_job={
        "inspect_template_name": "sample-inspect-template",
        "actions": [{
            "deidentify": {
                "cloud_storage_output": "gs://samplebucket/dir/",
                "file_types_to_transforms": [
                    "CSV",
                    "TSV",
                ],
                "transformation_details_storage_config": {
                    "table": {
                        "project_id": "my-project-name",
                        "dataset_id": default.dataset_id,
                        "table_id": default_table.table_id,
                    },
                },
                "transformation_config": {
                    "deidentify_template": "sample-deidentify-template",
                    "image_redact_template": "sample-image-redact-template",
                    "structured_deidentify_template": "sample-structured-deidentify-template",
                },
            },
        }],
        "storage_config": {
            "cloud_storage_options": {
                "file_set": {
                    "url": "gs://mybucket/directory/",
                },
            },
        },
    })
package main
import (
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/bigquery"
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/dataloss"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_default, err := bigquery.NewDataset(ctx, "default", &bigquery.DatasetArgs{
			DatasetId:                pulumi.String("tf_test"),
			FriendlyName:             pulumi.String("terraform-test"),
			Description:              pulumi.String("Description for the dataset created by terraform"),
			Location:                 pulumi.String("US"),
			DefaultTableExpirationMs: pulumi.Int(3600000),
			Labels: pulumi.StringMap{
				"env": pulumi.String("default"),
			},
		})
		if err != nil {
			return err
		}
		defaultTable, err := bigquery.NewTable(ctx, "default", &bigquery.TableArgs{
			DatasetId:          _default.DatasetId,
			TableId:            pulumi.String("tf_test"),
			DeletionProtection: pulumi.Bool(false),
			TimePartitioning: &bigquery.TableTimePartitioningArgs{
				Type: pulumi.String("DAY"),
			},
			Labels: pulumi.StringMap{
				"env": pulumi.String("default"),
			},
			Schema: pulumi.String(`    [
    {
      "name": "quantity",
      "type": "NUMERIC",
      "mode": "NULLABLE",
      "description": "The quantity"
    },
    {
      "name": "name",
      "type": "STRING",
      "mode": "NULLABLE",
      "description": "Name of the object"
    }
    ]
`),
		})
		if err != nil {
			return err
		}
		_, err = dataloss.NewPreventionJobTrigger(ctx, "deidentify", &dataloss.PreventionJobTriggerArgs{
			Parent:      pulumi.String("projects/my-project-name"),
			Description: pulumi.String("Description for the job_trigger created by terraform"),
			DisplayName: pulumi.String("TerraformDisplayName"),
			Triggers: dataloss.PreventionJobTriggerTriggerArray{
				&dataloss.PreventionJobTriggerTriggerArgs{
					Schedule: &dataloss.PreventionJobTriggerTriggerScheduleArgs{
						RecurrencePeriodDuration: pulumi.String("86400s"),
					},
				},
			},
			InspectJob: &dataloss.PreventionJobTriggerInspectJobArgs{
				InspectTemplateName: pulumi.String("sample-inspect-template"),
				Actions: dataloss.PreventionJobTriggerInspectJobActionArray{
					&dataloss.PreventionJobTriggerInspectJobActionArgs{
						Deidentify: &dataloss.PreventionJobTriggerInspectJobActionDeidentifyArgs{
							CloudStorageOutput: pulumi.String("gs://samplebucket/dir/"),
							FileTypesToTransforms: pulumi.StringArray{
								pulumi.String("CSV"),
								pulumi.String("TSV"),
							},
							TransformationDetailsStorageConfig: &dataloss.PreventionJobTriggerInspectJobActionDeidentifyTransformationDetailsStorageConfigArgs{
								Table: &dataloss.PreventionJobTriggerInspectJobActionDeidentifyTransformationDetailsStorageConfigTableArgs{
									ProjectId: pulumi.String("my-project-name"),
									DatasetId: _default.DatasetId,
									TableId:   defaultTable.TableId,
								},
							},
							TransformationConfig: &dataloss.PreventionJobTriggerInspectJobActionDeidentifyTransformationConfigArgs{
								DeidentifyTemplate:           pulumi.String("sample-deidentify-template"),
								ImageRedactTemplate:          pulumi.String("sample-image-redact-template"),
								StructuredDeidentifyTemplate: pulumi.String("sample-structured-deidentify-template"),
							},
						},
					},
				},
				StorageConfig: &dataloss.PreventionJobTriggerInspectJobStorageConfigArgs{
					CloudStorageOptions: &dataloss.PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsArgs{
						FileSet: &dataloss.PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsFileSetArgs{
							Url: pulumi.String("gs://mybucket/directory/"),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() => 
{
    var @default = new Gcp.BigQuery.Dataset("default", new()
    {
        DatasetId = "tf_test",
        FriendlyName = "terraform-test",
        Description = "Description for the dataset created by terraform",
        Location = "US",
        DefaultTableExpirationMs = 3600000,
        Labels = 
        {
            { "env", "default" },
        },
    });
    var defaultTable = new Gcp.BigQuery.Table("default", new()
    {
        DatasetId = @default.DatasetId,
        TableId = "tf_test",
        DeletionProtection = false,
        TimePartitioning = new Gcp.BigQuery.Inputs.TableTimePartitioningArgs
        {
            Type = "DAY",
        },
        Labels = 
        {
            { "env", "default" },
        },
        Schema = @"    [
    {
      ""name"": ""quantity"",
      ""type"": ""NUMERIC"",
      ""mode"": ""NULLABLE"",
      ""description"": ""The quantity""
    },
    {
      ""name"": ""name"",
      ""type"": ""STRING"",
      ""mode"": ""NULLABLE"",
      ""description"": ""Name of the object""
    }
    ]
",
    });
    var deidentify = new Gcp.DataLoss.PreventionJobTrigger("deidentify", new()
    {
        Parent = "projects/my-project-name",
        Description = "Description for the job_trigger created by terraform",
        DisplayName = "TerraformDisplayName",
        Triggers = new[]
        {
            new Gcp.DataLoss.Inputs.PreventionJobTriggerTriggerArgs
            {
                Schedule = new Gcp.DataLoss.Inputs.PreventionJobTriggerTriggerScheduleArgs
                {
                    RecurrencePeriodDuration = "86400s",
                },
            },
        },
        InspectJob = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobArgs
        {
            InspectTemplateName = "sample-inspect-template",
            Actions = new[]
            {
                new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobActionArgs
                {
                    Deidentify = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobActionDeidentifyArgs
                    {
                        CloudStorageOutput = "gs://samplebucket/dir/",
                        FileTypesToTransforms = new[]
                        {
                            "CSV",
                            "TSV",
                        },
                        TransformationDetailsStorageConfig = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobActionDeidentifyTransformationDetailsStorageConfigArgs
                        {
                            Table = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobActionDeidentifyTransformationDetailsStorageConfigTableArgs
                            {
                                ProjectId = "my-project-name",
                                DatasetId = @default.DatasetId,
                                TableId = defaultTable.TableId,
                            },
                        },
                        TransformationConfig = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobActionDeidentifyTransformationConfigArgs
                        {
                            DeidentifyTemplate = "sample-deidentify-template",
                            ImageRedactTemplate = "sample-image-redact-template",
                            StructuredDeidentifyTemplate = "sample-structured-deidentify-template",
                        },
                    },
                },
            },
            StorageConfig = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobStorageConfigArgs
            {
                CloudStorageOptions = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsArgs
                {
                    FileSet = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsFileSetArgs
                    {
                        Url = "gs://mybucket/directory/",
                    },
                },
            },
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.bigquery.Dataset;
import com.pulumi.gcp.bigquery.DatasetArgs;
import com.pulumi.gcp.bigquery.Table;
import com.pulumi.gcp.bigquery.TableArgs;
import com.pulumi.gcp.bigquery.inputs.TableTimePartitioningArgs;
import com.pulumi.gcp.dataloss.PreventionJobTrigger;
import com.pulumi.gcp.dataloss.PreventionJobTriggerArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerTriggerArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerTriggerScheduleArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobStorageConfigArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsFileSetArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var default_ = new Dataset("default", DatasetArgs.builder()
            .datasetId("tf_test")
            .friendlyName("terraform-test")
            .description("Description for the dataset created by terraform")
            .location("US")
            .defaultTableExpirationMs(3600000)
            .labels(Map.of("env", "default"))
            .build());
        var defaultTable = new Table("defaultTable", TableArgs.builder()
            .datasetId(default_.datasetId())
            .tableId("tf_test")
            .deletionProtection(false)
            .timePartitioning(TableTimePartitioningArgs.builder()
                .type("DAY")
                .build())
            .labels(Map.of("env", "default"))
            .schema("""
    [
    {
      "name": "quantity",
      "type": "NUMERIC",
      "mode": "NULLABLE",
      "description": "The quantity"
    },
    {
      "name": "name",
      "type": "STRING",
      "mode": "NULLABLE",
      "description": "Name of the object"
    }
    ]
            """)
            .build());
        var deidentify = new PreventionJobTrigger("deidentify", PreventionJobTriggerArgs.builder()
            .parent("projects/my-project-name")
            .description("Description for the job_trigger created by terraform")
            .displayName("TerraformDisplayName")
            .triggers(PreventionJobTriggerTriggerArgs.builder()
                .schedule(PreventionJobTriggerTriggerScheduleArgs.builder()
                    .recurrencePeriodDuration("86400s")
                    .build())
                .build())
            .inspectJob(PreventionJobTriggerInspectJobArgs.builder()
                .inspectTemplateName("sample-inspect-template")
                .actions(PreventionJobTriggerInspectJobActionArgs.builder()
                    .deidentify(PreventionJobTriggerInspectJobActionDeidentifyArgs.builder()
                        .cloudStorageOutput("gs://samplebucket/dir/")
                        .fileTypesToTransforms(                        
                            "CSV",
                            "TSV")
                        .transformationDetailsStorageConfig(PreventionJobTriggerInspectJobActionDeidentifyTransformationDetailsStorageConfigArgs.builder()
                            .table(PreventionJobTriggerInspectJobActionDeidentifyTransformationDetailsStorageConfigTableArgs.builder()
                                .projectId("my-project-name")
                                .datasetId(default_.datasetId())
                                .tableId(defaultTable.tableId())
                                .build())
                            .build())
                        .transformationConfig(PreventionJobTriggerInspectJobActionDeidentifyTransformationConfigArgs.builder()
                            .deidentifyTemplate("sample-deidentify-template")
                            .imageRedactTemplate("sample-image-redact-template")
                            .structuredDeidentifyTemplate("sample-structured-deidentify-template")
                            .build())
                        .build())
                    .build())
                .storageConfig(PreventionJobTriggerInspectJobStorageConfigArgs.builder()
                    .cloudStorageOptions(PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsArgs.builder()
                        .fileSet(PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsFileSetArgs.builder()
                            .url("gs://mybucket/directory/")
                            .build())
                        .build())
                    .build())
                .build())
            .build());
    }
}
resources:
  deidentify:
    type: gcp:dataloss:PreventionJobTrigger
    properties:
      parent: projects/my-project-name
      description: Description for the job_trigger created by terraform
      displayName: TerraformDisplayName
      triggers:
        - schedule:
            recurrencePeriodDuration: 86400s
      inspectJob:
        inspectTemplateName: sample-inspect-template
        actions:
          - deidentify:
              cloudStorageOutput: gs://samplebucket/dir/
              fileTypesToTransforms:
                - CSV
                - TSV
              transformationDetailsStorageConfig:
                table:
                  projectId: my-project-name
                  datasetId: ${default.datasetId}
                  tableId: ${defaultTable.tableId}
              transformationConfig:
                deidentifyTemplate: sample-deidentify-template
                imageRedactTemplate: sample-image-redact-template
                structuredDeidentifyTemplate: sample-structured-deidentify-template
        storageConfig:
          cloudStorageOptions:
            fileSet:
              url: gs://mybucket/directory/
  default:
    type: gcp:bigquery:Dataset
    properties:
      datasetId: tf_test
      friendlyName: terraform-test
      description: Description for the dataset created by terraform
      location: US
      defaultTableExpirationMs: 3.6e+06
      labels:
        env: default
  defaultTable:
    type: gcp:bigquery:Table
    name: default
    properties:
      datasetId: ${default.datasetId}
      tableId: tf_test
      deletionProtection: false
      timePartitioning:
        type: DAY
      labels:
        env: default
      schema: |2
            [
            {
              "name": "quantity",
              "type": "NUMERIC",
              "mode": "NULLABLE",
              "description": "The quantity"
            },
            {
              "name": "name",
              "type": "STRING",
              "mode": "NULLABLE",
              "description": "Name of the object"
            }
            ]
Dlp Job Trigger Hybrid
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const hybridTrigger = new gcp.dataloss.PreventionJobTrigger("hybrid_trigger", {
    parent: "projects/my-project-name",
    triggers: [{
        manual: {},
    }],
    inspectJob: {
        inspectTemplateName: "fake",
        actions: [{
            saveFindings: {
                outputConfig: {
                    table: {
                        projectId: "project",
                        datasetId: "dataset",
                    },
                },
            },
        }],
        storageConfig: {
            hybridOptions: {
                description: "Hybrid job trigger for data from the comments field of a table that contains customer appointment bookings",
                requiredFindingLabelKeys: ["appointment-bookings-comments"],
                labels: {
                    env: "prod",
                },
                tableOptions: {
                    identifyingFields: [{
                        name: "booking_id",
                    }],
                },
            },
        },
    },
});
import pulumi
import pulumi_gcp as gcp
hybrid_trigger = gcp.dataloss.PreventionJobTrigger("hybrid_trigger",
    parent="projects/my-project-name",
    triggers=[{
        "manual": {},
    }],
    inspect_job={
        "inspect_template_name": "fake",
        "actions": [{
            "save_findings": {
                "output_config": {
                    "table": {
                        "project_id": "project",
                        "dataset_id": "dataset",
                    },
                },
            },
        }],
        "storage_config": {
            "hybrid_options": {
                "description": "Hybrid job trigger for data from the comments field of a table that contains customer appointment bookings",
                "required_finding_label_keys": ["appointment-bookings-comments"],
                "labels": {
                    "env": "prod",
                },
                "table_options": {
                    "identifying_fields": [{
                        "name": "booking_id",
                    }],
                },
            },
        },
    })
package main
import (
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/dataloss"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dataloss.NewPreventionJobTrigger(ctx, "hybrid_trigger", &dataloss.PreventionJobTriggerArgs{
			Parent: pulumi.String("projects/my-project-name"),
			Triggers: dataloss.PreventionJobTriggerTriggerArray{
				&dataloss.PreventionJobTriggerTriggerArgs{
					Manual: &dataloss.PreventionJobTriggerTriggerManualArgs{},
				},
			},
			InspectJob: &dataloss.PreventionJobTriggerInspectJobArgs{
				InspectTemplateName: pulumi.String("fake"),
				Actions: dataloss.PreventionJobTriggerInspectJobActionArray{
					&dataloss.PreventionJobTriggerInspectJobActionArgs{
						SaveFindings: &dataloss.PreventionJobTriggerInspectJobActionSaveFindingsArgs{
							OutputConfig: &dataloss.PreventionJobTriggerInspectJobActionSaveFindingsOutputConfigArgs{
								Table: &dataloss.PreventionJobTriggerInspectJobActionSaveFindingsOutputConfigTableArgs{
									ProjectId: pulumi.String("project"),
									DatasetId: pulumi.String("dataset"),
								},
							},
						},
					},
				},
				StorageConfig: &dataloss.PreventionJobTriggerInspectJobStorageConfigArgs{
					HybridOptions: &dataloss.PreventionJobTriggerInspectJobStorageConfigHybridOptionsArgs{
						Description: pulumi.String("Hybrid job trigger for data from the comments field of a table that contains customer appointment bookings"),
						RequiredFindingLabelKeys: pulumi.StringArray{
							pulumi.String("appointment-bookings-comments"),
						},
						Labels: pulumi.StringMap{
							"env": pulumi.String("prod"),
						},
						TableOptions: &dataloss.PreventionJobTriggerInspectJobStorageConfigHybridOptionsTableOptionsArgs{
							IdentifyingFields: dataloss.PreventionJobTriggerInspectJobStorageConfigHybridOptionsTableOptionsIdentifyingFieldArray{
								&dataloss.PreventionJobTriggerInspectJobStorageConfigHybridOptionsTableOptionsIdentifyingFieldArgs{
									Name: pulumi.String("booking_id"),
								},
							},
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() => 
{
    var hybridTrigger = new Gcp.DataLoss.PreventionJobTrigger("hybrid_trigger", new()
    {
        Parent = "projects/my-project-name",
        Triggers = new[]
        {
            new Gcp.DataLoss.Inputs.PreventionJobTriggerTriggerArgs
            {
                Manual = null,
            },
        },
        InspectJob = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobArgs
        {
            InspectTemplateName = "fake",
            Actions = new[]
            {
                new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobActionArgs
                {
                    SaveFindings = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobActionSaveFindingsArgs
                    {
                        OutputConfig = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobActionSaveFindingsOutputConfigArgs
                        {
                            Table = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobActionSaveFindingsOutputConfigTableArgs
                            {
                                ProjectId = "project",
                                DatasetId = "dataset",
                            },
                        },
                    },
                },
            },
            StorageConfig = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobStorageConfigArgs
            {
                HybridOptions = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobStorageConfigHybridOptionsArgs
                {
                    Description = "Hybrid job trigger for data from the comments field of a table that contains customer appointment bookings",
                    RequiredFindingLabelKeys = new[]
                    {
                        "appointment-bookings-comments",
                    },
                    Labels = 
                    {
                        { "env", "prod" },
                    },
                    TableOptions = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobStorageConfigHybridOptionsTableOptionsArgs
                    {
                        IdentifyingFields = new[]
                        {
                            new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobStorageConfigHybridOptionsTableOptionsIdentifyingFieldArgs
                            {
                                Name = "booking_id",
                            },
                        },
                    },
                },
            },
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.dataloss.PreventionJobTrigger;
import com.pulumi.gcp.dataloss.PreventionJobTriggerArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerTriggerArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerTriggerManualArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobStorageConfigArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobStorageConfigHybridOptionsArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobStorageConfigHybridOptionsTableOptionsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var hybridTrigger = new PreventionJobTrigger("hybridTrigger", PreventionJobTriggerArgs.builder()
            .parent("projects/my-project-name")
            .triggers(PreventionJobTriggerTriggerArgs.builder()
                .manual()
                .build())
            .inspectJob(PreventionJobTriggerInspectJobArgs.builder()
                .inspectTemplateName("fake")
                .actions(PreventionJobTriggerInspectJobActionArgs.builder()
                    .saveFindings(PreventionJobTriggerInspectJobActionSaveFindingsArgs.builder()
                        .outputConfig(PreventionJobTriggerInspectJobActionSaveFindingsOutputConfigArgs.builder()
                            .table(PreventionJobTriggerInspectJobActionSaveFindingsOutputConfigTableArgs.builder()
                                .projectId("project")
                                .datasetId("dataset")
                                .build())
                            .build())
                        .build())
                    .build())
                .storageConfig(PreventionJobTriggerInspectJobStorageConfigArgs.builder()
                    .hybridOptions(PreventionJobTriggerInspectJobStorageConfigHybridOptionsArgs.builder()
                        .description("Hybrid job trigger for data from the comments field of a table that contains customer appointment bookings")
                        .requiredFindingLabelKeys("appointment-bookings-comments")
                        .labels(Map.of("env", "prod"))
                        .tableOptions(PreventionJobTriggerInspectJobStorageConfigHybridOptionsTableOptionsArgs.builder()
                            .identifyingFields(PreventionJobTriggerInspectJobStorageConfigHybridOptionsTableOptionsIdentifyingFieldArgs.builder()
                                .name("booking_id")
                                .build())
                            .build())
                        .build())
                    .build())
                .build())
            .build());
    }
}
resources:
  hybridTrigger:
    type: gcp:dataloss:PreventionJobTrigger
    name: hybrid_trigger
    properties:
      parent: projects/my-project-name
      triggers:
        - manual: {}
      inspectJob:
        inspectTemplateName: fake
        actions:
          - saveFindings:
              outputConfig:
                table:
                  projectId: project
                  datasetId: dataset
        storageConfig:
          hybridOptions:
            description: Hybrid job trigger for data from the comments field of a table that contains customer appointment bookings
            requiredFindingLabelKeys:
              - appointment-bookings-comments
            labels:
              env: prod
            tableOptions:
              identifyingFields:
                - name: booking_id
Dlp Job Trigger Inspect
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const inspect = new gcp.dataloss.PreventionJobTrigger("inspect", {
    parent: "projects/my-project-name",
    description: "Description",
    displayName: "Displayname",
    triggers: [{
        schedule: {
            recurrencePeriodDuration: "86400s",
        },
    }],
    inspectJob: {
        inspectTemplateName: "fake",
        actions: [{
            saveFindings: {
                outputConfig: {
                    table: {
                        projectId: "project",
                        datasetId: "dataset",
                    },
                },
            },
        }],
        storageConfig: {
            cloudStorageOptions: {
                fileSet: {
                    url: "gs://mybucket/directory/",
                },
            },
        },
        inspectConfig: {
            customInfoTypes: [{
                infoType: {
                    name: "MY_CUSTOM_TYPE",
                },
                likelihood: "UNLIKELY",
                regex: {
                    pattern: "test*",
                },
            }],
            infoTypes: [{
                name: "EMAIL_ADDRESS",
            }],
            minLikelihood: "UNLIKELY",
            ruleSets: [
                {
                    infoTypes: [{
                        name: "EMAIL_ADDRESS",
                    }],
                    rules: [{
                        exclusionRule: {
                            regex: {
                                pattern: ".+@example.com",
                            },
                            matchingType: "MATCHING_TYPE_FULL_MATCH",
                        },
                    }],
                },
                {
                    infoTypes: [{
                        name: "MY_CUSTOM_TYPE",
                    }],
                    rules: [{
                        hotwordRule: {
                            hotwordRegex: {
                                pattern: "example*",
                            },
                            proximity: {
                                windowBefore: 50,
                            },
                            likelihoodAdjustment: {
                                fixedLikelihood: "VERY_LIKELY",
                            },
                        },
                    }],
                },
            ],
            limits: {
                maxFindingsPerItem: 10,
                maxFindingsPerRequest: 50,
            },
        },
    },
});
import pulumi
import pulumi_gcp as gcp
inspect = gcp.dataloss.PreventionJobTrigger("inspect",
    parent="projects/my-project-name",
    description="Description",
    display_name="Displayname",
    triggers=[{
        "schedule": {
            "recurrence_period_duration": "86400s",
        },
    }],
    inspect_job={
        "inspect_template_name": "fake",
        "actions": [{
            "save_findings": {
                "output_config": {
                    "table": {
                        "project_id": "project",
                        "dataset_id": "dataset",
                    },
                },
            },
        }],
        "storage_config": {
            "cloud_storage_options": {
                "file_set": {
                    "url": "gs://mybucket/directory/",
                },
            },
        },
        "inspect_config": {
            "custom_info_types": [{
                "info_type": {
                    "name": "MY_CUSTOM_TYPE",
                },
                "likelihood": "UNLIKELY",
                "regex": {
                    "pattern": "test*",
                },
            }],
            "info_types": [{
                "name": "EMAIL_ADDRESS",
            }],
            "min_likelihood": "UNLIKELY",
            "rule_sets": [
                {
                    "info_types": [{
                        "name": "EMAIL_ADDRESS",
                    }],
                    "rules": [{
                        "exclusion_rule": {
                            "regex": {
                                "pattern": ".+@example.com",
                            },
                            "matching_type": "MATCHING_TYPE_FULL_MATCH",
                        },
                    }],
                },
                {
                    "info_types": [{
                        "name": "MY_CUSTOM_TYPE",
                    }],
                    "rules": [{
                        "hotword_rule": {
                            "hotword_regex": {
                                "pattern": "example*",
                            },
                            "proximity": {
                                "window_before": 50,
                            },
                            "likelihood_adjustment": {
                                "fixed_likelihood": "VERY_LIKELY",
                            },
                        },
                    }],
                },
            ],
            "limits": {
                "max_findings_per_item": 10,
                "max_findings_per_request": 50,
            },
        },
    })
package main
import (
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/dataloss"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dataloss.NewPreventionJobTrigger(ctx, "inspect", &dataloss.PreventionJobTriggerArgs{
			Parent:      pulumi.String("projects/my-project-name"),
			Description: pulumi.String("Description"),
			DisplayName: pulumi.String("Displayname"),
			Triggers: dataloss.PreventionJobTriggerTriggerArray{
				&dataloss.PreventionJobTriggerTriggerArgs{
					Schedule: &dataloss.PreventionJobTriggerTriggerScheduleArgs{
						RecurrencePeriodDuration: pulumi.String("86400s"),
					},
				},
			},
			InspectJob: &dataloss.PreventionJobTriggerInspectJobArgs{
				InspectTemplateName: pulumi.String("fake"),
				Actions: dataloss.PreventionJobTriggerInspectJobActionArray{
					&dataloss.PreventionJobTriggerInspectJobActionArgs{
						SaveFindings: &dataloss.PreventionJobTriggerInspectJobActionSaveFindingsArgs{
							OutputConfig: &dataloss.PreventionJobTriggerInspectJobActionSaveFindingsOutputConfigArgs{
								Table: &dataloss.PreventionJobTriggerInspectJobActionSaveFindingsOutputConfigTableArgs{
									ProjectId: pulumi.String("project"),
									DatasetId: pulumi.String("dataset"),
								},
							},
						},
					},
				},
				StorageConfig: &dataloss.PreventionJobTriggerInspectJobStorageConfigArgs{
					CloudStorageOptions: &dataloss.PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsArgs{
						FileSet: &dataloss.PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsFileSetArgs{
							Url: pulumi.String("gs://mybucket/directory/"),
						},
					},
				},
				InspectConfig: &dataloss.PreventionJobTriggerInspectJobInspectConfigArgs{
					CustomInfoTypes: dataloss.PreventionJobTriggerInspectJobInspectConfigCustomInfoTypeArray{
						&dataloss.PreventionJobTriggerInspectJobInspectConfigCustomInfoTypeArgs{
							InfoType: &dataloss.PreventionJobTriggerInspectJobInspectConfigCustomInfoTypeInfoTypeArgs{
								Name: pulumi.String("MY_CUSTOM_TYPE"),
							},
							Likelihood: pulumi.String("UNLIKELY"),
							Regex: &dataloss.PreventionJobTriggerInspectJobInspectConfigCustomInfoTypeRegexArgs{
								Pattern: pulumi.String("test*"),
							},
						},
					},
					InfoTypes: dataloss.PreventionJobTriggerInspectJobInspectConfigInfoTypeArray{
						&dataloss.PreventionJobTriggerInspectJobInspectConfigInfoTypeArgs{
							Name: pulumi.String("EMAIL_ADDRESS"),
						},
					},
					MinLikelihood: pulumi.String("UNLIKELY"),
					RuleSets: dataloss.PreventionJobTriggerInspectJobInspectConfigRuleSetArray{
						&dataloss.PreventionJobTriggerInspectJobInspectConfigRuleSetArgs{
							InfoTypes: dataloss.PreventionJobTriggerInspectJobInspectConfigRuleSetInfoTypeArray{
								&dataloss.PreventionJobTriggerInspectJobInspectConfigRuleSetInfoTypeArgs{
									Name: pulumi.String("EMAIL_ADDRESS"),
								},
							},
							Rules: dataloss.PreventionJobTriggerInspectJobInspectConfigRuleSetRuleArray{
								&dataloss.PreventionJobTriggerInspectJobInspectConfigRuleSetRuleArgs{
									ExclusionRule: &dataloss.PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleArgs{
										Regex: &dataloss.PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleRegexArgs{
											Pattern: pulumi.String(".+@example.com"),
										},
										MatchingType: pulumi.String("MATCHING_TYPE_FULL_MATCH"),
									},
								},
							},
						},
						&dataloss.PreventionJobTriggerInspectJobInspectConfigRuleSetArgs{
							InfoTypes: dataloss.PreventionJobTriggerInspectJobInspectConfigRuleSetInfoTypeArray{
								&dataloss.PreventionJobTriggerInspectJobInspectConfigRuleSetInfoTypeArgs{
									Name: pulumi.String("MY_CUSTOM_TYPE"),
								},
							},
							Rules: dataloss.PreventionJobTriggerInspectJobInspectConfigRuleSetRuleArray{
								&dataloss.PreventionJobTriggerInspectJobInspectConfigRuleSetRuleArgs{
									HotwordRule: &dataloss.PreventionJobTriggerInspectJobInspectConfigRuleSetRuleHotwordRuleArgs{
										HotwordRegex: &dataloss.PreventionJobTriggerInspectJobInspectConfigRuleSetRuleHotwordRuleHotwordRegexArgs{
											Pattern: pulumi.String("example*"),
										},
										Proximity: &dataloss.PreventionJobTriggerInspectJobInspectConfigRuleSetRuleHotwordRuleProximityArgs{
											WindowBefore: pulumi.Int(50),
										},
										LikelihoodAdjustment: &dataloss.PreventionJobTriggerInspectJobInspectConfigRuleSetRuleHotwordRuleLikelihoodAdjustmentArgs{
											FixedLikelihood: pulumi.String("VERY_LIKELY"),
										},
									},
								},
							},
						},
					},
					Limits: &dataloss.PreventionJobTriggerInspectJobInspectConfigLimitsArgs{
						MaxFindingsPerItem:    pulumi.Int(10),
						MaxFindingsPerRequest: pulumi.Int(50),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() => 
{
    var inspect = new Gcp.DataLoss.PreventionJobTrigger("inspect", new()
    {
        Parent = "projects/my-project-name",
        Description = "Description",
        DisplayName = "Displayname",
        Triggers = new[]
        {
            new Gcp.DataLoss.Inputs.PreventionJobTriggerTriggerArgs
            {
                Schedule = new Gcp.DataLoss.Inputs.PreventionJobTriggerTriggerScheduleArgs
                {
                    RecurrencePeriodDuration = "86400s",
                },
            },
        },
        InspectJob = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobArgs
        {
            InspectTemplateName = "fake",
            Actions = new[]
            {
                new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobActionArgs
                {
                    SaveFindings = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobActionSaveFindingsArgs
                    {
                        OutputConfig = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobActionSaveFindingsOutputConfigArgs
                        {
                            Table = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobActionSaveFindingsOutputConfigTableArgs
                            {
                                ProjectId = "project",
                                DatasetId = "dataset",
                            },
                        },
                    },
                },
            },
            StorageConfig = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobStorageConfigArgs
            {
                CloudStorageOptions = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsArgs
                {
                    FileSet = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsFileSetArgs
                    {
                        Url = "gs://mybucket/directory/",
                    },
                },
            },
            InspectConfig = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobInspectConfigArgs
            {
                CustomInfoTypes = new[]
                {
                    new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobInspectConfigCustomInfoTypeArgs
                    {
                        InfoType = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobInspectConfigCustomInfoTypeInfoTypeArgs
                        {
                            Name = "MY_CUSTOM_TYPE",
                        },
                        Likelihood = "UNLIKELY",
                        Regex = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobInspectConfigCustomInfoTypeRegexArgs
                        {
                            Pattern = "test*",
                        },
                    },
                },
                InfoTypes = new[]
                {
                    new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobInspectConfigInfoTypeArgs
                    {
                        Name = "EMAIL_ADDRESS",
                    },
                },
                MinLikelihood = "UNLIKELY",
                RuleSets = new[]
                {
                    new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobInspectConfigRuleSetArgs
                    {
                        InfoTypes = new[]
                        {
                            new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobInspectConfigRuleSetInfoTypeArgs
                            {
                                Name = "EMAIL_ADDRESS",
                            },
                        },
                        Rules = new[]
                        {
                            new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobInspectConfigRuleSetRuleArgs
                            {
                                ExclusionRule = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleArgs
                                {
                                    Regex = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleRegexArgs
                                    {
                                        Pattern = ".+@example.com",
                                    },
                                    MatchingType = "MATCHING_TYPE_FULL_MATCH",
                                },
                            },
                        },
                    },
                    new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobInspectConfigRuleSetArgs
                    {
                        InfoTypes = new[]
                        {
                            new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobInspectConfigRuleSetInfoTypeArgs
                            {
                                Name = "MY_CUSTOM_TYPE",
                            },
                        },
                        Rules = new[]
                        {
                            new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobInspectConfigRuleSetRuleArgs
                            {
                                HotwordRule = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobInspectConfigRuleSetRuleHotwordRuleArgs
                                {
                                    HotwordRegex = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobInspectConfigRuleSetRuleHotwordRuleHotwordRegexArgs
                                    {
                                        Pattern = "example*",
                                    },
                                    Proximity = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobInspectConfigRuleSetRuleHotwordRuleProximityArgs
                                    {
                                        WindowBefore = 50,
                                    },
                                    LikelihoodAdjustment = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobInspectConfigRuleSetRuleHotwordRuleLikelihoodAdjustmentArgs
                                    {
                                        FixedLikelihood = "VERY_LIKELY",
                                    },
                                },
                            },
                        },
                    },
                },
                Limits = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobInspectConfigLimitsArgs
                {
                    MaxFindingsPerItem = 10,
                    MaxFindingsPerRequest = 50,
                },
            },
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.dataloss.PreventionJobTrigger;
import com.pulumi.gcp.dataloss.PreventionJobTriggerArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerTriggerArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerTriggerScheduleArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobStorageConfigArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsFileSetArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobInspectConfigArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobInspectConfigLimitsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var inspect = new PreventionJobTrigger("inspect", PreventionJobTriggerArgs.builder()
            .parent("projects/my-project-name")
            .description("Description")
            .displayName("Displayname")
            .triggers(PreventionJobTriggerTriggerArgs.builder()
                .schedule(PreventionJobTriggerTriggerScheduleArgs.builder()
                    .recurrencePeriodDuration("86400s")
                    .build())
                .build())
            .inspectJob(PreventionJobTriggerInspectJobArgs.builder()
                .inspectTemplateName("fake")
                .actions(PreventionJobTriggerInspectJobActionArgs.builder()
                    .saveFindings(PreventionJobTriggerInspectJobActionSaveFindingsArgs.builder()
                        .outputConfig(PreventionJobTriggerInspectJobActionSaveFindingsOutputConfigArgs.builder()
                            .table(PreventionJobTriggerInspectJobActionSaveFindingsOutputConfigTableArgs.builder()
                                .projectId("project")
                                .datasetId("dataset")
                                .build())
                            .build())
                        .build())
                    .build())
                .storageConfig(PreventionJobTriggerInspectJobStorageConfigArgs.builder()
                    .cloudStorageOptions(PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsArgs.builder()
                        .fileSet(PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsFileSetArgs.builder()
                            .url("gs://mybucket/directory/")
                            .build())
                        .build())
                    .build())
                .inspectConfig(PreventionJobTriggerInspectJobInspectConfigArgs.builder()
                    .customInfoTypes(PreventionJobTriggerInspectJobInspectConfigCustomInfoTypeArgs.builder()
                        .infoType(PreventionJobTriggerInspectJobInspectConfigCustomInfoTypeInfoTypeArgs.builder()
                            .name("MY_CUSTOM_TYPE")
                            .build())
                        .likelihood("UNLIKELY")
                        .regex(PreventionJobTriggerInspectJobInspectConfigCustomInfoTypeRegexArgs.builder()
                            .pattern("test*")
                            .build())
                        .build())
                    .infoTypes(PreventionJobTriggerInspectJobInspectConfigInfoTypeArgs.builder()
                        .name("EMAIL_ADDRESS")
                        .build())
                    .minLikelihood("UNLIKELY")
                    .ruleSets(                    
                        PreventionJobTriggerInspectJobInspectConfigRuleSetArgs.builder()
                            .infoTypes(PreventionJobTriggerInspectJobInspectConfigRuleSetInfoTypeArgs.builder()
                                .name("EMAIL_ADDRESS")
                                .build())
                            .rules(PreventionJobTriggerInspectJobInspectConfigRuleSetRuleArgs.builder()
                                .exclusionRule(PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleArgs.builder()
                                    .regex(PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleRegexArgs.builder()
                                        .pattern(".+@example.com")
                                        .build())
                                    .matchingType("MATCHING_TYPE_FULL_MATCH")
                                    .build())
                                .build())
                            .build(),
                        PreventionJobTriggerInspectJobInspectConfigRuleSetArgs.builder()
                            .infoTypes(PreventionJobTriggerInspectJobInspectConfigRuleSetInfoTypeArgs.builder()
                                .name("MY_CUSTOM_TYPE")
                                .build())
                            .rules(PreventionJobTriggerInspectJobInspectConfigRuleSetRuleArgs.builder()
                                .hotwordRule(PreventionJobTriggerInspectJobInspectConfigRuleSetRuleHotwordRuleArgs.builder()
                                    .hotwordRegex(PreventionJobTriggerInspectJobInspectConfigRuleSetRuleHotwordRuleHotwordRegexArgs.builder()
                                        .pattern("example*")
                                        .build())
                                    .proximity(PreventionJobTriggerInspectJobInspectConfigRuleSetRuleHotwordRuleProximityArgs.builder()
                                        .windowBefore(50)
                                        .build())
                                    .likelihoodAdjustment(PreventionJobTriggerInspectJobInspectConfigRuleSetRuleHotwordRuleLikelihoodAdjustmentArgs.builder()
                                        .fixedLikelihood("VERY_LIKELY")
                                        .build())
                                    .build())
                                .build())
                            .build())
                    .limits(PreventionJobTriggerInspectJobInspectConfigLimitsArgs.builder()
                        .maxFindingsPerItem(10)
                        .maxFindingsPerRequest(50)
                        .build())
                    .build())
                .build())
            .build());
    }
}
resources:
  inspect:
    type: gcp:dataloss:PreventionJobTrigger
    properties:
      parent: projects/my-project-name
      description: Description
      displayName: Displayname
      triggers:
        - schedule:
            recurrencePeriodDuration: 86400s
      inspectJob:
        inspectTemplateName: fake
        actions:
          - saveFindings:
              outputConfig:
                table:
                  projectId: project
                  datasetId: dataset
        storageConfig:
          cloudStorageOptions:
            fileSet:
              url: gs://mybucket/directory/
        inspectConfig:
          customInfoTypes:
            - infoType:
                name: MY_CUSTOM_TYPE
              likelihood: UNLIKELY
              regex:
                pattern: test*
          infoTypes:
            - name: EMAIL_ADDRESS
          minLikelihood: UNLIKELY
          ruleSets:
            - infoTypes:
                - name: EMAIL_ADDRESS
              rules:
                - exclusionRule:
                    regex:
                      pattern: .+@example.com
                    matchingType: MATCHING_TYPE_FULL_MATCH
            - infoTypes:
                - name: MY_CUSTOM_TYPE
              rules:
                - hotwordRule:
                    hotwordRegex:
                      pattern: example*
                    proximity:
                      windowBefore: 50
                    likelihoodAdjustment:
                      fixedLikelihood: VERY_LIKELY
          limits:
            maxFindingsPerItem: 10
            maxFindingsPerRequest: 50
Dlp Job Trigger Publish To Stackdriver
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const publishToStackdriver = new gcp.dataloss.PreventionJobTrigger("publish_to_stackdriver", {
    parent: "projects/my-project-name",
    description: "Description for the job_trigger created by terraform",
    displayName: "TerraformDisplayName",
    triggers: [{
        schedule: {
            recurrencePeriodDuration: "86400s",
        },
    }],
    inspectJob: {
        inspectTemplateName: "sample-inspect-template",
        actions: [{
            publishToStackdriver: {},
        }],
        storageConfig: {
            cloudStorageOptions: {
                fileSet: {
                    url: "gs://mybucket/directory/",
                },
            },
        },
    },
});
import pulumi
import pulumi_gcp as gcp
publish_to_stackdriver = gcp.dataloss.PreventionJobTrigger("publish_to_stackdriver",
    parent="projects/my-project-name",
    description="Description for the job_trigger created by terraform",
    display_name="TerraformDisplayName",
    triggers=[{
        "schedule": {
            "recurrence_period_duration": "86400s",
        },
    }],
    inspect_job={
        "inspect_template_name": "sample-inspect-template",
        "actions": [{
            "publish_to_stackdriver": {},
        }],
        "storage_config": {
            "cloud_storage_options": {
                "file_set": {
                    "url": "gs://mybucket/directory/",
                },
            },
        },
    })
package main
import (
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/dataloss"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dataloss.NewPreventionJobTrigger(ctx, "publish_to_stackdriver", &dataloss.PreventionJobTriggerArgs{
			Parent:      pulumi.String("projects/my-project-name"),
			Description: pulumi.String("Description for the job_trigger created by terraform"),
			DisplayName: pulumi.String("TerraformDisplayName"),
			Triggers: dataloss.PreventionJobTriggerTriggerArray{
				&dataloss.PreventionJobTriggerTriggerArgs{
					Schedule: &dataloss.PreventionJobTriggerTriggerScheduleArgs{
						RecurrencePeriodDuration: pulumi.String("86400s"),
					},
				},
			},
			InspectJob: &dataloss.PreventionJobTriggerInspectJobArgs{
				InspectTemplateName: pulumi.String("sample-inspect-template"),
				Actions: dataloss.PreventionJobTriggerInspectJobActionArray{
					&dataloss.PreventionJobTriggerInspectJobActionArgs{
						PublishToStackdriver: &dataloss.PreventionJobTriggerInspectJobActionPublishToStackdriverArgs{},
					},
				},
				StorageConfig: &dataloss.PreventionJobTriggerInspectJobStorageConfigArgs{
					CloudStorageOptions: &dataloss.PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsArgs{
						FileSet: &dataloss.PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsFileSetArgs{
							Url: pulumi.String("gs://mybucket/directory/"),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() => 
{
    var publishToStackdriver = new Gcp.DataLoss.PreventionJobTrigger("publish_to_stackdriver", new()
    {
        Parent = "projects/my-project-name",
        Description = "Description for the job_trigger created by terraform",
        DisplayName = "TerraformDisplayName",
        Triggers = new[]
        {
            new Gcp.DataLoss.Inputs.PreventionJobTriggerTriggerArgs
            {
                Schedule = new Gcp.DataLoss.Inputs.PreventionJobTriggerTriggerScheduleArgs
                {
                    RecurrencePeriodDuration = "86400s",
                },
            },
        },
        InspectJob = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobArgs
        {
            InspectTemplateName = "sample-inspect-template",
            Actions = new[]
            {
                new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobActionArgs
                {
                    PublishToStackdriver = null,
                },
            },
            StorageConfig = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobStorageConfigArgs
            {
                CloudStorageOptions = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsArgs
                {
                    FileSet = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsFileSetArgs
                    {
                        Url = "gs://mybucket/directory/",
                    },
                },
            },
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.dataloss.PreventionJobTrigger;
import com.pulumi.gcp.dataloss.PreventionJobTriggerArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerTriggerArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerTriggerScheduleArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobStorageConfigArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsFileSetArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var publishToStackdriver = new PreventionJobTrigger("publishToStackdriver", PreventionJobTriggerArgs.builder()
            .parent("projects/my-project-name")
            .description("Description for the job_trigger created by terraform")
            .displayName("TerraformDisplayName")
            .triggers(PreventionJobTriggerTriggerArgs.builder()
                .schedule(PreventionJobTriggerTriggerScheduleArgs.builder()
                    .recurrencePeriodDuration("86400s")
                    .build())
                .build())
            .inspectJob(PreventionJobTriggerInspectJobArgs.builder()
                .inspectTemplateName("sample-inspect-template")
                .actions(PreventionJobTriggerInspectJobActionArgs.builder()
                    .publishToStackdriver()
                    .build())
                .storageConfig(PreventionJobTriggerInspectJobStorageConfigArgs.builder()
                    .cloudStorageOptions(PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsArgs.builder()
                        .fileSet(PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsFileSetArgs.builder()
                            .url("gs://mybucket/directory/")
                            .build())
                        .build())
                    .build())
                .build())
            .build());
    }
}
resources:
  publishToStackdriver:
    type: gcp:dataloss:PreventionJobTrigger
    name: publish_to_stackdriver
    properties:
      parent: projects/my-project-name
      description: Description for the job_trigger created by terraform
      displayName: TerraformDisplayName
      triggers:
        - schedule:
            recurrencePeriodDuration: 86400s
      inspectJob:
        inspectTemplateName: sample-inspect-template
        actions:
          - publishToStackdriver: {}
        storageConfig:
          cloudStorageOptions:
            fileSet:
              url: gs://mybucket/directory/
Dlp Job Trigger With Id
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const withTriggerId = new gcp.dataloss.PreventionJobTrigger("with_trigger_id", {
    parent: "projects/my-project-name",
    description: "Starting description",
    displayName: "display",
    triggerId: "id-",
    triggers: [{
        schedule: {
            recurrencePeriodDuration: "86400s",
        },
    }],
    inspectJob: {
        inspectTemplateName: "fake",
        actions: [{
            saveFindings: {
                outputConfig: {
                    table: {
                        projectId: "project",
                        datasetId: "dataset123",
                    },
                },
            },
        }],
        storageConfig: {
            cloudStorageOptions: {
                fileSet: {
                    url: "gs://mybucket/directory/",
                },
            },
        },
    },
});
import pulumi
import pulumi_gcp as gcp
with_trigger_id = gcp.dataloss.PreventionJobTrigger("with_trigger_id",
    parent="projects/my-project-name",
    description="Starting description",
    display_name="display",
    trigger_id="id-",
    triggers=[{
        "schedule": {
            "recurrence_period_duration": "86400s",
        },
    }],
    inspect_job={
        "inspect_template_name": "fake",
        "actions": [{
            "save_findings": {
                "output_config": {
                    "table": {
                        "project_id": "project",
                        "dataset_id": "dataset123",
                    },
                },
            },
        }],
        "storage_config": {
            "cloud_storage_options": {
                "file_set": {
                    "url": "gs://mybucket/directory/",
                },
            },
        },
    })
package main
import (
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/dataloss"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dataloss.NewPreventionJobTrigger(ctx, "with_trigger_id", &dataloss.PreventionJobTriggerArgs{
			Parent:      pulumi.String("projects/my-project-name"),
			Description: pulumi.String("Starting description"),
			DisplayName: pulumi.String("display"),
			TriggerId:   pulumi.String("id-"),
			Triggers: dataloss.PreventionJobTriggerTriggerArray{
				&dataloss.PreventionJobTriggerTriggerArgs{
					Schedule: &dataloss.PreventionJobTriggerTriggerScheduleArgs{
						RecurrencePeriodDuration: pulumi.String("86400s"),
					},
				},
			},
			InspectJob: &dataloss.PreventionJobTriggerInspectJobArgs{
				InspectTemplateName: pulumi.String("fake"),
				Actions: dataloss.PreventionJobTriggerInspectJobActionArray{
					&dataloss.PreventionJobTriggerInspectJobActionArgs{
						SaveFindings: &dataloss.PreventionJobTriggerInspectJobActionSaveFindingsArgs{
							OutputConfig: &dataloss.PreventionJobTriggerInspectJobActionSaveFindingsOutputConfigArgs{
								Table: &dataloss.PreventionJobTriggerInspectJobActionSaveFindingsOutputConfigTableArgs{
									ProjectId: pulumi.String("project"),
									DatasetId: pulumi.String("dataset123"),
								},
							},
						},
					},
				},
				StorageConfig: &dataloss.PreventionJobTriggerInspectJobStorageConfigArgs{
					CloudStorageOptions: &dataloss.PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsArgs{
						FileSet: &dataloss.PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsFileSetArgs{
							Url: pulumi.String("gs://mybucket/directory/"),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() => 
{
    var withTriggerId = new Gcp.DataLoss.PreventionJobTrigger("with_trigger_id", new()
    {
        Parent = "projects/my-project-name",
        Description = "Starting description",
        DisplayName = "display",
        TriggerId = "id-",
        Triggers = new[]
        {
            new Gcp.DataLoss.Inputs.PreventionJobTriggerTriggerArgs
            {
                Schedule = new Gcp.DataLoss.Inputs.PreventionJobTriggerTriggerScheduleArgs
                {
                    RecurrencePeriodDuration = "86400s",
                },
            },
        },
        InspectJob = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobArgs
        {
            InspectTemplateName = "fake",
            Actions = new[]
            {
                new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobActionArgs
                {
                    SaveFindings = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobActionSaveFindingsArgs
                    {
                        OutputConfig = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobActionSaveFindingsOutputConfigArgs
                        {
                            Table = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobActionSaveFindingsOutputConfigTableArgs
                            {
                                ProjectId = "project",
                                DatasetId = "dataset123",
                            },
                        },
                    },
                },
            },
            StorageConfig = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobStorageConfigArgs
            {
                CloudStorageOptions = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsArgs
                {
                    FileSet = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsFileSetArgs
                    {
                        Url = "gs://mybucket/directory/",
                    },
                },
            },
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.dataloss.PreventionJobTrigger;
import com.pulumi.gcp.dataloss.PreventionJobTriggerArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerTriggerArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerTriggerScheduleArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobStorageConfigArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsFileSetArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var withTriggerId = new PreventionJobTrigger("withTriggerId", PreventionJobTriggerArgs.builder()
            .parent("projects/my-project-name")
            .description("Starting description")
            .displayName("display")
            .triggerId("id-")
            .triggers(PreventionJobTriggerTriggerArgs.builder()
                .schedule(PreventionJobTriggerTriggerScheduleArgs.builder()
                    .recurrencePeriodDuration("86400s")
                    .build())
                .build())
            .inspectJob(PreventionJobTriggerInspectJobArgs.builder()
                .inspectTemplateName("fake")
                .actions(PreventionJobTriggerInspectJobActionArgs.builder()
                    .saveFindings(PreventionJobTriggerInspectJobActionSaveFindingsArgs.builder()
                        .outputConfig(PreventionJobTriggerInspectJobActionSaveFindingsOutputConfigArgs.builder()
                            .table(PreventionJobTriggerInspectJobActionSaveFindingsOutputConfigTableArgs.builder()
                                .projectId("project")
                                .datasetId("dataset123")
                                .build())
                            .build())
                        .build())
                    .build())
                .storageConfig(PreventionJobTriggerInspectJobStorageConfigArgs.builder()
                    .cloudStorageOptions(PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsArgs.builder()
                        .fileSet(PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsFileSetArgs.builder()
                            .url("gs://mybucket/directory/")
                            .build())
                        .build())
                    .build())
                .build())
            .build());
    }
}
resources:
  withTriggerId:
    type: gcp:dataloss:PreventionJobTrigger
    name: with_trigger_id
    properties:
      parent: projects/my-project-name
      description: Starting description
      displayName: display
      triggerId: id-
      triggers:
        - schedule:
            recurrencePeriodDuration: 86400s
      inspectJob:
        inspectTemplateName: fake
        actions:
          - saveFindings:
              outputConfig:
                table:
                  projectId: project
                  datasetId: dataset123
        storageConfig:
          cloudStorageOptions:
            fileSet:
              url: gs://mybucket/directory/
Dlp Job Trigger Multiple Actions
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const basic = new gcp.dataloss.PreventionJobTrigger("basic", {
    parent: "projects/my-project-name",
    description: "Description",
    displayName: "Displayname",
    triggers: [{
        schedule: {
            recurrencePeriodDuration: "86400s",
        },
    }],
    inspectJob: {
        inspectTemplateName: "fake",
        actions: [
            {
                saveFindings: {
                    outputConfig: {
                        table: {
                            projectId: "project",
                            datasetId: "dataset",
                        },
                    },
                },
            },
            {
                pubSub: {
                    topic: "projects/project/topics/topic-name",
                },
            },
        ],
        storageConfig: {
            cloudStorageOptions: {
                fileSet: {
                    url: "gs://mybucket/directory/",
                },
            },
        },
    },
});
import pulumi
import pulumi_gcp as gcp
basic = gcp.dataloss.PreventionJobTrigger("basic",
    parent="projects/my-project-name",
    description="Description",
    display_name="Displayname",
    triggers=[{
        "schedule": {
            "recurrence_period_duration": "86400s",
        },
    }],
    inspect_job={
        "inspect_template_name": "fake",
        "actions": [
            {
                "save_findings": {
                    "output_config": {
                        "table": {
                            "project_id": "project",
                            "dataset_id": "dataset",
                        },
                    },
                },
            },
            {
                "pub_sub": {
                    "topic": "projects/project/topics/topic-name",
                },
            },
        ],
        "storage_config": {
            "cloud_storage_options": {
                "file_set": {
                    "url": "gs://mybucket/directory/",
                },
            },
        },
    })
package main
import (
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/dataloss"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dataloss.NewPreventionJobTrigger(ctx, "basic", &dataloss.PreventionJobTriggerArgs{
			Parent:      pulumi.String("projects/my-project-name"),
			Description: pulumi.String("Description"),
			DisplayName: pulumi.String("Displayname"),
			Triggers: dataloss.PreventionJobTriggerTriggerArray{
				&dataloss.PreventionJobTriggerTriggerArgs{
					Schedule: &dataloss.PreventionJobTriggerTriggerScheduleArgs{
						RecurrencePeriodDuration: pulumi.String("86400s"),
					},
				},
			},
			InspectJob: &dataloss.PreventionJobTriggerInspectJobArgs{
				InspectTemplateName: pulumi.String("fake"),
				Actions: dataloss.PreventionJobTriggerInspectJobActionArray{
					&dataloss.PreventionJobTriggerInspectJobActionArgs{
						SaveFindings: &dataloss.PreventionJobTriggerInspectJobActionSaveFindingsArgs{
							OutputConfig: &dataloss.PreventionJobTriggerInspectJobActionSaveFindingsOutputConfigArgs{
								Table: &dataloss.PreventionJobTriggerInspectJobActionSaveFindingsOutputConfigTableArgs{
									ProjectId: pulumi.String("project"),
									DatasetId: pulumi.String("dataset"),
								},
							},
						},
					},
					&dataloss.PreventionJobTriggerInspectJobActionArgs{
						PubSub: &dataloss.PreventionJobTriggerInspectJobActionPubSubArgs{
							Topic: pulumi.String("projects/project/topics/topic-name"),
						},
					},
				},
				StorageConfig: &dataloss.PreventionJobTriggerInspectJobStorageConfigArgs{
					CloudStorageOptions: &dataloss.PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsArgs{
						FileSet: &dataloss.PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsFileSetArgs{
							Url: pulumi.String("gs://mybucket/directory/"),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() => 
{
    var basic = new Gcp.DataLoss.PreventionJobTrigger("basic", new()
    {
        Parent = "projects/my-project-name",
        Description = "Description",
        DisplayName = "Displayname",
        Triggers = new[]
        {
            new Gcp.DataLoss.Inputs.PreventionJobTriggerTriggerArgs
            {
                Schedule = new Gcp.DataLoss.Inputs.PreventionJobTriggerTriggerScheduleArgs
                {
                    RecurrencePeriodDuration = "86400s",
                },
            },
        },
        InspectJob = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobArgs
        {
            InspectTemplateName = "fake",
            Actions = new[]
            {
                new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobActionArgs
                {
                    SaveFindings = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobActionSaveFindingsArgs
                    {
                        OutputConfig = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobActionSaveFindingsOutputConfigArgs
                        {
                            Table = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobActionSaveFindingsOutputConfigTableArgs
                            {
                                ProjectId = "project",
                                DatasetId = "dataset",
                            },
                        },
                    },
                },
                new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobActionArgs
                {
                    PubSub = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobActionPubSubArgs
                    {
                        Topic = "projects/project/topics/topic-name",
                    },
                },
            },
            StorageConfig = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobStorageConfigArgs
            {
                CloudStorageOptions = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsArgs
                {
                    FileSet = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsFileSetArgs
                    {
                        Url = "gs://mybucket/directory/",
                    },
                },
            },
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.dataloss.PreventionJobTrigger;
import com.pulumi.gcp.dataloss.PreventionJobTriggerArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerTriggerArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerTriggerScheduleArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobStorageConfigArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsFileSetArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var basic = new PreventionJobTrigger("basic", PreventionJobTriggerArgs.builder()
            .parent("projects/my-project-name")
            .description("Description")
            .displayName("Displayname")
            .triggers(PreventionJobTriggerTriggerArgs.builder()
                .schedule(PreventionJobTriggerTriggerScheduleArgs.builder()
                    .recurrencePeriodDuration("86400s")
                    .build())
                .build())
            .inspectJob(PreventionJobTriggerInspectJobArgs.builder()
                .inspectTemplateName("fake")
                .actions(                
                    PreventionJobTriggerInspectJobActionArgs.builder()
                        .saveFindings(PreventionJobTriggerInspectJobActionSaveFindingsArgs.builder()
                            .outputConfig(PreventionJobTriggerInspectJobActionSaveFindingsOutputConfigArgs.builder()
                                .table(PreventionJobTriggerInspectJobActionSaveFindingsOutputConfigTableArgs.builder()
                                    .projectId("project")
                                    .datasetId("dataset")
                                    .build())
                                .build())
                            .build())
                        .build(),
                    PreventionJobTriggerInspectJobActionArgs.builder()
                        .pubSub(PreventionJobTriggerInspectJobActionPubSubArgs.builder()
                            .topic("projects/project/topics/topic-name")
                            .build())
                        .build())
                .storageConfig(PreventionJobTriggerInspectJobStorageConfigArgs.builder()
                    .cloudStorageOptions(PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsArgs.builder()
                        .fileSet(PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsFileSetArgs.builder()
                            .url("gs://mybucket/directory/")
                            .build())
                        .build())
                    .build())
                .build())
            .build());
    }
}
resources:
  basic:
    type: gcp:dataloss:PreventionJobTrigger
    properties:
      parent: projects/my-project-name
      description: Description
      displayName: Displayname
      triggers:
        - schedule:
            recurrencePeriodDuration: 86400s
      inspectJob:
        inspectTemplateName: fake
        actions:
          - saveFindings:
              outputConfig:
                table:
                  projectId: project
                  datasetId: dataset
          - pubSub:
              topic: projects/project/topics/topic-name
        storageConfig:
          cloudStorageOptions:
            fileSet:
              url: gs://mybucket/directory/
Dlp Job Trigger Cloud Storage Optional Timespan Autopopulation
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const basic = new gcp.dataloss.PreventionJobTrigger("basic", {
    parent: "projects/my-project-name",
    description: "Description",
    displayName: "Displayname",
    triggers: [{
        schedule: {
            recurrencePeriodDuration: "86400s",
        },
    }],
    inspectJob: {
        inspectTemplateName: "fake",
        actions: [{
            saveFindings: {
                outputConfig: {
                    table: {
                        projectId: "project",
                        datasetId: "dataset",
                    },
                },
            },
        }],
        storageConfig: {
            timespanConfig: {
                enableAutoPopulationOfTimespanConfig: true,
            },
            cloudStorageOptions: {
                fileSet: {
                    url: "gs://mybucket/directory/",
                },
            },
        },
    },
});
import pulumi
import pulumi_gcp as gcp
basic = gcp.dataloss.PreventionJobTrigger("basic",
    parent="projects/my-project-name",
    description="Description",
    display_name="Displayname",
    triggers=[{
        "schedule": {
            "recurrence_period_duration": "86400s",
        },
    }],
    inspect_job={
        "inspect_template_name": "fake",
        "actions": [{
            "save_findings": {
                "output_config": {
                    "table": {
                        "project_id": "project",
                        "dataset_id": "dataset",
                    },
                },
            },
        }],
        "storage_config": {
            "timespan_config": {
                "enable_auto_population_of_timespan_config": True,
            },
            "cloud_storage_options": {
                "file_set": {
                    "url": "gs://mybucket/directory/",
                },
            },
        },
    })
package main
import (
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/dataloss"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dataloss.NewPreventionJobTrigger(ctx, "basic", &dataloss.PreventionJobTriggerArgs{
			Parent:      pulumi.String("projects/my-project-name"),
			Description: pulumi.String("Description"),
			DisplayName: pulumi.String("Displayname"),
			Triggers: dataloss.PreventionJobTriggerTriggerArray{
				&dataloss.PreventionJobTriggerTriggerArgs{
					Schedule: &dataloss.PreventionJobTriggerTriggerScheduleArgs{
						RecurrencePeriodDuration: pulumi.String("86400s"),
					},
				},
			},
			InspectJob: &dataloss.PreventionJobTriggerInspectJobArgs{
				InspectTemplateName: pulumi.String("fake"),
				Actions: dataloss.PreventionJobTriggerInspectJobActionArray{
					&dataloss.PreventionJobTriggerInspectJobActionArgs{
						SaveFindings: &dataloss.PreventionJobTriggerInspectJobActionSaveFindingsArgs{
							OutputConfig: &dataloss.PreventionJobTriggerInspectJobActionSaveFindingsOutputConfigArgs{
								Table: &dataloss.PreventionJobTriggerInspectJobActionSaveFindingsOutputConfigTableArgs{
									ProjectId: pulumi.String("project"),
									DatasetId: pulumi.String("dataset"),
								},
							},
						},
					},
				},
				StorageConfig: &dataloss.PreventionJobTriggerInspectJobStorageConfigArgs{
					TimespanConfig: &dataloss.PreventionJobTriggerInspectJobStorageConfigTimespanConfigArgs{
						EnableAutoPopulationOfTimespanConfig: pulumi.Bool(true),
					},
					CloudStorageOptions: &dataloss.PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsArgs{
						FileSet: &dataloss.PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsFileSetArgs{
							Url: pulumi.String("gs://mybucket/directory/"),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() => 
{
    var basic = new Gcp.DataLoss.PreventionJobTrigger("basic", new()
    {
        Parent = "projects/my-project-name",
        Description = "Description",
        DisplayName = "Displayname",
        Triggers = new[]
        {
            new Gcp.DataLoss.Inputs.PreventionJobTriggerTriggerArgs
            {
                Schedule = new Gcp.DataLoss.Inputs.PreventionJobTriggerTriggerScheduleArgs
                {
                    RecurrencePeriodDuration = "86400s",
                },
            },
        },
        InspectJob = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobArgs
        {
            InspectTemplateName = "fake",
            Actions = new[]
            {
                new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobActionArgs
                {
                    SaveFindings = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobActionSaveFindingsArgs
                    {
                        OutputConfig = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobActionSaveFindingsOutputConfigArgs
                        {
                            Table = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobActionSaveFindingsOutputConfigTableArgs
                            {
                                ProjectId = "project",
                                DatasetId = "dataset",
                            },
                        },
                    },
                },
            },
            StorageConfig = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobStorageConfigArgs
            {
                TimespanConfig = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobStorageConfigTimespanConfigArgs
                {
                    EnableAutoPopulationOfTimespanConfig = true,
                },
                CloudStorageOptions = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsArgs
                {
                    FileSet = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsFileSetArgs
                    {
                        Url = "gs://mybucket/directory/",
                    },
                },
            },
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.dataloss.PreventionJobTrigger;
import com.pulumi.gcp.dataloss.PreventionJobTriggerArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerTriggerArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerTriggerScheduleArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobStorageConfigArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobStorageConfigTimespanConfigArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsFileSetArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var basic = new PreventionJobTrigger("basic", PreventionJobTriggerArgs.builder()
            .parent("projects/my-project-name")
            .description("Description")
            .displayName("Displayname")
            .triggers(PreventionJobTriggerTriggerArgs.builder()
                .schedule(PreventionJobTriggerTriggerScheduleArgs.builder()
                    .recurrencePeriodDuration("86400s")
                    .build())
                .build())
            .inspectJob(PreventionJobTriggerInspectJobArgs.builder()
                .inspectTemplateName("fake")
                .actions(PreventionJobTriggerInspectJobActionArgs.builder()
                    .saveFindings(PreventionJobTriggerInspectJobActionSaveFindingsArgs.builder()
                        .outputConfig(PreventionJobTriggerInspectJobActionSaveFindingsOutputConfigArgs.builder()
                            .table(PreventionJobTriggerInspectJobActionSaveFindingsOutputConfigTableArgs.builder()
                                .projectId("project")
                                .datasetId("dataset")
                                .build())
                            .build())
                        .build())
                    .build())
                .storageConfig(PreventionJobTriggerInspectJobStorageConfigArgs.builder()
                    .timespanConfig(PreventionJobTriggerInspectJobStorageConfigTimespanConfigArgs.builder()
                        .enableAutoPopulationOfTimespanConfig(true)
                        .build())
                    .cloudStorageOptions(PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsArgs.builder()
                        .fileSet(PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsFileSetArgs.builder()
                            .url("gs://mybucket/directory/")
                            .build())
                        .build())
                    .build())
                .build())
            .build());
    }
}
resources:
  basic:
    type: gcp:dataloss:PreventionJobTrigger
    properties:
      parent: projects/my-project-name
      description: Description
      displayName: Displayname
      triggers:
        - schedule:
            recurrencePeriodDuration: 86400s
      inspectJob:
        inspectTemplateName: fake
        actions:
          - saveFindings:
              outputConfig:
                table:
                  projectId: project
                  datasetId: dataset
        storageConfig:
          timespanConfig:
            enableAutoPopulationOfTimespanConfig: true
          cloudStorageOptions:
            fileSet:
              url: gs://mybucket/directory/
Dlp Job Trigger Timespan Config Big Query
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const timespanConfigBigQuery = new gcp.dataloss.PreventionJobTrigger("timespan_config_big_query", {
    parent: "projects/my-project-name",
    description: "BigQuery DLP Job Trigger with timespan config and row limit",
    displayName: "bigquery-dlp-job-trigger-limit-timespan",
    triggers: [{
        schedule: {
            recurrencePeriodDuration: "86400s",
        },
    }],
    inspectJob: {
        inspectTemplateName: "projects/test/locations/global/inspectTemplates/6425492983381733900",
        storageConfig: {
            bigQueryOptions: {
                tableReference: {
                    projectId: "project",
                    datasetId: "dataset",
                    tableId: "table",
                },
                sampleMethod: "",
            },
            timespanConfig: {
                startTime: "2023-01-01T00:00:23Z",
                timestampField: {
                    name: "timestamp",
                },
            },
        },
        actions: [{
            saveFindings: {
                outputConfig: {
                    table: {
                        projectId: "project",
                        datasetId: "output",
                    },
                },
            },
        }],
    },
});
import pulumi
import pulumi_gcp as gcp
timespan_config_big_query = gcp.dataloss.PreventionJobTrigger("timespan_config_big_query",
    parent="projects/my-project-name",
    description="BigQuery DLP Job Trigger with timespan config and row limit",
    display_name="bigquery-dlp-job-trigger-limit-timespan",
    triggers=[{
        "schedule": {
            "recurrence_period_duration": "86400s",
        },
    }],
    inspect_job={
        "inspect_template_name": "projects/test/locations/global/inspectTemplates/6425492983381733900",
        "storage_config": {
            "big_query_options": {
                "table_reference": {
                    "project_id": "project",
                    "dataset_id": "dataset",
                    "table_id": "table",
                },
                "sample_method": "",
            },
            "timespan_config": {
                "start_time": "2023-01-01T00:00:23Z",
                "timestamp_field": {
                    "name": "timestamp",
                },
            },
        },
        "actions": [{
            "save_findings": {
                "output_config": {
                    "table": {
                        "project_id": "project",
                        "dataset_id": "output",
                    },
                },
            },
        }],
    })
package main
import (
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/dataloss"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dataloss.NewPreventionJobTrigger(ctx, "timespan_config_big_query", &dataloss.PreventionJobTriggerArgs{
			Parent:      pulumi.String("projects/my-project-name"),
			Description: pulumi.String("BigQuery DLP Job Trigger with timespan config and row limit"),
			DisplayName: pulumi.String("bigquery-dlp-job-trigger-limit-timespan"),
			Triggers: dataloss.PreventionJobTriggerTriggerArray{
				&dataloss.PreventionJobTriggerTriggerArgs{
					Schedule: &dataloss.PreventionJobTriggerTriggerScheduleArgs{
						RecurrencePeriodDuration: pulumi.String("86400s"),
					},
				},
			},
			InspectJob: &dataloss.PreventionJobTriggerInspectJobArgs{
				InspectTemplateName: pulumi.String("projects/test/locations/global/inspectTemplates/6425492983381733900"),
				StorageConfig: &dataloss.PreventionJobTriggerInspectJobStorageConfigArgs{
					BigQueryOptions: &dataloss.PreventionJobTriggerInspectJobStorageConfigBigQueryOptionsArgs{
						TableReference: &dataloss.PreventionJobTriggerInspectJobStorageConfigBigQueryOptionsTableReferenceArgs{
							ProjectId: pulumi.String("project"),
							DatasetId: pulumi.String("dataset"),
							TableId:   pulumi.String("table"),
						},
						SampleMethod: pulumi.String(""),
					},
					TimespanConfig: &dataloss.PreventionJobTriggerInspectJobStorageConfigTimespanConfigArgs{
						StartTime: pulumi.String("2023-01-01T00:00:23Z"),
						TimestampField: &dataloss.PreventionJobTriggerInspectJobStorageConfigTimespanConfigTimestampFieldArgs{
							Name: pulumi.String("timestamp"),
						},
					},
				},
				Actions: dataloss.PreventionJobTriggerInspectJobActionArray{
					&dataloss.PreventionJobTriggerInspectJobActionArgs{
						SaveFindings: &dataloss.PreventionJobTriggerInspectJobActionSaveFindingsArgs{
							OutputConfig: &dataloss.PreventionJobTriggerInspectJobActionSaveFindingsOutputConfigArgs{
								Table: &dataloss.PreventionJobTriggerInspectJobActionSaveFindingsOutputConfigTableArgs{
									ProjectId: pulumi.String("project"),
									DatasetId: pulumi.String("output"),
								},
							},
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() => 
{
    var timespanConfigBigQuery = new Gcp.DataLoss.PreventionJobTrigger("timespan_config_big_query", new()
    {
        Parent = "projects/my-project-name",
        Description = "BigQuery DLP Job Trigger with timespan config and row limit",
        DisplayName = "bigquery-dlp-job-trigger-limit-timespan",
        Triggers = new[]
        {
            new Gcp.DataLoss.Inputs.PreventionJobTriggerTriggerArgs
            {
                Schedule = new Gcp.DataLoss.Inputs.PreventionJobTriggerTriggerScheduleArgs
                {
                    RecurrencePeriodDuration = "86400s",
                },
            },
        },
        InspectJob = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobArgs
        {
            InspectTemplateName = "projects/test/locations/global/inspectTemplates/6425492983381733900",
            StorageConfig = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobStorageConfigArgs
            {
                BigQueryOptions = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobStorageConfigBigQueryOptionsArgs
                {
                    TableReference = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobStorageConfigBigQueryOptionsTableReferenceArgs
                    {
                        ProjectId = "project",
                        DatasetId = "dataset",
                        TableId = "table",
                    },
                    SampleMethod = "",
                },
                TimespanConfig = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobStorageConfigTimespanConfigArgs
                {
                    StartTime = "2023-01-01T00:00:23Z",
                    TimestampField = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobStorageConfigTimespanConfigTimestampFieldArgs
                    {
                        Name = "timestamp",
                    },
                },
            },
            Actions = new[]
            {
                new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobActionArgs
                {
                    SaveFindings = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobActionSaveFindingsArgs
                    {
                        OutputConfig = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobActionSaveFindingsOutputConfigArgs
                        {
                            Table = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobActionSaveFindingsOutputConfigTableArgs
                            {
                                ProjectId = "project",
                                DatasetId = "output",
                            },
                        },
                    },
                },
            },
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.dataloss.PreventionJobTrigger;
import com.pulumi.gcp.dataloss.PreventionJobTriggerArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerTriggerArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerTriggerScheduleArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobStorageConfigArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobStorageConfigBigQueryOptionsArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobStorageConfigBigQueryOptionsTableReferenceArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobStorageConfigTimespanConfigArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobStorageConfigTimespanConfigTimestampFieldArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var timespanConfigBigQuery = new PreventionJobTrigger("timespanConfigBigQuery", PreventionJobTriggerArgs.builder()
            .parent("projects/my-project-name")
            .description("BigQuery DLP Job Trigger with timespan config and row limit")
            .displayName("bigquery-dlp-job-trigger-limit-timespan")
            .triggers(PreventionJobTriggerTriggerArgs.builder()
                .schedule(PreventionJobTriggerTriggerScheduleArgs.builder()
                    .recurrencePeriodDuration("86400s")
                    .build())
                .build())
            .inspectJob(PreventionJobTriggerInspectJobArgs.builder()
                .inspectTemplateName("projects/test/locations/global/inspectTemplates/6425492983381733900")
                .storageConfig(PreventionJobTriggerInspectJobStorageConfigArgs.builder()
                    .bigQueryOptions(PreventionJobTriggerInspectJobStorageConfigBigQueryOptionsArgs.builder()
                        .tableReference(PreventionJobTriggerInspectJobStorageConfigBigQueryOptionsTableReferenceArgs.builder()
                            .projectId("project")
                            .datasetId("dataset")
                            .tableId("table")
                            .build())
                        .sampleMethod("")
                        .build())
                    .timespanConfig(PreventionJobTriggerInspectJobStorageConfigTimespanConfigArgs.builder()
                        .startTime("2023-01-01T00:00:23Z")
                        .timestampField(PreventionJobTriggerInspectJobStorageConfigTimespanConfigTimestampFieldArgs.builder()
                            .name("timestamp")
                            .build())
                        .build())
                    .build())
                .actions(PreventionJobTriggerInspectJobActionArgs.builder()
                    .saveFindings(PreventionJobTriggerInspectJobActionSaveFindingsArgs.builder()
                        .outputConfig(PreventionJobTriggerInspectJobActionSaveFindingsOutputConfigArgs.builder()
                            .table(PreventionJobTriggerInspectJobActionSaveFindingsOutputConfigTableArgs.builder()
                                .projectId("project")
                                .datasetId("output")
                                .build())
                            .build())
                        .build())
                    .build())
                .build())
            .build());
    }
}
resources:
  timespanConfigBigQuery:
    type: gcp:dataloss:PreventionJobTrigger
    name: timespan_config_big_query
    properties:
      parent: projects/my-project-name
      description: BigQuery DLP Job Trigger with timespan config and row limit
      displayName: bigquery-dlp-job-trigger-limit-timespan
      triggers:
        - schedule:
            recurrencePeriodDuration: 86400s
      inspectJob:
        inspectTemplateName: projects/test/locations/global/inspectTemplates/6425492983381733900
        storageConfig:
          bigQueryOptions:
            tableReference:
              projectId: project
              datasetId: dataset
              tableId: table
            sampleMethod: ""
          timespanConfig:
            startTime: 2023-01-01T00:00:23Z
            timestampField:
              name: timestamp
        actions:
          - saveFindings:
              outputConfig:
                table:
                  projectId: project
                  datasetId: output
Create PreventionJobTrigger Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PreventionJobTrigger(name: string, args: PreventionJobTriggerArgs, opts?: CustomResourceOptions);@overload
def PreventionJobTrigger(resource_name: str,
                         args: PreventionJobTriggerArgs,
                         opts: Optional[ResourceOptions] = None)
@overload
def PreventionJobTrigger(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         parent: Optional[str] = None,
                         triggers: Optional[Sequence[PreventionJobTriggerTriggerArgs]] = None,
                         description: Optional[str] = None,
                         display_name: Optional[str] = None,
                         inspect_job: Optional[PreventionJobTriggerInspectJobArgs] = None,
                         status: Optional[str] = None,
                         trigger_id: Optional[str] = None)func NewPreventionJobTrigger(ctx *Context, name string, args PreventionJobTriggerArgs, opts ...ResourceOption) (*PreventionJobTrigger, error)public PreventionJobTrigger(string name, PreventionJobTriggerArgs args, CustomResourceOptions? opts = null)
public PreventionJobTrigger(String name, PreventionJobTriggerArgs args)
public PreventionJobTrigger(String name, PreventionJobTriggerArgs args, CustomResourceOptions options)
type: gcp:dataloss:PreventionJobTrigger
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 PreventionJobTriggerArgs
- 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 PreventionJobTriggerArgs
- 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 PreventionJobTriggerArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PreventionJobTriggerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PreventionJobTriggerArgs
- 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 preventionJobTriggerResource = new Gcp.DataLoss.PreventionJobTrigger("preventionJobTriggerResource", new()
{
    Parent = "string",
    Triggers = new[]
    {
        new Gcp.DataLoss.Inputs.PreventionJobTriggerTriggerArgs
        {
            Manual = null,
            Schedule = new Gcp.DataLoss.Inputs.PreventionJobTriggerTriggerScheduleArgs
            {
                RecurrencePeriodDuration = "string",
            },
        },
    },
    Description = "string",
    DisplayName = "string",
    InspectJob = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobArgs
    {
        StorageConfig = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobStorageConfigArgs
        {
            BigQueryOptions = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobStorageConfigBigQueryOptionsArgs
            {
                TableReference = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobStorageConfigBigQueryOptionsTableReferenceArgs
                {
                    DatasetId = "string",
                    ProjectId = "string",
                    TableId = "string",
                },
                ExcludedFields = new[]
                {
                    new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobStorageConfigBigQueryOptionsExcludedFieldArgs
                    {
                        Name = "string",
                    },
                },
                IdentifyingFields = new[]
                {
                    new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobStorageConfigBigQueryOptionsIdentifyingFieldArgs
                    {
                        Name = "string",
                    },
                },
                IncludedFields = new[]
                {
                    new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobStorageConfigBigQueryOptionsIncludedFieldArgs
                    {
                        Name = "string",
                    },
                },
                RowsLimit = 0,
                RowsLimitPercent = 0,
                SampleMethod = "string",
            },
            CloudStorageOptions = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsArgs
            {
                FileSet = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsFileSetArgs
                {
                    RegexFileSet = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsFileSetRegexFileSetArgs
                    {
                        BucketName = "string",
                        ExcludeRegexes = new[]
                        {
                            "string",
                        },
                        IncludeRegexes = new[]
                        {
                            "string",
                        },
                    },
                    Url = "string",
                },
                BytesLimitPerFile = 0,
                BytesLimitPerFilePercent = 0,
                FileTypes = new[]
                {
                    "string",
                },
                FilesLimitPercent = 0,
                SampleMethod = "string",
            },
            DatastoreOptions = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobStorageConfigDatastoreOptionsArgs
            {
                Kind = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobStorageConfigDatastoreOptionsKindArgs
                {
                    Name = "string",
                },
                PartitionId = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobStorageConfigDatastoreOptionsPartitionIdArgs
                {
                    ProjectId = "string",
                    NamespaceId = "string",
                },
            },
            HybridOptions = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobStorageConfigHybridOptionsArgs
            {
                Description = "string",
                Labels = 
                {
                    { "string", "string" },
                },
                RequiredFindingLabelKeys = new[]
                {
                    "string",
                },
                TableOptions = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobStorageConfigHybridOptionsTableOptionsArgs
                {
                    IdentifyingFields = new[]
                    {
                        new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobStorageConfigHybridOptionsTableOptionsIdentifyingFieldArgs
                        {
                            Name = "string",
                        },
                    },
                },
            },
            TimespanConfig = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobStorageConfigTimespanConfigArgs
            {
                EnableAutoPopulationOfTimespanConfig = false,
                EndTime = "string",
                StartTime = "string",
                TimestampField = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobStorageConfigTimespanConfigTimestampFieldArgs
                {
                    Name = "string",
                },
            },
        },
        Actions = new[]
        {
            new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobActionArgs
            {
                Deidentify = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobActionDeidentifyArgs
                {
                    CloudStorageOutput = "string",
                    FileTypesToTransforms = new[]
                    {
                        "string",
                    },
                    TransformationConfig = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobActionDeidentifyTransformationConfigArgs
                    {
                        DeidentifyTemplate = "string",
                        ImageRedactTemplate = "string",
                        StructuredDeidentifyTemplate = "string",
                    },
                    TransformationDetailsStorageConfig = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobActionDeidentifyTransformationDetailsStorageConfigArgs
                    {
                        Table = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobActionDeidentifyTransformationDetailsStorageConfigTableArgs
                        {
                            DatasetId = "string",
                            ProjectId = "string",
                            TableId = "string",
                        },
                    },
                },
                JobNotificationEmails = null,
                PubSub = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobActionPubSubArgs
                {
                    Topic = "string",
                },
                PublishFindingsToCloudDataCatalog = null,
                PublishSummaryToCscc = null,
                PublishToStackdriver = null,
                SaveFindings = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobActionSaveFindingsArgs
                {
                    OutputConfig = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobActionSaveFindingsOutputConfigArgs
                    {
                        Table = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobActionSaveFindingsOutputConfigTableArgs
                        {
                            DatasetId = "string",
                            ProjectId = "string",
                            TableId = "string",
                        },
                        OutputSchema = "string",
                    },
                },
            },
        },
        InspectConfig = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobInspectConfigArgs
        {
            CustomInfoTypes = new[]
            {
                new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobInspectConfigCustomInfoTypeArgs
                {
                    InfoType = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobInspectConfigCustomInfoTypeInfoTypeArgs
                    {
                        Name = "string",
                        SensitivityScore = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobInspectConfigCustomInfoTypeInfoTypeSensitivityScoreArgs
                        {
                            Score = "string",
                        },
                        Version = "string",
                    },
                    Dictionary = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobInspectConfigCustomInfoTypeDictionaryArgs
                    {
                        CloudStoragePath = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobInspectConfigCustomInfoTypeDictionaryCloudStoragePathArgs
                        {
                            Path = "string",
                        },
                        WordList = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobInspectConfigCustomInfoTypeDictionaryWordListArgs
                        {
                            Words = new[]
                            {
                                "string",
                            },
                        },
                    },
                    ExclusionType = "string",
                    Likelihood = "string",
                    Regex = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobInspectConfigCustomInfoTypeRegexArgs
                    {
                        Pattern = "string",
                        GroupIndexes = new[]
                        {
                            0,
                        },
                    },
                    SensitivityScore = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobInspectConfigCustomInfoTypeSensitivityScoreArgs
                    {
                        Score = "string",
                    },
                    StoredType = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobInspectConfigCustomInfoTypeStoredTypeArgs
                    {
                        Name = "string",
                        CreateTime = "string",
                    },
                    SurrogateType = null,
                },
            },
            ExcludeInfoTypes = false,
            IncludeQuote = false,
            InfoTypes = new[]
            {
                new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobInspectConfigInfoTypeArgs
                {
                    Name = "string",
                    SensitivityScore = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobInspectConfigInfoTypeSensitivityScoreArgs
                    {
                        Score = "string",
                    },
                    Version = "string",
                },
            },
            Limits = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobInspectConfigLimitsArgs
            {
                MaxFindingsPerInfoTypes = new[]
                {
                    new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobInspectConfigLimitsMaxFindingsPerInfoTypeArgs
                    {
                        InfoType = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobInspectConfigLimitsMaxFindingsPerInfoTypeInfoTypeArgs
                        {
                            Name = "string",
                            SensitivityScore = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobInspectConfigLimitsMaxFindingsPerInfoTypeInfoTypeSensitivityScoreArgs
                            {
                                Score = "string",
                            },
                            Version = "string",
                        },
                        MaxFindings = 0,
                    },
                },
                MaxFindingsPerItem = 0,
                MaxFindingsPerRequest = 0,
            },
            MinLikelihood = "string",
            RuleSets = new[]
            {
                new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobInspectConfigRuleSetArgs
                {
                    Rules = new[]
                    {
                        new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobInspectConfigRuleSetRuleArgs
                        {
                            ExclusionRule = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleArgs
                            {
                                MatchingType = "string",
                                Dictionary = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleDictionaryArgs
                                {
                                    CloudStoragePath = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleDictionaryCloudStoragePathArgs
                                    {
                                        Path = "string",
                                    },
                                    WordList = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleDictionaryWordListArgs
                                    {
                                        Words = new[]
                                        {
                                            "string",
                                        },
                                    },
                                },
                                ExcludeByHotword = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleExcludeByHotwordArgs
                                {
                                    HotwordRegex = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleExcludeByHotwordHotwordRegexArgs
                                    {
                                        GroupIndexes = new[]
                                        {
                                            0,
                                        },
                                        Pattern = "string",
                                    },
                                    Proximity = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleExcludeByHotwordProximityArgs
                                    {
                                        WindowAfter = 0,
                                        WindowBefore = 0,
                                    },
                                },
                                ExcludeInfoTypes = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleExcludeInfoTypesArgs
                                {
                                    InfoTypes = new[]
                                    {
                                        new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleExcludeInfoTypesInfoTypeArgs
                                        {
                                            Name = "string",
                                            SensitivityScore = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleExcludeInfoTypesInfoTypeSensitivityScoreArgs
                                            {
                                                Score = "string",
                                            },
                                            Version = "string",
                                        },
                                    },
                                },
                                Regex = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleRegexArgs
                                {
                                    Pattern = "string",
                                    GroupIndexes = new[]
                                    {
                                        0,
                                    },
                                },
                            },
                            HotwordRule = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobInspectConfigRuleSetRuleHotwordRuleArgs
                            {
                                HotwordRegex = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobInspectConfigRuleSetRuleHotwordRuleHotwordRegexArgs
                                {
                                    GroupIndexes = new[]
                                    {
                                        0,
                                    },
                                    Pattern = "string",
                                },
                                LikelihoodAdjustment = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobInspectConfigRuleSetRuleHotwordRuleLikelihoodAdjustmentArgs
                                {
                                    FixedLikelihood = "string",
                                    RelativeLikelihood = 0,
                                },
                                Proximity = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobInspectConfigRuleSetRuleHotwordRuleProximityArgs
                                {
                                    WindowAfter = 0,
                                    WindowBefore = 0,
                                },
                            },
                        },
                    },
                    InfoTypes = new[]
                    {
                        new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobInspectConfigRuleSetInfoTypeArgs
                        {
                            Name = "string",
                            SensitivityScore = new Gcp.DataLoss.Inputs.PreventionJobTriggerInspectJobInspectConfigRuleSetInfoTypeSensitivityScoreArgs
                            {
                                Score = "string",
                            },
                            Version = "string",
                        },
                    },
                },
            },
        },
        InspectTemplateName = "string",
    },
    Status = "string",
    TriggerId = "string",
});
example, err := dataloss.NewPreventionJobTrigger(ctx, "preventionJobTriggerResource", &dataloss.PreventionJobTriggerArgs{
	Parent: pulumi.String("string"),
	Triggers: dataloss.PreventionJobTriggerTriggerArray{
		&dataloss.PreventionJobTriggerTriggerArgs{
			Manual: &dataloss.PreventionJobTriggerTriggerManualArgs{},
			Schedule: &dataloss.PreventionJobTriggerTriggerScheduleArgs{
				RecurrencePeriodDuration: pulumi.String("string"),
			},
		},
	},
	Description: pulumi.String("string"),
	DisplayName: pulumi.String("string"),
	InspectJob: &dataloss.PreventionJobTriggerInspectJobArgs{
		StorageConfig: &dataloss.PreventionJobTriggerInspectJobStorageConfigArgs{
			BigQueryOptions: &dataloss.PreventionJobTriggerInspectJobStorageConfigBigQueryOptionsArgs{
				TableReference: &dataloss.PreventionJobTriggerInspectJobStorageConfigBigQueryOptionsTableReferenceArgs{
					DatasetId: pulumi.String("string"),
					ProjectId: pulumi.String("string"),
					TableId:   pulumi.String("string"),
				},
				ExcludedFields: dataloss.PreventionJobTriggerInspectJobStorageConfigBigQueryOptionsExcludedFieldArray{
					&dataloss.PreventionJobTriggerInspectJobStorageConfigBigQueryOptionsExcludedFieldArgs{
						Name: pulumi.String("string"),
					},
				},
				IdentifyingFields: dataloss.PreventionJobTriggerInspectJobStorageConfigBigQueryOptionsIdentifyingFieldArray{
					&dataloss.PreventionJobTriggerInspectJobStorageConfigBigQueryOptionsIdentifyingFieldArgs{
						Name: pulumi.String("string"),
					},
				},
				IncludedFields: dataloss.PreventionJobTriggerInspectJobStorageConfigBigQueryOptionsIncludedFieldArray{
					&dataloss.PreventionJobTriggerInspectJobStorageConfigBigQueryOptionsIncludedFieldArgs{
						Name: pulumi.String("string"),
					},
				},
				RowsLimit:        pulumi.Int(0),
				RowsLimitPercent: pulumi.Int(0),
				SampleMethod:     pulumi.String("string"),
			},
			CloudStorageOptions: &dataloss.PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsArgs{
				FileSet: &dataloss.PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsFileSetArgs{
					RegexFileSet: &dataloss.PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsFileSetRegexFileSetArgs{
						BucketName: pulumi.String("string"),
						ExcludeRegexes: pulumi.StringArray{
							pulumi.String("string"),
						},
						IncludeRegexes: pulumi.StringArray{
							pulumi.String("string"),
						},
					},
					Url: pulumi.String("string"),
				},
				BytesLimitPerFile:        pulumi.Int(0),
				BytesLimitPerFilePercent: pulumi.Int(0),
				FileTypes: pulumi.StringArray{
					pulumi.String("string"),
				},
				FilesLimitPercent: pulumi.Int(0),
				SampleMethod:      pulumi.String("string"),
			},
			DatastoreOptions: &dataloss.PreventionJobTriggerInspectJobStorageConfigDatastoreOptionsArgs{
				Kind: &dataloss.PreventionJobTriggerInspectJobStorageConfigDatastoreOptionsKindArgs{
					Name: pulumi.String("string"),
				},
				PartitionId: &dataloss.PreventionJobTriggerInspectJobStorageConfigDatastoreOptionsPartitionIdArgs{
					ProjectId:   pulumi.String("string"),
					NamespaceId: pulumi.String("string"),
				},
			},
			HybridOptions: &dataloss.PreventionJobTriggerInspectJobStorageConfigHybridOptionsArgs{
				Description: pulumi.String("string"),
				Labels: pulumi.StringMap{
					"string": pulumi.String("string"),
				},
				RequiredFindingLabelKeys: pulumi.StringArray{
					pulumi.String("string"),
				},
				TableOptions: &dataloss.PreventionJobTriggerInspectJobStorageConfigHybridOptionsTableOptionsArgs{
					IdentifyingFields: dataloss.PreventionJobTriggerInspectJobStorageConfigHybridOptionsTableOptionsIdentifyingFieldArray{
						&dataloss.PreventionJobTriggerInspectJobStorageConfigHybridOptionsTableOptionsIdentifyingFieldArgs{
							Name: pulumi.String("string"),
						},
					},
				},
			},
			TimespanConfig: &dataloss.PreventionJobTriggerInspectJobStorageConfigTimespanConfigArgs{
				EnableAutoPopulationOfTimespanConfig: pulumi.Bool(false),
				EndTime:                              pulumi.String("string"),
				StartTime:                            pulumi.String("string"),
				TimestampField: &dataloss.PreventionJobTriggerInspectJobStorageConfigTimespanConfigTimestampFieldArgs{
					Name: pulumi.String("string"),
				},
			},
		},
		Actions: dataloss.PreventionJobTriggerInspectJobActionArray{
			&dataloss.PreventionJobTriggerInspectJobActionArgs{
				Deidentify: &dataloss.PreventionJobTriggerInspectJobActionDeidentifyArgs{
					CloudStorageOutput: pulumi.String("string"),
					FileTypesToTransforms: pulumi.StringArray{
						pulumi.String("string"),
					},
					TransformationConfig: &dataloss.PreventionJobTriggerInspectJobActionDeidentifyTransformationConfigArgs{
						DeidentifyTemplate:           pulumi.String("string"),
						ImageRedactTemplate:          pulumi.String("string"),
						StructuredDeidentifyTemplate: pulumi.String("string"),
					},
					TransformationDetailsStorageConfig: &dataloss.PreventionJobTriggerInspectJobActionDeidentifyTransformationDetailsStorageConfigArgs{
						Table: &dataloss.PreventionJobTriggerInspectJobActionDeidentifyTransformationDetailsStorageConfigTableArgs{
							DatasetId: pulumi.String("string"),
							ProjectId: pulumi.String("string"),
							TableId:   pulumi.String("string"),
						},
					},
				},
				JobNotificationEmails: &dataloss.PreventionJobTriggerInspectJobActionJobNotificationEmailsArgs{},
				PubSub: &dataloss.PreventionJobTriggerInspectJobActionPubSubArgs{
					Topic: pulumi.String("string"),
				},
				PublishFindingsToCloudDataCatalog: &dataloss.PreventionJobTriggerInspectJobActionPublishFindingsToCloudDataCatalogArgs{},
				PublishSummaryToCscc:              &dataloss.PreventionJobTriggerInspectJobActionPublishSummaryToCsccArgs{},
				PublishToStackdriver:              &dataloss.PreventionJobTriggerInspectJobActionPublishToStackdriverArgs{},
				SaveFindings: &dataloss.PreventionJobTriggerInspectJobActionSaveFindingsArgs{
					OutputConfig: &dataloss.PreventionJobTriggerInspectJobActionSaveFindingsOutputConfigArgs{
						Table: &dataloss.PreventionJobTriggerInspectJobActionSaveFindingsOutputConfigTableArgs{
							DatasetId: pulumi.String("string"),
							ProjectId: pulumi.String("string"),
							TableId:   pulumi.String("string"),
						},
						OutputSchema: pulumi.String("string"),
					},
				},
			},
		},
		InspectConfig: &dataloss.PreventionJobTriggerInspectJobInspectConfigArgs{
			CustomInfoTypes: dataloss.PreventionJobTriggerInspectJobInspectConfigCustomInfoTypeArray{
				&dataloss.PreventionJobTriggerInspectJobInspectConfigCustomInfoTypeArgs{
					InfoType: &dataloss.PreventionJobTriggerInspectJobInspectConfigCustomInfoTypeInfoTypeArgs{
						Name: pulumi.String("string"),
						SensitivityScore: &dataloss.PreventionJobTriggerInspectJobInspectConfigCustomInfoTypeInfoTypeSensitivityScoreArgs{
							Score: pulumi.String("string"),
						},
						Version: pulumi.String("string"),
					},
					Dictionary: &dataloss.PreventionJobTriggerInspectJobInspectConfigCustomInfoTypeDictionaryArgs{
						CloudStoragePath: &dataloss.PreventionJobTriggerInspectJobInspectConfigCustomInfoTypeDictionaryCloudStoragePathArgs{
							Path: pulumi.String("string"),
						},
						WordList: &dataloss.PreventionJobTriggerInspectJobInspectConfigCustomInfoTypeDictionaryWordListArgs{
							Words: pulumi.StringArray{
								pulumi.String("string"),
							},
						},
					},
					ExclusionType: pulumi.String("string"),
					Likelihood:    pulumi.String("string"),
					Regex: &dataloss.PreventionJobTriggerInspectJobInspectConfigCustomInfoTypeRegexArgs{
						Pattern: pulumi.String("string"),
						GroupIndexes: pulumi.IntArray{
							pulumi.Int(0),
						},
					},
					SensitivityScore: &dataloss.PreventionJobTriggerInspectJobInspectConfigCustomInfoTypeSensitivityScoreArgs{
						Score: pulumi.String("string"),
					},
					StoredType: &dataloss.PreventionJobTriggerInspectJobInspectConfigCustomInfoTypeStoredTypeArgs{
						Name:       pulumi.String("string"),
						CreateTime: pulumi.String("string"),
					},
					SurrogateType: &dataloss.PreventionJobTriggerInspectJobInspectConfigCustomInfoTypeSurrogateTypeArgs{},
				},
			},
			ExcludeInfoTypes: pulumi.Bool(false),
			IncludeQuote:     pulumi.Bool(false),
			InfoTypes: dataloss.PreventionJobTriggerInspectJobInspectConfigInfoTypeArray{
				&dataloss.PreventionJobTriggerInspectJobInspectConfigInfoTypeArgs{
					Name: pulumi.String("string"),
					SensitivityScore: &dataloss.PreventionJobTriggerInspectJobInspectConfigInfoTypeSensitivityScoreArgs{
						Score: pulumi.String("string"),
					},
					Version: pulumi.String("string"),
				},
			},
			Limits: &dataloss.PreventionJobTriggerInspectJobInspectConfigLimitsArgs{
				MaxFindingsPerInfoTypes: dataloss.PreventionJobTriggerInspectJobInspectConfigLimitsMaxFindingsPerInfoTypeArray{
					&dataloss.PreventionJobTriggerInspectJobInspectConfigLimitsMaxFindingsPerInfoTypeArgs{
						InfoType: &dataloss.PreventionJobTriggerInspectJobInspectConfigLimitsMaxFindingsPerInfoTypeInfoTypeArgs{
							Name: pulumi.String("string"),
							SensitivityScore: &dataloss.PreventionJobTriggerInspectJobInspectConfigLimitsMaxFindingsPerInfoTypeInfoTypeSensitivityScoreArgs{
								Score: pulumi.String("string"),
							},
							Version: pulumi.String("string"),
						},
						MaxFindings: pulumi.Int(0),
					},
				},
				MaxFindingsPerItem:    pulumi.Int(0),
				MaxFindingsPerRequest: pulumi.Int(0),
			},
			MinLikelihood: pulumi.String("string"),
			RuleSets: dataloss.PreventionJobTriggerInspectJobInspectConfigRuleSetArray{
				&dataloss.PreventionJobTriggerInspectJobInspectConfigRuleSetArgs{
					Rules: dataloss.PreventionJobTriggerInspectJobInspectConfigRuleSetRuleArray{
						&dataloss.PreventionJobTriggerInspectJobInspectConfigRuleSetRuleArgs{
							ExclusionRule: &dataloss.PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleArgs{
								MatchingType: pulumi.String("string"),
								Dictionary: &dataloss.PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleDictionaryArgs{
									CloudStoragePath: &dataloss.PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleDictionaryCloudStoragePathArgs{
										Path: pulumi.String("string"),
									},
									WordList: &dataloss.PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleDictionaryWordListArgs{
										Words: pulumi.StringArray{
											pulumi.String("string"),
										},
									},
								},
								ExcludeByHotword: &dataloss.PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleExcludeByHotwordArgs{
									HotwordRegex: &dataloss.PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleExcludeByHotwordHotwordRegexArgs{
										GroupIndexes: pulumi.IntArray{
											pulumi.Int(0),
										},
										Pattern: pulumi.String("string"),
									},
									Proximity: &dataloss.PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleExcludeByHotwordProximityArgs{
										WindowAfter:  pulumi.Int(0),
										WindowBefore: pulumi.Int(0),
									},
								},
								ExcludeInfoTypes: &dataloss.PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleExcludeInfoTypesArgs{
									InfoTypes: dataloss.PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleExcludeInfoTypesInfoTypeArray{
										&dataloss.PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleExcludeInfoTypesInfoTypeArgs{
											Name: pulumi.String("string"),
											SensitivityScore: &dataloss.PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleExcludeInfoTypesInfoTypeSensitivityScoreArgs{
												Score: pulumi.String("string"),
											},
											Version: pulumi.String("string"),
										},
									},
								},
								Regex: &dataloss.PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleRegexArgs{
									Pattern: pulumi.String("string"),
									GroupIndexes: pulumi.IntArray{
										pulumi.Int(0),
									},
								},
							},
							HotwordRule: &dataloss.PreventionJobTriggerInspectJobInspectConfigRuleSetRuleHotwordRuleArgs{
								HotwordRegex: &dataloss.PreventionJobTriggerInspectJobInspectConfigRuleSetRuleHotwordRuleHotwordRegexArgs{
									GroupIndexes: pulumi.IntArray{
										pulumi.Int(0),
									},
									Pattern: pulumi.String("string"),
								},
								LikelihoodAdjustment: &dataloss.PreventionJobTriggerInspectJobInspectConfigRuleSetRuleHotwordRuleLikelihoodAdjustmentArgs{
									FixedLikelihood:    pulumi.String("string"),
									RelativeLikelihood: pulumi.Int(0),
								},
								Proximity: &dataloss.PreventionJobTriggerInspectJobInspectConfigRuleSetRuleHotwordRuleProximityArgs{
									WindowAfter:  pulumi.Int(0),
									WindowBefore: pulumi.Int(0),
								},
							},
						},
					},
					InfoTypes: dataloss.PreventionJobTriggerInspectJobInspectConfigRuleSetInfoTypeArray{
						&dataloss.PreventionJobTriggerInspectJobInspectConfigRuleSetInfoTypeArgs{
							Name: pulumi.String("string"),
							SensitivityScore: &dataloss.PreventionJobTriggerInspectJobInspectConfigRuleSetInfoTypeSensitivityScoreArgs{
								Score: pulumi.String("string"),
							},
							Version: pulumi.String("string"),
						},
					},
				},
			},
		},
		InspectTemplateName: pulumi.String("string"),
	},
	Status:    pulumi.String("string"),
	TriggerId: pulumi.String("string"),
})
var preventionJobTriggerResource = new PreventionJobTrigger("preventionJobTriggerResource", PreventionJobTriggerArgs.builder()
    .parent("string")
    .triggers(PreventionJobTriggerTriggerArgs.builder()
        .manual()
        .schedule(PreventionJobTriggerTriggerScheduleArgs.builder()
            .recurrencePeriodDuration("string")
            .build())
        .build())
    .description("string")
    .displayName("string")
    .inspectJob(PreventionJobTriggerInspectJobArgs.builder()
        .storageConfig(PreventionJobTriggerInspectJobStorageConfigArgs.builder()
            .bigQueryOptions(PreventionJobTriggerInspectJobStorageConfigBigQueryOptionsArgs.builder()
                .tableReference(PreventionJobTriggerInspectJobStorageConfigBigQueryOptionsTableReferenceArgs.builder()
                    .datasetId("string")
                    .projectId("string")
                    .tableId("string")
                    .build())
                .excludedFields(PreventionJobTriggerInspectJobStorageConfigBigQueryOptionsExcludedFieldArgs.builder()
                    .name("string")
                    .build())
                .identifyingFields(PreventionJobTriggerInspectJobStorageConfigBigQueryOptionsIdentifyingFieldArgs.builder()
                    .name("string")
                    .build())
                .includedFields(PreventionJobTriggerInspectJobStorageConfigBigQueryOptionsIncludedFieldArgs.builder()
                    .name("string")
                    .build())
                .rowsLimit(0)
                .rowsLimitPercent(0)
                .sampleMethod("string")
                .build())
            .cloudStorageOptions(PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsArgs.builder()
                .fileSet(PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsFileSetArgs.builder()
                    .regexFileSet(PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsFileSetRegexFileSetArgs.builder()
                        .bucketName("string")
                        .excludeRegexes("string")
                        .includeRegexes("string")
                        .build())
                    .url("string")
                    .build())
                .bytesLimitPerFile(0)
                .bytesLimitPerFilePercent(0)
                .fileTypes("string")
                .filesLimitPercent(0)
                .sampleMethod("string")
                .build())
            .datastoreOptions(PreventionJobTriggerInspectJobStorageConfigDatastoreOptionsArgs.builder()
                .kind(PreventionJobTriggerInspectJobStorageConfigDatastoreOptionsKindArgs.builder()
                    .name("string")
                    .build())
                .partitionId(PreventionJobTriggerInspectJobStorageConfigDatastoreOptionsPartitionIdArgs.builder()
                    .projectId("string")
                    .namespaceId("string")
                    .build())
                .build())
            .hybridOptions(PreventionJobTriggerInspectJobStorageConfigHybridOptionsArgs.builder()
                .description("string")
                .labels(Map.of("string", "string"))
                .requiredFindingLabelKeys("string")
                .tableOptions(PreventionJobTriggerInspectJobStorageConfigHybridOptionsTableOptionsArgs.builder()
                    .identifyingFields(PreventionJobTriggerInspectJobStorageConfigHybridOptionsTableOptionsIdentifyingFieldArgs.builder()
                        .name("string")
                        .build())
                    .build())
                .build())
            .timespanConfig(PreventionJobTriggerInspectJobStorageConfigTimespanConfigArgs.builder()
                .enableAutoPopulationOfTimespanConfig(false)
                .endTime("string")
                .startTime("string")
                .timestampField(PreventionJobTriggerInspectJobStorageConfigTimespanConfigTimestampFieldArgs.builder()
                    .name("string")
                    .build())
                .build())
            .build())
        .actions(PreventionJobTriggerInspectJobActionArgs.builder()
            .deidentify(PreventionJobTriggerInspectJobActionDeidentifyArgs.builder()
                .cloudStorageOutput("string")
                .fileTypesToTransforms("string")
                .transformationConfig(PreventionJobTriggerInspectJobActionDeidentifyTransformationConfigArgs.builder()
                    .deidentifyTemplate("string")
                    .imageRedactTemplate("string")
                    .structuredDeidentifyTemplate("string")
                    .build())
                .transformationDetailsStorageConfig(PreventionJobTriggerInspectJobActionDeidentifyTransformationDetailsStorageConfigArgs.builder()
                    .table(PreventionJobTriggerInspectJobActionDeidentifyTransformationDetailsStorageConfigTableArgs.builder()
                        .datasetId("string")
                        .projectId("string")
                        .tableId("string")
                        .build())
                    .build())
                .build())
            .jobNotificationEmails()
            .pubSub(PreventionJobTriggerInspectJobActionPubSubArgs.builder()
                .topic("string")
                .build())
            .publishFindingsToCloudDataCatalog()
            .publishSummaryToCscc()
            .publishToStackdriver()
            .saveFindings(PreventionJobTriggerInspectJobActionSaveFindingsArgs.builder()
                .outputConfig(PreventionJobTriggerInspectJobActionSaveFindingsOutputConfigArgs.builder()
                    .table(PreventionJobTriggerInspectJobActionSaveFindingsOutputConfigTableArgs.builder()
                        .datasetId("string")
                        .projectId("string")
                        .tableId("string")
                        .build())
                    .outputSchema("string")
                    .build())
                .build())
            .build())
        .inspectConfig(PreventionJobTriggerInspectJobInspectConfigArgs.builder()
            .customInfoTypes(PreventionJobTriggerInspectJobInspectConfigCustomInfoTypeArgs.builder()
                .infoType(PreventionJobTriggerInspectJobInspectConfigCustomInfoTypeInfoTypeArgs.builder()
                    .name("string")
                    .sensitivityScore(PreventionJobTriggerInspectJobInspectConfigCustomInfoTypeInfoTypeSensitivityScoreArgs.builder()
                        .score("string")
                        .build())
                    .version("string")
                    .build())
                .dictionary(PreventionJobTriggerInspectJobInspectConfigCustomInfoTypeDictionaryArgs.builder()
                    .cloudStoragePath(PreventionJobTriggerInspectJobInspectConfigCustomInfoTypeDictionaryCloudStoragePathArgs.builder()
                        .path("string")
                        .build())
                    .wordList(PreventionJobTriggerInspectJobInspectConfigCustomInfoTypeDictionaryWordListArgs.builder()
                        .words("string")
                        .build())
                    .build())
                .exclusionType("string")
                .likelihood("string")
                .regex(PreventionJobTriggerInspectJobInspectConfigCustomInfoTypeRegexArgs.builder()
                    .pattern("string")
                    .groupIndexes(0)
                    .build())
                .sensitivityScore(PreventionJobTriggerInspectJobInspectConfigCustomInfoTypeSensitivityScoreArgs.builder()
                    .score("string")
                    .build())
                .storedType(PreventionJobTriggerInspectJobInspectConfigCustomInfoTypeStoredTypeArgs.builder()
                    .name("string")
                    .createTime("string")
                    .build())
                .surrogateType()
                .build())
            .excludeInfoTypes(false)
            .includeQuote(false)
            .infoTypes(PreventionJobTriggerInspectJobInspectConfigInfoTypeArgs.builder()
                .name("string")
                .sensitivityScore(PreventionJobTriggerInspectJobInspectConfigInfoTypeSensitivityScoreArgs.builder()
                    .score("string")
                    .build())
                .version("string")
                .build())
            .limits(PreventionJobTriggerInspectJobInspectConfigLimitsArgs.builder()
                .maxFindingsPerInfoTypes(PreventionJobTriggerInspectJobInspectConfigLimitsMaxFindingsPerInfoTypeArgs.builder()
                    .infoType(PreventionJobTriggerInspectJobInspectConfigLimitsMaxFindingsPerInfoTypeInfoTypeArgs.builder()
                        .name("string")
                        .sensitivityScore(PreventionJobTriggerInspectJobInspectConfigLimitsMaxFindingsPerInfoTypeInfoTypeSensitivityScoreArgs.builder()
                            .score("string")
                            .build())
                        .version("string")
                        .build())
                    .maxFindings(0)
                    .build())
                .maxFindingsPerItem(0)
                .maxFindingsPerRequest(0)
                .build())
            .minLikelihood("string")
            .ruleSets(PreventionJobTriggerInspectJobInspectConfigRuleSetArgs.builder()
                .rules(PreventionJobTriggerInspectJobInspectConfigRuleSetRuleArgs.builder()
                    .exclusionRule(PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleArgs.builder()
                        .matchingType("string")
                        .dictionary(PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleDictionaryArgs.builder()
                            .cloudStoragePath(PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleDictionaryCloudStoragePathArgs.builder()
                                .path("string")
                                .build())
                            .wordList(PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleDictionaryWordListArgs.builder()
                                .words("string")
                                .build())
                            .build())
                        .excludeByHotword(PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleExcludeByHotwordArgs.builder()
                            .hotwordRegex(PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleExcludeByHotwordHotwordRegexArgs.builder()
                                .groupIndexes(0)
                                .pattern("string")
                                .build())
                            .proximity(PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleExcludeByHotwordProximityArgs.builder()
                                .windowAfter(0)
                                .windowBefore(0)
                                .build())
                            .build())
                        .excludeInfoTypes(PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleExcludeInfoTypesArgs.builder()
                            .infoTypes(PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleExcludeInfoTypesInfoTypeArgs.builder()
                                .name("string")
                                .sensitivityScore(PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleExcludeInfoTypesInfoTypeSensitivityScoreArgs.builder()
                                    .score("string")
                                    .build())
                                .version("string")
                                .build())
                            .build())
                        .regex(PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleRegexArgs.builder()
                            .pattern("string")
                            .groupIndexes(0)
                            .build())
                        .build())
                    .hotwordRule(PreventionJobTriggerInspectJobInspectConfigRuleSetRuleHotwordRuleArgs.builder()
                        .hotwordRegex(PreventionJobTriggerInspectJobInspectConfigRuleSetRuleHotwordRuleHotwordRegexArgs.builder()
                            .groupIndexes(0)
                            .pattern("string")
                            .build())
                        .likelihoodAdjustment(PreventionJobTriggerInspectJobInspectConfigRuleSetRuleHotwordRuleLikelihoodAdjustmentArgs.builder()
                            .fixedLikelihood("string")
                            .relativeLikelihood(0)
                            .build())
                        .proximity(PreventionJobTriggerInspectJobInspectConfigRuleSetRuleHotwordRuleProximityArgs.builder()
                            .windowAfter(0)
                            .windowBefore(0)
                            .build())
                        .build())
                    .build())
                .infoTypes(PreventionJobTriggerInspectJobInspectConfigRuleSetInfoTypeArgs.builder()
                    .name("string")
                    .sensitivityScore(PreventionJobTriggerInspectJobInspectConfigRuleSetInfoTypeSensitivityScoreArgs.builder()
                        .score("string")
                        .build())
                    .version("string")
                    .build())
                .build())
            .build())
        .inspectTemplateName("string")
        .build())
    .status("string")
    .triggerId("string")
    .build());
prevention_job_trigger_resource = gcp.dataloss.PreventionJobTrigger("preventionJobTriggerResource",
    parent="string",
    triggers=[{
        "manual": {},
        "schedule": {
            "recurrence_period_duration": "string",
        },
    }],
    description="string",
    display_name="string",
    inspect_job={
        "storage_config": {
            "big_query_options": {
                "table_reference": {
                    "dataset_id": "string",
                    "project_id": "string",
                    "table_id": "string",
                },
                "excluded_fields": [{
                    "name": "string",
                }],
                "identifying_fields": [{
                    "name": "string",
                }],
                "included_fields": [{
                    "name": "string",
                }],
                "rows_limit": 0,
                "rows_limit_percent": 0,
                "sample_method": "string",
            },
            "cloud_storage_options": {
                "file_set": {
                    "regex_file_set": {
                        "bucket_name": "string",
                        "exclude_regexes": ["string"],
                        "include_regexes": ["string"],
                    },
                    "url": "string",
                },
                "bytes_limit_per_file": 0,
                "bytes_limit_per_file_percent": 0,
                "file_types": ["string"],
                "files_limit_percent": 0,
                "sample_method": "string",
            },
            "datastore_options": {
                "kind": {
                    "name": "string",
                },
                "partition_id": {
                    "project_id": "string",
                    "namespace_id": "string",
                },
            },
            "hybrid_options": {
                "description": "string",
                "labels": {
                    "string": "string",
                },
                "required_finding_label_keys": ["string"],
                "table_options": {
                    "identifying_fields": [{
                        "name": "string",
                    }],
                },
            },
            "timespan_config": {
                "enable_auto_population_of_timespan_config": False,
                "end_time": "string",
                "start_time": "string",
                "timestamp_field": {
                    "name": "string",
                },
            },
        },
        "actions": [{
            "deidentify": {
                "cloud_storage_output": "string",
                "file_types_to_transforms": ["string"],
                "transformation_config": {
                    "deidentify_template": "string",
                    "image_redact_template": "string",
                    "structured_deidentify_template": "string",
                },
                "transformation_details_storage_config": {
                    "table": {
                        "dataset_id": "string",
                        "project_id": "string",
                        "table_id": "string",
                    },
                },
            },
            "job_notification_emails": {},
            "pub_sub": {
                "topic": "string",
            },
            "publish_findings_to_cloud_data_catalog": {},
            "publish_summary_to_cscc": {},
            "publish_to_stackdriver": {},
            "save_findings": {
                "output_config": {
                    "table": {
                        "dataset_id": "string",
                        "project_id": "string",
                        "table_id": "string",
                    },
                    "output_schema": "string",
                },
            },
        }],
        "inspect_config": {
            "custom_info_types": [{
                "info_type": {
                    "name": "string",
                    "sensitivity_score": {
                        "score": "string",
                    },
                    "version": "string",
                },
                "dictionary": {
                    "cloud_storage_path": {
                        "path": "string",
                    },
                    "word_list": {
                        "words": ["string"],
                    },
                },
                "exclusion_type": "string",
                "likelihood": "string",
                "regex": {
                    "pattern": "string",
                    "group_indexes": [0],
                },
                "sensitivity_score": {
                    "score": "string",
                },
                "stored_type": {
                    "name": "string",
                    "create_time": "string",
                },
                "surrogate_type": {},
            }],
            "exclude_info_types": False,
            "include_quote": False,
            "info_types": [{
                "name": "string",
                "sensitivity_score": {
                    "score": "string",
                },
                "version": "string",
            }],
            "limits": {
                "max_findings_per_info_types": [{
                    "info_type": {
                        "name": "string",
                        "sensitivity_score": {
                            "score": "string",
                        },
                        "version": "string",
                    },
                    "max_findings": 0,
                }],
                "max_findings_per_item": 0,
                "max_findings_per_request": 0,
            },
            "min_likelihood": "string",
            "rule_sets": [{
                "rules": [{
                    "exclusion_rule": {
                        "matching_type": "string",
                        "dictionary": {
                            "cloud_storage_path": {
                                "path": "string",
                            },
                            "word_list": {
                                "words": ["string"],
                            },
                        },
                        "exclude_by_hotword": {
                            "hotword_regex": {
                                "group_indexes": [0],
                                "pattern": "string",
                            },
                            "proximity": {
                                "window_after": 0,
                                "window_before": 0,
                            },
                        },
                        "exclude_info_types": {
                            "info_types": [{
                                "name": "string",
                                "sensitivity_score": {
                                    "score": "string",
                                },
                                "version": "string",
                            }],
                        },
                        "regex": {
                            "pattern": "string",
                            "group_indexes": [0],
                        },
                    },
                    "hotword_rule": {
                        "hotword_regex": {
                            "group_indexes": [0],
                            "pattern": "string",
                        },
                        "likelihood_adjustment": {
                            "fixed_likelihood": "string",
                            "relative_likelihood": 0,
                        },
                        "proximity": {
                            "window_after": 0,
                            "window_before": 0,
                        },
                    },
                }],
                "info_types": [{
                    "name": "string",
                    "sensitivity_score": {
                        "score": "string",
                    },
                    "version": "string",
                }],
            }],
        },
        "inspect_template_name": "string",
    },
    status="string",
    trigger_id="string")
const preventionJobTriggerResource = new gcp.dataloss.PreventionJobTrigger("preventionJobTriggerResource", {
    parent: "string",
    triggers: [{
        manual: {},
        schedule: {
            recurrencePeriodDuration: "string",
        },
    }],
    description: "string",
    displayName: "string",
    inspectJob: {
        storageConfig: {
            bigQueryOptions: {
                tableReference: {
                    datasetId: "string",
                    projectId: "string",
                    tableId: "string",
                },
                excludedFields: [{
                    name: "string",
                }],
                identifyingFields: [{
                    name: "string",
                }],
                includedFields: [{
                    name: "string",
                }],
                rowsLimit: 0,
                rowsLimitPercent: 0,
                sampleMethod: "string",
            },
            cloudStorageOptions: {
                fileSet: {
                    regexFileSet: {
                        bucketName: "string",
                        excludeRegexes: ["string"],
                        includeRegexes: ["string"],
                    },
                    url: "string",
                },
                bytesLimitPerFile: 0,
                bytesLimitPerFilePercent: 0,
                fileTypes: ["string"],
                filesLimitPercent: 0,
                sampleMethod: "string",
            },
            datastoreOptions: {
                kind: {
                    name: "string",
                },
                partitionId: {
                    projectId: "string",
                    namespaceId: "string",
                },
            },
            hybridOptions: {
                description: "string",
                labels: {
                    string: "string",
                },
                requiredFindingLabelKeys: ["string"],
                tableOptions: {
                    identifyingFields: [{
                        name: "string",
                    }],
                },
            },
            timespanConfig: {
                enableAutoPopulationOfTimespanConfig: false,
                endTime: "string",
                startTime: "string",
                timestampField: {
                    name: "string",
                },
            },
        },
        actions: [{
            deidentify: {
                cloudStorageOutput: "string",
                fileTypesToTransforms: ["string"],
                transformationConfig: {
                    deidentifyTemplate: "string",
                    imageRedactTemplate: "string",
                    structuredDeidentifyTemplate: "string",
                },
                transformationDetailsStorageConfig: {
                    table: {
                        datasetId: "string",
                        projectId: "string",
                        tableId: "string",
                    },
                },
            },
            jobNotificationEmails: {},
            pubSub: {
                topic: "string",
            },
            publishFindingsToCloudDataCatalog: {},
            publishSummaryToCscc: {},
            publishToStackdriver: {},
            saveFindings: {
                outputConfig: {
                    table: {
                        datasetId: "string",
                        projectId: "string",
                        tableId: "string",
                    },
                    outputSchema: "string",
                },
            },
        }],
        inspectConfig: {
            customInfoTypes: [{
                infoType: {
                    name: "string",
                    sensitivityScore: {
                        score: "string",
                    },
                    version: "string",
                },
                dictionary: {
                    cloudStoragePath: {
                        path: "string",
                    },
                    wordList: {
                        words: ["string"],
                    },
                },
                exclusionType: "string",
                likelihood: "string",
                regex: {
                    pattern: "string",
                    groupIndexes: [0],
                },
                sensitivityScore: {
                    score: "string",
                },
                storedType: {
                    name: "string",
                    createTime: "string",
                },
                surrogateType: {},
            }],
            excludeInfoTypes: false,
            includeQuote: false,
            infoTypes: [{
                name: "string",
                sensitivityScore: {
                    score: "string",
                },
                version: "string",
            }],
            limits: {
                maxFindingsPerInfoTypes: [{
                    infoType: {
                        name: "string",
                        sensitivityScore: {
                            score: "string",
                        },
                        version: "string",
                    },
                    maxFindings: 0,
                }],
                maxFindingsPerItem: 0,
                maxFindingsPerRequest: 0,
            },
            minLikelihood: "string",
            ruleSets: [{
                rules: [{
                    exclusionRule: {
                        matchingType: "string",
                        dictionary: {
                            cloudStoragePath: {
                                path: "string",
                            },
                            wordList: {
                                words: ["string"],
                            },
                        },
                        excludeByHotword: {
                            hotwordRegex: {
                                groupIndexes: [0],
                                pattern: "string",
                            },
                            proximity: {
                                windowAfter: 0,
                                windowBefore: 0,
                            },
                        },
                        excludeInfoTypes: {
                            infoTypes: [{
                                name: "string",
                                sensitivityScore: {
                                    score: "string",
                                },
                                version: "string",
                            }],
                        },
                        regex: {
                            pattern: "string",
                            groupIndexes: [0],
                        },
                    },
                    hotwordRule: {
                        hotwordRegex: {
                            groupIndexes: [0],
                            pattern: "string",
                        },
                        likelihoodAdjustment: {
                            fixedLikelihood: "string",
                            relativeLikelihood: 0,
                        },
                        proximity: {
                            windowAfter: 0,
                            windowBefore: 0,
                        },
                    },
                }],
                infoTypes: [{
                    name: "string",
                    sensitivityScore: {
                        score: "string",
                    },
                    version: "string",
                }],
            }],
        },
        inspectTemplateName: "string",
    },
    status: "string",
    triggerId: "string",
});
type: gcp:dataloss:PreventionJobTrigger
properties:
    description: string
    displayName: string
    inspectJob:
        actions:
            - deidentify:
                cloudStorageOutput: string
                fileTypesToTransforms:
                    - string
                transformationConfig:
                    deidentifyTemplate: string
                    imageRedactTemplate: string
                    structuredDeidentifyTemplate: string
                transformationDetailsStorageConfig:
                    table:
                        datasetId: string
                        projectId: string
                        tableId: string
              jobNotificationEmails: {}
              pubSub:
                topic: string
              publishFindingsToCloudDataCatalog: {}
              publishSummaryToCscc: {}
              publishToStackdriver: {}
              saveFindings:
                outputConfig:
                    outputSchema: string
                    table:
                        datasetId: string
                        projectId: string
                        tableId: string
        inspectConfig:
            customInfoTypes:
                - dictionary:
                    cloudStoragePath:
                        path: string
                    wordList:
                        words:
                            - string
                  exclusionType: string
                  infoType:
                    name: string
                    sensitivityScore:
                        score: string
                    version: string
                  likelihood: string
                  regex:
                    groupIndexes:
                        - 0
                    pattern: string
                  sensitivityScore:
                    score: string
                  storedType:
                    createTime: string
                    name: string
                  surrogateType: {}
            excludeInfoTypes: false
            includeQuote: false
            infoTypes:
                - name: string
                  sensitivityScore:
                    score: string
                  version: string
            limits:
                maxFindingsPerInfoTypes:
                    - infoType:
                        name: string
                        sensitivityScore:
                            score: string
                        version: string
                      maxFindings: 0
                maxFindingsPerItem: 0
                maxFindingsPerRequest: 0
            minLikelihood: string
            ruleSets:
                - infoTypes:
                    - name: string
                      sensitivityScore:
                        score: string
                      version: string
                  rules:
                    - exclusionRule:
                        dictionary:
                            cloudStoragePath:
                                path: string
                            wordList:
                                words:
                                    - string
                        excludeByHotword:
                            hotwordRegex:
                                groupIndexes:
                                    - 0
                                pattern: string
                            proximity:
                                windowAfter: 0
                                windowBefore: 0
                        excludeInfoTypes:
                            infoTypes:
                                - name: string
                                  sensitivityScore:
                                    score: string
                                  version: string
                        matchingType: string
                        regex:
                            groupIndexes:
                                - 0
                            pattern: string
                      hotwordRule:
                        hotwordRegex:
                            groupIndexes:
                                - 0
                            pattern: string
                        likelihoodAdjustment:
                            fixedLikelihood: string
                            relativeLikelihood: 0
                        proximity:
                            windowAfter: 0
                            windowBefore: 0
        inspectTemplateName: string
        storageConfig:
            bigQueryOptions:
                excludedFields:
                    - name: string
                identifyingFields:
                    - name: string
                includedFields:
                    - name: string
                rowsLimit: 0
                rowsLimitPercent: 0
                sampleMethod: string
                tableReference:
                    datasetId: string
                    projectId: string
                    tableId: string
            cloudStorageOptions:
                bytesLimitPerFile: 0
                bytesLimitPerFilePercent: 0
                fileSet:
                    regexFileSet:
                        bucketName: string
                        excludeRegexes:
                            - string
                        includeRegexes:
                            - string
                    url: string
                fileTypes:
                    - string
                filesLimitPercent: 0
                sampleMethod: string
            datastoreOptions:
                kind:
                    name: string
                partitionId:
                    namespaceId: string
                    projectId: string
            hybridOptions:
                description: string
                labels:
                    string: string
                requiredFindingLabelKeys:
                    - string
                tableOptions:
                    identifyingFields:
                        - name: string
            timespanConfig:
                enableAutoPopulationOfTimespanConfig: false
                endTime: string
                startTime: string
                timestampField:
                    name: string
    parent: string
    status: string
    triggerId: string
    triggers:
        - manual: {}
          schedule:
            recurrencePeriodDuration: string
PreventionJobTrigger Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The PreventionJobTrigger resource accepts the following input properties:
- Parent string
- The parent of the trigger, either in the format projects/{{project}}orprojects/{{project}}/locations/{{location}}
- Triggers
List<PreventionJob Trigger Trigger> 
- What event needs to occur for a new job to be started. Structure is documented below.
- Description string
- A description of the job trigger.
- DisplayName string
- User set display name of the job trigger.
- InspectJob PreventionJob Trigger Inspect Job 
- Controls what and how to inspect for findings.
- Status string
- Whether the trigger is currently active. Default value: "HEALTHY" Possible values: ["PAUSED", "HEALTHY", "CANCELLED"]
- TriggerId string
- The trigger id can contain uppercase and lowercase letters, numbers, and hyphens; that is, it must match the regular expression: [a-zA-Z\d-_]+. The maximum length is 100 characters. Can be empty to allow the system to generate one.
- Parent string
- The parent of the trigger, either in the format projects/{{project}}orprojects/{{project}}/locations/{{location}}
- Triggers
[]PreventionJob Trigger Trigger Args 
- What event needs to occur for a new job to be started. Structure is documented below.
- Description string
- A description of the job trigger.
- DisplayName string
- User set display name of the job trigger.
- InspectJob PreventionJob Trigger Inspect Job Args 
- Controls what and how to inspect for findings.
- Status string
- Whether the trigger is currently active. Default value: "HEALTHY" Possible values: ["PAUSED", "HEALTHY", "CANCELLED"]
- TriggerId string
- The trigger id can contain uppercase and lowercase letters, numbers, and hyphens; that is, it must match the regular expression: [a-zA-Z\d-_]+. The maximum length is 100 characters. Can be empty to allow the system to generate one.
- parent String
- The parent of the trigger, either in the format projects/{{project}}orprojects/{{project}}/locations/{{location}}
- triggers
List<PreventionJob Trigger Trigger> 
- What event needs to occur for a new job to be started. Structure is documented below.
- description String
- A description of the job trigger.
- displayName String
- User set display name of the job trigger.
- inspectJob PreventionJob Trigger Inspect Job 
- Controls what and how to inspect for findings.
- status String
- Whether the trigger is currently active. Default value: "HEALTHY" Possible values: ["PAUSED", "HEALTHY", "CANCELLED"]
- triggerId String
- The trigger id can contain uppercase and lowercase letters, numbers, and hyphens; that is, it must match the regular expression: [a-zA-Z\d-_]+. The maximum length is 100 characters. Can be empty to allow the system to generate one.
- parent string
- The parent of the trigger, either in the format projects/{{project}}orprojects/{{project}}/locations/{{location}}
- triggers
PreventionJob Trigger Trigger[] 
- What event needs to occur for a new job to be started. Structure is documented below.
- description string
- A description of the job trigger.
- displayName string
- User set display name of the job trigger.
- inspectJob PreventionJob Trigger Inspect Job 
- Controls what and how to inspect for findings.
- status string
- Whether the trigger is currently active. Default value: "HEALTHY" Possible values: ["PAUSED", "HEALTHY", "CANCELLED"]
- triggerId string
- The trigger id can contain uppercase and lowercase letters, numbers, and hyphens; that is, it must match the regular expression: [a-zA-Z\d-_]+. The maximum length is 100 characters. Can be empty to allow the system to generate one.
- parent str
- The parent of the trigger, either in the format projects/{{project}}orprojects/{{project}}/locations/{{location}}
- triggers
Sequence[PreventionJob Trigger Trigger Args] 
- What event needs to occur for a new job to be started. Structure is documented below.
- description str
- A description of the job trigger.
- display_name str
- User set display name of the job trigger.
- inspect_job PreventionJob Trigger Inspect Job Args 
- Controls what and how to inspect for findings.
- status str
- Whether the trigger is currently active. Default value: "HEALTHY" Possible values: ["PAUSED", "HEALTHY", "CANCELLED"]
- trigger_id str
- The trigger id can contain uppercase and lowercase letters, numbers, and hyphens; that is, it must match the regular expression: [a-zA-Z\d-_]+. The maximum length is 100 characters. Can be empty to allow the system to generate one.
- parent String
- The parent of the trigger, either in the format projects/{{project}}orprojects/{{project}}/locations/{{location}}
- triggers List<Property Map>
- What event needs to occur for a new job to be started. Structure is documented below.
- description String
- A description of the job trigger.
- displayName String
- User set display name of the job trigger.
- inspectJob Property Map
- Controls what and how to inspect for findings.
- status String
- Whether the trigger is currently active. Default value: "HEALTHY" Possible values: ["PAUSED", "HEALTHY", "CANCELLED"]
- triggerId String
- The trigger id can contain uppercase and lowercase letters, numbers, and hyphens; that is, it must match the regular expression: [a-zA-Z\d-_]+. The maximum length is 100 characters. Can be empty to allow the system to generate one.
Outputs
All input properties are implicitly available as output properties. Additionally, the PreventionJobTrigger resource produces the following output properties:
- CreateTime string
- The creation timestamp of an inspectTemplate. Set by the server.
- Id string
- The provider-assigned unique ID for this managed resource.
- LastRun stringTime 
- The timestamp of the last time this trigger executed.
- Name string
- The resource name of the job trigger. Set by the server.
- UpdateTime string
- The last update timestamp of an inspectTemplate. Set by the server.
- CreateTime string
- The creation timestamp of an inspectTemplate. Set by the server.
- Id string
- The provider-assigned unique ID for this managed resource.
- LastRun stringTime 
- The timestamp of the last time this trigger executed.
- Name string
- The resource name of the job trigger. Set by the server.
- UpdateTime string
- The last update timestamp of an inspectTemplate. Set by the server.
- createTime String
- The creation timestamp of an inspectTemplate. Set by the server.
- id String
- The provider-assigned unique ID for this managed resource.
- lastRun StringTime 
- The timestamp of the last time this trigger executed.
- name String
- The resource name of the job trigger. Set by the server.
- updateTime String
- The last update timestamp of an inspectTemplate. Set by the server.
- createTime string
- The creation timestamp of an inspectTemplate. Set by the server.
- id string
- The provider-assigned unique ID for this managed resource.
- lastRun stringTime 
- The timestamp of the last time this trigger executed.
- name string
- The resource name of the job trigger. Set by the server.
- updateTime string
- The last update timestamp of an inspectTemplate. Set by the server.
- create_time str
- The creation timestamp of an inspectTemplate. Set by the server.
- id str
- The provider-assigned unique ID for this managed resource.
- last_run_ strtime 
- The timestamp of the last time this trigger executed.
- name str
- The resource name of the job trigger. Set by the server.
- update_time str
- The last update timestamp of an inspectTemplate. Set by the server.
- createTime String
- The creation timestamp of an inspectTemplate. Set by the server.
- id String
- The provider-assigned unique ID for this managed resource.
- lastRun StringTime 
- The timestamp of the last time this trigger executed.
- name String
- The resource name of the job trigger. Set by the server.
- updateTime String
- The last update timestamp of an inspectTemplate. Set by the server.
Look up Existing PreventionJobTrigger Resource
Get an existing PreventionJobTrigger 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?: PreventionJobTriggerState, opts?: CustomResourceOptions): PreventionJobTrigger@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        create_time: Optional[str] = None,
        description: Optional[str] = None,
        display_name: Optional[str] = None,
        inspect_job: Optional[PreventionJobTriggerInspectJobArgs] = None,
        last_run_time: Optional[str] = None,
        name: Optional[str] = None,
        parent: Optional[str] = None,
        status: Optional[str] = None,
        trigger_id: Optional[str] = None,
        triggers: Optional[Sequence[PreventionJobTriggerTriggerArgs]] = None,
        update_time: Optional[str] = None) -> PreventionJobTriggerfunc GetPreventionJobTrigger(ctx *Context, name string, id IDInput, state *PreventionJobTriggerState, opts ...ResourceOption) (*PreventionJobTrigger, error)public static PreventionJobTrigger Get(string name, Input<string> id, PreventionJobTriggerState? state, CustomResourceOptions? opts = null)public static PreventionJobTrigger get(String name, Output<String> id, PreventionJobTriggerState state, CustomResourceOptions options)resources:  _:    type: gcp:dataloss:PreventionJobTrigger    get:      id: ${id}- 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.
- CreateTime string
- The creation timestamp of an inspectTemplate. Set by the server.
- Description string
- A description of the job trigger.
- DisplayName string
- User set display name of the job trigger.
- InspectJob PreventionJob Trigger Inspect Job 
- Controls what and how to inspect for findings.
- LastRun stringTime 
- The timestamp of the last time this trigger executed.
- Name string
- The resource name of the job trigger. Set by the server.
- Parent string
- The parent of the trigger, either in the format projects/{{project}}orprojects/{{project}}/locations/{{location}}
- Status string
- Whether the trigger is currently active. Default value: "HEALTHY" Possible values: ["PAUSED", "HEALTHY", "CANCELLED"]
- TriggerId string
- The trigger id can contain uppercase and lowercase letters, numbers, and hyphens; that is, it must match the regular expression: [a-zA-Z\d-_]+. The maximum length is 100 characters. Can be empty to allow the system to generate one.
- Triggers
List<PreventionJob Trigger Trigger> 
- What event needs to occur for a new job to be started. Structure is documented below.
- UpdateTime string
- The last update timestamp of an inspectTemplate. Set by the server.
- CreateTime string
- The creation timestamp of an inspectTemplate. Set by the server.
- Description string
- A description of the job trigger.
- DisplayName string
- User set display name of the job trigger.
- InspectJob PreventionJob Trigger Inspect Job Args 
- Controls what and how to inspect for findings.
- LastRun stringTime 
- The timestamp of the last time this trigger executed.
- Name string
- The resource name of the job trigger. Set by the server.
- Parent string
- The parent of the trigger, either in the format projects/{{project}}orprojects/{{project}}/locations/{{location}}
- Status string
- Whether the trigger is currently active. Default value: "HEALTHY" Possible values: ["PAUSED", "HEALTHY", "CANCELLED"]
- TriggerId string
- The trigger id can contain uppercase and lowercase letters, numbers, and hyphens; that is, it must match the regular expression: [a-zA-Z\d-_]+. The maximum length is 100 characters. Can be empty to allow the system to generate one.
- Triggers
[]PreventionJob Trigger Trigger Args 
- What event needs to occur for a new job to be started. Structure is documented below.
- UpdateTime string
- The last update timestamp of an inspectTemplate. Set by the server.
- createTime String
- The creation timestamp of an inspectTemplate. Set by the server.
- description String
- A description of the job trigger.
- displayName String
- User set display name of the job trigger.
- inspectJob PreventionJob Trigger Inspect Job 
- Controls what and how to inspect for findings.
- lastRun StringTime 
- The timestamp of the last time this trigger executed.
- name String
- The resource name of the job trigger. Set by the server.
- parent String
- The parent of the trigger, either in the format projects/{{project}}orprojects/{{project}}/locations/{{location}}
- status String
- Whether the trigger is currently active. Default value: "HEALTHY" Possible values: ["PAUSED", "HEALTHY", "CANCELLED"]
- triggerId String
- The trigger id can contain uppercase and lowercase letters, numbers, and hyphens; that is, it must match the regular expression: [a-zA-Z\d-_]+. The maximum length is 100 characters. Can be empty to allow the system to generate one.
- triggers
List<PreventionJob Trigger Trigger> 
- What event needs to occur for a new job to be started. Structure is documented below.
- updateTime String
- The last update timestamp of an inspectTemplate. Set by the server.
- createTime string
- The creation timestamp of an inspectTemplate. Set by the server.
- description string
- A description of the job trigger.
- displayName string
- User set display name of the job trigger.
- inspectJob PreventionJob Trigger Inspect Job 
- Controls what and how to inspect for findings.
- lastRun stringTime 
- The timestamp of the last time this trigger executed.
- name string
- The resource name of the job trigger. Set by the server.
- parent string
- The parent of the trigger, either in the format projects/{{project}}orprojects/{{project}}/locations/{{location}}
- status string
- Whether the trigger is currently active. Default value: "HEALTHY" Possible values: ["PAUSED", "HEALTHY", "CANCELLED"]
- triggerId string
- The trigger id can contain uppercase and lowercase letters, numbers, and hyphens; that is, it must match the regular expression: [a-zA-Z\d-_]+. The maximum length is 100 characters. Can be empty to allow the system to generate one.
- triggers
PreventionJob Trigger Trigger[] 
- What event needs to occur for a new job to be started. Structure is documented below.
- updateTime string
- The last update timestamp of an inspectTemplate. Set by the server.
- create_time str
- The creation timestamp of an inspectTemplate. Set by the server.
- description str
- A description of the job trigger.
- display_name str
- User set display name of the job trigger.
- inspect_job PreventionJob Trigger Inspect Job Args 
- Controls what and how to inspect for findings.
- last_run_ strtime 
- The timestamp of the last time this trigger executed.
- name str
- The resource name of the job trigger. Set by the server.
- parent str
- The parent of the trigger, either in the format projects/{{project}}orprojects/{{project}}/locations/{{location}}
- status str
- Whether the trigger is currently active. Default value: "HEALTHY" Possible values: ["PAUSED", "HEALTHY", "CANCELLED"]
- trigger_id str
- The trigger id can contain uppercase and lowercase letters, numbers, and hyphens; that is, it must match the regular expression: [a-zA-Z\d-_]+. The maximum length is 100 characters. Can be empty to allow the system to generate one.
- triggers
Sequence[PreventionJob Trigger Trigger Args] 
- What event needs to occur for a new job to be started. Structure is documented below.
- update_time str
- The last update timestamp of an inspectTemplate. Set by the server.
- createTime String
- The creation timestamp of an inspectTemplate. Set by the server.
- description String
- A description of the job trigger.
- displayName String
- User set display name of the job trigger.
- inspectJob Property Map
- Controls what and how to inspect for findings.
- lastRun StringTime 
- The timestamp of the last time this trigger executed.
- name String
- The resource name of the job trigger. Set by the server.
- parent String
- The parent of the trigger, either in the format projects/{{project}}orprojects/{{project}}/locations/{{location}}
- status String
- Whether the trigger is currently active. Default value: "HEALTHY" Possible values: ["PAUSED", "HEALTHY", "CANCELLED"]
- triggerId String
- The trigger id can contain uppercase and lowercase letters, numbers, and hyphens; that is, it must match the regular expression: [a-zA-Z\d-_]+. The maximum length is 100 characters. Can be empty to allow the system to generate one.
- triggers List<Property Map>
- What event needs to occur for a new job to be started. Structure is documented below.
- updateTime String
- The last update timestamp of an inspectTemplate. Set by the server.
Supporting Types
PreventionJobTriggerInspectJob, PreventionJobTriggerInspectJobArgs          
- StorageConfig PreventionJob Trigger Inspect Job Storage Config 
- Information on where to inspect Structure is documented below.
- Actions
List<PreventionJob Trigger Inspect Job Action> 
- Configuration block for the actions to execute on the completion of a job. Can be specified multiple times, but only one for each type. Each action block supports fields documented below. This argument is processed in attribute-as-blocks mode. Structure is documented below.
- InspectConfig PreventionJob Trigger Inspect Job Inspect Config 
- The core content of the template. Structure is documented below.
- InspectTemplate stringName 
- The name of the template to run when this job is triggered.
- StorageConfig PreventionJob Trigger Inspect Job Storage Config 
- Information on where to inspect Structure is documented below.
- Actions
[]PreventionJob Trigger Inspect Job Action 
- Configuration block for the actions to execute on the completion of a job. Can be specified multiple times, but only one for each type. Each action block supports fields documented below. This argument is processed in attribute-as-blocks mode. Structure is documented below.
- InspectConfig PreventionJob Trigger Inspect Job Inspect Config 
- The core content of the template. Structure is documented below.
- InspectTemplate stringName 
- The name of the template to run when this job is triggered.
- storageConfig PreventionJob Trigger Inspect Job Storage Config 
- Information on where to inspect Structure is documented below.
- actions
List<PreventionJob Trigger Inspect Job Action> 
- Configuration block for the actions to execute on the completion of a job. Can be specified multiple times, but only one for each type. Each action block supports fields documented below. This argument is processed in attribute-as-blocks mode. Structure is documented below.
- inspectConfig PreventionJob Trigger Inspect Job Inspect Config 
- The core content of the template. Structure is documented below.
- inspectTemplate StringName 
- The name of the template to run when this job is triggered.
- storageConfig PreventionJob Trigger Inspect Job Storage Config 
- Information on where to inspect Structure is documented below.
- actions
PreventionJob Trigger Inspect Job Action[] 
- Configuration block for the actions to execute on the completion of a job. Can be specified multiple times, but only one for each type. Each action block supports fields documented below. This argument is processed in attribute-as-blocks mode. Structure is documented below.
- inspectConfig PreventionJob Trigger Inspect Job Inspect Config 
- The core content of the template. Structure is documented below.
- inspectTemplate stringName 
- The name of the template to run when this job is triggered.
- storage_config PreventionJob Trigger Inspect Job Storage Config 
- Information on where to inspect Structure is documented below.
- actions
Sequence[PreventionJob Trigger Inspect Job Action] 
- Configuration block for the actions to execute on the completion of a job. Can be specified multiple times, but only one for each type. Each action block supports fields documented below. This argument is processed in attribute-as-blocks mode. Structure is documented below.
- inspect_config PreventionJob Trigger Inspect Job Inspect Config 
- The core content of the template. Structure is documented below.
- inspect_template_ strname 
- The name of the template to run when this job is triggered.
- storageConfig Property Map
- Information on where to inspect Structure is documented below.
- actions List<Property Map>
- Configuration block for the actions to execute on the completion of a job. Can be specified multiple times, but only one for each type. Each action block supports fields documented below. This argument is processed in attribute-as-blocks mode. Structure is documented below.
- inspectConfig Property Map
- The core content of the template. Structure is documented below.
- inspectTemplate StringName 
- The name of the template to run when this job is triggered.
PreventionJobTriggerInspectJobAction, PreventionJobTriggerInspectJobActionArgs            
- Deidentify
PreventionJob Trigger Inspect Job Action Deidentify 
- Create a de-identified copy of the requested table or files. Structure is documented below.
- JobNotification PreventionEmails Job Trigger Inspect Job Action Job Notification Emails 
- Sends an email when the job completes. The email goes to IAM project owners and technical Essential Contacts.
- PubSub PreventionJob Trigger Inspect Job Action Pub Sub 
- Publish a message into a given Pub/Sub topic when the job completes. Structure is documented below.
- PublishFindings PreventionTo Cloud Data Catalog Job Trigger Inspect Job Action Publish Findings To Cloud Data Catalog 
- Publish findings of a DlpJob to Data Catalog.
- PublishSummary PreventionTo Cscc Job Trigger Inspect Job Action Publish Summary To Cscc 
- Publish the result summary of a DlpJob to the Cloud Security Command Center.
- PublishTo PreventionStackdriver Job Trigger Inspect Job Action Publish To Stackdriver 
- Enable Stackdriver metric dlp.googleapis.com/findingCount.
- SaveFindings PreventionJob Trigger Inspect Job Action Save Findings 
- If set, the detailed findings will be persisted to the specified OutputStorageConfig. Only a single instance of this action can be specified. Compatible with: Inspect, Risk Structure is documented below.
- Deidentify
PreventionJob Trigger Inspect Job Action Deidentify 
- Create a de-identified copy of the requested table or files. Structure is documented below.
- JobNotification PreventionEmails Job Trigger Inspect Job Action Job Notification Emails 
- Sends an email when the job completes. The email goes to IAM project owners and technical Essential Contacts.
- PubSub PreventionJob Trigger Inspect Job Action Pub Sub 
- Publish a message into a given Pub/Sub topic when the job completes. Structure is documented below.
- PublishFindings PreventionTo Cloud Data Catalog Job Trigger Inspect Job Action Publish Findings To Cloud Data Catalog 
- Publish findings of a DlpJob to Data Catalog.
- PublishSummary PreventionTo Cscc Job Trigger Inspect Job Action Publish Summary To Cscc 
- Publish the result summary of a DlpJob to the Cloud Security Command Center.
- PublishTo PreventionStackdriver Job Trigger Inspect Job Action Publish To Stackdriver 
- Enable Stackdriver metric dlp.googleapis.com/findingCount.
- SaveFindings PreventionJob Trigger Inspect Job Action Save Findings 
- If set, the detailed findings will be persisted to the specified OutputStorageConfig. Only a single instance of this action can be specified. Compatible with: Inspect, Risk Structure is documented below.
- deidentify
PreventionJob Trigger Inspect Job Action Deidentify 
- Create a de-identified copy of the requested table or files. Structure is documented below.
- jobNotification PreventionEmails Job Trigger Inspect Job Action Job Notification Emails 
- Sends an email when the job completes. The email goes to IAM project owners and technical Essential Contacts.
- pubSub PreventionJob Trigger Inspect Job Action Pub Sub 
- Publish a message into a given Pub/Sub topic when the job completes. Structure is documented below.
- publishFindings PreventionTo Cloud Data Catalog Job Trigger Inspect Job Action Publish Findings To Cloud Data Catalog 
- Publish findings of a DlpJob to Data Catalog.
- publishSummary PreventionTo Cscc Job Trigger Inspect Job Action Publish Summary To Cscc 
- Publish the result summary of a DlpJob to the Cloud Security Command Center.
- publishTo PreventionStackdriver Job Trigger Inspect Job Action Publish To Stackdriver 
- Enable Stackdriver metric dlp.googleapis.com/findingCount.
- saveFindings PreventionJob Trigger Inspect Job Action Save Findings 
- If set, the detailed findings will be persisted to the specified OutputStorageConfig. Only a single instance of this action can be specified. Compatible with: Inspect, Risk Structure is documented below.
- deidentify
PreventionJob Trigger Inspect Job Action Deidentify 
- Create a de-identified copy of the requested table or files. Structure is documented below.
- jobNotification PreventionEmails Job Trigger Inspect Job Action Job Notification Emails 
- Sends an email when the job completes. The email goes to IAM project owners and technical Essential Contacts.
- pubSub PreventionJob Trigger Inspect Job Action Pub Sub 
- Publish a message into a given Pub/Sub topic when the job completes. Structure is documented below.
- publishFindings PreventionTo Cloud Data Catalog Job Trigger Inspect Job Action Publish Findings To Cloud Data Catalog 
- Publish findings of a DlpJob to Data Catalog.
- publishSummary PreventionTo Cscc Job Trigger Inspect Job Action Publish Summary To Cscc 
- Publish the result summary of a DlpJob to the Cloud Security Command Center.
- publishTo PreventionStackdriver Job Trigger Inspect Job Action Publish To Stackdriver 
- Enable Stackdriver metric dlp.googleapis.com/findingCount.
- saveFindings PreventionJob Trigger Inspect Job Action Save Findings 
- If set, the detailed findings will be persisted to the specified OutputStorageConfig. Only a single instance of this action can be specified. Compatible with: Inspect, Risk Structure is documented below.
- deidentify
PreventionJob Trigger Inspect Job Action Deidentify 
- Create a de-identified copy of the requested table or files. Structure is documented below.
- job_notification_ Preventionemails Job Trigger Inspect Job Action Job Notification Emails 
- Sends an email when the job completes. The email goes to IAM project owners and technical Essential Contacts.
- pub_sub PreventionJob Trigger Inspect Job Action Pub Sub 
- Publish a message into a given Pub/Sub topic when the job completes. Structure is documented below.
- publish_findings_ Preventionto_ cloud_ data_ catalog Job Trigger Inspect Job Action Publish Findings To Cloud Data Catalog 
- Publish findings of a DlpJob to Data Catalog.
- publish_summary_ Preventionto_ cscc Job Trigger Inspect Job Action Publish Summary To Cscc 
- Publish the result summary of a DlpJob to the Cloud Security Command Center.
- publish_to_ Preventionstackdriver Job Trigger Inspect Job Action Publish To Stackdriver 
- Enable Stackdriver metric dlp.googleapis.com/findingCount.
- save_findings PreventionJob Trigger Inspect Job Action Save Findings 
- If set, the detailed findings will be persisted to the specified OutputStorageConfig. Only a single instance of this action can be specified. Compatible with: Inspect, Risk Structure is documented below.
- deidentify Property Map
- Create a de-identified copy of the requested table or files. Structure is documented below.
- jobNotification Property MapEmails 
- Sends an email when the job completes. The email goes to IAM project owners and technical Essential Contacts.
- pubSub Property Map
- Publish a message into a given Pub/Sub topic when the job completes. Structure is documented below.
- publishFindings Property MapTo Cloud Data Catalog 
- Publish findings of a DlpJob to Data Catalog.
- publishSummary Property MapTo Cscc 
- Publish the result summary of a DlpJob to the Cloud Security Command Center.
- publishTo Property MapStackdriver 
- Enable Stackdriver metric dlp.googleapis.com/findingCount.
- saveFindings Property Map
- If set, the detailed findings will be persisted to the specified OutputStorageConfig. Only a single instance of this action can be specified. Compatible with: Inspect, Risk Structure is documented below.
PreventionJobTriggerInspectJobActionDeidentify, PreventionJobTriggerInspectJobActionDeidentifyArgs              
- CloudStorage stringOutput 
- User settable Cloud Storage bucket and folders to store de-identified files. This field must be set for cloud storage deidentification. The output Cloud Storage bucket must be different from the input bucket. De-identified files will overwrite files in the output path. Form of: gs://bucket/folder/ or gs://bucket
- FileTypes List<string>To Transforms 
- List of user-specified file type groups to transform. If specified, only the files with these filetypes will be transformed.
If empty, all supported files will be transformed. Supported types may be automatically added over time.
If a file type is set in this field that isn't supported by the Deidentify action then the job will fail and will not be successfully created/started.
Each value may be one of: IMAGE,TEXT_FILE,CSV,TSV.
- TransformationConfig PreventionJob Trigger Inspect Job Action Deidentify Transformation Config 
- User specified deidentify templates and configs for structured, unstructured, and image files. Structure is documented below.
- TransformationDetails PreventionStorage Config Job Trigger Inspect Job Action Deidentify Transformation Details Storage Config 
- Config for storing transformation details. Structure is documented below.
- CloudStorage stringOutput 
- User settable Cloud Storage bucket and folders to store de-identified files. This field must be set for cloud storage deidentification. The output Cloud Storage bucket must be different from the input bucket. De-identified files will overwrite files in the output path. Form of: gs://bucket/folder/ or gs://bucket
- FileTypes []stringTo Transforms 
- List of user-specified file type groups to transform. If specified, only the files with these filetypes will be transformed.
If empty, all supported files will be transformed. Supported types may be automatically added over time.
If a file type is set in this field that isn't supported by the Deidentify action then the job will fail and will not be successfully created/started.
Each value may be one of: IMAGE,TEXT_FILE,CSV,TSV.
- TransformationConfig PreventionJob Trigger Inspect Job Action Deidentify Transformation Config 
- User specified deidentify templates and configs for structured, unstructured, and image files. Structure is documented below.
- TransformationDetails PreventionStorage Config Job Trigger Inspect Job Action Deidentify Transformation Details Storage Config 
- Config for storing transformation details. Structure is documented below.
- cloudStorage StringOutput 
- User settable Cloud Storage bucket and folders to store de-identified files. This field must be set for cloud storage deidentification. The output Cloud Storage bucket must be different from the input bucket. De-identified files will overwrite files in the output path. Form of: gs://bucket/folder/ or gs://bucket
- fileTypes List<String>To Transforms 
- List of user-specified file type groups to transform. If specified, only the files with these filetypes will be transformed.
If empty, all supported files will be transformed. Supported types may be automatically added over time.
If a file type is set in this field that isn't supported by the Deidentify action then the job will fail and will not be successfully created/started.
Each value may be one of: IMAGE,TEXT_FILE,CSV,TSV.
- transformationConfig PreventionJob Trigger Inspect Job Action Deidentify Transformation Config 
- User specified deidentify templates and configs for structured, unstructured, and image files. Structure is documented below.
- transformationDetails PreventionStorage Config Job Trigger Inspect Job Action Deidentify Transformation Details Storage Config 
- Config for storing transformation details. Structure is documented below.
- cloudStorage stringOutput 
- User settable Cloud Storage bucket and folders to store de-identified files. This field must be set for cloud storage deidentification. The output Cloud Storage bucket must be different from the input bucket. De-identified files will overwrite files in the output path. Form of: gs://bucket/folder/ or gs://bucket
- fileTypes string[]To Transforms 
- List of user-specified file type groups to transform. If specified, only the files with these filetypes will be transformed.
If empty, all supported files will be transformed. Supported types may be automatically added over time.
If a file type is set in this field that isn't supported by the Deidentify action then the job will fail and will not be successfully created/started.
Each value may be one of: IMAGE,TEXT_FILE,CSV,TSV.
- transformationConfig PreventionJob Trigger Inspect Job Action Deidentify Transformation Config 
- User specified deidentify templates and configs for structured, unstructured, and image files. Structure is documented below.
- transformationDetails PreventionStorage Config Job Trigger Inspect Job Action Deidentify Transformation Details Storage Config 
- Config for storing transformation details. Structure is documented below.
- cloud_storage_ stroutput 
- User settable Cloud Storage bucket and folders to store de-identified files. This field must be set for cloud storage deidentification. The output Cloud Storage bucket must be different from the input bucket. De-identified files will overwrite files in the output path. Form of: gs://bucket/folder/ or gs://bucket
- file_types_ Sequence[str]to_ transforms 
- List of user-specified file type groups to transform. If specified, only the files with these filetypes will be transformed.
If empty, all supported files will be transformed. Supported types may be automatically added over time.
If a file type is set in this field that isn't supported by the Deidentify action then the job will fail and will not be successfully created/started.
Each value may be one of: IMAGE,TEXT_FILE,CSV,TSV.
- transformation_config PreventionJob Trigger Inspect Job Action Deidentify Transformation Config 
- User specified deidentify templates and configs for structured, unstructured, and image files. Structure is documented below.
- transformation_details_ Preventionstorage_ config Job Trigger Inspect Job Action Deidentify Transformation Details Storage Config 
- Config for storing transformation details. Structure is documented below.
- cloudStorage StringOutput 
- User settable Cloud Storage bucket and folders to store de-identified files. This field must be set for cloud storage deidentification. The output Cloud Storage bucket must be different from the input bucket. De-identified files will overwrite files in the output path. Form of: gs://bucket/folder/ or gs://bucket
- fileTypes List<String>To Transforms 
- List of user-specified file type groups to transform. If specified, only the files with these filetypes will be transformed.
If empty, all supported files will be transformed. Supported types may be automatically added over time.
If a file type is set in this field that isn't supported by the Deidentify action then the job will fail and will not be successfully created/started.
Each value may be one of: IMAGE,TEXT_FILE,CSV,TSV.
- transformationConfig Property Map
- User specified deidentify templates and configs for structured, unstructured, and image files. Structure is documented below.
- transformationDetails Property MapStorage Config 
- Config for storing transformation details. Structure is documented below.
PreventionJobTriggerInspectJobActionDeidentifyTransformationConfig, PreventionJobTriggerInspectJobActionDeidentifyTransformationConfigArgs                  
- DeidentifyTemplate string
- If this template is specified, it will serve as the default de-identify template.
- ImageRedact stringTemplate 
- If this template is specified, it will serve as the de-identify template for images.
- StructuredDeidentify stringTemplate 
- If this template is specified, it will serve as the de-identify template for structured content such as delimited files and tables.
- DeidentifyTemplate string
- If this template is specified, it will serve as the default de-identify template.
- ImageRedact stringTemplate 
- If this template is specified, it will serve as the de-identify template for images.
- StructuredDeidentify stringTemplate 
- If this template is specified, it will serve as the de-identify template for structured content such as delimited files and tables.
- deidentifyTemplate String
- If this template is specified, it will serve as the default de-identify template.
- imageRedact StringTemplate 
- If this template is specified, it will serve as the de-identify template for images.
- structuredDeidentify StringTemplate 
- If this template is specified, it will serve as the de-identify template for structured content such as delimited files and tables.
- deidentifyTemplate string
- If this template is specified, it will serve as the default de-identify template.
- imageRedact stringTemplate 
- If this template is specified, it will serve as the de-identify template for images.
- structuredDeidentify stringTemplate 
- If this template is specified, it will serve as the de-identify template for structured content such as delimited files and tables.
- deidentify_template str
- If this template is specified, it will serve as the default de-identify template.
- image_redact_ strtemplate 
- If this template is specified, it will serve as the de-identify template for images.
- structured_deidentify_ strtemplate 
- If this template is specified, it will serve as the de-identify template for structured content such as delimited files and tables.
- deidentifyTemplate String
- If this template is specified, it will serve as the default de-identify template.
- imageRedact StringTemplate 
- If this template is specified, it will serve as the de-identify template for images.
- structuredDeidentify StringTemplate 
- If this template is specified, it will serve as the de-identify template for structured content such as delimited files and tables.
PreventionJobTriggerInspectJobActionDeidentifyTransformationDetailsStorageConfig, PreventionJobTriggerInspectJobActionDeidentifyTransformationDetailsStorageConfigArgs                      
- Table
PreventionJob Trigger Inspect Job Action Deidentify Transformation Details Storage Config Table 
- The BigQuery table in which to store the output. Structure is documented below.
- Table
PreventionJob Trigger Inspect Job Action Deidentify Transformation Details Storage Config Table 
- The BigQuery table in which to store the output. Structure is documented below.
- table
PreventionJob Trigger Inspect Job Action Deidentify Transformation Details Storage Config Table 
- The BigQuery table in which to store the output. Structure is documented below.
- table
PreventionJob Trigger Inspect Job Action Deidentify Transformation Details Storage Config Table 
- The BigQuery table in which to store the output. Structure is documented below.
- table
PreventionJob Trigger Inspect Job Action Deidentify Transformation Details Storage Config Table 
- The BigQuery table in which to store the output. Structure is documented below.
- table Property Map
- The BigQuery table in which to store the output. Structure is documented below.
PreventionJobTriggerInspectJobActionDeidentifyTransformationDetailsStorageConfigTable, PreventionJobTriggerInspectJobActionDeidentifyTransformationDetailsStorageConfigTableArgs                        
- dataset_id str
- The ID of the dataset containing this table.
- project_id str
- The ID of the project containing this table.
- table_id str
- The ID of the table. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 1,024 characters.
PreventionJobTriggerInspectJobActionPubSub, PreventionJobTriggerInspectJobActionPubSubArgs                
- Topic string
- Cloud Pub/Sub topic to send notifications to.
- Topic string
- Cloud Pub/Sub topic to send notifications to.
- topic String
- Cloud Pub/Sub topic to send notifications to.
- topic string
- Cloud Pub/Sub topic to send notifications to.
- topic str
- Cloud Pub/Sub topic to send notifications to.
- topic String
- Cloud Pub/Sub topic to send notifications to.
PreventionJobTriggerInspectJobActionSaveFindings, PreventionJobTriggerInspectJobActionSaveFindingsArgs                
- OutputConfig PreventionJob Trigger Inspect Job Action Save Findings Output Config 
- Information on where to store output Structure is documented below.
- OutputConfig PreventionJob Trigger Inspect Job Action Save Findings Output Config 
- Information on where to store output Structure is documented below.
- outputConfig PreventionJob Trigger Inspect Job Action Save Findings Output Config 
- Information on where to store output Structure is documented below.
- outputConfig PreventionJob Trigger Inspect Job Action Save Findings Output Config 
- Information on where to store output Structure is documented below.
- output_config PreventionJob Trigger Inspect Job Action Save Findings Output Config 
- Information on where to store output Structure is documented below.
- outputConfig Property Map
- Information on where to store output Structure is documented below.
PreventionJobTriggerInspectJobActionSaveFindingsOutputConfig, PreventionJobTriggerInspectJobActionSaveFindingsOutputConfigArgs                    
- Table
PreventionJob Trigger Inspect Job Action Save Findings Output Config Table 
- Information on the location of the target BigQuery Table. Structure is documented below.
- OutputSchema string
- Schema used for writing the findings for Inspect jobs. This field is only used for
Inspect and must be unspecified for Risk jobs. Columns are derived from the Finding
object. If appending to an existing table, any columns from the predefined schema
that are missing will be added. No columns in the existing table will be deleted.
If unspecified, then all available columns will be used for a new table or an (existing)
table with no schema, and no changes will be made to an existing table that has a schema.
Only for use with external storage.
Possible values are: BASIC_COLUMNS,GCS_COLUMNS,DATASTORE_COLUMNS,BIG_QUERY_COLUMNS,ALL_COLUMNS.
- Table
PreventionJob Trigger Inspect Job Action Save Findings Output Config Table 
- Information on the location of the target BigQuery Table. Structure is documented below.
- OutputSchema string
- Schema used for writing the findings for Inspect jobs. This field is only used for
Inspect and must be unspecified for Risk jobs. Columns are derived from the Finding
object. If appending to an existing table, any columns from the predefined schema
that are missing will be added. No columns in the existing table will be deleted.
If unspecified, then all available columns will be used for a new table or an (existing)
table with no schema, and no changes will be made to an existing table that has a schema.
Only for use with external storage.
Possible values are: BASIC_COLUMNS,GCS_COLUMNS,DATASTORE_COLUMNS,BIG_QUERY_COLUMNS,ALL_COLUMNS.
- table
PreventionJob Trigger Inspect Job Action Save Findings Output Config Table 
- Information on the location of the target BigQuery Table. Structure is documented below.
- outputSchema String
- Schema used for writing the findings for Inspect jobs. This field is only used for
Inspect and must be unspecified for Risk jobs. Columns are derived from the Finding
object. If appending to an existing table, any columns from the predefined schema
that are missing will be added. No columns in the existing table will be deleted.
If unspecified, then all available columns will be used for a new table or an (existing)
table with no schema, and no changes will be made to an existing table that has a schema.
Only for use with external storage.
Possible values are: BASIC_COLUMNS,GCS_COLUMNS,DATASTORE_COLUMNS,BIG_QUERY_COLUMNS,ALL_COLUMNS.
- table
PreventionJob Trigger Inspect Job Action Save Findings Output Config Table 
- Information on the location of the target BigQuery Table. Structure is documented below.
- outputSchema string
- Schema used for writing the findings for Inspect jobs. This field is only used for
Inspect and must be unspecified for Risk jobs. Columns are derived from the Finding
object. If appending to an existing table, any columns from the predefined schema
that are missing will be added. No columns in the existing table will be deleted.
If unspecified, then all available columns will be used for a new table or an (existing)
table with no schema, and no changes will be made to an existing table that has a schema.
Only for use with external storage.
Possible values are: BASIC_COLUMNS,GCS_COLUMNS,DATASTORE_COLUMNS,BIG_QUERY_COLUMNS,ALL_COLUMNS.
- table
PreventionJob Trigger Inspect Job Action Save Findings Output Config Table 
- Information on the location of the target BigQuery Table. Structure is documented below.
- output_schema str
- Schema used for writing the findings for Inspect jobs. This field is only used for
Inspect and must be unspecified for Risk jobs. Columns are derived from the Finding
object. If appending to an existing table, any columns from the predefined schema
that are missing will be added. No columns in the existing table will be deleted.
If unspecified, then all available columns will be used for a new table or an (existing)
table with no schema, and no changes will be made to an existing table that has a schema.
Only for use with external storage.
Possible values are: BASIC_COLUMNS,GCS_COLUMNS,DATASTORE_COLUMNS,BIG_QUERY_COLUMNS,ALL_COLUMNS.
- table Property Map
- Information on the location of the target BigQuery Table. Structure is documented below.
- outputSchema String
- Schema used for writing the findings for Inspect jobs. This field is only used for
Inspect and must be unspecified for Risk jobs. Columns are derived from the Finding
object. If appending to an existing table, any columns from the predefined schema
that are missing will be added. No columns in the existing table will be deleted.
If unspecified, then all available columns will be used for a new table or an (existing)
table with no schema, and no changes will be made to an existing table that has a schema.
Only for use with external storage.
Possible values are: BASIC_COLUMNS,GCS_COLUMNS,DATASTORE_COLUMNS,BIG_QUERY_COLUMNS,ALL_COLUMNS.
PreventionJobTriggerInspectJobActionSaveFindingsOutputConfigTable, PreventionJobTriggerInspectJobActionSaveFindingsOutputConfigTableArgs                      
- dataset_id str
- The ID of the dataset containing this table.
- project_id str
- The ID of the project containing this table.
- table_id str
- The ID of the table. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 1,024 characters.
PreventionJobTriggerInspectJobInspectConfig, PreventionJobTriggerInspectJobInspectConfigArgs              
- CustomInfo List<PreventionTypes Job Trigger Inspect Job Inspect Config Custom Info Type> 
- Custom info types to be used. See https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more. Structure is documented below.
- ExcludeInfo boolTypes 
- When true, excludes type information of the findings.
- IncludeQuote bool
- When true, a contextual quote from the data that triggered a finding is included in the response.
- InfoTypes List<PreventionJob Trigger Inspect Job Inspect Config Info Type> 
- Restricts what infoTypes to look for. The values must correspond to InfoType values returned by infoTypes.list or listed at https://cloud.google.com/dlp/docs/infotypes-reference. When no InfoTypes or CustomInfoTypes are specified in a request, the system may automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated. Structure is documented below.
- Limits
PreventionJob Trigger Inspect Job Inspect Config Limits 
- Configuration to control the number of findings returned. Structure is documented below.
- MinLikelihood string
- Only returns findings equal or above this threshold. See https://cloud.google.com/dlp/docs/likelihood for more info
Default value is POSSIBLE. Possible values are:VERY_UNLIKELY,UNLIKELY,POSSIBLE,LIKELY,VERY_LIKELY.
- RuleSets List<PreventionJob Trigger Inspect Job Inspect Config Rule Set> 
- Set of rules to apply to the findings for this InspectConfig. Exclusion rules, contained in the set are executed in the end, other rules are executed in the order they are specified for each info type. Structure is documented below.
- CustomInfo []PreventionTypes Job Trigger Inspect Job Inspect Config Custom Info Type 
- Custom info types to be used. See https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more. Structure is documented below.
- ExcludeInfo boolTypes 
- When true, excludes type information of the findings.
- IncludeQuote bool
- When true, a contextual quote from the data that triggered a finding is included in the response.
- InfoTypes []PreventionJob Trigger Inspect Job Inspect Config Info Type 
- Restricts what infoTypes to look for. The values must correspond to InfoType values returned by infoTypes.list or listed at https://cloud.google.com/dlp/docs/infotypes-reference. When no InfoTypes or CustomInfoTypes are specified in a request, the system may automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated. Structure is documented below.
- Limits
PreventionJob Trigger Inspect Job Inspect Config Limits 
- Configuration to control the number of findings returned. Structure is documented below.
- MinLikelihood string
- Only returns findings equal or above this threshold. See https://cloud.google.com/dlp/docs/likelihood for more info
Default value is POSSIBLE. Possible values are:VERY_UNLIKELY,UNLIKELY,POSSIBLE,LIKELY,VERY_LIKELY.
- RuleSets []PreventionJob Trigger Inspect Job Inspect Config Rule Set 
- Set of rules to apply to the findings for this InspectConfig. Exclusion rules, contained in the set are executed in the end, other rules are executed in the order they are specified for each info type. Structure is documented below.
- customInfo List<PreventionTypes Job Trigger Inspect Job Inspect Config Custom Info Type> 
- Custom info types to be used. See https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more. Structure is documented below.
- excludeInfo BooleanTypes 
- When true, excludes type information of the findings.
- includeQuote Boolean
- When true, a contextual quote from the data that triggered a finding is included in the response.
- infoTypes List<PreventionJob Trigger Inspect Job Inspect Config Info Type> 
- Restricts what infoTypes to look for. The values must correspond to InfoType values returned by infoTypes.list or listed at https://cloud.google.com/dlp/docs/infotypes-reference. When no InfoTypes or CustomInfoTypes are specified in a request, the system may automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated. Structure is documented below.
- limits
PreventionJob Trigger Inspect Job Inspect Config Limits 
- Configuration to control the number of findings returned. Structure is documented below.
- minLikelihood String
- Only returns findings equal or above this threshold. See https://cloud.google.com/dlp/docs/likelihood for more info
Default value is POSSIBLE. Possible values are:VERY_UNLIKELY,UNLIKELY,POSSIBLE,LIKELY,VERY_LIKELY.
- ruleSets List<PreventionJob Trigger Inspect Job Inspect Config Rule Set> 
- Set of rules to apply to the findings for this InspectConfig. Exclusion rules, contained in the set are executed in the end, other rules are executed in the order they are specified for each info type. Structure is documented below.
- customInfo PreventionTypes Job Trigger Inspect Job Inspect Config Custom Info Type[] 
- Custom info types to be used. See https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more. Structure is documented below.
- excludeInfo booleanTypes 
- When true, excludes type information of the findings.
- includeQuote boolean
- When true, a contextual quote from the data that triggered a finding is included in the response.
- infoTypes PreventionJob Trigger Inspect Job Inspect Config Info Type[] 
- Restricts what infoTypes to look for. The values must correspond to InfoType values returned by infoTypes.list or listed at https://cloud.google.com/dlp/docs/infotypes-reference. When no InfoTypes or CustomInfoTypes are specified in a request, the system may automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated. Structure is documented below.
- limits
PreventionJob Trigger Inspect Job Inspect Config Limits 
- Configuration to control the number of findings returned. Structure is documented below.
- minLikelihood string
- Only returns findings equal or above this threshold. See https://cloud.google.com/dlp/docs/likelihood for more info
Default value is POSSIBLE. Possible values are:VERY_UNLIKELY,UNLIKELY,POSSIBLE,LIKELY,VERY_LIKELY.
- ruleSets PreventionJob Trigger Inspect Job Inspect Config Rule Set[] 
- Set of rules to apply to the findings for this InspectConfig. Exclusion rules, contained in the set are executed in the end, other rules are executed in the order they are specified for each info type. Structure is documented below.
- custom_info_ Sequence[Preventiontypes Job Trigger Inspect Job Inspect Config Custom Info Type] 
- Custom info types to be used. See https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more. Structure is documented below.
- exclude_info_ booltypes 
- When true, excludes type information of the findings.
- include_quote bool
- When true, a contextual quote from the data that triggered a finding is included in the response.
- info_types Sequence[PreventionJob Trigger Inspect Job Inspect Config Info Type] 
- Restricts what infoTypes to look for. The values must correspond to InfoType values returned by infoTypes.list or listed at https://cloud.google.com/dlp/docs/infotypes-reference. When no InfoTypes or CustomInfoTypes are specified in a request, the system may automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated. Structure is documented below.
- limits
PreventionJob Trigger Inspect Job Inspect Config Limits 
- Configuration to control the number of findings returned. Structure is documented below.
- min_likelihood str
- Only returns findings equal or above this threshold. See https://cloud.google.com/dlp/docs/likelihood for more info
Default value is POSSIBLE. Possible values are:VERY_UNLIKELY,UNLIKELY,POSSIBLE,LIKELY,VERY_LIKELY.
- rule_sets Sequence[PreventionJob Trigger Inspect Job Inspect Config Rule Set] 
- Set of rules to apply to the findings for this InspectConfig. Exclusion rules, contained in the set are executed in the end, other rules are executed in the order they are specified for each info type. Structure is documented below.
- customInfo List<Property Map>Types 
- Custom info types to be used. See https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more. Structure is documented below.
- excludeInfo BooleanTypes 
- When true, excludes type information of the findings.
- includeQuote Boolean
- When true, a contextual quote from the data that triggered a finding is included in the response.
- infoTypes List<Property Map>
- Restricts what infoTypes to look for. The values must correspond to InfoType values returned by infoTypes.list or listed at https://cloud.google.com/dlp/docs/infotypes-reference. When no InfoTypes or CustomInfoTypes are specified in a request, the system may automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated. Structure is documented below.
- limits Property Map
- Configuration to control the number of findings returned. Structure is documented below.
- minLikelihood String
- Only returns findings equal or above this threshold. See https://cloud.google.com/dlp/docs/likelihood for more info
Default value is POSSIBLE. Possible values are:VERY_UNLIKELY,UNLIKELY,POSSIBLE,LIKELY,VERY_LIKELY.
- ruleSets List<Property Map>
- Set of rules to apply to the findings for this InspectConfig. Exclusion rules, contained in the set are executed in the end, other rules are executed in the order they are specified for each info type. Structure is documented below.
PreventionJobTriggerInspectJobInspectConfigCustomInfoType, PreventionJobTriggerInspectJobInspectConfigCustomInfoTypeArgs                    
- InfoType PreventionJob Trigger Inspect Job Inspect Config Custom Info Type Info Type 
- CustomInfoType can either be a new infoType, or an extension of built-in infoType, when the name matches one of existing
infoTypes and that infoType is specified in info_typesfield. Specifying the latter adds findings to the one detected by the system. If built-in info type is not specified ininfo_typeslist then the name is treated as a custom info type. Structure is documented below.
- Dictionary
PreventionJob Trigger Inspect Job Inspect Config Custom Info Type Dictionary 
- Dictionary which defines the rule. Structure is documented below.
- ExclusionType string
- If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding to be returned. It still can be used for rules matching.
Possible values are: EXCLUSION_TYPE_EXCLUDE.
- Likelihood string
- Likelihood to return for this CustomInfoType. This base value can be altered by a detection rule if the finding meets the criteria
specified by the rule.
Default value is VERY_LIKELY. Possible values are:VERY_UNLIKELY,UNLIKELY,POSSIBLE,LIKELY,VERY_LIKELY.
- Regex
PreventionJob Trigger Inspect Job Inspect Config Custom Info Type Regex 
- Regular expression which defines the rule. Structure is documented below.
- SensitivityScore PreventionJob Trigger Inspect Job Inspect Config Custom Info Type Sensitivity Score 
- Optional custom sensitivity for this InfoType. This only applies to data profiling. Structure is documented below.
- StoredType PreventionJob Trigger Inspect Job Inspect Config Custom Info Type Stored Type 
- A reference to a StoredInfoType to use with scanning. Structure is documented below.
- SurrogateType PreventionJob Trigger Inspect Job Inspect Config Custom Info Type Surrogate Type 
- Message for detecting output from deidentification transformations that support reversing.
- InfoType PreventionJob Trigger Inspect Job Inspect Config Custom Info Type Info Type 
- CustomInfoType can either be a new infoType, or an extension of built-in infoType, when the name matches one of existing
infoTypes and that infoType is specified in info_typesfield. Specifying the latter adds findings to the one detected by the system. If built-in info type is not specified ininfo_typeslist then the name is treated as a custom info type. Structure is documented below.
- Dictionary
PreventionJob Trigger Inspect Job Inspect Config Custom Info Type Dictionary 
- Dictionary which defines the rule. Structure is documented below.
- ExclusionType string
- If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding to be returned. It still can be used for rules matching.
Possible values are: EXCLUSION_TYPE_EXCLUDE.
- Likelihood string
- Likelihood to return for this CustomInfoType. This base value can be altered by a detection rule if the finding meets the criteria
specified by the rule.
Default value is VERY_LIKELY. Possible values are:VERY_UNLIKELY,UNLIKELY,POSSIBLE,LIKELY,VERY_LIKELY.
- Regex
PreventionJob Trigger Inspect Job Inspect Config Custom Info Type Regex 
- Regular expression which defines the rule. Structure is documented below.
- SensitivityScore PreventionJob Trigger Inspect Job Inspect Config Custom Info Type Sensitivity Score 
- Optional custom sensitivity for this InfoType. This only applies to data profiling. Structure is documented below.
- StoredType PreventionJob Trigger Inspect Job Inspect Config Custom Info Type Stored Type 
- A reference to a StoredInfoType to use with scanning. Structure is documented below.
- SurrogateType PreventionJob Trigger Inspect Job Inspect Config Custom Info Type Surrogate Type 
- Message for detecting output from deidentification transformations that support reversing.
- infoType PreventionJob Trigger Inspect Job Inspect Config Custom Info Type Info Type 
- CustomInfoType can either be a new infoType, or an extension of built-in infoType, when the name matches one of existing
infoTypes and that infoType is specified in info_typesfield. Specifying the latter adds findings to the one detected by the system. If built-in info type is not specified ininfo_typeslist then the name is treated as a custom info type. Structure is documented below.
- dictionary
PreventionJob Trigger Inspect Job Inspect Config Custom Info Type Dictionary 
- Dictionary which defines the rule. Structure is documented below.
- exclusionType String
- If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding to be returned. It still can be used for rules matching.
Possible values are: EXCLUSION_TYPE_EXCLUDE.
- likelihood String
- Likelihood to return for this CustomInfoType. This base value can be altered by a detection rule if the finding meets the criteria
specified by the rule.
Default value is VERY_LIKELY. Possible values are:VERY_UNLIKELY,UNLIKELY,POSSIBLE,LIKELY,VERY_LIKELY.
- regex
PreventionJob Trigger Inspect Job Inspect Config Custom Info Type Regex 
- Regular expression which defines the rule. Structure is documented below.
- sensitivityScore PreventionJob Trigger Inspect Job Inspect Config Custom Info Type Sensitivity Score 
- Optional custom sensitivity for this InfoType. This only applies to data profiling. Structure is documented below.
- storedType PreventionJob Trigger Inspect Job Inspect Config Custom Info Type Stored Type 
- A reference to a StoredInfoType to use with scanning. Structure is documented below.
- surrogateType PreventionJob Trigger Inspect Job Inspect Config Custom Info Type Surrogate Type 
- Message for detecting output from deidentification transformations that support reversing.
- infoType PreventionJob Trigger Inspect Job Inspect Config Custom Info Type Info Type 
- CustomInfoType can either be a new infoType, or an extension of built-in infoType, when the name matches one of existing
infoTypes and that infoType is specified in info_typesfield. Specifying the latter adds findings to the one detected by the system. If built-in info type is not specified ininfo_typeslist then the name is treated as a custom info type. Structure is documented below.
- dictionary
PreventionJob Trigger Inspect Job Inspect Config Custom Info Type Dictionary 
- Dictionary which defines the rule. Structure is documented below.
- exclusionType string
- If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding to be returned. It still can be used for rules matching.
Possible values are: EXCLUSION_TYPE_EXCLUDE.
- likelihood string
- Likelihood to return for this CustomInfoType. This base value can be altered by a detection rule if the finding meets the criteria
specified by the rule.
Default value is VERY_LIKELY. Possible values are:VERY_UNLIKELY,UNLIKELY,POSSIBLE,LIKELY,VERY_LIKELY.
- regex
PreventionJob Trigger Inspect Job Inspect Config Custom Info Type Regex 
- Regular expression which defines the rule. Structure is documented below.
- sensitivityScore PreventionJob Trigger Inspect Job Inspect Config Custom Info Type Sensitivity Score 
- Optional custom sensitivity for this InfoType. This only applies to data profiling. Structure is documented below.
- storedType PreventionJob Trigger Inspect Job Inspect Config Custom Info Type Stored Type 
- A reference to a StoredInfoType to use with scanning. Structure is documented below.
- surrogateType PreventionJob Trigger Inspect Job Inspect Config Custom Info Type Surrogate Type 
- Message for detecting output from deidentification transformations that support reversing.
- info_type PreventionJob Trigger Inspect Job Inspect Config Custom Info Type Info Type 
- CustomInfoType can either be a new infoType, or an extension of built-in infoType, when the name matches one of existing
infoTypes and that infoType is specified in info_typesfield. Specifying the latter adds findings to the one detected by the system. If built-in info type is not specified ininfo_typeslist then the name is treated as a custom info type. Structure is documented below.
- dictionary
PreventionJob Trigger Inspect Job Inspect Config Custom Info Type Dictionary 
- Dictionary which defines the rule. Structure is documented below.
- exclusion_type str
- If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding to be returned. It still can be used for rules matching.
Possible values are: EXCLUSION_TYPE_EXCLUDE.
- likelihood str
- Likelihood to return for this CustomInfoType. This base value can be altered by a detection rule if the finding meets the criteria
specified by the rule.
Default value is VERY_LIKELY. Possible values are:VERY_UNLIKELY,UNLIKELY,POSSIBLE,LIKELY,VERY_LIKELY.
- regex
PreventionJob Trigger Inspect Job Inspect Config Custom Info Type Regex 
- Regular expression which defines the rule. Structure is documented below.
- sensitivity_score PreventionJob Trigger Inspect Job Inspect Config Custom Info Type Sensitivity Score 
- Optional custom sensitivity for this InfoType. This only applies to data profiling. Structure is documented below.
- stored_type PreventionJob Trigger Inspect Job Inspect Config Custom Info Type Stored Type 
- A reference to a StoredInfoType to use with scanning. Structure is documented below.
- surrogate_type PreventionJob Trigger Inspect Job Inspect Config Custom Info Type Surrogate Type 
- Message for detecting output from deidentification transformations that support reversing.
- infoType Property Map
- CustomInfoType can either be a new infoType, or an extension of built-in infoType, when the name matches one of existing
infoTypes and that infoType is specified in info_typesfield. Specifying the latter adds findings to the one detected by the system. If built-in info type is not specified ininfo_typeslist then the name is treated as a custom info type. Structure is documented below.
- dictionary Property Map
- Dictionary which defines the rule. Structure is documented below.
- exclusionType String
- If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding to be returned. It still can be used for rules matching.
Possible values are: EXCLUSION_TYPE_EXCLUDE.
- likelihood String
- Likelihood to return for this CustomInfoType. This base value can be altered by a detection rule if the finding meets the criteria
specified by the rule.
Default value is VERY_LIKELY. Possible values are:VERY_UNLIKELY,UNLIKELY,POSSIBLE,LIKELY,VERY_LIKELY.
- regex Property Map
- Regular expression which defines the rule. Structure is documented below.
- sensitivityScore Property Map
- Optional custom sensitivity for this InfoType. This only applies to data profiling. Structure is documented below.
- storedType Property Map
- A reference to a StoredInfoType to use with scanning. Structure is documented below.
- surrogateType Property Map
- Message for detecting output from deidentification transformations that support reversing.
PreventionJobTriggerInspectJobInspectConfigCustomInfoTypeDictionary, PreventionJobTriggerInspectJobInspectConfigCustomInfoTypeDictionaryArgs                      
- CloudStorage PreventionPath Job Trigger Inspect Job Inspect Config Custom Info Type Dictionary Cloud Storage Path 
- Newline-delimited file of words in Cloud Storage. Only a single file is accepted. Structure is documented below.
- WordList PreventionJob Trigger Inspect Job Inspect Config Custom Info Type Dictionary Word List 
- List of words or phrases to search for. Structure is documented below.
- CloudStorage PreventionPath Job Trigger Inspect Job Inspect Config Custom Info Type Dictionary Cloud Storage Path 
- Newline-delimited file of words in Cloud Storage. Only a single file is accepted. Structure is documented below.
- WordList PreventionJob Trigger Inspect Job Inspect Config Custom Info Type Dictionary Word List 
- List of words or phrases to search for. Structure is documented below.
- cloudStorage PreventionPath Job Trigger Inspect Job Inspect Config Custom Info Type Dictionary Cloud Storage Path 
- Newline-delimited file of words in Cloud Storage. Only a single file is accepted. Structure is documented below.
- wordList PreventionJob Trigger Inspect Job Inspect Config Custom Info Type Dictionary Word List 
- List of words or phrases to search for. Structure is documented below.
- cloudStorage PreventionPath Job Trigger Inspect Job Inspect Config Custom Info Type Dictionary Cloud Storage Path 
- Newline-delimited file of words in Cloud Storage. Only a single file is accepted. Structure is documented below.
- wordList PreventionJob Trigger Inspect Job Inspect Config Custom Info Type Dictionary Word List 
- List of words or phrases to search for. Structure is documented below.
- cloud_storage_ Preventionpath Job Trigger Inspect Job Inspect Config Custom Info Type Dictionary Cloud Storage Path 
- Newline-delimited file of words in Cloud Storage. Only a single file is accepted. Structure is documented below.
- word_list PreventionJob Trigger Inspect Job Inspect Config Custom Info Type Dictionary Word List 
- List of words or phrases to search for. Structure is documented below.
- cloudStorage Property MapPath 
- Newline-delimited file of words in Cloud Storage. Only a single file is accepted. Structure is documented below.
- wordList Property Map
- List of words or phrases to search for. Structure is documented below.
PreventionJobTriggerInspectJobInspectConfigCustomInfoTypeDictionaryCloudStoragePath, PreventionJobTriggerInspectJobInspectConfigCustomInfoTypeDictionaryCloudStoragePathArgs                            
- Path string
- A url representing a file or path (no wildcards) in Cloud Storage. Example: gs://[BUCKET_NAME]/dictionary.txt
- Path string
- A url representing a file or path (no wildcards) in Cloud Storage. Example: gs://[BUCKET_NAME]/dictionary.txt
- path String
- A url representing a file or path (no wildcards) in Cloud Storage. Example: gs://[BUCKET_NAME]/dictionary.txt
- path string
- A url representing a file or path (no wildcards) in Cloud Storage. Example: gs://[BUCKET_NAME]/dictionary.txt
- path str
- A url representing a file or path (no wildcards) in Cloud Storage. Example: gs://[BUCKET_NAME]/dictionary.txt
- path String
- A url representing a file or path (no wildcards) in Cloud Storage. Example: gs://[BUCKET_NAME]/dictionary.txt
PreventionJobTriggerInspectJobInspectConfigCustomInfoTypeDictionaryWordList, PreventionJobTriggerInspectJobInspectConfigCustomInfoTypeDictionaryWordListArgs                          
- Words List<string>
- Words or phrases defining the dictionary. The dictionary must contain at least one phrase and every phrase must contain at least 2 characters that are letters or digits.
- Words []string
- Words or phrases defining the dictionary. The dictionary must contain at least one phrase and every phrase must contain at least 2 characters that are letters or digits.
- words List<String>
- Words or phrases defining the dictionary. The dictionary must contain at least one phrase and every phrase must contain at least 2 characters that are letters or digits.
- words string[]
- Words or phrases defining the dictionary. The dictionary must contain at least one phrase and every phrase must contain at least 2 characters that are letters or digits.
- words Sequence[str]
- Words or phrases defining the dictionary. The dictionary must contain at least one phrase and every phrase must contain at least 2 characters that are letters or digits.
- words List<String>
- Words or phrases defining the dictionary. The dictionary must contain at least one phrase and every phrase must contain at least 2 characters that are letters or digits.
PreventionJobTriggerInspectJobInspectConfigCustomInfoTypeInfoType, PreventionJobTriggerInspectJobInspectConfigCustomInfoTypeInfoTypeArgs                        
- Name string
- Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference when specifying a built-in type.
- SensitivityScore PreventionJob Trigger Inspect Job Inspect Config Custom Info Type Info Type Sensitivity Score 
- Optional custom sensitivity for this InfoType. This only applies to data profiling. Structure is documented below.
- Version string
- Version of the information type to use. By default, the version is set to stable.
- Name string
- Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference when specifying a built-in type.
- SensitivityScore PreventionJob Trigger Inspect Job Inspect Config Custom Info Type Info Type Sensitivity Score 
- Optional custom sensitivity for this InfoType. This only applies to data profiling. Structure is documented below.
- Version string
- Version of the information type to use. By default, the version is set to stable.
- name String
- Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference when specifying a built-in type.
- sensitivityScore PreventionJob Trigger Inspect Job Inspect Config Custom Info Type Info Type Sensitivity Score 
- Optional custom sensitivity for this InfoType. This only applies to data profiling. Structure is documented below.
- version String
- Version of the information type to use. By default, the version is set to stable.
- name string
- Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference when specifying a built-in type.
- sensitivityScore PreventionJob Trigger Inspect Job Inspect Config Custom Info Type Info Type Sensitivity Score 
- Optional custom sensitivity for this InfoType. This only applies to data profiling. Structure is documented below.
- version string
- Version of the information type to use. By default, the version is set to stable.
- name str
- Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference when specifying a built-in type.
- sensitivity_score PreventionJob Trigger Inspect Job Inspect Config Custom Info Type Info Type Sensitivity Score 
- Optional custom sensitivity for this InfoType. This only applies to data profiling. Structure is documented below.
- version str
- Version of the information type to use. By default, the version is set to stable.
- name String
- Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference when specifying a built-in type.
- sensitivityScore Property Map
- Optional custom sensitivity for this InfoType. This only applies to data profiling. Structure is documented below.
- version String
- Version of the information type to use. By default, the version is set to stable.
PreventionJobTriggerInspectJobInspectConfigCustomInfoTypeInfoTypeSensitivityScore, PreventionJobTriggerInspectJobInspectConfigCustomInfoTypeInfoTypeSensitivityScoreArgs                            
- Score string
- The sensitivity score applied to the resource.
Possible values are: SENSITIVITY_LOW,SENSITIVITY_MODERATE,SENSITIVITY_HIGH.
- Score string
- The sensitivity score applied to the resource.
Possible values are: SENSITIVITY_LOW,SENSITIVITY_MODERATE,SENSITIVITY_HIGH.
- score String
- The sensitivity score applied to the resource.
Possible values are: SENSITIVITY_LOW,SENSITIVITY_MODERATE,SENSITIVITY_HIGH.
- score string
- The sensitivity score applied to the resource.
Possible values are: SENSITIVITY_LOW,SENSITIVITY_MODERATE,SENSITIVITY_HIGH.
- score str
- The sensitivity score applied to the resource.
Possible values are: SENSITIVITY_LOW,SENSITIVITY_MODERATE,SENSITIVITY_HIGH.
- score String
- The sensitivity score applied to the resource.
Possible values are: SENSITIVITY_LOW,SENSITIVITY_MODERATE,SENSITIVITY_HIGH.
PreventionJobTriggerInspectJobInspectConfigCustomInfoTypeRegex, PreventionJobTriggerInspectJobInspectConfigCustomInfoTypeRegexArgs                      
- Pattern string
- Pattern defining the regular expression. Its syntax (https://github.com/google/re2/wiki/Syntax) can be found under the google/re2 repository on GitHub.
- GroupIndexes List<int>
- The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included.
- Pattern string
- Pattern defining the regular expression. Its syntax (https://github.com/google/re2/wiki/Syntax) can be found under the google/re2 repository on GitHub.
- GroupIndexes []int
- The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included.
- pattern String
- Pattern defining the regular expression. Its syntax (https://github.com/google/re2/wiki/Syntax) can be found under the google/re2 repository on GitHub.
- groupIndexes List<Integer>
- The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included.
- pattern string
- Pattern defining the regular expression. Its syntax (https://github.com/google/re2/wiki/Syntax) can be found under the google/re2 repository on GitHub.
- groupIndexes number[]
- The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included.
- pattern str
- Pattern defining the regular expression. Its syntax (https://github.com/google/re2/wiki/Syntax) can be found under the google/re2 repository on GitHub.
- group_indexes Sequence[int]
- The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included.
- pattern String
- Pattern defining the regular expression. Its syntax (https://github.com/google/re2/wiki/Syntax) can be found under the google/re2 repository on GitHub.
- groupIndexes List<Number>
- The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included.
PreventionJobTriggerInspectJobInspectConfigCustomInfoTypeSensitivityScore, PreventionJobTriggerInspectJobInspectConfigCustomInfoTypeSensitivityScoreArgs                        
- Score string
- The sensitivity score applied to the resource.
Possible values are: SENSITIVITY_LOW,SENSITIVITY_MODERATE,SENSITIVITY_HIGH.
- Score string
- The sensitivity score applied to the resource.
Possible values are: SENSITIVITY_LOW,SENSITIVITY_MODERATE,SENSITIVITY_HIGH.
- score String
- The sensitivity score applied to the resource.
Possible values are: SENSITIVITY_LOW,SENSITIVITY_MODERATE,SENSITIVITY_HIGH.
- score string
- The sensitivity score applied to the resource.
Possible values are: SENSITIVITY_LOW,SENSITIVITY_MODERATE,SENSITIVITY_HIGH.
- score str
- The sensitivity score applied to the resource.
Possible values are: SENSITIVITY_LOW,SENSITIVITY_MODERATE,SENSITIVITY_HIGH.
- score String
- The sensitivity score applied to the resource.
Possible values are: SENSITIVITY_LOW,SENSITIVITY_MODERATE,SENSITIVITY_HIGH.
PreventionJobTriggerInspectJobInspectConfigCustomInfoTypeStoredType, PreventionJobTriggerInspectJobInspectConfigCustomInfoTypeStoredTypeArgs                        
- Name string
- Resource name of the requested StoredInfoType, for example organizations/433245324/storedInfoTypes/432452342orprojects/project-id/storedInfoTypes/432452342.
- CreateTime string
- (Output) The creation timestamp of an inspectTemplate. Set by the server.
- Name string
- Resource name of the requested StoredInfoType, for example organizations/433245324/storedInfoTypes/432452342orprojects/project-id/storedInfoTypes/432452342.
- CreateTime string
- (Output) The creation timestamp of an inspectTemplate. Set by the server.
- name String
- Resource name of the requested StoredInfoType, for example organizations/433245324/storedInfoTypes/432452342orprojects/project-id/storedInfoTypes/432452342.
- createTime String
- (Output) The creation timestamp of an inspectTemplate. Set by the server.
- name string
- Resource name of the requested StoredInfoType, for example organizations/433245324/storedInfoTypes/432452342orprojects/project-id/storedInfoTypes/432452342.
- createTime string
- (Output) The creation timestamp of an inspectTemplate. Set by the server.
- name str
- Resource name of the requested StoredInfoType, for example organizations/433245324/storedInfoTypes/432452342orprojects/project-id/storedInfoTypes/432452342.
- create_time str
- (Output) The creation timestamp of an inspectTemplate. Set by the server.
- name String
- Resource name of the requested StoredInfoType, for example organizations/433245324/storedInfoTypes/432452342orprojects/project-id/storedInfoTypes/432452342.
- createTime String
- (Output) The creation timestamp of an inspectTemplate. Set by the server.
PreventionJobTriggerInspectJobInspectConfigInfoType, PreventionJobTriggerInspectJobInspectConfigInfoTypeArgs                  
- Name string
- Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference when specifying a built-in type.
- SensitivityScore PreventionJob Trigger Inspect Job Inspect Config Info Type Sensitivity Score 
- Optional custom sensitivity for this InfoType. This only applies to data profiling. Structure is documented below.
- Version string
- Version of the information type to use. By default, the version is set to stable.
- Name string
- Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference when specifying a built-in type.
- SensitivityScore PreventionJob Trigger Inspect Job Inspect Config Info Type Sensitivity Score 
- Optional custom sensitivity for this InfoType. This only applies to data profiling. Structure is documented below.
- Version string
- Version of the information type to use. By default, the version is set to stable.
- name String
- Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference when specifying a built-in type.
- sensitivityScore PreventionJob Trigger Inspect Job Inspect Config Info Type Sensitivity Score 
- Optional custom sensitivity for this InfoType. This only applies to data profiling. Structure is documented below.
- version String
- Version of the information type to use. By default, the version is set to stable.
- name string
- Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference when specifying a built-in type.
- sensitivityScore PreventionJob Trigger Inspect Job Inspect Config Info Type Sensitivity Score 
- Optional custom sensitivity for this InfoType. This only applies to data profiling. Structure is documented below.
- version string
- Version of the information type to use. By default, the version is set to stable.
- name str
- Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference when specifying a built-in type.
- sensitivity_score PreventionJob Trigger Inspect Job Inspect Config Info Type Sensitivity Score 
- Optional custom sensitivity for this InfoType. This only applies to data profiling. Structure is documented below.
- version str
- Version of the information type to use. By default, the version is set to stable.
- name String
- Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference when specifying a built-in type.
- sensitivityScore Property Map
- Optional custom sensitivity for this InfoType. This only applies to data profiling. Structure is documented below.
- version String
- Version of the information type to use. By default, the version is set to stable.
PreventionJobTriggerInspectJobInspectConfigInfoTypeSensitivityScore, PreventionJobTriggerInspectJobInspectConfigInfoTypeSensitivityScoreArgs                      
- Score string
- The sensitivity score applied to the resource.
Possible values are: SENSITIVITY_LOW,SENSITIVITY_MODERATE,SENSITIVITY_HIGH.
- Score string
- The sensitivity score applied to the resource.
Possible values are: SENSITIVITY_LOW,SENSITIVITY_MODERATE,SENSITIVITY_HIGH.
- score String
- The sensitivity score applied to the resource.
Possible values are: SENSITIVITY_LOW,SENSITIVITY_MODERATE,SENSITIVITY_HIGH.
- score string
- The sensitivity score applied to the resource.
Possible values are: SENSITIVITY_LOW,SENSITIVITY_MODERATE,SENSITIVITY_HIGH.
- score str
- The sensitivity score applied to the resource.
Possible values are: SENSITIVITY_LOW,SENSITIVITY_MODERATE,SENSITIVITY_HIGH.
- score String
- The sensitivity score applied to the resource.
Possible values are: SENSITIVITY_LOW,SENSITIVITY_MODERATE,SENSITIVITY_HIGH.
PreventionJobTriggerInspectJobInspectConfigLimits, PreventionJobTriggerInspectJobInspectConfigLimitsArgs                
- MaxFindings List<PreventionPer Info Types Job Trigger Inspect Job Inspect Config Limits Max Findings Per Info Type> 
- Configuration of findings limit given for specified infoTypes. Structure is documented below.
- MaxFindings intPer Item 
- Max number of findings that will be returned for each item scanned. The maximum returned is 2000.
- MaxFindings intPer Request 
- Max number of findings that will be returned per request/job. The maximum returned is 2000.
- MaxFindings []PreventionPer Info Types Job Trigger Inspect Job Inspect Config Limits Max Findings Per Info Type 
- Configuration of findings limit given for specified infoTypes. Structure is documented below.
- MaxFindings intPer Item 
- Max number of findings that will be returned for each item scanned. The maximum returned is 2000.
- MaxFindings intPer Request 
- Max number of findings that will be returned per request/job. The maximum returned is 2000.
- maxFindings List<PreventionPer Info Types Job Trigger Inspect Job Inspect Config Limits Max Findings Per Info Type> 
- Configuration of findings limit given for specified infoTypes. Structure is documented below.
- maxFindings IntegerPer Item 
- Max number of findings that will be returned for each item scanned. The maximum returned is 2000.
- maxFindings IntegerPer Request 
- Max number of findings that will be returned per request/job. The maximum returned is 2000.
- maxFindings PreventionPer Info Types Job Trigger Inspect Job Inspect Config Limits Max Findings Per Info Type[] 
- Configuration of findings limit given for specified infoTypes. Structure is documented below.
- maxFindings numberPer Item 
- Max number of findings that will be returned for each item scanned. The maximum returned is 2000.
- maxFindings numberPer Request 
- Max number of findings that will be returned per request/job. The maximum returned is 2000.
- max_findings_ Sequence[Preventionper_ info_ types Job Trigger Inspect Job Inspect Config Limits Max Findings Per Info Type] 
- Configuration of findings limit given for specified infoTypes. Structure is documented below.
- max_findings_ intper_ item 
- Max number of findings that will be returned for each item scanned. The maximum returned is 2000.
- max_findings_ intper_ request 
- Max number of findings that will be returned per request/job. The maximum returned is 2000.
- maxFindings List<Property Map>Per Info Types 
- Configuration of findings limit given for specified infoTypes. Structure is documented below.
- maxFindings NumberPer Item 
- Max number of findings that will be returned for each item scanned. The maximum returned is 2000.
- maxFindings NumberPer Request 
- Max number of findings that will be returned per request/job. The maximum returned is 2000.
PreventionJobTriggerInspectJobInspectConfigLimitsMaxFindingsPerInfoType, PreventionJobTriggerInspectJobInspectConfigLimitsMaxFindingsPerInfoTypeArgs                          
- InfoType PreventionJob Trigger Inspect Job Inspect Config Limits Max Findings Per Info Type Info Type 
- Type of information the findings limit applies to. Only one limit per infoType should be provided. If InfoTypeLimit does not have an infoType, the DLP API applies the limit against all infoTypes that are found but not specified in another InfoTypeLimit. Structure is documented below.
- MaxFindings int
- Max findings limit for the given infoType.
- InfoType PreventionJob Trigger Inspect Job Inspect Config Limits Max Findings Per Info Type Info Type 
- Type of information the findings limit applies to. Only one limit per infoType should be provided. If InfoTypeLimit does not have an infoType, the DLP API applies the limit against all infoTypes that are found but not specified in another InfoTypeLimit. Structure is documented below.
- MaxFindings int
- Max findings limit for the given infoType.
- infoType PreventionJob Trigger Inspect Job Inspect Config Limits Max Findings Per Info Type Info Type 
- Type of information the findings limit applies to. Only one limit per infoType should be provided. If InfoTypeLimit does not have an infoType, the DLP API applies the limit against all infoTypes that are found but not specified in another InfoTypeLimit. Structure is documented below.
- maxFindings Integer
- Max findings limit for the given infoType.
- infoType PreventionJob Trigger Inspect Job Inspect Config Limits Max Findings Per Info Type Info Type 
- Type of information the findings limit applies to. Only one limit per infoType should be provided. If InfoTypeLimit does not have an infoType, the DLP API applies the limit against all infoTypes that are found but not specified in another InfoTypeLimit. Structure is documented below.
- maxFindings number
- Max findings limit for the given infoType.
- info_type PreventionJob Trigger Inspect Job Inspect Config Limits Max Findings Per Info Type Info Type 
- Type of information the findings limit applies to. Only one limit per infoType should be provided. If InfoTypeLimit does not have an infoType, the DLP API applies the limit against all infoTypes that are found but not specified in another InfoTypeLimit. Structure is documented below.
- max_findings int
- Max findings limit for the given infoType.
- infoType Property Map
- Type of information the findings limit applies to. Only one limit per infoType should be provided. If InfoTypeLimit does not have an infoType, the DLP API applies the limit against all infoTypes that are found but not specified in another InfoTypeLimit. Structure is documented below.
- maxFindings Number
- Max findings limit for the given infoType.
PreventionJobTriggerInspectJobInspectConfigLimitsMaxFindingsPerInfoTypeInfoType, PreventionJobTriggerInspectJobInspectConfigLimitsMaxFindingsPerInfoTypeInfoTypeArgs                              
- Name string
- Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference when specifying a built-in type.
- SensitivityScore PreventionJob Trigger Inspect Job Inspect Config Limits Max Findings Per Info Type Info Type Sensitivity Score 
- Optional custom sensitivity for this InfoType. This only applies to data profiling. Structure is documented below.
- Version string
- Version of the information type to use. By default, the version is set to stable.
- Name string
- Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference when specifying a built-in type.
- SensitivityScore PreventionJob Trigger Inspect Job Inspect Config Limits Max Findings Per Info Type Info Type Sensitivity Score 
- Optional custom sensitivity for this InfoType. This only applies to data profiling. Structure is documented below.
- Version string
- Version of the information type to use. By default, the version is set to stable.
- name String
- Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference when specifying a built-in type.
- sensitivityScore PreventionJob Trigger Inspect Job Inspect Config Limits Max Findings Per Info Type Info Type Sensitivity Score 
- Optional custom sensitivity for this InfoType. This only applies to data profiling. Structure is documented below.
- version String
- Version of the information type to use. By default, the version is set to stable.
- name string
- Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference when specifying a built-in type.
- sensitivityScore PreventionJob Trigger Inspect Job Inspect Config Limits Max Findings Per Info Type Info Type Sensitivity Score 
- Optional custom sensitivity for this InfoType. This only applies to data profiling. Structure is documented below.
- version string
- Version of the information type to use. By default, the version is set to stable.
- name str
- Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference when specifying a built-in type.
- sensitivity_score PreventionJob Trigger Inspect Job Inspect Config Limits Max Findings Per Info Type Info Type Sensitivity Score 
- Optional custom sensitivity for this InfoType. This only applies to data profiling. Structure is documented below.
- version str
- Version of the information type to use. By default, the version is set to stable.
- name String
- Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference when specifying a built-in type.
- sensitivityScore Property Map
- Optional custom sensitivity for this InfoType. This only applies to data profiling. Structure is documented below.
- version String
- Version of the information type to use. By default, the version is set to stable.
PreventionJobTriggerInspectJobInspectConfigLimitsMaxFindingsPerInfoTypeInfoTypeSensitivityScore, PreventionJobTriggerInspectJobInspectConfigLimitsMaxFindingsPerInfoTypeInfoTypeSensitivityScoreArgs                                  
- Score string
- The sensitivity score applied to the resource.
Possible values are: SENSITIVITY_LOW,SENSITIVITY_MODERATE,SENSITIVITY_HIGH.
- Score string
- The sensitivity score applied to the resource.
Possible values are: SENSITIVITY_LOW,SENSITIVITY_MODERATE,SENSITIVITY_HIGH.
- score String
- The sensitivity score applied to the resource.
Possible values are: SENSITIVITY_LOW,SENSITIVITY_MODERATE,SENSITIVITY_HIGH.
- score string
- The sensitivity score applied to the resource.
Possible values are: SENSITIVITY_LOW,SENSITIVITY_MODERATE,SENSITIVITY_HIGH.
- score str
- The sensitivity score applied to the resource.
Possible values are: SENSITIVITY_LOW,SENSITIVITY_MODERATE,SENSITIVITY_HIGH.
- score String
- The sensitivity score applied to the resource.
Possible values are: SENSITIVITY_LOW,SENSITIVITY_MODERATE,SENSITIVITY_HIGH.
PreventionJobTriggerInspectJobInspectConfigRuleSet, PreventionJobTriggerInspectJobInspectConfigRuleSetArgs                  
- Rules
List<PreventionJob Trigger Inspect Job Inspect Config Rule Set Rule> 
- Set of rules to be applied to infoTypes. The rules are applied in order. Structure is documented below.
- InfoTypes List<PreventionJob Trigger Inspect Job Inspect Config Rule Set Info Type> 
- List of infoTypes this rule set is applied to. Structure is documented below.
- Rules
[]PreventionJob Trigger Inspect Job Inspect Config Rule Set Rule 
- Set of rules to be applied to infoTypes. The rules are applied in order. Structure is documented below.
- InfoTypes []PreventionJob Trigger Inspect Job Inspect Config Rule Set Info Type 
- List of infoTypes this rule set is applied to. Structure is documented below.
- rules
List<PreventionJob Trigger Inspect Job Inspect Config Rule Set Rule> 
- Set of rules to be applied to infoTypes. The rules are applied in order. Structure is documented below.
- infoTypes List<PreventionJob Trigger Inspect Job Inspect Config Rule Set Info Type> 
- List of infoTypes this rule set is applied to. Structure is documented below.
- rules
PreventionJob Trigger Inspect Job Inspect Config Rule Set Rule[] 
- Set of rules to be applied to infoTypes. The rules are applied in order. Structure is documented below.
- infoTypes PreventionJob Trigger Inspect Job Inspect Config Rule Set Info Type[] 
- List of infoTypes this rule set is applied to. Structure is documented below.
- rules
Sequence[PreventionJob Trigger Inspect Job Inspect Config Rule Set Rule] 
- Set of rules to be applied to infoTypes. The rules are applied in order. Structure is documented below.
- info_types Sequence[PreventionJob Trigger Inspect Job Inspect Config Rule Set Info Type] 
- List of infoTypes this rule set is applied to. Structure is documented below.
- rules List<Property Map>
- Set of rules to be applied to infoTypes. The rules are applied in order. Structure is documented below.
- infoTypes List<Property Map>
- List of infoTypes this rule set is applied to. Structure is documented below.
PreventionJobTriggerInspectJobInspectConfigRuleSetInfoType, PreventionJobTriggerInspectJobInspectConfigRuleSetInfoTypeArgs                      
- Name string
- Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference when specifying a built-in type.
- SensitivityScore PreventionJob Trigger Inspect Job Inspect Config Rule Set Info Type Sensitivity Score 
- Optional custom sensitivity for this InfoType. This only applies to data profiling. Structure is documented below.
- Version string
- Version of the information type to use. By default, the version is set to stable.
- Name string
- Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference when specifying a built-in type.
- SensitivityScore PreventionJob Trigger Inspect Job Inspect Config Rule Set Info Type Sensitivity Score 
- Optional custom sensitivity for this InfoType. This only applies to data profiling. Structure is documented below.
- Version string
- Version of the information type to use. By default, the version is set to stable.
- name String
- Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference when specifying a built-in type.
- sensitivityScore PreventionJob Trigger Inspect Job Inspect Config Rule Set Info Type Sensitivity Score 
- Optional custom sensitivity for this InfoType. This only applies to data profiling. Structure is documented below.
- version String
- Version of the information type to use. By default, the version is set to stable.
- name string
- Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference when specifying a built-in type.
- sensitivityScore PreventionJob Trigger Inspect Job Inspect Config Rule Set Info Type Sensitivity Score 
- Optional custom sensitivity for this InfoType. This only applies to data profiling. Structure is documented below.
- version string
- Version of the information type to use. By default, the version is set to stable.
- name str
- Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference when specifying a built-in type.
- sensitivity_score PreventionJob Trigger Inspect Job Inspect Config Rule Set Info Type Sensitivity Score 
- Optional custom sensitivity for this InfoType. This only applies to data profiling. Structure is documented below.
- version str
- Version of the information type to use. By default, the version is set to stable.
- name String
- Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference when specifying a built-in type.
- sensitivityScore Property Map
- Optional custom sensitivity for this InfoType. This only applies to data profiling. Structure is documented below.
- version String
- Version of the information type to use. By default, the version is set to stable.
PreventionJobTriggerInspectJobInspectConfigRuleSetInfoTypeSensitivityScore, PreventionJobTriggerInspectJobInspectConfigRuleSetInfoTypeSensitivityScoreArgs                          
- Score string
- The sensitivity score applied to the resource.
Possible values are: SENSITIVITY_LOW,SENSITIVITY_MODERATE,SENSITIVITY_HIGH.
- Score string
- The sensitivity score applied to the resource.
Possible values are: SENSITIVITY_LOW,SENSITIVITY_MODERATE,SENSITIVITY_HIGH.
- score String
- The sensitivity score applied to the resource.
Possible values are: SENSITIVITY_LOW,SENSITIVITY_MODERATE,SENSITIVITY_HIGH.
- score string
- The sensitivity score applied to the resource.
Possible values are: SENSITIVITY_LOW,SENSITIVITY_MODERATE,SENSITIVITY_HIGH.
- score str
- The sensitivity score applied to the resource.
Possible values are: SENSITIVITY_LOW,SENSITIVITY_MODERATE,SENSITIVITY_HIGH.
- score String
- The sensitivity score applied to the resource.
Possible values are: SENSITIVITY_LOW,SENSITIVITY_MODERATE,SENSITIVITY_HIGH.
PreventionJobTriggerInspectJobInspectConfigRuleSetRule, PreventionJobTriggerInspectJobInspectConfigRuleSetRuleArgs                    
- ExclusionRule PreventionJob Trigger Inspect Job Inspect Config Rule Set Rule Exclusion Rule 
- The rule that specifies conditions when findings of infoTypes specified in InspectionRuleSet are removed from results. Structure is documented below.
- HotwordRule PreventionJob Trigger Inspect Job Inspect Config Rule Set Rule Hotword Rule 
- Hotword-based detection rule. Structure is documented below.
- ExclusionRule PreventionJob Trigger Inspect Job Inspect Config Rule Set Rule Exclusion Rule 
- The rule that specifies conditions when findings of infoTypes specified in InspectionRuleSet are removed from results. Structure is documented below.
- HotwordRule PreventionJob Trigger Inspect Job Inspect Config Rule Set Rule Hotword Rule 
- Hotword-based detection rule. Structure is documented below.
- exclusionRule PreventionJob Trigger Inspect Job Inspect Config Rule Set Rule Exclusion Rule 
- The rule that specifies conditions when findings of infoTypes specified in InspectionRuleSet are removed from results. Structure is documented below.
- hotwordRule PreventionJob Trigger Inspect Job Inspect Config Rule Set Rule Hotword Rule 
- Hotword-based detection rule. Structure is documented below.
- exclusionRule PreventionJob Trigger Inspect Job Inspect Config Rule Set Rule Exclusion Rule 
- The rule that specifies conditions when findings of infoTypes specified in InspectionRuleSet are removed from results. Structure is documented below.
- hotwordRule PreventionJob Trigger Inspect Job Inspect Config Rule Set Rule Hotword Rule 
- Hotword-based detection rule. Structure is documented below.
- exclusion_rule PreventionJob Trigger Inspect Job Inspect Config Rule Set Rule Exclusion Rule 
- The rule that specifies conditions when findings of infoTypes specified in InspectionRuleSet are removed from results. Structure is documented below.
- hotword_rule PreventionJob Trigger Inspect Job Inspect Config Rule Set Rule Hotword Rule 
- Hotword-based detection rule. Structure is documented below.
- exclusionRule Property Map
- The rule that specifies conditions when findings of infoTypes specified in InspectionRuleSet are removed from results. Structure is documented below.
- hotwordRule Property Map
- Hotword-based detection rule. Structure is documented below.
PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRule, PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleArgs                        
- MatchingType string
- How the rule is applied. See the documentation for more information: https://cloud.google.com/dlp/docs/reference/rest/v2/InspectConfig#MatchingType
Possible values are: MATCHING_TYPE_FULL_MATCH,MATCHING_TYPE_PARTIAL_MATCH,MATCHING_TYPE_INVERSE_MATCH.
- Dictionary
PreventionJob Trigger Inspect Job Inspect Config Rule Set Rule Exclusion Rule Dictionary 
- Dictionary which defines the rule. Structure is documented below.
- ExcludeBy PreventionHotword Job Trigger Inspect Job Inspect Config Rule Set Rule Exclusion Rule Exclude By Hotword 
- Drop if the hotword rule is contained in the proximate context. Structure is documented below.
- ExcludeInfo PreventionTypes Job Trigger Inspect Job Inspect Config Rule Set Rule Exclusion Rule Exclude Info Types 
- Set of infoTypes for which findings would affect this rule. Structure is documented below.
- Regex
PreventionJob Trigger Inspect Job Inspect Config Rule Set Rule Exclusion Rule Regex 
- Regular expression which defines the rule. Structure is documented below.
- MatchingType string
- How the rule is applied. See the documentation for more information: https://cloud.google.com/dlp/docs/reference/rest/v2/InspectConfig#MatchingType
Possible values are: MATCHING_TYPE_FULL_MATCH,MATCHING_TYPE_PARTIAL_MATCH,MATCHING_TYPE_INVERSE_MATCH.
- Dictionary
PreventionJob Trigger Inspect Job Inspect Config Rule Set Rule Exclusion Rule Dictionary 
- Dictionary which defines the rule. Structure is documented below.
- ExcludeBy PreventionHotword Job Trigger Inspect Job Inspect Config Rule Set Rule Exclusion Rule Exclude By Hotword 
- Drop if the hotword rule is contained in the proximate context. Structure is documented below.
- ExcludeInfo PreventionTypes Job Trigger Inspect Job Inspect Config Rule Set Rule Exclusion Rule Exclude Info Types 
- Set of infoTypes for which findings would affect this rule. Structure is documented below.
- Regex
PreventionJob Trigger Inspect Job Inspect Config Rule Set Rule Exclusion Rule Regex 
- Regular expression which defines the rule. Structure is documented below.
- matchingType String
- How the rule is applied. See the documentation for more information: https://cloud.google.com/dlp/docs/reference/rest/v2/InspectConfig#MatchingType
Possible values are: MATCHING_TYPE_FULL_MATCH,MATCHING_TYPE_PARTIAL_MATCH,MATCHING_TYPE_INVERSE_MATCH.
- dictionary
PreventionJob Trigger Inspect Job Inspect Config Rule Set Rule Exclusion Rule Dictionary 
- Dictionary which defines the rule. Structure is documented below.
- excludeBy PreventionHotword Job Trigger Inspect Job Inspect Config Rule Set Rule Exclusion Rule Exclude By Hotword 
- Drop if the hotword rule is contained in the proximate context. Structure is documented below.
- excludeInfo PreventionTypes Job Trigger Inspect Job Inspect Config Rule Set Rule Exclusion Rule Exclude Info Types 
- Set of infoTypes for which findings would affect this rule. Structure is documented below.
- regex
PreventionJob Trigger Inspect Job Inspect Config Rule Set Rule Exclusion Rule Regex 
- Regular expression which defines the rule. Structure is documented below.
- matchingType string
- How the rule is applied. See the documentation for more information: https://cloud.google.com/dlp/docs/reference/rest/v2/InspectConfig#MatchingType
Possible values are: MATCHING_TYPE_FULL_MATCH,MATCHING_TYPE_PARTIAL_MATCH,MATCHING_TYPE_INVERSE_MATCH.
- dictionary
PreventionJob Trigger Inspect Job Inspect Config Rule Set Rule Exclusion Rule Dictionary 
- Dictionary which defines the rule. Structure is documented below.
- excludeBy PreventionHotword Job Trigger Inspect Job Inspect Config Rule Set Rule Exclusion Rule Exclude By Hotword 
- Drop if the hotword rule is contained in the proximate context. Structure is documented below.
- excludeInfo PreventionTypes Job Trigger Inspect Job Inspect Config Rule Set Rule Exclusion Rule Exclude Info Types 
- Set of infoTypes for which findings would affect this rule. Structure is documented below.
- regex
PreventionJob Trigger Inspect Job Inspect Config Rule Set Rule Exclusion Rule Regex 
- Regular expression which defines the rule. Structure is documented below.
- matching_type str
- How the rule is applied. See the documentation for more information: https://cloud.google.com/dlp/docs/reference/rest/v2/InspectConfig#MatchingType
Possible values are: MATCHING_TYPE_FULL_MATCH,MATCHING_TYPE_PARTIAL_MATCH,MATCHING_TYPE_INVERSE_MATCH.
- dictionary
PreventionJob Trigger Inspect Job Inspect Config Rule Set Rule Exclusion Rule Dictionary 
- Dictionary which defines the rule. Structure is documented below.
- exclude_by_ Preventionhotword Job Trigger Inspect Job Inspect Config Rule Set Rule Exclusion Rule Exclude By Hotword 
- Drop if the hotword rule is contained in the proximate context. Structure is documented below.
- exclude_info_ Preventiontypes Job Trigger Inspect Job Inspect Config Rule Set Rule Exclusion Rule Exclude Info Types 
- Set of infoTypes for which findings would affect this rule. Structure is documented below.
- regex
PreventionJob Trigger Inspect Job Inspect Config Rule Set Rule Exclusion Rule Regex 
- Regular expression which defines the rule. Structure is documented below.
- matchingType String
- How the rule is applied. See the documentation for more information: https://cloud.google.com/dlp/docs/reference/rest/v2/InspectConfig#MatchingType
Possible values are: MATCHING_TYPE_FULL_MATCH,MATCHING_TYPE_PARTIAL_MATCH,MATCHING_TYPE_INVERSE_MATCH.
- dictionary Property Map
- Dictionary which defines the rule. Structure is documented below.
- excludeBy Property MapHotword 
- Drop if the hotword rule is contained in the proximate context. Structure is documented below.
- excludeInfo Property MapTypes 
- Set of infoTypes for which findings would affect this rule. Structure is documented below.
- regex Property Map
- Regular expression which defines the rule. Structure is documented below.
PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleDictionary, PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleDictionaryArgs                          
- CloudStorage PreventionPath Job Trigger Inspect Job Inspect Config Rule Set Rule Exclusion Rule Dictionary Cloud Storage Path 
- Newline-delimited file of words in Cloud Storage. Only a single file is accepted. Structure is documented below.
- WordList PreventionJob Trigger Inspect Job Inspect Config Rule Set Rule Exclusion Rule Dictionary Word List 
- List of words or phrases to search for. Structure is documented below.
- CloudStorage PreventionPath Job Trigger Inspect Job Inspect Config Rule Set Rule Exclusion Rule Dictionary Cloud Storage Path 
- Newline-delimited file of words in Cloud Storage. Only a single file is accepted. Structure is documented below.
- WordList PreventionJob Trigger Inspect Job Inspect Config Rule Set Rule Exclusion Rule Dictionary Word List 
- List of words or phrases to search for. Structure is documented below.
- cloudStorage PreventionPath Job Trigger Inspect Job Inspect Config Rule Set Rule Exclusion Rule Dictionary Cloud Storage Path 
- Newline-delimited file of words in Cloud Storage. Only a single file is accepted. Structure is documented below.
- wordList PreventionJob Trigger Inspect Job Inspect Config Rule Set Rule Exclusion Rule Dictionary Word List 
- List of words or phrases to search for. Structure is documented below.
- cloudStorage PreventionPath Job Trigger Inspect Job Inspect Config Rule Set Rule Exclusion Rule Dictionary Cloud Storage Path 
- Newline-delimited file of words in Cloud Storage. Only a single file is accepted. Structure is documented below.
- wordList PreventionJob Trigger Inspect Job Inspect Config Rule Set Rule Exclusion Rule Dictionary Word List 
- List of words or phrases to search for. Structure is documented below.
- cloud_storage_ Preventionpath Job Trigger Inspect Job Inspect Config Rule Set Rule Exclusion Rule Dictionary Cloud Storage Path 
- Newline-delimited file of words in Cloud Storage. Only a single file is accepted. Structure is documented below.
- word_list PreventionJob Trigger Inspect Job Inspect Config Rule Set Rule Exclusion Rule Dictionary Word List 
- List of words or phrases to search for. Structure is documented below.
- cloudStorage Property MapPath 
- Newline-delimited file of words in Cloud Storage. Only a single file is accepted. Structure is documented below.
- wordList Property Map
- List of words or phrases to search for. Structure is documented below.
PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleDictionaryCloudStoragePath, PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleDictionaryCloudStoragePathArgs                                
- Path string
- A url representing a file or path (no wildcards) in Cloud Storage. Example: gs://[BUCKET_NAME]/dictionary.txt
- Path string
- A url representing a file or path (no wildcards) in Cloud Storage. Example: gs://[BUCKET_NAME]/dictionary.txt
- path String
- A url representing a file or path (no wildcards) in Cloud Storage. Example: gs://[BUCKET_NAME]/dictionary.txt
- path string
- A url representing a file or path (no wildcards) in Cloud Storage. Example: gs://[BUCKET_NAME]/dictionary.txt
- path str
- A url representing a file or path (no wildcards) in Cloud Storage. Example: gs://[BUCKET_NAME]/dictionary.txt
- path String
- A url representing a file or path (no wildcards) in Cloud Storage. Example: gs://[BUCKET_NAME]/dictionary.txt
PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleDictionaryWordList, PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleDictionaryWordListArgs                              
- Words List<string>
- Words or phrases defining the dictionary. The dictionary must contain at least one phrase and every phrase must contain at least 2 characters that are letters or digits.
- Words []string
- Words or phrases defining the dictionary. The dictionary must contain at least one phrase and every phrase must contain at least 2 characters that are letters or digits.
- words List<String>
- Words or phrases defining the dictionary. The dictionary must contain at least one phrase and every phrase must contain at least 2 characters that are letters or digits.
- words string[]
- Words or phrases defining the dictionary. The dictionary must contain at least one phrase and every phrase must contain at least 2 characters that are letters or digits.
- words Sequence[str]
- Words or phrases defining the dictionary. The dictionary must contain at least one phrase and every phrase must contain at least 2 characters that are letters or digits.
- words List<String>
- Words or phrases defining the dictionary. The dictionary must contain at least one phrase and every phrase must contain at least 2 characters that are letters or digits.
PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleExcludeByHotword, PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleExcludeByHotwordArgs                              
- HotwordRegex PreventionJob Trigger Inspect Job Inspect Config Rule Set Rule Exclusion Rule Exclude By Hotword Hotword Regex 
- Regular expression pattern defining what qualifies as a hotword. Structure is documented below.
- Proximity
PreventionJob Trigger Inspect Job Inspect Config Rule Set Rule Exclusion Rule Exclude By Hotword Proximity 
- Proximity of the finding within which the entire hotword must reside. The total length of the window cannot
exceed 1000 characters. Note that the finding itself will be included in the window, so that hotwords may be
used to match substrings of the finding itself. For example, the certainty of a phone number regex
(\d{3}) \d{3}-\d{4}could be adjusted upwards if the area code is known to be the local area code of a company office using the hotword regex(xxx), wherexxxis the area code in question. Structure is documented below.
- HotwordRegex PreventionJob Trigger Inspect Job Inspect Config Rule Set Rule Exclusion Rule Exclude By Hotword Hotword Regex 
- Regular expression pattern defining what qualifies as a hotword. Structure is documented below.
- Proximity
PreventionJob Trigger Inspect Job Inspect Config Rule Set Rule Exclusion Rule Exclude By Hotword Proximity 
- Proximity of the finding within which the entire hotword must reside. The total length of the window cannot
exceed 1000 characters. Note that the finding itself will be included in the window, so that hotwords may be
used to match substrings of the finding itself. For example, the certainty of a phone number regex
(\d{3}) \d{3}-\d{4}could be adjusted upwards if the area code is known to be the local area code of a company office using the hotword regex(xxx), wherexxxis the area code in question. Structure is documented below.
- hotwordRegex PreventionJob Trigger Inspect Job Inspect Config Rule Set Rule Exclusion Rule Exclude By Hotword Hotword Regex 
- Regular expression pattern defining what qualifies as a hotword. Structure is documented below.
- proximity
PreventionJob Trigger Inspect Job Inspect Config Rule Set Rule Exclusion Rule Exclude By Hotword Proximity 
- Proximity of the finding within which the entire hotword must reside. The total length of the window cannot
exceed 1000 characters. Note that the finding itself will be included in the window, so that hotwords may be
used to match substrings of the finding itself. For example, the certainty of a phone number regex
(\d{3}) \d{3}-\d{4}could be adjusted upwards if the area code is known to be the local area code of a company office using the hotword regex(xxx), wherexxxis the area code in question. Structure is documented below.
- hotwordRegex PreventionJob Trigger Inspect Job Inspect Config Rule Set Rule Exclusion Rule Exclude By Hotword Hotword Regex 
- Regular expression pattern defining what qualifies as a hotword. Structure is documented below.
- proximity
PreventionJob Trigger Inspect Job Inspect Config Rule Set Rule Exclusion Rule Exclude By Hotword Proximity 
- Proximity of the finding within which the entire hotword must reside. The total length of the window cannot
exceed 1000 characters. Note that the finding itself will be included in the window, so that hotwords may be
used to match substrings of the finding itself. For example, the certainty of a phone number regex
(\d{3}) \d{3}-\d{4}could be adjusted upwards if the area code is known to be the local area code of a company office using the hotword regex(xxx), wherexxxis the area code in question. Structure is documented below.
- hotword_regex PreventionJob Trigger Inspect Job Inspect Config Rule Set Rule Exclusion Rule Exclude By Hotword Hotword Regex 
- Regular expression pattern defining what qualifies as a hotword. Structure is documented below.
- proximity
PreventionJob Trigger Inspect Job Inspect Config Rule Set Rule Exclusion Rule Exclude By Hotword Proximity 
- Proximity of the finding within which the entire hotword must reside. The total length of the window cannot
exceed 1000 characters. Note that the finding itself will be included in the window, so that hotwords may be
used to match substrings of the finding itself. For example, the certainty of a phone number regex
(\d{3}) \d{3}-\d{4}could be adjusted upwards if the area code is known to be the local area code of a company office using the hotword regex(xxx), wherexxxis the area code in question. Structure is documented below.
- hotwordRegex Property Map
- Regular expression pattern defining what qualifies as a hotword. Structure is documented below.
- proximity Property Map
- Proximity of the finding within which the entire hotword must reside. The total length of the window cannot
exceed 1000 characters. Note that the finding itself will be included in the window, so that hotwords may be
used to match substrings of the finding itself. For example, the certainty of a phone number regex
(\d{3}) \d{3}-\d{4}could be adjusted upwards if the area code is known to be the local area code of a company office using the hotword regex(xxx), wherexxxis the area code in question. Structure is documented below.
PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleExcludeByHotwordHotwordRegex, PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleExcludeByHotwordHotwordRegexArgs                                  
- GroupIndexes List<int>
- The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included.
- Pattern string
- Pattern defining the regular expression. Its syntax (https://github.com/google/re2/wiki/Syntax) can be found under the google/re2 repository on GitHub.
- GroupIndexes []int
- The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included.
- Pattern string
- Pattern defining the regular expression. Its syntax (https://github.com/google/re2/wiki/Syntax) can be found under the google/re2 repository on GitHub.
- groupIndexes List<Integer>
- The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included.
- pattern String
- Pattern defining the regular expression. Its syntax (https://github.com/google/re2/wiki/Syntax) can be found under the google/re2 repository on GitHub.
- groupIndexes number[]
- The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included.
- pattern string
- Pattern defining the regular expression. Its syntax (https://github.com/google/re2/wiki/Syntax) can be found under the google/re2 repository on GitHub.
- group_indexes Sequence[int]
- The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included.
- pattern str
- Pattern defining the regular expression. Its syntax (https://github.com/google/re2/wiki/Syntax) can be found under the google/re2 repository on GitHub.
- groupIndexes List<Number>
- The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included.
- pattern String
- Pattern defining the regular expression. Its syntax (https://github.com/google/re2/wiki/Syntax) can be found under the google/re2 repository on GitHub.
PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleExcludeByHotwordProximity, PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleExcludeByHotwordProximityArgs                                
- WindowAfter int
- Number of characters after the finding to consider. Either this or window_before must be specified
- WindowBefore int
- Number of characters before the finding to consider. Either this or window_after must be specified
- WindowAfter int
- Number of characters after the finding to consider. Either this or window_before must be specified
- WindowBefore int
- Number of characters before the finding to consider. Either this or window_after must be specified
- windowAfter Integer
- Number of characters after the finding to consider. Either this or window_before must be specified
- windowBefore Integer
- Number of characters before the finding to consider. Either this or window_after must be specified
- windowAfter number
- Number of characters after the finding to consider. Either this or window_before must be specified
- windowBefore number
- Number of characters before the finding to consider. Either this or window_after must be specified
- window_after int
- Number of characters after the finding to consider. Either this or window_before must be specified
- window_before int
- Number of characters before the finding to consider. Either this or window_after must be specified
- windowAfter Number
- Number of characters after the finding to consider. Either this or window_before must be specified
- windowBefore Number
- Number of characters before the finding to consider. Either this or window_after must be specified
PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleExcludeInfoTypes, PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleExcludeInfoTypesArgs                              
- InfoTypes List<PreventionJob Trigger Inspect Job Inspect Config Rule Set Rule Exclusion Rule Exclude Info Types Info Type> 
- If a finding is matched by any of the infoType detectors listed here, the finding will be excluded from the scan results. Structure is documented below.
- InfoTypes []PreventionJob Trigger Inspect Job Inspect Config Rule Set Rule Exclusion Rule Exclude Info Types Info Type 
- If a finding is matched by any of the infoType detectors listed here, the finding will be excluded from the scan results. Structure is documented below.
- infoTypes List<PreventionJob Trigger Inspect Job Inspect Config Rule Set Rule Exclusion Rule Exclude Info Types Info Type> 
- If a finding is matched by any of the infoType detectors listed here, the finding will be excluded from the scan results. Structure is documented below.
- infoTypes PreventionJob Trigger Inspect Job Inspect Config Rule Set Rule Exclusion Rule Exclude Info Types Info Type[] 
- If a finding is matched by any of the infoType detectors listed here, the finding will be excluded from the scan results. Structure is documented below.
- info_types Sequence[PreventionJob Trigger Inspect Job Inspect Config Rule Set Rule Exclusion Rule Exclude Info Types Info Type] 
- If a finding is matched by any of the infoType detectors listed here, the finding will be excluded from the scan results. Structure is documented below.
- infoTypes List<Property Map>
- If a finding is matched by any of the infoType detectors listed here, the finding will be excluded from the scan results. Structure is documented below.
PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleExcludeInfoTypesInfoType, PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleExcludeInfoTypesInfoTypeArgs                                  
- Name string
- Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference when specifying a built-in type.
- SensitivityScore PreventionJob Trigger Inspect Job Inspect Config Rule Set Rule Exclusion Rule Exclude Info Types Info Type Sensitivity Score 
- Optional custom sensitivity for this InfoType. This only applies to data profiling. Structure is documented below.
- Version string
- Version of the information type to use. By default, the version is set to stable.
- Name string
- Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference when specifying a built-in type.
- SensitivityScore PreventionJob Trigger Inspect Job Inspect Config Rule Set Rule Exclusion Rule Exclude Info Types Info Type Sensitivity Score 
- Optional custom sensitivity for this InfoType. This only applies to data profiling. Structure is documented below.
- Version string
- Version of the information type to use. By default, the version is set to stable.
- name String
- Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference when specifying a built-in type.
- sensitivityScore PreventionJob Trigger Inspect Job Inspect Config Rule Set Rule Exclusion Rule Exclude Info Types Info Type Sensitivity Score 
- Optional custom sensitivity for this InfoType. This only applies to data profiling. Structure is documented below.
- version String
- Version of the information type to use. By default, the version is set to stable.
- name string
- Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference when specifying a built-in type.
- sensitivityScore PreventionJob Trigger Inspect Job Inspect Config Rule Set Rule Exclusion Rule Exclude Info Types Info Type Sensitivity Score 
- Optional custom sensitivity for this InfoType. This only applies to data profiling. Structure is documented below.
- version string
- Version of the information type to use. By default, the version is set to stable.
- name str
- Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference when specifying a built-in type.
- sensitivity_score PreventionJob Trigger Inspect Job Inspect Config Rule Set Rule Exclusion Rule Exclude Info Types Info Type Sensitivity Score 
- Optional custom sensitivity for this InfoType. This only applies to data profiling. Structure is documented below.
- version str
- Version of the information type to use. By default, the version is set to stable.
- name String
- Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference when specifying a built-in type.
- sensitivityScore Property Map
- Optional custom sensitivity for this InfoType. This only applies to data profiling. Structure is documented below.
- version String
- Version of the information type to use. By default, the version is set to stable.
PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleExcludeInfoTypesInfoTypeSensitivityScore, PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleExcludeInfoTypesInfoTypeSensitivityScoreArgs                                      
- Score string
- The sensitivity score applied to the resource.
Possible values are: SENSITIVITY_LOW,SENSITIVITY_MODERATE,SENSITIVITY_HIGH.
- Score string
- The sensitivity score applied to the resource.
Possible values are: SENSITIVITY_LOW,SENSITIVITY_MODERATE,SENSITIVITY_HIGH.
- score String
- The sensitivity score applied to the resource.
Possible values are: SENSITIVITY_LOW,SENSITIVITY_MODERATE,SENSITIVITY_HIGH.
- score string
- The sensitivity score applied to the resource.
Possible values are: SENSITIVITY_LOW,SENSITIVITY_MODERATE,SENSITIVITY_HIGH.
- score str
- The sensitivity score applied to the resource.
Possible values are: SENSITIVITY_LOW,SENSITIVITY_MODERATE,SENSITIVITY_HIGH.
- score String
- The sensitivity score applied to the resource.
Possible values are: SENSITIVITY_LOW,SENSITIVITY_MODERATE,SENSITIVITY_HIGH.
PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleRegex, PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRuleRegexArgs                          
- Pattern string
- Pattern defining the regular expression. Its syntax (https://github.com/google/re2/wiki/Syntax) can be found under the google/re2 repository on GitHub.
- GroupIndexes List<int>
- The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included.
- Pattern string
- Pattern defining the regular expression. Its syntax (https://github.com/google/re2/wiki/Syntax) can be found under the google/re2 repository on GitHub.
- GroupIndexes []int
- The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included.
- pattern String
- Pattern defining the regular expression. Its syntax (https://github.com/google/re2/wiki/Syntax) can be found under the google/re2 repository on GitHub.
- groupIndexes List<Integer>
- The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included.
- pattern string
- Pattern defining the regular expression. Its syntax (https://github.com/google/re2/wiki/Syntax) can be found under the google/re2 repository on GitHub.
- groupIndexes number[]
- The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included.
- pattern str
- Pattern defining the regular expression. Its syntax (https://github.com/google/re2/wiki/Syntax) can be found under the google/re2 repository on GitHub.
- group_indexes Sequence[int]
- The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included.
- pattern String
- Pattern defining the regular expression. Its syntax (https://github.com/google/re2/wiki/Syntax) can be found under the google/re2 repository on GitHub.
- groupIndexes List<Number>
- The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included.
PreventionJobTriggerInspectJobInspectConfigRuleSetRuleHotwordRule, PreventionJobTriggerInspectJobInspectConfigRuleSetRuleHotwordRuleArgs                        
- HotwordRegex PreventionJob Trigger Inspect Job Inspect Config Rule Set Rule Hotword Rule Hotword Regex 
- Regular expression pattern defining what qualifies as a hotword. Structure is documented below.
- LikelihoodAdjustment PreventionJob Trigger Inspect Job Inspect Config Rule Set Rule Hotword Rule Likelihood Adjustment 
- Likelihood adjustment to apply to all matching findings. Structure is documented below.
- Proximity
PreventionJob Trigger Inspect Job Inspect Config Rule Set Rule Hotword Rule Proximity 
- Proximity of the finding within which the entire hotword must reside. The total length of the window cannot
exceed 1000 characters. Note that the finding itself will be included in the window, so that hotwords may be
used to match substrings of the finding itself. For example, the certainty of a phone number regex
(\d{3}) \d{3}-\d{4}could be adjusted upwards if the area code is known to be the local area code of a company office using the hotword regex(xxx), wherexxxis the area code in question. Structure is documented below.
- HotwordRegex PreventionJob Trigger Inspect Job Inspect Config Rule Set Rule Hotword Rule Hotword Regex 
- Regular expression pattern defining what qualifies as a hotword. Structure is documented below.
- LikelihoodAdjustment PreventionJob Trigger Inspect Job Inspect Config Rule Set Rule Hotword Rule Likelihood Adjustment 
- Likelihood adjustment to apply to all matching findings. Structure is documented below.
- Proximity
PreventionJob Trigger Inspect Job Inspect Config Rule Set Rule Hotword Rule Proximity 
- Proximity of the finding within which the entire hotword must reside. The total length of the window cannot
exceed 1000 characters. Note that the finding itself will be included in the window, so that hotwords may be
used to match substrings of the finding itself. For example, the certainty of a phone number regex
(\d{3}) \d{3}-\d{4}could be adjusted upwards if the area code is known to be the local area code of a company office using the hotword regex(xxx), wherexxxis the area code in question. Structure is documented below.
- hotwordRegex PreventionJob Trigger Inspect Job Inspect Config Rule Set Rule Hotword Rule Hotword Regex 
- Regular expression pattern defining what qualifies as a hotword. Structure is documented below.
- likelihoodAdjustment PreventionJob Trigger Inspect Job Inspect Config Rule Set Rule Hotword Rule Likelihood Adjustment 
- Likelihood adjustment to apply to all matching findings. Structure is documented below.
- proximity
PreventionJob Trigger Inspect Job Inspect Config Rule Set Rule Hotword Rule Proximity 
- Proximity of the finding within which the entire hotword must reside. The total length of the window cannot
exceed 1000 characters. Note that the finding itself will be included in the window, so that hotwords may be
used to match substrings of the finding itself. For example, the certainty of a phone number regex
(\d{3}) \d{3}-\d{4}could be adjusted upwards if the area code is known to be the local area code of a company office using the hotword regex(xxx), wherexxxis the area code in question. Structure is documented below.
- hotwordRegex PreventionJob Trigger Inspect Job Inspect Config Rule Set Rule Hotword Rule Hotword Regex 
- Regular expression pattern defining what qualifies as a hotword. Structure is documented below.
- likelihoodAdjustment PreventionJob Trigger Inspect Job Inspect Config Rule Set Rule Hotword Rule Likelihood Adjustment 
- Likelihood adjustment to apply to all matching findings. Structure is documented below.
- proximity
PreventionJob Trigger Inspect Job Inspect Config Rule Set Rule Hotword Rule Proximity 
- Proximity of the finding within which the entire hotword must reside. The total length of the window cannot
exceed 1000 characters. Note that the finding itself will be included in the window, so that hotwords may be
used to match substrings of the finding itself. For example, the certainty of a phone number regex
(\d{3}) \d{3}-\d{4}could be adjusted upwards if the area code is known to be the local area code of a company office using the hotword regex(xxx), wherexxxis the area code in question. Structure is documented below.
- hotword_regex PreventionJob Trigger Inspect Job Inspect Config Rule Set Rule Hotword Rule Hotword Regex 
- Regular expression pattern defining what qualifies as a hotword. Structure is documented below.
- likelihood_adjustment PreventionJob Trigger Inspect Job Inspect Config Rule Set Rule Hotword Rule Likelihood Adjustment 
- Likelihood adjustment to apply to all matching findings. Structure is documented below.
- proximity
PreventionJob Trigger Inspect Job Inspect Config Rule Set Rule Hotword Rule Proximity 
- Proximity of the finding within which the entire hotword must reside. The total length of the window cannot
exceed 1000 characters. Note that the finding itself will be included in the window, so that hotwords may be
used to match substrings of the finding itself. For example, the certainty of a phone number regex
(\d{3}) \d{3}-\d{4}could be adjusted upwards if the area code is known to be the local area code of a company office using the hotword regex(xxx), wherexxxis the area code in question. Structure is documented below.
- hotwordRegex Property Map
- Regular expression pattern defining what qualifies as a hotword. Structure is documented below.
- likelihoodAdjustment Property Map
- Likelihood adjustment to apply to all matching findings. Structure is documented below.
- proximity Property Map
- Proximity of the finding within which the entire hotword must reside. The total length of the window cannot
exceed 1000 characters. Note that the finding itself will be included in the window, so that hotwords may be
used to match substrings of the finding itself. For example, the certainty of a phone number regex
(\d{3}) \d{3}-\d{4}could be adjusted upwards if the area code is known to be the local area code of a company office using the hotword regex(xxx), wherexxxis the area code in question. Structure is documented below.
PreventionJobTriggerInspectJobInspectConfigRuleSetRuleHotwordRuleHotwordRegex, PreventionJobTriggerInspectJobInspectConfigRuleSetRuleHotwordRuleHotwordRegexArgs                            
- GroupIndexes List<int>
- The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included.
- Pattern string
- Pattern defining the regular expression. Its syntax (https://github.com/google/re2/wiki/Syntax) can be found under the google/re2 repository on GitHub.
- GroupIndexes []int
- The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included.
- Pattern string
- Pattern defining the regular expression. Its syntax (https://github.com/google/re2/wiki/Syntax) can be found under the google/re2 repository on GitHub.
- groupIndexes List<Integer>
- The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included.
- pattern String
- Pattern defining the regular expression. Its syntax (https://github.com/google/re2/wiki/Syntax) can be found under the google/re2 repository on GitHub.
- groupIndexes number[]
- The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included.
- pattern string
- Pattern defining the regular expression. Its syntax (https://github.com/google/re2/wiki/Syntax) can be found under the google/re2 repository on GitHub.
- group_indexes Sequence[int]
- The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included.
- pattern str
- Pattern defining the regular expression. Its syntax (https://github.com/google/re2/wiki/Syntax) can be found under the google/re2 repository on GitHub.
- groupIndexes List<Number>
- The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included.
- pattern String
- Pattern defining the regular expression. Its syntax (https://github.com/google/re2/wiki/Syntax) can be found under the google/re2 repository on GitHub.
PreventionJobTriggerInspectJobInspectConfigRuleSetRuleHotwordRuleLikelihoodAdjustment, PreventionJobTriggerInspectJobInspectConfigRuleSetRuleHotwordRuleLikelihoodAdjustmentArgs                            
- FixedLikelihood string
- Set the likelihood of a finding to a fixed value. Either this or relative_likelihood can be set.
Possible values are: VERY_UNLIKELY,UNLIKELY,POSSIBLE,LIKELY,VERY_LIKELY.
- RelativeLikelihood int
- Increase or decrease the likelihood by the specified number of levels. For example, if a finding would be POSSIBLE without the detection rule and relativeLikelihood is 1, then it is upgraded to LIKELY, while a value of -1 would downgrade it to UNLIKELY. Likelihood may never drop below VERY_UNLIKELY or exceed VERY_LIKELY, so applying an adjustment of 1 followed by an adjustment of -1 when base likelihood is VERY_LIKELY will result in a final likelihood of LIKELY. Either this or fixed_likelihood can be set.
- FixedLikelihood string
- Set the likelihood of a finding to a fixed value. Either this or relative_likelihood can be set.
Possible values are: VERY_UNLIKELY,UNLIKELY,POSSIBLE,LIKELY,VERY_LIKELY.
- RelativeLikelihood int
- Increase or decrease the likelihood by the specified number of levels. For example, if a finding would be POSSIBLE without the detection rule and relativeLikelihood is 1, then it is upgraded to LIKELY, while a value of -1 would downgrade it to UNLIKELY. Likelihood may never drop below VERY_UNLIKELY or exceed VERY_LIKELY, so applying an adjustment of 1 followed by an adjustment of -1 when base likelihood is VERY_LIKELY will result in a final likelihood of LIKELY. Either this or fixed_likelihood can be set.
- fixedLikelihood String
- Set the likelihood of a finding to a fixed value. Either this or relative_likelihood can be set.
Possible values are: VERY_UNLIKELY,UNLIKELY,POSSIBLE,LIKELY,VERY_LIKELY.
- relativeLikelihood Integer
- Increase or decrease the likelihood by the specified number of levels. For example, if a finding would be POSSIBLE without the detection rule and relativeLikelihood is 1, then it is upgraded to LIKELY, while a value of -1 would downgrade it to UNLIKELY. Likelihood may never drop below VERY_UNLIKELY or exceed VERY_LIKELY, so applying an adjustment of 1 followed by an adjustment of -1 when base likelihood is VERY_LIKELY will result in a final likelihood of LIKELY. Either this or fixed_likelihood can be set.
- fixedLikelihood string
- Set the likelihood of a finding to a fixed value. Either this or relative_likelihood can be set.
Possible values are: VERY_UNLIKELY,UNLIKELY,POSSIBLE,LIKELY,VERY_LIKELY.
- relativeLikelihood number
- Increase or decrease the likelihood by the specified number of levels. For example, if a finding would be POSSIBLE without the detection rule and relativeLikelihood is 1, then it is upgraded to LIKELY, while a value of -1 would downgrade it to UNLIKELY. Likelihood may never drop below VERY_UNLIKELY or exceed VERY_LIKELY, so applying an adjustment of 1 followed by an adjustment of -1 when base likelihood is VERY_LIKELY will result in a final likelihood of LIKELY. Either this or fixed_likelihood can be set.
- fixed_likelihood str
- Set the likelihood of a finding to a fixed value. Either this or relative_likelihood can be set.
Possible values are: VERY_UNLIKELY,UNLIKELY,POSSIBLE,LIKELY,VERY_LIKELY.
- relative_likelihood int
- Increase or decrease the likelihood by the specified number of levels. For example, if a finding would be POSSIBLE without the detection rule and relativeLikelihood is 1, then it is upgraded to LIKELY, while a value of -1 would downgrade it to UNLIKELY. Likelihood may never drop below VERY_UNLIKELY or exceed VERY_LIKELY, so applying an adjustment of 1 followed by an adjustment of -1 when base likelihood is VERY_LIKELY will result in a final likelihood of LIKELY. Either this or fixed_likelihood can be set.
- fixedLikelihood String
- Set the likelihood of a finding to a fixed value. Either this or relative_likelihood can be set.
Possible values are: VERY_UNLIKELY,UNLIKELY,POSSIBLE,LIKELY,VERY_LIKELY.
- relativeLikelihood Number
- Increase or decrease the likelihood by the specified number of levels. For example, if a finding would be POSSIBLE without the detection rule and relativeLikelihood is 1, then it is upgraded to LIKELY, while a value of -1 would downgrade it to UNLIKELY. Likelihood may never drop below VERY_UNLIKELY or exceed VERY_LIKELY, so applying an adjustment of 1 followed by an adjustment of -1 when base likelihood is VERY_LIKELY will result in a final likelihood of LIKELY. Either this or fixed_likelihood can be set.
PreventionJobTriggerInspectJobInspectConfigRuleSetRuleHotwordRuleProximity, PreventionJobTriggerInspectJobInspectConfigRuleSetRuleHotwordRuleProximityArgs                          
- WindowAfter int
- Number of characters after the finding to consider. Either this or window_before must be specified
- WindowBefore int
- Number of characters before the finding to consider. Either this or window_after must be specified
- WindowAfter int
- Number of characters after the finding to consider. Either this or window_before must be specified
- WindowBefore int
- Number of characters before the finding to consider. Either this or window_after must be specified
- windowAfter Integer
- Number of characters after the finding to consider. Either this or window_before must be specified
- windowBefore Integer
- Number of characters before the finding to consider. Either this or window_after must be specified
- windowAfter number
- Number of characters after the finding to consider. Either this or window_before must be specified
- windowBefore number
- Number of characters before the finding to consider. Either this or window_after must be specified
- window_after int
- Number of characters after the finding to consider. Either this or window_before must be specified
- window_before int
- Number of characters before the finding to consider. Either this or window_after must be specified
- windowAfter Number
- Number of characters after the finding to consider. Either this or window_before must be specified
- windowBefore Number
- Number of characters before the finding to consider. Either this or window_after must be specified
PreventionJobTriggerInspectJobStorageConfig, PreventionJobTriggerInspectJobStorageConfigArgs              
- BigQuery PreventionOptions Job Trigger Inspect Job Storage Config Big Query Options 
- Options defining BigQuery table and row identifiers. Structure is documented below.
- CloudStorage PreventionOptions Job Trigger Inspect Job Storage Config Cloud Storage Options 
- Options defining a file or a set of files within a Google Cloud Storage bucket. Structure is documented below.
- DatastoreOptions PreventionJob Trigger Inspect Job Storage Config Datastore Options 
- Options defining a data set within Google Cloud Datastore. Structure is documented below.
- HybridOptions PreventionJob Trigger Inspect Job Storage Config Hybrid Options 
- Configuration to control jobs where the content being inspected is outside of Google Cloud Platform. Structure is documented below.
- TimespanConfig PreventionJob Trigger Inspect Job Storage Config Timespan Config 
- Configuration of the timespan of the items to include in scanning Structure is documented below.
- BigQuery PreventionOptions Job Trigger Inspect Job Storage Config Big Query Options 
- Options defining BigQuery table and row identifiers. Structure is documented below.
- CloudStorage PreventionOptions Job Trigger Inspect Job Storage Config Cloud Storage Options 
- Options defining a file or a set of files within a Google Cloud Storage bucket. Structure is documented below.
- DatastoreOptions PreventionJob Trigger Inspect Job Storage Config Datastore Options 
- Options defining a data set within Google Cloud Datastore. Structure is documented below.
- HybridOptions PreventionJob Trigger Inspect Job Storage Config Hybrid Options 
- Configuration to control jobs where the content being inspected is outside of Google Cloud Platform. Structure is documented below.
- TimespanConfig PreventionJob Trigger Inspect Job Storage Config Timespan Config 
- Configuration of the timespan of the items to include in scanning Structure is documented below.
- bigQuery PreventionOptions Job Trigger Inspect Job Storage Config Big Query Options 
- Options defining BigQuery table and row identifiers. Structure is documented below.
- cloudStorage PreventionOptions Job Trigger Inspect Job Storage Config Cloud Storage Options 
- Options defining a file or a set of files within a Google Cloud Storage bucket. Structure is documented below.
- datastoreOptions PreventionJob Trigger Inspect Job Storage Config Datastore Options 
- Options defining a data set within Google Cloud Datastore. Structure is documented below.
- hybridOptions PreventionJob Trigger Inspect Job Storage Config Hybrid Options 
- Configuration to control jobs where the content being inspected is outside of Google Cloud Platform. Structure is documented below.
- timespanConfig PreventionJob Trigger Inspect Job Storage Config Timespan Config 
- Configuration of the timespan of the items to include in scanning Structure is documented below.
- bigQuery PreventionOptions Job Trigger Inspect Job Storage Config Big Query Options 
- Options defining BigQuery table and row identifiers. Structure is documented below.
- cloudStorage PreventionOptions Job Trigger Inspect Job Storage Config Cloud Storage Options 
- Options defining a file or a set of files within a Google Cloud Storage bucket. Structure is documented below.
- datastoreOptions PreventionJob Trigger Inspect Job Storage Config Datastore Options 
- Options defining a data set within Google Cloud Datastore. Structure is documented below.
- hybridOptions PreventionJob Trigger Inspect Job Storage Config Hybrid Options 
- Configuration to control jobs where the content being inspected is outside of Google Cloud Platform. Structure is documented below.
- timespanConfig PreventionJob Trigger Inspect Job Storage Config Timespan Config 
- Configuration of the timespan of the items to include in scanning Structure is documented below.
- big_query_ Preventionoptions Job Trigger Inspect Job Storage Config Big Query Options 
- Options defining BigQuery table and row identifiers. Structure is documented below.
- cloud_storage_ Preventionoptions Job Trigger Inspect Job Storage Config Cloud Storage Options 
- Options defining a file or a set of files within a Google Cloud Storage bucket. Structure is documented below.
- datastore_options PreventionJob Trigger Inspect Job Storage Config Datastore Options 
- Options defining a data set within Google Cloud Datastore. Structure is documented below.
- hybrid_options PreventionJob Trigger Inspect Job Storage Config Hybrid Options 
- Configuration to control jobs where the content being inspected is outside of Google Cloud Platform. Structure is documented below.
- timespan_config PreventionJob Trigger Inspect Job Storage Config Timespan Config 
- Configuration of the timespan of the items to include in scanning Structure is documented below.
- bigQuery Property MapOptions 
- Options defining BigQuery table and row identifiers. Structure is documented below.
- cloudStorage Property MapOptions 
- Options defining a file or a set of files within a Google Cloud Storage bucket. Structure is documented below.
- datastoreOptions Property Map
- Options defining a data set within Google Cloud Datastore. Structure is documented below.
- hybridOptions Property Map
- Configuration to control jobs where the content being inspected is outside of Google Cloud Platform. Structure is documented below.
- timespanConfig Property Map
- Configuration of the timespan of the items to include in scanning Structure is documented below.
PreventionJobTriggerInspectJobStorageConfigBigQueryOptions, PreventionJobTriggerInspectJobStorageConfigBigQueryOptionsArgs                    
- TableReference PreventionJob Trigger Inspect Job Storage Config Big Query Options Table Reference 
- Set of files to scan. Structure is documented below.
- ExcludedFields List<PreventionJob Trigger Inspect Job Storage Config Big Query Options Excluded Field> 
- References to fields excluded from scanning. This allows you to skip inspection of entire columns which you know have no findings. Structure is documented below.
- IdentifyingFields List<PreventionJob Trigger Inspect Job Storage Config Big Query Options Identifying Field> 
- Specifies the BigQuery fields that will be returned with findings. If not specified, no identifying fields will be returned for findings. Structure is documented below.
- IncludedFields List<PreventionJob Trigger Inspect Job Storage Config Big Query Options Included Field> 
- Limit scanning only to these fields. Structure is documented below.
- RowsLimit int
- Max number of rows to scan. If the table has more rows than this value, the rest of the rows are omitted. If not set, or if set to 0, all rows will be scanned. Only one of rowsLimit and rowsLimitPercent can be specified. Cannot be used in conjunction with TimespanConfig.
- RowsLimit intPercent 
- Max percentage of rows to scan. The rest are omitted. The number of rows scanned is rounded down. Must be between 0 and 100, inclusively. Both 0 and 100 means no limit. Defaults to 0. Only one of rowsLimit and rowsLimitPercent can be specified. Cannot be used in conjunction with TimespanConfig.
- SampleMethod string
- How to sample rows if not all rows are scanned. Meaningful only when used in conjunction with either
rowsLimit or rowsLimitPercent. If not specified, rows are scanned in the order BigQuery reads them.
If TimespanConfig is set, set this to an empty string to avoid using the default value.
Default value is TOP. Possible values are:TOP,RANDOM_START.
- TableReference PreventionJob Trigger Inspect Job Storage Config Big Query Options Table Reference 
- Set of files to scan. Structure is documented below.
- ExcludedFields []PreventionJob Trigger Inspect Job Storage Config Big Query Options Excluded Field 
- References to fields excluded from scanning. This allows you to skip inspection of entire columns which you know have no findings. Structure is documented below.
- IdentifyingFields []PreventionJob Trigger Inspect Job Storage Config Big Query Options Identifying Field 
- Specifies the BigQuery fields that will be returned with findings. If not specified, no identifying fields will be returned for findings. Structure is documented below.
- IncludedFields []PreventionJob Trigger Inspect Job Storage Config Big Query Options Included Field 
- Limit scanning only to these fields. Structure is documented below.
- RowsLimit int
- Max number of rows to scan. If the table has more rows than this value, the rest of the rows are omitted. If not set, or if set to 0, all rows will be scanned. Only one of rowsLimit and rowsLimitPercent can be specified. Cannot be used in conjunction with TimespanConfig.
- RowsLimit intPercent 
- Max percentage of rows to scan. The rest are omitted. The number of rows scanned is rounded down. Must be between 0 and 100, inclusively. Both 0 and 100 means no limit. Defaults to 0. Only one of rowsLimit and rowsLimitPercent can be specified. Cannot be used in conjunction with TimespanConfig.
- SampleMethod string
- How to sample rows if not all rows are scanned. Meaningful only when used in conjunction with either
rowsLimit or rowsLimitPercent. If not specified, rows are scanned in the order BigQuery reads them.
If TimespanConfig is set, set this to an empty string to avoid using the default value.
Default value is TOP. Possible values are:TOP,RANDOM_START.
- tableReference PreventionJob Trigger Inspect Job Storage Config Big Query Options Table Reference 
- Set of files to scan. Structure is documented below.
- excludedFields List<PreventionJob Trigger Inspect Job Storage Config Big Query Options Excluded Field> 
- References to fields excluded from scanning. This allows you to skip inspection of entire columns which you know have no findings. Structure is documented below.
- identifyingFields List<PreventionJob Trigger Inspect Job Storage Config Big Query Options Identifying Field> 
- Specifies the BigQuery fields that will be returned with findings. If not specified, no identifying fields will be returned for findings. Structure is documented below.
- includedFields List<PreventionJob Trigger Inspect Job Storage Config Big Query Options Included Field> 
- Limit scanning only to these fields. Structure is documented below.
- rowsLimit Integer
- Max number of rows to scan. If the table has more rows than this value, the rest of the rows are omitted. If not set, or if set to 0, all rows will be scanned. Only one of rowsLimit and rowsLimitPercent can be specified. Cannot be used in conjunction with TimespanConfig.
- rowsLimit IntegerPercent 
- Max percentage of rows to scan. The rest are omitted. The number of rows scanned is rounded down. Must be between 0 and 100, inclusively. Both 0 and 100 means no limit. Defaults to 0. Only one of rowsLimit and rowsLimitPercent can be specified. Cannot be used in conjunction with TimespanConfig.
- sampleMethod String
- How to sample rows if not all rows are scanned. Meaningful only when used in conjunction with either
rowsLimit or rowsLimitPercent. If not specified, rows are scanned in the order BigQuery reads them.
If TimespanConfig is set, set this to an empty string to avoid using the default value.
Default value is TOP. Possible values are:TOP,RANDOM_START.
- tableReference PreventionJob Trigger Inspect Job Storage Config Big Query Options Table Reference 
- Set of files to scan. Structure is documented below.
- excludedFields PreventionJob Trigger Inspect Job Storage Config Big Query Options Excluded Field[] 
- References to fields excluded from scanning. This allows you to skip inspection of entire columns which you know have no findings. Structure is documented below.
- identifyingFields PreventionJob Trigger Inspect Job Storage Config Big Query Options Identifying Field[] 
- Specifies the BigQuery fields that will be returned with findings. If not specified, no identifying fields will be returned for findings. Structure is documented below.
- includedFields PreventionJob Trigger Inspect Job Storage Config Big Query Options Included Field[] 
- Limit scanning only to these fields. Structure is documented below.
- rowsLimit number
- Max number of rows to scan. If the table has more rows than this value, the rest of the rows are omitted. If not set, or if set to 0, all rows will be scanned. Only one of rowsLimit and rowsLimitPercent can be specified. Cannot be used in conjunction with TimespanConfig.
- rowsLimit numberPercent 
- Max percentage of rows to scan. The rest are omitted. The number of rows scanned is rounded down. Must be between 0 and 100, inclusively. Both 0 and 100 means no limit. Defaults to 0. Only one of rowsLimit and rowsLimitPercent can be specified. Cannot be used in conjunction with TimespanConfig.
- sampleMethod string
- How to sample rows if not all rows are scanned. Meaningful only when used in conjunction with either
rowsLimit or rowsLimitPercent. If not specified, rows are scanned in the order BigQuery reads them.
If TimespanConfig is set, set this to an empty string to avoid using the default value.
Default value is TOP. Possible values are:TOP,RANDOM_START.
- table_reference PreventionJob Trigger Inspect Job Storage Config Big Query Options Table Reference 
- Set of files to scan. Structure is documented below.
- excluded_fields Sequence[PreventionJob Trigger Inspect Job Storage Config Big Query Options Excluded Field] 
- References to fields excluded from scanning. This allows you to skip inspection of entire columns which you know have no findings. Structure is documented below.
- identifying_fields Sequence[PreventionJob Trigger Inspect Job Storage Config Big Query Options Identifying Field] 
- Specifies the BigQuery fields that will be returned with findings. If not specified, no identifying fields will be returned for findings. Structure is documented below.
- included_fields Sequence[PreventionJob Trigger Inspect Job Storage Config Big Query Options Included Field] 
- Limit scanning only to these fields. Structure is documented below.
- rows_limit int
- Max number of rows to scan. If the table has more rows than this value, the rest of the rows are omitted. If not set, or if set to 0, all rows will be scanned. Only one of rowsLimit and rowsLimitPercent can be specified. Cannot be used in conjunction with TimespanConfig.
- rows_limit_ intpercent 
- Max percentage of rows to scan. The rest are omitted. The number of rows scanned is rounded down. Must be between 0 and 100, inclusively. Both 0 and 100 means no limit. Defaults to 0. Only one of rowsLimit and rowsLimitPercent can be specified. Cannot be used in conjunction with TimespanConfig.
- sample_method str
- How to sample rows if not all rows are scanned. Meaningful only when used in conjunction with either
rowsLimit or rowsLimitPercent. If not specified, rows are scanned in the order BigQuery reads them.
If TimespanConfig is set, set this to an empty string to avoid using the default value.
Default value is TOP. Possible values are:TOP,RANDOM_START.
- tableReference Property Map
- Set of files to scan. Structure is documented below.
- excludedFields List<Property Map>
- References to fields excluded from scanning. This allows you to skip inspection of entire columns which you know have no findings. Structure is documented below.
- identifyingFields List<Property Map>
- Specifies the BigQuery fields that will be returned with findings. If not specified, no identifying fields will be returned for findings. Structure is documented below.
- includedFields List<Property Map>
- Limit scanning only to these fields. Structure is documented below.
- rowsLimit Number
- Max number of rows to scan. If the table has more rows than this value, the rest of the rows are omitted. If not set, or if set to 0, all rows will be scanned. Only one of rowsLimit and rowsLimitPercent can be specified. Cannot be used in conjunction with TimespanConfig.
- rowsLimit NumberPercent 
- Max percentage of rows to scan. The rest are omitted. The number of rows scanned is rounded down. Must be between 0 and 100, inclusively. Both 0 and 100 means no limit. Defaults to 0. Only one of rowsLimit and rowsLimitPercent can be specified. Cannot be used in conjunction with TimespanConfig.
- sampleMethod String
- How to sample rows if not all rows are scanned. Meaningful only when used in conjunction with either
rowsLimit or rowsLimitPercent. If not specified, rows are scanned in the order BigQuery reads them.
If TimespanConfig is set, set this to an empty string to avoid using the default value.
Default value is TOP. Possible values are:TOP,RANDOM_START.
PreventionJobTriggerInspectJobStorageConfigBigQueryOptionsExcludedField, PreventionJobTriggerInspectJobStorageConfigBigQueryOptionsExcludedFieldArgs                        
- Name string
- Name describing the field excluded from scanning.
- Name string
- Name describing the field excluded from scanning.
- name String
- Name describing the field excluded from scanning.
- name string
- Name describing the field excluded from scanning.
- name str
- Name describing the field excluded from scanning.
- name String
- Name describing the field excluded from scanning.
PreventionJobTriggerInspectJobStorageConfigBigQueryOptionsIdentifyingField, PreventionJobTriggerInspectJobStorageConfigBigQueryOptionsIdentifyingFieldArgs                        
- Name string
- Name describing the field.
- Name string
- Name describing the field.
- name String
- Name describing the field.
- name string
- Name describing the field.
- name str
- Name describing the field.
- name String
- Name describing the field.
PreventionJobTriggerInspectJobStorageConfigBigQueryOptionsIncludedField, PreventionJobTriggerInspectJobStorageConfigBigQueryOptionsIncludedFieldArgs                        
- Name string
- Name describing the field to which scanning is limited.
- Name string
- Name describing the field to which scanning is limited.
- name String
- Name describing the field to which scanning is limited.
- name string
- Name describing the field to which scanning is limited.
- name str
- Name describing the field to which scanning is limited.
- name String
- Name describing the field to which scanning is limited.
PreventionJobTriggerInspectJobStorageConfigBigQueryOptionsTableReference, PreventionJobTriggerInspectJobStorageConfigBigQueryOptionsTableReferenceArgs                        
- dataset_id str
- The dataset ID of the table.
- project_id str
- The Google Cloud Platform project ID of the project containing the table.
- table_id str
- The name of the table.
PreventionJobTriggerInspectJobStorageConfigCloudStorageOptions, PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsArgs                    
- FileSet PreventionJob Trigger Inspect Job Storage Config Cloud Storage Options File Set 
- Set of files to scan. Structure is documented below.
- BytesLimit intPer File 
- Max number of bytes to scan from a file. If a scanned file's size is bigger than this value then the rest of the bytes are omitted.
- BytesLimit intPer File Percent 
- Max percentage of bytes to scan from a file. The rest are omitted. The number of bytes scanned is rounded down. Must be between 0 and 100, inclusively. Both 0 and 100 means no limit.
- FileTypes List<string>
- List of file type groups to include in the scan. If empty, all files are scanned and available data
format processors are applied. In addition, the binary content of the selected files is always scanned as well.
Images are scanned only as binary if the specified region does not support image inspection and no fileTypes were specified.
Each value may be one of: BINARY_FILE,TEXT_FILE,IMAGE,WORD,PDF,AVRO,CSV,TSV,POWERPOINT,EXCEL.
- FilesLimit intPercent 
- Limits the number of files to scan to this percentage of the input FileSet. Number of files scanned is rounded down. Must be between 0 and 100, inclusively. Both 0 and 100 means no limit.
- SampleMethod string
- How to sample bytes if not all bytes are scanned. Meaningful only when used in conjunction with bytesLimitPerFile.
If not specified, scanning would start from the top.
Possible values are: TOP,RANDOM_START.
- FileSet PreventionJob Trigger Inspect Job Storage Config Cloud Storage Options File Set 
- Set of files to scan. Structure is documented below.
- BytesLimit intPer File 
- Max number of bytes to scan from a file. If a scanned file's size is bigger than this value then the rest of the bytes are omitted.
- BytesLimit intPer File Percent 
- Max percentage of bytes to scan from a file. The rest are omitted. The number of bytes scanned is rounded down. Must be between 0 and 100, inclusively. Both 0 and 100 means no limit.
- FileTypes []string
- List of file type groups to include in the scan. If empty, all files are scanned and available data
format processors are applied. In addition, the binary content of the selected files is always scanned as well.
Images are scanned only as binary if the specified region does not support image inspection and no fileTypes were specified.
Each value may be one of: BINARY_FILE,TEXT_FILE,IMAGE,WORD,PDF,AVRO,CSV,TSV,POWERPOINT,EXCEL.
- FilesLimit intPercent 
- Limits the number of files to scan to this percentage of the input FileSet. Number of files scanned is rounded down. Must be between 0 and 100, inclusively. Both 0 and 100 means no limit.
- SampleMethod string
- How to sample bytes if not all bytes are scanned. Meaningful only when used in conjunction with bytesLimitPerFile.
If not specified, scanning would start from the top.
Possible values are: TOP,RANDOM_START.
- fileSet PreventionJob Trigger Inspect Job Storage Config Cloud Storage Options File Set 
- Set of files to scan. Structure is documented below.
- bytesLimit IntegerPer File 
- Max number of bytes to scan from a file. If a scanned file's size is bigger than this value then the rest of the bytes are omitted.
- bytesLimit IntegerPer File Percent 
- Max percentage of bytes to scan from a file. The rest are omitted. The number of bytes scanned is rounded down. Must be between 0 and 100, inclusively. Both 0 and 100 means no limit.
- fileTypes List<String>
- List of file type groups to include in the scan. If empty, all files are scanned and available data
format processors are applied. In addition, the binary content of the selected files is always scanned as well.
Images are scanned only as binary if the specified region does not support image inspection and no fileTypes were specified.
Each value may be one of: BINARY_FILE,TEXT_FILE,IMAGE,WORD,PDF,AVRO,CSV,TSV,POWERPOINT,EXCEL.
- filesLimit IntegerPercent 
- Limits the number of files to scan to this percentage of the input FileSet. Number of files scanned is rounded down. Must be between 0 and 100, inclusively. Both 0 and 100 means no limit.
- sampleMethod String
- How to sample bytes if not all bytes are scanned. Meaningful only when used in conjunction with bytesLimitPerFile.
If not specified, scanning would start from the top.
Possible values are: TOP,RANDOM_START.
- fileSet PreventionJob Trigger Inspect Job Storage Config Cloud Storage Options File Set 
- Set of files to scan. Structure is documented below.
- bytesLimit numberPer File 
- Max number of bytes to scan from a file. If a scanned file's size is bigger than this value then the rest of the bytes are omitted.
- bytesLimit numberPer File Percent 
- Max percentage of bytes to scan from a file. The rest are omitted. The number of bytes scanned is rounded down. Must be between 0 and 100, inclusively. Both 0 and 100 means no limit.
- fileTypes string[]
- List of file type groups to include in the scan. If empty, all files are scanned and available data
format processors are applied. In addition, the binary content of the selected files is always scanned as well.
Images are scanned only as binary if the specified region does not support image inspection and no fileTypes were specified.
Each value may be one of: BINARY_FILE,TEXT_FILE,IMAGE,WORD,PDF,AVRO,CSV,TSV,POWERPOINT,EXCEL.
- filesLimit numberPercent 
- Limits the number of files to scan to this percentage of the input FileSet. Number of files scanned is rounded down. Must be between 0 and 100, inclusively. Both 0 and 100 means no limit.
- sampleMethod string
- How to sample bytes if not all bytes are scanned. Meaningful only when used in conjunction with bytesLimitPerFile.
If not specified, scanning would start from the top.
Possible values are: TOP,RANDOM_START.
- file_set PreventionJob Trigger Inspect Job Storage Config Cloud Storage Options File Set 
- Set of files to scan. Structure is documented below.
- bytes_limit_ intper_ file 
- Max number of bytes to scan from a file. If a scanned file's size is bigger than this value then the rest of the bytes are omitted.
- bytes_limit_ intper_ file_ percent 
- Max percentage of bytes to scan from a file. The rest are omitted. The number of bytes scanned is rounded down. Must be between 0 and 100, inclusively. Both 0 and 100 means no limit.
- file_types Sequence[str]
- List of file type groups to include in the scan. If empty, all files are scanned and available data
format processors are applied. In addition, the binary content of the selected files is always scanned as well.
Images are scanned only as binary if the specified region does not support image inspection and no fileTypes were specified.
Each value may be one of: BINARY_FILE,TEXT_FILE,IMAGE,WORD,PDF,AVRO,CSV,TSV,POWERPOINT,EXCEL.
- files_limit_ intpercent 
- Limits the number of files to scan to this percentage of the input FileSet. Number of files scanned is rounded down. Must be between 0 and 100, inclusively. Both 0 and 100 means no limit.
- sample_method str
- How to sample bytes if not all bytes are scanned. Meaningful only when used in conjunction with bytesLimitPerFile.
If not specified, scanning would start from the top.
Possible values are: TOP,RANDOM_START.
- fileSet Property Map
- Set of files to scan. Structure is documented below.
- bytesLimit NumberPer File 
- Max number of bytes to scan from a file. If a scanned file's size is bigger than this value then the rest of the bytes are omitted.
- bytesLimit NumberPer File Percent 
- Max percentage of bytes to scan from a file. The rest are omitted. The number of bytes scanned is rounded down. Must be between 0 and 100, inclusively. Both 0 and 100 means no limit.
- fileTypes List<String>
- List of file type groups to include in the scan. If empty, all files are scanned and available data
format processors are applied. In addition, the binary content of the selected files is always scanned as well.
Images are scanned only as binary if the specified region does not support image inspection and no fileTypes were specified.
Each value may be one of: BINARY_FILE,TEXT_FILE,IMAGE,WORD,PDF,AVRO,CSV,TSV,POWERPOINT,EXCEL.
- filesLimit NumberPercent 
- Limits the number of files to scan to this percentage of the input FileSet. Number of files scanned is rounded down. Must be between 0 and 100, inclusively. Both 0 and 100 means no limit.
- sampleMethod String
- How to sample bytes if not all bytes are scanned. Meaningful only when used in conjunction with bytesLimitPerFile.
If not specified, scanning would start from the top.
Possible values are: TOP,RANDOM_START.
PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsFileSet, PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsFileSetArgs                        
- RegexFile PreventionSet Job Trigger Inspect Job Storage Config Cloud Storage Options File Set Regex File Set 
- The regex-filtered set of files to scan. Structure is documented below.
- Url string
- The Cloud Storage url of the file(s) to scan, in the format gs://<bucket>/<path>. Trailing wildcard in the path is allowed. If the url ends in a trailing slash, the bucket or directory represented by the url will be scanned non-recursively (content in sub-directories will not be scanned). This means thatgs://mybucket/is equivalent togs://mybucket/*, andgs://mybucket/directory/is equivalent togs://mybucket/directory/*.
- RegexFile PreventionSet Job Trigger Inspect Job Storage Config Cloud Storage Options File Set Regex File Set 
- The regex-filtered set of files to scan. Structure is documented below.
- Url string
- The Cloud Storage url of the file(s) to scan, in the format gs://<bucket>/<path>. Trailing wildcard in the path is allowed. If the url ends in a trailing slash, the bucket or directory represented by the url will be scanned non-recursively (content in sub-directories will not be scanned). This means thatgs://mybucket/is equivalent togs://mybucket/*, andgs://mybucket/directory/is equivalent togs://mybucket/directory/*.
- regexFile PreventionSet Job Trigger Inspect Job Storage Config Cloud Storage Options File Set Regex File Set 
- The regex-filtered set of files to scan. Structure is documented below.
- url String
- The Cloud Storage url of the file(s) to scan, in the format gs://<bucket>/<path>. Trailing wildcard in the path is allowed. If the url ends in a trailing slash, the bucket or directory represented by the url will be scanned non-recursively (content in sub-directories will not be scanned). This means thatgs://mybucket/is equivalent togs://mybucket/*, andgs://mybucket/directory/is equivalent togs://mybucket/directory/*.
- regexFile PreventionSet Job Trigger Inspect Job Storage Config Cloud Storage Options File Set Regex File Set 
- The regex-filtered set of files to scan. Structure is documented below.
- url string
- The Cloud Storage url of the file(s) to scan, in the format gs://<bucket>/<path>. Trailing wildcard in the path is allowed. If the url ends in a trailing slash, the bucket or directory represented by the url will be scanned non-recursively (content in sub-directories will not be scanned). This means thatgs://mybucket/is equivalent togs://mybucket/*, andgs://mybucket/directory/is equivalent togs://mybucket/directory/*.
- regex_file_ Preventionset Job Trigger Inspect Job Storage Config Cloud Storage Options File Set Regex File Set 
- The regex-filtered set of files to scan. Structure is documented below.
- url str
- The Cloud Storage url of the file(s) to scan, in the format gs://<bucket>/<path>. Trailing wildcard in the path is allowed. If the url ends in a trailing slash, the bucket or directory represented by the url will be scanned non-recursively (content in sub-directories will not be scanned). This means thatgs://mybucket/is equivalent togs://mybucket/*, andgs://mybucket/directory/is equivalent togs://mybucket/directory/*.
- regexFile Property MapSet 
- The regex-filtered set of files to scan. Structure is documented below.
- url String
- The Cloud Storage url of the file(s) to scan, in the format gs://<bucket>/<path>. Trailing wildcard in the path is allowed. If the url ends in a trailing slash, the bucket or directory represented by the url will be scanned non-recursively (content in sub-directories will not be scanned). This means thatgs://mybucket/is equivalent togs://mybucket/*, andgs://mybucket/directory/is equivalent togs://mybucket/directory/*.
PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsFileSetRegexFileSet, PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsFileSetRegexFileSetArgs                              
- BucketName string
- The name of a Cloud Storage bucket.
- ExcludeRegexes List<string>
- A list of regular expressions matching file paths to exclude. All files in the bucket that match at least one of these regular expressions will be excluded from the scan.
- IncludeRegexes List<string>
- A list of regular expressions matching file paths to include. All files in the bucket that match at least one of these regular expressions will be included in the set of files, except for those that also match an item in excludeRegex. Leaving this field empty will match all files by default (this is equivalent to including .* in the list)
- BucketName string
- The name of a Cloud Storage bucket.
- ExcludeRegexes []string
- A list of regular expressions matching file paths to exclude. All files in the bucket that match at least one of these regular expressions will be excluded from the scan.
- IncludeRegexes []string
- A list of regular expressions matching file paths to include. All files in the bucket that match at least one of these regular expressions will be included in the set of files, except for those that also match an item in excludeRegex. Leaving this field empty will match all files by default (this is equivalent to including .* in the list)
- bucketName String
- The name of a Cloud Storage bucket.
- excludeRegexes List<String>
- A list of regular expressions matching file paths to exclude. All files in the bucket that match at least one of these regular expressions will be excluded from the scan.
- includeRegexes List<String>
- A list of regular expressions matching file paths to include. All files in the bucket that match at least one of these regular expressions will be included in the set of files, except for those that also match an item in excludeRegex. Leaving this field empty will match all files by default (this is equivalent to including .* in the list)
- bucketName string
- The name of a Cloud Storage bucket.
- excludeRegexes string[]
- A list of regular expressions matching file paths to exclude. All files in the bucket that match at least one of these regular expressions will be excluded from the scan.
- includeRegexes string[]
- A list of regular expressions matching file paths to include. All files in the bucket that match at least one of these regular expressions will be included in the set of files, except for those that also match an item in excludeRegex. Leaving this field empty will match all files by default (this is equivalent to including .* in the list)
- bucket_name str
- The name of a Cloud Storage bucket.
- exclude_regexes Sequence[str]
- A list of regular expressions matching file paths to exclude. All files in the bucket that match at least one of these regular expressions will be excluded from the scan.
- include_regexes Sequence[str]
- A list of regular expressions matching file paths to include. All files in the bucket that match at least one of these regular expressions will be included in the set of files, except for those that also match an item in excludeRegex. Leaving this field empty will match all files by default (this is equivalent to including .* in the list)
- bucketName String
- The name of a Cloud Storage bucket.
- excludeRegexes List<String>
- A list of regular expressions matching file paths to exclude. All files in the bucket that match at least one of these regular expressions will be excluded from the scan.
- includeRegexes List<String>
- A list of regular expressions matching file paths to include. All files in the bucket that match at least one of these regular expressions will be included in the set of files, except for those that also match an item in excludeRegex. Leaving this field empty will match all files by default (this is equivalent to including .* in the list)
PreventionJobTriggerInspectJobStorageConfigDatastoreOptions, PreventionJobTriggerInspectJobStorageConfigDatastoreOptionsArgs                  
- Kind
PreventionJob Trigger Inspect Job Storage Config Datastore Options Kind 
- A representation of a Datastore kind. Structure is documented below.
- PartitionId PreventionJob Trigger Inspect Job Storage Config Datastore Options Partition Id 
- Datastore partition ID. A partition ID identifies a grouping of entities. The grouping is always by project and namespace, however the namespace ID may be empty. Structure is documented below.
- Kind
PreventionJob Trigger Inspect Job Storage Config Datastore Options Kind 
- A representation of a Datastore kind. Structure is documented below.
- PartitionId PreventionJob Trigger Inspect Job Storage Config Datastore Options Partition Id 
- Datastore partition ID. A partition ID identifies a grouping of entities. The grouping is always by project and namespace, however the namespace ID may be empty. Structure is documented below.
- kind
PreventionJob Trigger Inspect Job Storage Config Datastore Options Kind 
- A representation of a Datastore kind. Structure is documented below.
- partitionId PreventionJob Trigger Inspect Job Storage Config Datastore Options Partition Id 
- Datastore partition ID. A partition ID identifies a grouping of entities. The grouping is always by project and namespace, however the namespace ID may be empty. Structure is documented below.
- kind
PreventionJob Trigger Inspect Job Storage Config Datastore Options Kind 
- A representation of a Datastore kind. Structure is documented below.
- partitionId PreventionJob Trigger Inspect Job Storage Config Datastore Options Partition Id 
- Datastore partition ID. A partition ID identifies a grouping of entities. The grouping is always by project and namespace, however the namespace ID may be empty. Structure is documented below.
- kind
PreventionJob Trigger Inspect Job Storage Config Datastore Options Kind 
- A representation of a Datastore kind. Structure is documented below.
- partition_id PreventionJob Trigger Inspect Job Storage Config Datastore Options Partition Id 
- Datastore partition ID. A partition ID identifies a grouping of entities. The grouping is always by project and namespace, however the namespace ID may be empty. Structure is documented below.
- kind Property Map
- A representation of a Datastore kind. Structure is documented below.
- partitionId Property Map
- Datastore partition ID. A partition ID identifies a grouping of entities. The grouping is always by project and namespace, however the namespace ID may be empty. Structure is documented below.
PreventionJobTriggerInspectJobStorageConfigDatastoreOptionsKind, PreventionJobTriggerInspectJobStorageConfigDatastoreOptionsKindArgs                    
- Name string
- The name of the Datastore kind.
- Name string
- The name of the Datastore kind.
- name String
- The name of the Datastore kind.
- name string
- The name of the Datastore kind.
- name str
- The name of the Datastore kind.
- name String
- The name of the Datastore kind.
PreventionJobTriggerInspectJobStorageConfigDatastoreOptionsPartitionId, PreventionJobTriggerInspectJobStorageConfigDatastoreOptionsPartitionIdArgs                      
- ProjectId string
- The ID of the project to which the entities belong.
- NamespaceId string
- If not empty, the ID of the namespace to which the entities belong.
- ProjectId string
- The ID of the project to which the entities belong.
- NamespaceId string
- If not empty, the ID of the namespace to which the entities belong.
- projectId String
- The ID of the project to which the entities belong.
- namespaceId String
- If not empty, the ID of the namespace to which the entities belong.
- projectId string
- The ID of the project to which the entities belong.
- namespaceId string
- If not empty, the ID of the namespace to which the entities belong.
- project_id str
- The ID of the project to which the entities belong.
- namespace_id str
- If not empty, the ID of the namespace to which the entities belong.
- projectId String
- The ID of the project to which the entities belong.
- namespaceId String
- If not empty, the ID of the namespace to which the entities belong.
PreventionJobTriggerInspectJobStorageConfigHybridOptions, PreventionJobTriggerInspectJobStorageConfigHybridOptionsArgs                  
- Description string
- A short description of where the data is coming from. Will be stored once in the job. 256 max length.
- Labels Dictionary<string, string>
- To organize findings, these labels will be added to each finding.
Label keys must be between 1 and 63 characters long and must conform to the following regular expression: a-z?. Label values must be between 0 and 63 characters long and must conform to the regular expression(a-z?)?. No more than 10 labels can be associated with a given finding. Examples:- "environment" : "production"
- "pipeline" : "etl"
 
- RequiredFinding List<string>Label Keys 
- These are labels that each inspection request must include within their 'finding_labels' map. Request
may contain others, but any missing one of these will be rejected.
Label keys must be between 1 and 63 characters long and must conform to the following regular expression: a-z?. No more than 10 keys can be required.
- TableOptions PreventionJob Trigger Inspect Job Storage Config Hybrid Options Table Options 
- If the container is a table, additional information to make findings meaningful such as the columns that are primary keys. Structure is documented below.
- Description string
- A short description of where the data is coming from. Will be stored once in the job. 256 max length.
- Labels map[string]string
- To organize findings, these labels will be added to each finding.
Label keys must be between 1 and 63 characters long and must conform to the following regular expression: a-z?. Label values must be between 0 and 63 characters long and must conform to the regular expression(a-z?)?. No more than 10 labels can be associated with a given finding. Examples:- "environment" : "production"
- "pipeline" : "etl"
 
- RequiredFinding []stringLabel Keys 
- These are labels that each inspection request must include within their 'finding_labels' map. Request
may contain others, but any missing one of these will be rejected.
Label keys must be between 1 and 63 characters long and must conform to the following regular expression: a-z?. No more than 10 keys can be required.
- TableOptions PreventionJob Trigger Inspect Job Storage Config Hybrid Options Table Options 
- If the container is a table, additional information to make findings meaningful such as the columns that are primary keys. Structure is documented below.
- description String
- A short description of where the data is coming from. Will be stored once in the job. 256 max length.
- labels Map<String,String>
- To organize findings, these labels will be added to each finding.
Label keys must be between 1 and 63 characters long and must conform to the following regular expression: a-z?. Label values must be between 0 and 63 characters long and must conform to the regular expression(a-z?)?. No more than 10 labels can be associated with a given finding. Examples:- "environment" : "production"
- "pipeline" : "etl"
 
- requiredFinding List<String>Label Keys 
- These are labels that each inspection request must include within their 'finding_labels' map. Request
may contain others, but any missing one of these will be rejected.
Label keys must be between 1 and 63 characters long and must conform to the following regular expression: a-z?. No more than 10 keys can be required.
- tableOptions PreventionJob Trigger Inspect Job Storage Config Hybrid Options Table Options 
- If the container is a table, additional information to make findings meaningful such as the columns that are primary keys. Structure is documented below.
- description string
- A short description of where the data is coming from. Will be stored once in the job. 256 max length.
- labels {[key: string]: string}
- To organize findings, these labels will be added to each finding.
Label keys must be between 1 and 63 characters long and must conform to the following regular expression: a-z?. Label values must be between 0 and 63 characters long and must conform to the regular expression(a-z?)?. No more than 10 labels can be associated with a given finding. Examples:- "environment" : "production"
- "pipeline" : "etl"
 
- requiredFinding string[]Label Keys 
- These are labels that each inspection request must include within their 'finding_labels' map. Request
may contain others, but any missing one of these will be rejected.
Label keys must be between 1 and 63 characters long and must conform to the following regular expression: a-z?. No more than 10 keys can be required.
- tableOptions PreventionJob Trigger Inspect Job Storage Config Hybrid Options Table Options 
- If the container is a table, additional information to make findings meaningful such as the columns that are primary keys. Structure is documented below.
- description str
- A short description of where the data is coming from. Will be stored once in the job. 256 max length.
- labels Mapping[str, str]
- To organize findings, these labels will be added to each finding.
Label keys must be between 1 and 63 characters long and must conform to the following regular expression: a-z?. Label values must be between 0 and 63 characters long and must conform to the regular expression(a-z?)?. No more than 10 labels can be associated with a given finding. Examples:- "environment" : "production"
- "pipeline" : "etl"
 
- required_finding_ Sequence[str]label_ keys 
- These are labels that each inspection request must include within their 'finding_labels' map. Request
may contain others, but any missing one of these will be rejected.
Label keys must be between 1 and 63 characters long and must conform to the following regular expression: a-z?. No more than 10 keys can be required.
- table_options PreventionJob Trigger Inspect Job Storage Config Hybrid Options Table Options 
- If the container is a table, additional information to make findings meaningful such as the columns that are primary keys. Structure is documented below.
- description String
- A short description of where the data is coming from. Will be stored once in the job. 256 max length.
- labels Map<String>
- To organize findings, these labels will be added to each finding.
Label keys must be between 1 and 63 characters long and must conform to the following regular expression: a-z?. Label values must be between 0 and 63 characters long and must conform to the regular expression(a-z?)?. No more than 10 labels can be associated with a given finding. Examples:- "environment" : "production"
- "pipeline" : "etl"
 
- requiredFinding List<String>Label Keys 
- These are labels that each inspection request must include within their 'finding_labels' map. Request
may contain others, but any missing one of these will be rejected.
Label keys must be between 1 and 63 characters long and must conform to the following regular expression: a-z?. No more than 10 keys can be required.
- tableOptions Property Map
- If the container is a table, additional information to make findings meaningful such as the columns that are primary keys. Structure is documented below.
PreventionJobTriggerInspectJobStorageConfigHybridOptionsTableOptions, PreventionJobTriggerInspectJobStorageConfigHybridOptionsTableOptionsArgs                      
- IdentifyingFields List<PreventionJob Trigger Inspect Job Storage Config Hybrid Options Table Options Identifying Field> 
- The columns that are the primary keys for table objects included in ContentItem. A copy of this cell's value will stored alongside alongside each finding so that the finding can be traced to the specific row it came from. No more than 3 may be provided. Structure is documented below.
- IdentifyingFields []PreventionJob Trigger Inspect Job Storage Config Hybrid Options Table Options Identifying Field 
- The columns that are the primary keys for table objects included in ContentItem. A copy of this cell's value will stored alongside alongside each finding so that the finding can be traced to the specific row it came from. No more than 3 may be provided. Structure is documented below.
- identifyingFields List<PreventionJob Trigger Inspect Job Storage Config Hybrid Options Table Options Identifying Field> 
- The columns that are the primary keys for table objects included in ContentItem. A copy of this cell's value will stored alongside alongside each finding so that the finding can be traced to the specific row it came from. No more than 3 may be provided. Structure is documented below.
- identifyingFields PreventionJob Trigger Inspect Job Storage Config Hybrid Options Table Options Identifying Field[] 
- The columns that are the primary keys for table objects included in ContentItem. A copy of this cell's value will stored alongside alongside each finding so that the finding can be traced to the specific row it came from. No more than 3 may be provided. Structure is documented below.
- identifying_fields Sequence[PreventionJob Trigger Inspect Job Storage Config Hybrid Options Table Options Identifying Field] 
- The columns that are the primary keys for table objects included in ContentItem. A copy of this cell's value will stored alongside alongside each finding so that the finding can be traced to the specific row it came from. No more than 3 may be provided. Structure is documented below.
- identifyingFields List<Property Map>
- The columns that are the primary keys for table objects included in ContentItem. A copy of this cell's value will stored alongside alongside each finding so that the finding can be traced to the specific row it came from. No more than 3 may be provided. Structure is documented below.
PreventionJobTriggerInspectJobStorageConfigHybridOptionsTableOptionsIdentifyingField, PreventionJobTriggerInspectJobStorageConfigHybridOptionsTableOptionsIdentifyingFieldArgs                          
- Name string
- Name describing the field.
- Name string
- Name describing the field.
- name String
- Name describing the field.
- name string
- Name describing the field.
- name str
- Name describing the field.
- name String
- Name describing the field.
PreventionJobTriggerInspectJobStorageConfigTimespanConfig, PreventionJobTriggerInspectJobStorageConfigTimespanConfigArgs                  
- EnableAuto boolPopulation Of Timespan Config 
- When the job is started by a JobTrigger we will automatically figure out a valid startTime to avoid scanning files that have not been modified since the last time the JobTrigger executed. This will be based on the time of the execution of the last run of the JobTrigger or the timespan endTime used in the last run of the JobTrigger.
- EndTime string
- Exclude files, tables, or rows newer than this value. If not set, no upper time limit is applied.
- StartTime string
- Exclude files, tables, or rows older than this value. If not set, no lower time limit is applied.
- TimestampField PreventionJob Trigger Inspect Job Storage Config Timespan Config Timestamp Field 
- Specification of the field containing the timestamp of scanned items. Structure is documented below.
- EnableAuto boolPopulation Of Timespan Config 
- When the job is started by a JobTrigger we will automatically figure out a valid startTime to avoid scanning files that have not been modified since the last time the JobTrigger executed. This will be based on the time of the execution of the last run of the JobTrigger or the timespan endTime used in the last run of the JobTrigger.
- EndTime string
- Exclude files, tables, or rows newer than this value. If not set, no upper time limit is applied.
- StartTime string
- Exclude files, tables, or rows older than this value. If not set, no lower time limit is applied.
- TimestampField PreventionJob Trigger Inspect Job Storage Config Timespan Config Timestamp Field 
- Specification of the field containing the timestamp of scanned items. Structure is documented below.
- enableAuto BooleanPopulation Of Timespan Config 
- When the job is started by a JobTrigger we will automatically figure out a valid startTime to avoid scanning files that have not been modified since the last time the JobTrigger executed. This will be based on the time of the execution of the last run of the JobTrigger or the timespan endTime used in the last run of the JobTrigger.
- endTime String
- Exclude files, tables, or rows newer than this value. If not set, no upper time limit is applied.
- startTime String
- Exclude files, tables, or rows older than this value. If not set, no lower time limit is applied.
- timestampField PreventionJob Trigger Inspect Job Storage Config Timespan Config Timestamp Field 
- Specification of the field containing the timestamp of scanned items. Structure is documented below.
- enableAuto booleanPopulation Of Timespan Config 
- When the job is started by a JobTrigger we will automatically figure out a valid startTime to avoid scanning files that have not been modified since the last time the JobTrigger executed. This will be based on the time of the execution of the last run of the JobTrigger or the timespan endTime used in the last run of the JobTrigger.
- endTime string
- Exclude files, tables, or rows newer than this value. If not set, no upper time limit is applied.
- startTime string
- Exclude files, tables, or rows older than this value. If not set, no lower time limit is applied.
- timestampField PreventionJob Trigger Inspect Job Storage Config Timespan Config Timestamp Field 
- Specification of the field containing the timestamp of scanned items. Structure is documented below.
- enable_auto_ boolpopulation_ of_ timespan_ config 
- When the job is started by a JobTrigger we will automatically figure out a valid startTime to avoid scanning files that have not been modified since the last time the JobTrigger executed. This will be based on the time of the execution of the last run of the JobTrigger or the timespan endTime used in the last run of the JobTrigger.
- end_time str
- Exclude files, tables, or rows newer than this value. If not set, no upper time limit is applied.
- start_time str
- Exclude files, tables, or rows older than this value. If not set, no lower time limit is applied.
- timestamp_field PreventionJob Trigger Inspect Job Storage Config Timespan Config Timestamp Field 
- Specification of the field containing the timestamp of scanned items. Structure is documented below.
- enableAuto BooleanPopulation Of Timespan Config 
- When the job is started by a JobTrigger we will automatically figure out a valid startTime to avoid scanning files that have not been modified since the last time the JobTrigger executed. This will be based on the time of the execution of the last run of the JobTrigger or the timespan endTime used in the last run of the JobTrigger.
- endTime String
- Exclude files, tables, or rows newer than this value. If not set, no upper time limit is applied.
- startTime String
- Exclude files, tables, or rows older than this value. If not set, no lower time limit is applied.
- timestampField Property Map
- Specification of the field containing the timestamp of scanned items. Structure is documented below.
PreventionJobTriggerInspectJobStorageConfigTimespanConfigTimestampField, PreventionJobTriggerInspectJobStorageConfigTimespanConfigTimestampFieldArgs                      
- Name string
- Specification of the field containing the timestamp of scanned items. Used for data sources like Datastore and BigQuery. For BigQuery: Required to filter out rows based on the given start and end times. If not specified and the table was modified between the given start and end times, the entire table will be scanned. The valid data types of the timestamp field are: INTEGER, DATE, TIMESTAMP, or DATETIME BigQuery column. For Datastore. Valid data types of the timestamp field are: TIMESTAMP. Datastore entity will be scanned if the timestamp property does not exist or its value is empty or invalid.
- Name string
- Specification of the field containing the timestamp of scanned items. Used for data sources like Datastore and BigQuery. For BigQuery: Required to filter out rows based on the given start and end times. If not specified and the table was modified between the given start and end times, the entire table will be scanned. The valid data types of the timestamp field are: INTEGER, DATE, TIMESTAMP, or DATETIME BigQuery column. For Datastore. Valid data types of the timestamp field are: TIMESTAMP. Datastore entity will be scanned if the timestamp property does not exist or its value is empty or invalid.
- name String
- Specification of the field containing the timestamp of scanned items. Used for data sources like Datastore and BigQuery. For BigQuery: Required to filter out rows based on the given start and end times. If not specified and the table was modified between the given start and end times, the entire table will be scanned. The valid data types of the timestamp field are: INTEGER, DATE, TIMESTAMP, or DATETIME BigQuery column. For Datastore. Valid data types of the timestamp field are: TIMESTAMP. Datastore entity will be scanned if the timestamp property does not exist or its value is empty or invalid.
- name string
- Specification of the field containing the timestamp of scanned items. Used for data sources like Datastore and BigQuery. For BigQuery: Required to filter out rows based on the given start and end times. If not specified and the table was modified between the given start and end times, the entire table will be scanned. The valid data types of the timestamp field are: INTEGER, DATE, TIMESTAMP, or DATETIME BigQuery column. For Datastore. Valid data types of the timestamp field are: TIMESTAMP. Datastore entity will be scanned if the timestamp property does not exist or its value is empty or invalid.
- name str
- Specification of the field containing the timestamp of scanned items. Used for data sources like Datastore and BigQuery. For BigQuery: Required to filter out rows based on the given start and end times. If not specified and the table was modified between the given start and end times, the entire table will be scanned. The valid data types of the timestamp field are: INTEGER, DATE, TIMESTAMP, or DATETIME BigQuery column. For Datastore. Valid data types of the timestamp field are: TIMESTAMP. Datastore entity will be scanned if the timestamp property does not exist or its value is empty or invalid.
- name String
- Specification of the field containing the timestamp of scanned items. Used for data sources like Datastore and BigQuery. For BigQuery: Required to filter out rows based on the given start and end times. If not specified and the table was modified between the given start and end times, the entire table will be scanned. The valid data types of the timestamp field are: INTEGER, DATE, TIMESTAMP, or DATETIME BigQuery column. For Datastore. Valid data types of the timestamp field are: TIMESTAMP. Datastore entity will be scanned if the timestamp property does not exist or its value is empty or invalid.
PreventionJobTriggerTrigger, PreventionJobTriggerTriggerArgs        
- Manual
PreventionJob Trigger Trigger Manual 
- For use with hybrid jobs. Jobs must be manually created and finished.
- Schedule
PreventionJob Trigger Trigger Schedule 
- Schedule for triggered jobs Structure is documented below.
- Manual
PreventionJob Trigger Trigger Manual 
- For use with hybrid jobs. Jobs must be manually created and finished.
- Schedule
PreventionJob Trigger Trigger Schedule 
- Schedule for triggered jobs Structure is documented below.
- manual
PreventionJob Trigger Trigger Manual 
- For use with hybrid jobs. Jobs must be manually created and finished.
- schedule
PreventionJob Trigger Trigger Schedule 
- Schedule for triggered jobs Structure is documented below.
- manual
PreventionJob Trigger Trigger Manual 
- For use with hybrid jobs. Jobs must be manually created and finished.
- schedule
PreventionJob Trigger Trigger Schedule 
- Schedule for triggered jobs Structure is documented below.
- manual
PreventionJob Trigger Trigger Manual 
- For use with hybrid jobs. Jobs must be manually created and finished.
- schedule
PreventionJob Trigger Trigger Schedule 
- Schedule for triggered jobs Structure is documented below.
- manual Property Map
- For use with hybrid jobs. Jobs must be manually created and finished.
- schedule Property Map
- Schedule for triggered jobs Structure is documented below.
PreventionJobTriggerTriggerSchedule, PreventionJobTriggerTriggerScheduleArgs          
- RecurrencePeriod stringDuration 
- With this option a job is started a regular periodic basis. For example: every day (86400 seconds).
A scheduled start time will be skipped if the previous execution has not ended when its scheduled time occurs.
This value must be set to a time duration greater than or equal to 1 day and can be no longer than 60 days.
A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
- RecurrencePeriod stringDuration 
- With this option a job is started a regular periodic basis. For example: every day (86400 seconds).
A scheduled start time will be skipped if the previous execution has not ended when its scheduled time occurs.
This value must be set to a time duration greater than or equal to 1 day and can be no longer than 60 days.
A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
- recurrencePeriod StringDuration 
- With this option a job is started a regular periodic basis. For example: every day (86400 seconds).
A scheduled start time will be skipped if the previous execution has not ended when its scheduled time occurs.
This value must be set to a time duration greater than or equal to 1 day and can be no longer than 60 days.
A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
- recurrencePeriod stringDuration 
- With this option a job is started a regular periodic basis. For example: every day (86400 seconds).
A scheduled start time will be skipped if the previous execution has not ended when its scheduled time occurs.
This value must be set to a time duration greater than or equal to 1 day and can be no longer than 60 days.
A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
- recurrence_period_ strduration 
- With this option a job is started a regular periodic basis. For example: every day (86400 seconds).
A scheduled start time will be skipped if the previous execution has not ended when its scheduled time occurs.
This value must be set to a time duration greater than or equal to 1 day and can be no longer than 60 days.
A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
- recurrencePeriod StringDuration 
- With this option a job is started a regular periodic basis. For example: every day (86400 seconds).
A scheduled start time will be skipped if the previous execution has not ended when its scheduled time occurs.
This value must be set to a time duration greater than or equal to 1 day and can be no longer than 60 days.
A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
Import
JobTrigger can be imported using any of these accepted formats:
- {{parent}}/jobTriggers/{{name}}
- {{parent}}/{{name}}
When using the pulumi import command, JobTrigger can be imported using one of the formats above. For example:
$ pulumi import gcp:dataloss/preventionJobTrigger:PreventionJobTrigger default {{parent}}/jobTriggers/{{name}}
$ pulumi import gcp:dataloss/preventionJobTrigger:PreventionJobTrigger 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-betaTerraform Provider.