1. Registry
  2. Packages
  3. Google Cloud (GCP)
  4. API Docs
  5. dataloss
  6. PreventionContentPolicy
Viewing docs for Google Cloud v10.5.0
published on Wednesday, Nov 18, 2026 by Pulumi
gcp logo
Viewing docs for Google Cloud v10.5.0
published on Wednesday, Nov 18, 2026 by Pulumi

    A policy to apply to content based on its inspection findings.

    To get more information about ContentPolicy, see:

    Example Usage

    Dlp Content Policy Basic

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const basic = new gcp.dataloss.PreventionContentPolicy("basic", {
        parent: "projects/my-project-name/locations/us-west1",
        displayName: "tf-test-dlp-content-policy-basic",
        inspectConfig: {
            infoTypes: [{
                name: "EMAIL_ADDRESS",
            }],
            minLikelihood: "POSSIBLE",
        },
        rules: [{
            conditions: [{
                infoTypeCondition: {
                    infoTypes: {
                        infoTypeNames: ["EMAIL_ADDRESS"],
                    },
                    minCount: 1,
                },
            }],
            action: {
                returnVerdict: "BLOCK",
            },
        }],
        defaultAction: {
            returnVerdict: "ALLOW",
        },
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    basic = gcp.dataloss.PreventionContentPolicy("basic",
        parent="projects/my-project-name/locations/us-west1",
        display_name="tf-test-dlp-content-policy-basic",
        inspect_config={
            "info_types": [{
                "name": "EMAIL_ADDRESS",
            }],
            "min_likelihood": "POSSIBLE",
        },
        rules=[{
            "conditions": [{
                "info_type_condition": {
                    "info_types": {
                        "info_type_names": ["EMAIL_ADDRESS"],
                    },
                    "min_count": 1,
                },
            }],
            "action": {
                "return_verdict": "BLOCK",
            },
        }],
        default_action={
            "return_verdict": "ALLOW",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v10/go/gcp/dataloss"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := dataloss.NewPreventionContentPolicy(ctx, "basic", &dataloss.PreventionContentPolicyArgs{
    			Parent:      pulumi.String("projects/my-project-name/locations/us-west1"),
    			DisplayName: pulumi.String("tf-test-dlp-content-policy-basic"),
    			InspectConfig: &dataloss.PreventionContentPolicyInspectConfigArgs{
    				InfoTypes: dataloss.PreventionContentPolicyInspectConfigInfoTypeArray{
    					&dataloss.PreventionContentPolicyInspectConfigInfoTypeArgs{
    						Name: pulumi.String("EMAIL_ADDRESS"),
    					},
    				},
    				MinLikelihood: pulumi.String("POSSIBLE"),
    			},
    			Rules: dataloss.PreventionContentPolicyRuleArray{
    				&dataloss.PreventionContentPolicyRuleArgs{
    					Conditions: dataloss.PreventionContentPolicyRuleConditionArray{
    						&dataloss.PreventionContentPolicyRuleConditionArgs{
    							InfoTypeCondition: &dataloss.PreventionContentPolicyRuleConditionInfoTypeConditionArgs{
    								InfoTypes: &dataloss.PreventionContentPolicyRuleConditionInfoTypeConditionInfoTypesArgs{
    									InfoTypeNames: pulumi.StringArray{
    										pulumi.String("EMAIL_ADDRESS"),
    									},
    								},
    								MinCount: pulumi.Int(1),
    							},
    						},
    					},
    					Action: &dataloss.PreventionContentPolicyRuleActionArgs{
    						ReturnVerdict: pulumi.String("BLOCK"),
    					},
    				},
    			},
    			DefaultAction: &dataloss.PreventionContentPolicyDefaultActionArgs{
    				ReturnVerdict: pulumi.String("ALLOW"),
    			},
    		})
    		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.PreventionContentPolicy("basic", new()
        {
            Parent = "projects/my-project-name/locations/us-west1",
            DisplayName = "tf-test-dlp-content-policy-basic",
            InspectConfig = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigArgs
            {
                InfoTypes = new[]
                {
                    new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigInfoTypeArgs
                    {
                        Name = "EMAIL_ADDRESS",
                    },
                },
                MinLikelihood = "POSSIBLE",
            },
            Rules = new[]
            {
                new Gcp.DataLoss.Inputs.PreventionContentPolicyRuleArgs
                {
                    Conditions = new[]
                    {
                        new Gcp.DataLoss.Inputs.PreventionContentPolicyRuleConditionArgs
                        {
                            InfoTypeCondition = new Gcp.DataLoss.Inputs.PreventionContentPolicyRuleConditionInfoTypeConditionArgs
                            {
                                InfoTypes = new Gcp.DataLoss.Inputs.PreventionContentPolicyRuleConditionInfoTypeConditionInfoTypesArgs
                                {
                                    InfoTypeNames = new[]
                                    {
                                        "EMAIL_ADDRESS",
                                    },
                                },
                                MinCount = 1,
                            },
                        },
                    },
                    Action = new Gcp.DataLoss.Inputs.PreventionContentPolicyRuleActionArgs
                    {
                        ReturnVerdict = "BLOCK",
                    },
                },
            },
            DefaultAction = new Gcp.DataLoss.Inputs.PreventionContentPolicyDefaultActionArgs
            {
                ReturnVerdict = "ALLOW",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.dataloss.PreventionContentPolicy;
    import com.pulumi.gcp.dataloss.PreventionContentPolicyArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyInspectConfigArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyInspectConfigInfoTypeArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyRuleArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyRuleConditionArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyRuleConditionInfoTypeConditionArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyRuleConditionInfoTypeConditionInfoTypesArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyRuleActionArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyDefaultActionArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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 PreventionContentPolicy("basic", PreventionContentPolicyArgs.builder()
                .parent("projects/my-project-name/locations/us-west1")
                .displayName("tf-test-dlp-content-policy-basic")
                .inspectConfig(PreventionContentPolicyInspectConfigArgs.builder()
                    .infoTypes(PreventionContentPolicyInspectConfigInfoTypeArgs.builder()
                        .name("EMAIL_ADDRESS")
                        .build())
                    .minLikelihood("POSSIBLE")
                    .build())
                .rules(PreventionContentPolicyRuleArgs.builder()
                    .conditions(PreventionContentPolicyRuleConditionArgs.builder()
                        .infoTypeCondition(PreventionContentPolicyRuleConditionInfoTypeConditionArgs.builder()
                            .infoTypes(PreventionContentPolicyRuleConditionInfoTypeConditionInfoTypesArgs.builder()
                                .infoTypeNames("EMAIL_ADDRESS")
                                .build())
                            .minCount(1)
                            .build())
                        .build())
                    .action(PreventionContentPolicyRuleActionArgs.builder()
                        .returnVerdict("BLOCK")
                        .build())
                    .build())
                .defaultAction(PreventionContentPolicyDefaultActionArgs.builder()
                    .returnVerdict("ALLOW")
                    .build())
                .build());
    
        }
    }
    
    resources:
      basic:
        type: gcp:dataloss:PreventionContentPolicy
        properties:
          parent: projects/my-project-name/locations/us-west1
          displayName: tf-test-dlp-content-policy-basic
          inspectConfig:
            infoTypes:
              - name: EMAIL_ADDRESS
            minLikelihood: POSSIBLE
          rules:
            - conditions:
                - infoTypeCondition:
                    infoTypes:
                      infoTypeNames:
                        - EMAIL_ADDRESS
                    minCount: 1
              action:
                returnVerdict: BLOCK
          defaultAction:
            returnVerdict: ALLOW
    
    terraform {
      required_providers {
        gcp = {
          source = "pulumi/gcp"
        }
      }
    }
    
    resource "gcp_dataloss_prevention_content_policy" "basic" {
      lifecycle {
        create_before_destroy = true
      }
      parent       = "projects/my-project-name/locations/us-west1"
      display_name = "tf-test-dlp-content-policy-basic"
      inspect_config = {
        info_types = [{
          name = "EMAIL_ADDRESS"
        }]
        min_likelihood = "POSSIBLE"
      }
      rules {
        conditions {
          info_type_condition = {
            info_types = {
              info_type_names = ["EMAIL_ADDRESS"]
            }
            min_count = 1
          }
        }
        action = {
          return_verdict = "BLOCK"
        }
      }
      default_action = {
        return_verdict = "ALLOW"
      }
    }
    

    Dlp Content Policy Full

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const basic = new gcp.dataloss.PreventionStoredInfoType("basic", {
        parent: "projects/my-project-name/locations/us-west1",
        description: "Description for stored info type",
        displayName: "tf-test-stored-info-type",
        regex: {
            pattern: ".*",
            groupIndexes: [0],
        },
    });
    const bucket = new gcp.storage.Bucket("bucket", {
        name: "dlp_bkt",
        location: "US",
        uniformBucketLevelAccess: true,
        forceDestroy: true,
    });
    const object = new gcp.storage.BucketObject("object", {
        name: "tf-test-wordlist",
        bucket: bucket.name,
        content: `word1
    word2
    `,
    });
    const _default = new gcp.bigquery.Dataset("default", {
        datasetId: "dlp_ds",
        friendlyName: "tf-test-dataset",
        description: "Description for the dataset created by terraform",
        location: "US",
        defaultTableExpirationMs: 3600000,
        deleteContentsOnDestroy: true,
    });
    const defaultTable = new gcp.bigquery.Table("default", {
        datasetId: _default.datasetId,
        tableId: "dlp_tbl",
        deletionProtection: false,
        schema: `[
      {
        \\"name\\": \\"quantity\\",
        \\"type\\": \\"NUMERIC\\",
        \\"mode\\": \\"NULLABLE\\",
        \\"description\\": \\"The quantity\\"
      }
    ]
    `,
    });
    const full = new gcp.dataloss.PreventionContentPolicy("full", {
        parent: "projects/my-project-name/locations/us-west1",
        displayName: "tf-test-dlp-content-policy-full",
        inspectConfig: {
            contentOptions: [
                "CONTENT_TEXT",
                "CONTENT_IMAGE",
            ],
            includeQuote: true,
            excludeInfoTypes: false,
            minLikelihood: "LIKELY",
            infoTypes: [
                {
                    name: "PHONE_NUMBER",
                    sensitivityScore: {
                        score: "SENSITIVITY_LOW",
                    },
                },
                {
                    name: "EMAIL_ADDRESS",
                },
                {
                    name: "PERSON_NAME",
                    version: "latest",
                },
                {
                    name: "FIRST_NAME",
                },
                {
                    name: "LAST_NAME",
                },
                {
                    name: "OBJECT_TYPE/PERSON",
                },
                {
                    name: "OBJECT_TYPE/PERSON/PASSPORT",
                },
            ],
            minLikelihoodPerInfoTypes: [{
                infoType: {
                    name: "PERSON_NAME",
                    version: "latest",
                    sensitivityScore: {
                        score: "SENSITIVITY_LOW",
                    },
                },
                minLikelihood: "LIKELY",
            }],
            customInfoTypes: [
                {
                    infoType: {
                        name: "MY_CUSTOM_TYPE",
                        version: "0.1",
                        sensitivityScore: {
                            score: "SENSITIVITY_LOW",
                        },
                    },
                    sensitivityScore: {
                        score: "SENSITIVITY_MODERATE",
                    },
                    likelihood: "UNLIKELY",
                    exclusionType: "EXCLUSION_TYPE_EXCLUDE",
                    regex: {
                        pattern: "test.*",
                        groupIndexes: [0],
                    },
                    detectionRules: [{
                        hotwordRule: {
                            hotwordRegex: {
                                pattern: "password",
                                groupIndexes: [0],
                            },
                            proximity: {
                                windowBefore: 10,
                                windowAfter: 10,
                            },
                            likelihoodAdjustment: {
                                fixedLikelihood: "VERY_LIKELY",
                            },
                        },
                    }],
                },
                {
                    infoType: {
                        name: "MY_GDRIVE_LABEL_TYPE",
                    },
                    likelihood: "POSSIBLE",
                    fileLabelInfoType: {
                        googleDriveLabel: {
                            labelId: "testLabelId",
                            labelFieldsToMatches: [{
                                id: "field1",
                                value: "val1",
                            }],
                        },
                    },
                },
                {
                    infoType: {
                        name: "MY_SENSITIVITY_LABEL_TYPE",
                    },
                    likelihood: "POSSIBLE",
                    fileLabelInfoType: {
                        sensitivityLabel: {
                            guid: "11111111-2222-3333-4444-555555555555",
                        },
                    },
                },
                {
                    infoType: {
                        name: "MY_METADATA_KV_TYPE",
                    },
                    likelihood: "POSSIBLE",
                    metadataKeyValueExpression: {
                        keyRegex: "key.*",
                        valueRegex: "val.*",
                    },
                },
                {
                    infoType: {
                        name: "MY_WORD_LIST_TYPE",
                    },
                    likelihood: "POSSIBLE",
                    dictionary: {
                        wordList: {
                            words: [
                                "badword1",
                                "badword2",
                            ],
                        },
                    },
                },
                {
                    infoType: {
                        name: "MY_STORAGE_TYPE",
                    },
                    likelihood: "POSSIBLE",
                    dictionary: {
                        cloudStoragePath: {
                            path: pulumi.interpolate`gs://${bucket.name}/${object.name}`,
                        },
                    },
                },
                {
                    infoType: {
                        name: "MY_STORED_TYPE",
                    },
                    likelihood: "POSSIBLE",
                    storedType: {
                        name: basic.id,
                    },
                },
            ],
            limits: {
                maxFindingsPerItem: 10,
                maxFindingsPerRequest: 50,
                maxFindingsPerInfoTypes: [{
                    maxFindings: 10,
                    infoType: {
                        name: "PERSON_NAME",
                        version: "latest",
                        sensitivityScore: {
                            score: "SENSITIVITY_HIGH",
                        },
                    },
                }],
            },
            ruleSets: [
                {
                    infoTypes: [{
                        name: "PHONE_NUMBER",
                        sensitivityScore: {
                            score: "SENSITIVITY_LOW",
                        },
                    }],
                    rules: [{
                        exclusionRule: {
                            matchingType: "MATCHING_TYPE_FULL_MATCH",
                            excludeInfoTypes: {
                                infoTypes: [{
                                    name: "PERSON_NAME",
                                    version: "latest",
                                    sensitivityScore: {
                                        score: "SENSITIVITY_LOW",
                                    },
                                }],
                            },
                        },
                    }],
                },
                {
                    infoTypes: [{
                        name: "EMAIL_ADDRESS",
                    }],
                    rules: [
                        {
                            exclusionRule: {
                                matchingType: "MATCHING_TYPE_PARTIAL_MATCH",
                                regex: {
                                    pattern: ".*@example\\.com",
                                    groupIndexes: [0],
                                },
                            },
                        },
                        {
                            adjustmentRule: {
                                adjustByMatchingInfoTypes: {
                                    infoTypes: [{
                                        name: "PERSON_NAME",
                                        version: "latest",
                                        sensitivityScore: {
                                            score: "SENSITIVITY_LOW",
                                        },
                                    }],
                                    minLikelihood: "LIKELY",
                                    matchingType: "MATCHING_TYPE_PARTIAL_MATCH",
                                },
                                likelihoodAdjustment: {
                                    fixedLikelihood: "VERY_LIKELY",
                                },
                            },
                        },
                    ],
                },
                {
                    infoTypes: [{
                        name: "OBJECT_TYPE/PERSON",
                    }],
                    rules: [
                        {
                            adjustmentRule: {
                                adjustByImageFindings: {
                                    infoTypes: [{
                                        name: "OBJECT_TYPE/PERSON/PASSPORT",
                                        version: "latest",
                                        sensitivityScore: {
                                            score: "SENSITIVITY_LOW",
                                        },
                                    }],
                                    minLikelihood: "LIKELY",
                                    imageContainmentType: {
                                        encloses: {},
                                    },
                                },
                                likelihoodAdjustment: {
                                    fixedLikelihood: "VERY_LIKELY",
                                },
                            },
                        },
                        {
                            exclusionRule: {
                                matchingType: "MATCHING_TYPE_RULE_SPECIFIC",
                                excludeByImageFindings: {
                                    infoTypes: [{
                                        name: "OBJECT_TYPE/PERSON/PASSPORT",
                                        version: "latest",
                                        sensitivityScore: {
                                            score: "SENSITIVITY_LOW",
                                        },
                                    }],
                                    imageContainmentType: {
                                        fullyInside: {},
                                    },
                                },
                            },
                        },
                    ],
                },
                {
                    infoTypes: [{
                        name: "PERSON_NAME",
                        version: "latest",
                    }],
                    rules: [
                        {
                            exclusionRule: {
                                matchingType: "MATCHING_TYPE_PARTIAL_MATCH",
                                dictionary: {
                                    wordList: {
                                        words: ["test"],
                                    },
                                },
                            },
                        },
                        {
                            exclusionRule: {
                                matchingType: "MATCHING_TYPE_PARTIAL_MATCH",
                                dictionary: {
                                    cloudStoragePath: {
                                        path: pulumi.interpolate`gs://${bucket.name}/${object.name}`,
                                    },
                                },
                            },
                        },
                    ],
                },
                {
                    infoTypes: [{
                        name: "FIRST_NAME",
                    }],
                    rules: [{
                        exclusionRule: {
                            matchingType: "MATCHING_TYPE_FULL_MATCH",
                            excludeByHotword: {
                                hotwordRegex: {
                                    pattern: "zone.*",
                                    groupIndexes: [0],
                                },
                                proximity: {
                                    windowBefore: 1,
                                    windowAfter: 2,
                                },
                            },
                        },
                    }],
                },
                {
                    infoTypes: [{
                        name: "LAST_NAME",
                    }],
                    rules: [{
                        hotwordRule: {
                            hotwordRegex: {
                                pattern: "patient.*",
                                groupIndexes: [0],
                            },
                            proximity: {
                                windowBefore: 1,
                                windowAfter: 2,
                            },
                            likelihoodAdjustment: {
                                fixedLikelihood: "VERY_LIKELY",
                            },
                        },
                    }],
                },
            ],
        },
        rules: [{
            conditions: [{
                infoTypeCondition: {
                    anyInfoType: {},
                    minCount: 2,
                },
            }],
            action: {
                returnVerdict: "BLOCK",
            },
        }],
        unsupportedFileType: {
            returnVerdict: "ALLOW",
        },
        inputTooLarge: {
            returnVerdict: "ALLOW",
        },
        failedToScanSupportedFileType: {
            returnVerdict: "BLOCK",
        },
        defaultAction: {
            returnVerdict: "ALLOW",
        },
        loggingConfigs: [{
            logToBigQuery: {
                projectId: defaultTable.project,
                datasetId: _default.datasetId,
                tableId: defaultTable.tableId,
            },
        }],
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    basic = gcp.dataloss.PreventionStoredInfoType("basic",
        parent="projects/my-project-name/locations/us-west1",
        description="Description for stored info type",
        display_name="tf-test-stored-info-type",
        regex={
            "pattern": ".*",
            "group_indexes": [0],
        })
    bucket = gcp.storage.Bucket("bucket",
        name="dlp_bkt",
        location="US",
        uniform_bucket_level_access=True,
        force_destroy=True)
    object = gcp.storage.BucketObject("object",
        name="tf-test-wordlist",
        bucket=bucket.name,
        content="""word1
    word2
    """)
    default = gcp.bigquery.Dataset("default",
        dataset_id="dlp_ds",
        friendly_name="tf-test-dataset",
        description="Description for the dataset created by terraform",
        location="US",
        default_table_expiration_ms=3600000,
        delete_contents_on_destroy=True)
    default_table = gcp.bigquery.Table("default",
        dataset_id=default.dataset_id,
        table_id="dlp_tbl",
        deletion_protection=False,
        schema="""[
      {
        \"name\": \"quantity\",
        \"type\": \"NUMERIC\",
        \"mode\": \"NULLABLE\",
        \"description\": \"The quantity\"
      }
    ]
    """)
    full = gcp.dataloss.PreventionContentPolicy("full",
        parent="projects/my-project-name/locations/us-west1",
        display_name="tf-test-dlp-content-policy-full",
        inspect_config={
            "content_options": [
                "CONTENT_TEXT",
                "CONTENT_IMAGE",
            ],
            "include_quote": True,
            "exclude_info_types": False,
            "min_likelihood": "LIKELY",
            "info_types": [
                {
                    "name": "PHONE_NUMBER",
                    "sensitivity_score": {
                        "score": "SENSITIVITY_LOW",
                    },
                },
                {
                    "name": "EMAIL_ADDRESS",
                },
                {
                    "name": "PERSON_NAME",
                    "version": "latest",
                },
                {
                    "name": "FIRST_NAME",
                },
                {
                    "name": "LAST_NAME",
                },
                {
                    "name": "OBJECT_TYPE/PERSON",
                },
                {
                    "name": "OBJECT_TYPE/PERSON/PASSPORT",
                },
            ],
            "min_likelihood_per_info_types": [{
                "info_type": {
                    "name": "PERSON_NAME",
                    "version": "latest",
                    "sensitivity_score": {
                        "score": "SENSITIVITY_LOW",
                    },
                },
                "min_likelihood": "LIKELY",
            }],
            "custom_info_types": [
                {
                    "info_type": {
                        "name": "MY_CUSTOM_TYPE",
                        "version": "0.1",
                        "sensitivity_score": {
                            "score": "SENSITIVITY_LOW",
                        },
                    },
                    "sensitivity_score": {
                        "score": "SENSITIVITY_MODERATE",
                    },
                    "likelihood": "UNLIKELY",
                    "exclusion_type": "EXCLUSION_TYPE_EXCLUDE",
                    "regex": {
                        "pattern": "test.*",
                        "group_indexes": [0],
                    },
                    "detection_rules": [{
                        "hotword_rule": {
                            "hotword_regex": {
                                "pattern": "password",
                                "group_indexes": [0],
                            },
                            "proximity": {
                                "window_before": 10,
                                "window_after": 10,
                            },
                            "likelihood_adjustment": {
                                "fixed_likelihood": "VERY_LIKELY",
                            },
                        },
                    }],
                },
                {
                    "info_type": {
                        "name": "MY_GDRIVE_LABEL_TYPE",
                    },
                    "likelihood": "POSSIBLE",
                    "file_label_info_type": {
                        "google_drive_label": {
                            "label_id": "testLabelId",
                            "label_fields_to_matches": [{
                                "id": "field1",
                                "value": "val1",
                            }],
                        },
                    },
                },
                {
                    "info_type": {
                        "name": "MY_SENSITIVITY_LABEL_TYPE",
                    },
                    "likelihood": "POSSIBLE",
                    "file_label_info_type": {
                        "sensitivity_label": {
                            "guid": "11111111-2222-3333-4444-555555555555",
                        },
                    },
                },
                {
                    "info_type": {
                        "name": "MY_METADATA_KV_TYPE",
                    },
                    "likelihood": "POSSIBLE",
                    "metadata_key_value_expression": {
                        "key_regex": "key.*",
                        "value_regex": "val.*",
                    },
                },
                {
                    "info_type": {
                        "name": "MY_WORD_LIST_TYPE",
                    },
                    "likelihood": "POSSIBLE",
                    "dictionary": {
                        "word_list": {
                            "words": [
                                "badword1",
                                "badword2",
                            ],
                        },
                    },
                },
                {
                    "info_type": {
                        "name": "MY_STORAGE_TYPE",
                    },
                    "likelihood": "POSSIBLE",
                    "dictionary": {
                        "cloud_storage_path": {
                            "path": pulumi.Output.all(
                                bucketName=bucket.name,
                                objectName=object.name
    ).apply(lambda resolved_outputs: f"gs://{resolved_outputs['bucketName']}/{resolved_outputs['objectName']}")
    ,
                        },
                    },
                },
                {
                    "info_type": {
                        "name": "MY_STORED_TYPE",
                    },
                    "likelihood": "POSSIBLE",
                    "stored_type": {
                        "name": basic.id,
                    },
                },
            ],
            "limits": {
                "max_findings_per_item": 10,
                "max_findings_per_request": 50,
                "max_findings_per_info_types": [{
                    "max_findings": 10,
                    "info_type": {
                        "name": "PERSON_NAME",
                        "version": "latest",
                        "sensitivity_score": {
                            "score": "SENSITIVITY_HIGH",
                        },
                    },
                }],
            },
            "rule_sets": [
                {
                    "info_types": [{
                        "name": "PHONE_NUMBER",
                        "sensitivity_score": {
                            "score": "SENSITIVITY_LOW",
                        },
                    }],
                    "rules": [{
                        "exclusion_rule": {
                            "matching_type": "MATCHING_TYPE_FULL_MATCH",
                            "exclude_info_types": {
                                "info_types": [{
                                    "name": "PERSON_NAME",
                                    "version": "latest",
                                    "sensitivity_score": {
                                        "score": "SENSITIVITY_LOW",
                                    },
                                }],
                            },
                        },
                    }],
                },
                {
                    "info_types": [{
                        "name": "EMAIL_ADDRESS",
                    }],
                    "rules": [
                        {
                            "exclusion_rule": {
                                "matching_type": "MATCHING_TYPE_PARTIAL_MATCH",
                                "regex": {
                                    "pattern": ".*@example\\.com",
                                    "group_indexes": [0],
                                },
                            },
                        },
                        {
                            "adjustment_rule": {
                                "adjust_by_matching_info_types": {
                                    "info_types": [{
                                        "name": "PERSON_NAME",
                                        "version": "latest",
                                        "sensitivity_score": {
                                            "score": "SENSITIVITY_LOW",
                                        },
                                    }],
                                    "min_likelihood": "LIKELY",
                                    "matching_type": "MATCHING_TYPE_PARTIAL_MATCH",
                                },
                                "likelihood_adjustment": {
                                    "fixed_likelihood": "VERY_LIKELY",
                                },
                            },
                        },
                    ],
                },
                {
                    "info_types": [{
                        "name": "OBJECT_TYPE/PERSON",
                    }],
                    "rules": [
                        {
                            "adjustment_rule": {
                                "adjust_by_image_findings": {
                                    "info_types": [{
                                        "name": "OBJECT_TYPE/PERSON/PASSPORT",
                                        "version": "latest",
                                        "sensitivity_score": {
                                            "score": "SENSITIVITY_LOW",
                                        },
                                    }],
                                    "min_likelihood": "LIKELY",
                                    "image_containment_type": {
                                        "encloses": {},
                                    },
                                },
                                "likelihood_adjustment": {
                                    "fixed_likelihood": "VERY_LIKELY",
                                },
                            },
                        },
                        {
                            "exclusion_rule": {
                                "matching_type": "MATCHING_TYPE_RULE_SPECIFIC",
                                "exclude_by_image_findings": {
                                    "info_types": [{
                                        "name": "OBJECT_TYPE/PERSON/PASSPORT",
                                        "version": "latest",
                                        "sensitivity_score": {
                                            "score": "SENSITIVITY_LOW",
                                        },
                                    }],
                                    "image_containment_type": {
                                        "fully_inside": {},
                                    },
                                },
                            },
                        },
                    ],
                },
                {
                    "info_types": [{
                        "name": "PERSON_NAME",
                        "version": "latest",
                    }],
                    "rules": [
                        {
                            "exclusion_rule": {
                                "matching_type": "MATCHING_TYPE_PARTIAL_MATCH",
                                "dictionary": {
                                    "word_list": {
                                        "words": ["test"],
                                    },
                                },
                            },
                        },
                        {
                            "exclusion_rule": {
                                "matching_type": "MATCHING_TYPE_PARTIAL_MATCH",
                                "dictionary": {
                                    "cloud_storage_path": {
                                        "path": pulumi.Output.all(
                                            bucketName=bucket.name,
                                            objectName=object.name
    ).apply(lambda resolved_outputs: f"gs://{resolved_outputs['bucketName']}/{resolved_outputs['objectName']}")
    ,
                                    },
                                },
                            },
                        },
                    ],
                },
                {
                    "info_types": [{
                        "name": "FIRST_NAME",
                    }],
                    "rules": [{
                        "exclusion_rule": {
                            "matching_type": "MATCHING_TYPE_FULL_MATCH",
                            "exclude_by_hotword": {
                                "hotword_regex": {
                                    "pattern": "zone.*",
                                    "group_indexes": [0],
                                },
                                "proximity": {
                                    "window_before": 1,
                                    "window_after": 2,
                                },
                            },
                        },
                    }],
                },
                {
                    "info_types": [{
                        "name": "LAST_NAME",
                    }],
                    "rules": [{
                        "hotword_rule": {
                            "hotword_regex": {
                                "pattern": "patient.*",
                                "group_indexes": [0],
                            },
                            "proximity": {
                                "window_before": 1,
                                "window_after": 2,
                            },
                            "likelihood_adjustment": {
                                "fixed_likelihood": "VERY_LIKELY",
                            },
                        },
                    }],
                },
            ],
        },
        rules=[{
            "conditions": [{
                "info_type_condition": {
                    "any_info_type": {},
                    "min_count": 2,
                },
            }],
            "action": {
                "return_verdict": "BLOCK",
            },
        }],
        unsupported_file_type={
            "return_verdict": "ALLOW",
        },
        input_too_large={
            "return_verdict": "ALLOW",
        },
        failed_to_scan_supported_file_type={
            "return_verdict": "BLOCK",
        },
        default_action={
            "return_verdict": "ALLOW",
        },
        logging_configs=[{
            "log_to_big_query": {
                "project_id": default_table.project,
                "dataset_id": default.dataset_id,
                "table_id": default_table.table_id,
            },
        }])
    
    package main
    
    import (
    	"fmt"
    
    	"github.com/pulumi/pulumi-gcp/sdk/v10/go/gcp/bigquery"
    	"github.com/pulumi/pulumi-gcp/sdk/v10/go/gcp/dataloss"
    	"github.com/pulumi/pulumi-gcp/sdk/v10/go/gcp/storage"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		basic, err := dataloss.NewPreventionStoredInfoType(ctx, "basic", &dataloss.PreventionStoredInfoTypeArgs{
    			Parent:      pulumi.String("projects/my-project-name/locations/us-west1"),
    			Description: pulumi.String("Description for stored info type"),
    			DisplayName: pulumi.String("tf-test-stored-info-type"),
    			Regex: &dataloss.PreventionStoredInfoTypeRegexArgs{
    				Pattern: pulumi.String(".*"),
    				GroupIndexes: pulumi.IntArray{
    					pulumi.Int(0),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		bucket, err := storage.NewBucket(ctx, "bucket", &storage.BucketArgs{
    			Name:                     pulumi.String("dlp_bkt"),
    			Location:                 pulumi.String("US"),
    			UniformBucketLevelAccess: pulumi.Bool(true),
    			ForceDestroy:             pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		object, err := storage.NewBucketObject(ctx, "object", &storage.BucketObjectArgs{
    			Name:    pulumi.String("tf-test-wordlist"),
    			Bucket:  bucket.Name,
    			Content: pulumi.String("word1\nword2\n"),
    		})
    		if err != nil {
    			return err
    		}
    		_default, err := bigquery.NewDataset(ctx, "default", &bigquery.DatasetArgs{
    			DatasetId:                pulumi.String("dlp_ds"),
    			FriendlyName:             pulumi.String("tf-test-dataset"),
    			Description:              pulumi.String("Description for the dataset created by terraform"),
    			Location:                 pulumi.String("US"),
    			DefaultTableExpirationMs: pulumi.Int(3600000),
    			DeleteContentsOnDestroy:  pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		defaultTable, err := bigquery.NewTable(ctx, "default", &bigquery.TableArgs{
    			DatasetId:          _default.DatasetId,
    			TableId:            pulumi.String("dlp_tbl"),
    			DeletionProtection: pulumi.Bool(false),
    			Schema: pulumi.String(`[
      {
        \"name\": \"quantity\",
        \"type\": \"NUMERIC\",
        \"mode\": \"NULLABLE\",
        \"description\": \"The quantity\"
      }
    ]
    `),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = dataloss.NewPreventionContentPolicy(ctx, "full", &dataloss.PreventionContentPolicyArgs{
    			Parent:      pulumi.String("projects/my-project-name/locations/us-west1"),
    			DisplayName: pulumi.String("tf-test-dlp-content-policy-full"),
    			InspectConfig: &dataloss.PreventionContentPolicyInspectConfigArgs{
    				ContentOptions: pulumi.StringArray{
    					pulumi.String("CONTENT_TEXT"),
    					pulumi.String("CONTENT_IMAGE"),
    				},
    				IncludeQuote:     pulumi.Bool(true),
    				ExcludeInfoTypes: pulumi.Bool(false),
    				MinLikelihood:    pulumi.String("LIKELY"),
    				InfoTypes: dataloss.PreventionContentPolicyInspectConfigInfoTypeArray{
    					&dataloss.PreventionContentPolicyInspectConfigInfoTypeArgs{
    						Name: pulumi.String("PHONE_NUMBER"),
    						SensitivityScore: &dataloss.PreventionContentPolicyInspectConfigInfoTypeSensitivityScoreArgs{
    							Score: pulumi.String("SENSITIVITY_LOW"),
    						},
    					},
    					&dataloss.PreventionContentPolicyInspectConfigInfoTypeArgs{
    						Name: pulumi.String("EMAIL_ADDRESS"),
    					},
    					&dataloss.PreventionContentPolicyInspectConfigInfoTypeArgs{
    						Name:    pulumi.String("PERSON_NAME"),
    						Version: pulumi.String("latest"),
    					},
    					&dataloss.PreventionContentPolicyInspectConfigInfoTypeArgs{
    						Name: pulumi.String("FIRST_NAME"),
    					},
    					&dataloss.PreventionContentPolicyInspectConfigInfoTypeArgs{
    						Name: pulumi.String("LAST_NAME"),
    					},
    					&dataloss.PreventionContentPolicyInspectConfigInfoTypeArgs{
    						Name: pulumi.String("OBJECT_TYPE/PERSON"),
    					},
    					&dataloss.PreventionContentPolicyInspectConfigInfoTypeArgs{
    						Name: pulumi.String("OBJECT_TYPE/PERSON/PASSPORT"),
    					},
    				},
    				MinLikelihoodPerInfoTypes: dataloss.PreventionContentPolicyInspectConfigMinLikelihoodPerInfoTypeArray{
    					&dataloss.PreventionContentPolicyInspectConfigMinLikelihoodPerInfoTypeArgs{
    						InfoType: &dataloss.PreventionContentPolicyInspectConfigMinLikelihoodPerInfoTypeInfoTypeArgs{
    							Name:    pulumi.String("PERSON_NAME"),
    							Version: pulumi.String("latest"),
    							SensitivityScore: &dataloss.PreventionContentPolicyInspectConfigMinLikelihoodPerInfoTypeInfoTypeSensitivityScoreArgs{
    								Score: pulumi.String("SENSITIVITY_LOW"),
    							},
    						},
    						MinLikelihood: pulumi.String("LIKELY"),
    					},
    				},
    				CustomInfoTypes: dataloss.PreventionContentPolicyInspectConfigCustomInfoTypeArray{
    					&dataloss.PreventionContentPolicyInspectConfigCustomInfoTypeArgs{
    						InfoType: &dataloss.PreventionContentPolicyInspectConfigCustomInfoTypeInfoTypeArgs{
    							Name:    pulumi.String("MY_CUSTOM_TYPE"),
    							Version: pulumi.String("0.1"),
    							SensitivityScore: &dataloss.PreventionContentPolicyInspectConfigCustomInfoTypeInfoTypeSensitivityScoreArgs{
    								Score: pulumi.String("SENSITIVITY_LOW"),
    							},
    						},
    						SensitivityScore: &dataloss.PreventionContentPolicyInspectConfigCustomInfoTypeSensitivityScoreArgs{
    							Score: pulumi.String("SENSITIVITY_MODERATE"),
    						},
    						Likelihood:    pulumi.String("UNLIKELY"),
    						ExclusionType: pulumi.String("EXCLUSION_TYPE_EXCLUDE"),
    						Regex: &dataloss.PreventionContentPolicyInspectConfigCustomInfoTypeRegexArgs{
    							Pattern: pulumi.String("test.*"),
    							GroupIndexes: pulumi.IntArray{
    								pulumi.Int(0),
    							},
    						},
    						DetectionRules: dataloss.PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRuleArray{
    							&dataloss.PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRuleArgs{
    								HotwordRule: &dataloss.PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRuleHotwordRuleArgs{
    									HotwordRegex: &dataloss.PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRuleHotwordRuleHotwordRegexArgs{
    										Pattern: pulumi.String("password"),
    										GroupIndexes: pulumi.IntArray{
    											pulumi.Int(0),
    										},
    									},
    									Proximity: &dataloss.PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRuleHotwordRuleProximityArgs{
    										WindowBefore: pulumi.Int(10),
    										WindowAfter:  pulumi.Int(10),
    									},
    									LikelihoodAdjustment: &dataloss.PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRuleHotwordRuleLikelihoodAdjustmentArgs{
    										FixedLikelihood: pulumi.String("VERY_LIKELY"),
    									},
    								},
    							},
    						},
    					},
    					&dataloss.PreventionContentPolicyInspectConfigCustomInfoTypeArgs{
    						InfoType: &dataloss.PreventionContentPolicyInspectConfigCustomInfoTypeInfoTypeArgs{
    							Name: pulumi.String("MY_GDRIVE_LABEL_TYPE"),
    						},
    						Likelihood: pulumi.String("POSSIBLE"),
    						FileLabelInfoType: &dataloss.PreventionContentPolicyInspectConfigCustomInfoTypeFileLabelInfoTypeArgs{
    							GoogleDriveLabel: &dataloss.PreventionContentPolicyInspectConfigCustomInfoTypeFileLabelInfoTypeGoogleDriveLabelArgs{
    								LabelId: pulumi.String("testLabelId"),
    								LabelFieldsToMatches: dataloss.PreventionContentPolicyInspectConfigCustomInfoTypeFileLabelInfoTypeGoogleDriveLabelLabelFieldsToMatchArray{
    									&dataloss.PreventionContentPolicyInspectConfigCustomInfoTypeFileLabelInfoTypeGoogleDriveLabelLabelFieldsToMatchArgs{
    										Id:    pulumi.String("field1"),
    										Value: pulumi.String("val1"),
    									},
    								},
    							},
    						},
    					},
    					&dataloss.PreventionContentPolicyInspectConfigCustomInfoTypeArgs{
    						InfoType: &dataloss.PreventionContentPolicyInspectConfigCustomInfoTypeInfoTypeArgs{
    							Name: pulumi.String("MY_SENSITIVITY_LABEL_TYPE"),
    						},
    						Likelihood: pulumi.String("POSSIBLE"),
    						FileLabelInfoType: &dataloss.PreventionContentPolicyInspectConfigCustomInfoTypeFileLabelInfoTypeArgs{
    							SensitivityLabel: &dataloss.PreventionContentPolicyInspectConfigCustomInfoTypeFileLabelInfoTypeSensitivityLabelArgs{
    								Guid: pulumi.String("11111111-2222-3333-4444-555555555555"),
    							},
    						},
    					},
    					&dataloss.PreventionContentPolicyInspectConfigCustomInfoTypeArgs{
    						InfoType: &dataloss.PreventionContentPolicyInspectConfigCustomInfoTypeInfoTypeArgs{
    							Name: pulumi.String("MY_METADATA_KV_TYPE"),
    						},
    						Likelihood: pulumi.String("POSSIBLE"),
    						MetadataKeyValueExpression: &dataloss.PreventionContentPolicyInspectConfigCustomInfoTypeMetadataKeyValueExpressionArgs{
    							KeyRegex:   pulumi.String("key.*"),
    							ValueRegex: pulumi.String("val.*"),
    						},
    					},
    					&dataloss.PreventionContentPolicyInspectConfigCustomInfoTypeArgs{
    						InfoType: &dataloss.PreventionContentPolicyInspectConfigCustomInfoTypeInfoTypeArgs{
    							Name: pulumi.String("MY_WORD_LIST_TYPE"),
    						},
    						Likelihood: pulumi.String("POSSIBLE"),
    						Dictionary: &dataloss.PreventionContentPolicyInspectConfigCustomInfoTypeDictionaryArgs{
    							WordList: &dataloss.PreventionContentPolicyInspectConfigCustomInfoTypeDictionaryWordListArgs{
    								Words: pulumi.StringArray{
    									pulumi.String("badword1"),
    									pulumi.String("badword2"),
    								},
    							},
    						},
    					},
    					&dataloss.PreventionContentPolicyInspectConfigCustomInfoTypeArgs{
    						InfoType: &dataloss.PreventionContentPolicyInspectConfigCustomInfoTypeInfoTypeArgs{
    							Name: pulumi.String("MY_STORAGE_TYPE"),
    						},
    						Likelihood: pulumi.String("POSSIBLE"),
    						Dictionary: &dataloss.PreventionContentPolicyInspectConfigCustomInfoTypeDictionaryArgs{
    							CloudStoragePath: &dataloss.PreventionContentPolicyInspectConfigCustomInfoTypeDictionaryCloudStoragePathArgs{
    								Path: pulumi.All(bucket.Name, object.Name).ApplyT(func(_args []interface{}) (string, error) {
    									bucketName := _args[0].(string)
    									objectName := _args[1].(string)
    									return fmt.Sprintf("gs://%v/%v", bucketName, objectName), nil
    								}).(pulumi.StringOutput),
    							},
    						},
    					},
    					&dataloss.PreventionContentPolicyInspectConfigCustomInfoTypeArgs{
    						InfoType: &dataloss.PreventionContentPolicyInspectConfigCustomInfoTypeInfoTypeArgs{
    							Name: pulumi.String("MY_STORED_TYPE"),
    						},
    						Likelihood: pulumi.String("POSSIBLE"),
    						StoredType: &dataloss.PreventionContentPolicyInspectConfigCustomInfoTypeStoredTypeArgs{
    							Name: basic.ID(),
    						},
    					},
    				},
    				Limits: &dataloss.PreventionContentPolicyInspectConfigLimitsArgs{
    					MaxFindingsPerItem:    pulumi.Int(10),
    					MaxFindingsPerRequest: pulumi.Int(50),
    					MaxFindingsPerInfoTypes: dataloss.PreventionContentPolicyInspectConfigLimitsMaxFindingsPerInfoTypeArray{
    						&dataloss.PreventionContentPolicyInspectConfigLimitsMaxFindingsPerInfoTypeArgs{
    							MaxFindings: pulumi.Int(10),
    							InfoType: &dataloss.PreventionContentPolicyInspectConfigLimitsMaxFindingsPerInfoTypeInfoTypeArgs{
    								Name:    pulumi.String("PERSON_NAME"),
    								Version: pulumi.String("latest"),
    								SensitivityScore: &dataloss.PreventionContentPolicyInspectConfigLimitsMaxFindingsPerInfoTypeInfoTypeSensitivityScoreArgs{
    									Score: pulumi.String("SENSITIVITY_HIGH"),
    								},
    							},
    						},
    					},
    				},
    				RuleSets: dataloss.PreventionContentPolicyInspectConfigRuleSetArray{
    					&dataloss.PreventionContentPolicyInspectConfigRuleSetArgs{
    						InfoTypes: dataloss.PreventionContentPolicyInspectConfigRuleSetInfoTypeArray{
    							&dataloss.PreventionContentPolicyInspectConfigRuleSetInfoTypeArgs{
    								Name: pulumi.String("PHONE_NUMBER"),
    								SensitivityScore: &dataloss.PreventionContentPolicyInspectConfigRuleSetInfoTypeSensitivityScoreArgs{
    									Score: pulumi.String("SENSITIVITY_LOW"),
    								},
    							},
    						},
    						Rules: dataloss.PreventionContentPolicyInspectConfigRuleSetRuleArray{
    							&dataloss.PreventionContentPolicyInspectConfigRuleSetRuleArgs{
    								ExclusionRule: &dataloss.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleArgs{
    									MatchingType: pulumi.String("MATCHING_TYPE_FULL_MATCH"),
    									ExcludeInfoTypes: &dataloss.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeInfoTypesArgs{
    										InfoTypes: dataloss.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeInfoTypesInfoTypeArray{
    											&dataloss.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeInfoTypesInfoTypeArgs{
    												Name:    pulumi.String("PERSON_NAME"),
    												Version: pulumi.String("latest"),
    												SensitivityScore: &dataloss.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeInfoTypesInfoTypeSensitivityScoreArgs{
    													Score: pulumi.String("SENSITIVITY_LOW"),
    												},
    											},
    										},
    									},
    								},
    							},
    						},
    					},
    					&dataloss.PreventionContentPolicyInspectConfigRuleSetArgs{
    						InfoTypes: dataloss.PreventionContentPolicyInspectConfigRuleSetInfoTypeArray{
    							&dataloss.PreventionContentPolicyInspectConfigRuleSetInfoTypeArgs{
    								Name: pulumi.String("EMAIL_ADDRESS"),
    							},
    						},
    						Rules: dataloss.PreventionContentPolicyInspectConfigRuleSetRuleArray{
    							&dataloss.PreventionContentPolicyInspectConfigRuleSetRuleArgs{
    								ExclusionRule: &dataloss.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleArgs{
    									MatchingType: pulumi.String("MATCHING_TYPE_PARTIAL_MATCH"),
    									Regex: &dataloss.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleRegexArgs{
    										Pattern: pulumi.String(".*@example\\.com"),
    										GroupIndexes: pulumi.IntArray{
    											pulumi.Int(0),
    										},
    									},
    								},
    							},
    							&dataloss.PreventionContentPolicyInspectConfigRuleSetRuleArgs{
    								AdjustmentRule: &dataloss.PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleArgs{
    									AdjustByMatchingInfoTypes: &dataloss.PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByMatchingInfoTypesArgs{
    										InfoTypes: dataloss.PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByMatchingInfoTypesInfoTypeArray{
    											&dataloss.PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByMatchingInfoTypesInfoTypeArgs{
    												Name:    pulumi.String("PERSON_NAME"),
    												Version: pulumi.String("latest"),
    												SensitivityScore: &dataloss.PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByMatchingInfoTypesInfoTypeSensitivityScoreArgs{
    													Score: pulumi.String("SENSITIVITY_LOW"),
    												},
    											},
    										},
    										MinLikelihood: pulumi.String("LIKELY"),
    										MatchingType:  pulumi.String("MATCHING_TYPE_PARTIAL_MATCH"),
    									},
    									LikelihoodAdjustment: &dataloss.PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleLikelihoodAdjustmentArgs{
    										FixedLikelihood: pulumi.String("VERY_LIKELY"),
    									},
    								},
    							},
    						},
    					},
    					&dataloss.PreventionContentPolicyInspectConfigRuleSetArgs{
    						InfoTypes: dataloss.PreventionContentPolicyInspectConfigRuleSetInfoTypeArray{
    							&dataloss.PreventionContentPolicyInspectConfigRuleSetInfoTypeArgs{
    								Name: pulumi.String("OBJECT_TYPE/PERSON"),
    							},
    						},
    						Rules: dataloss.PreventionContentPolicyInspectConfigRuleSetRuleArray{
    							&dataloss.PreventionContentPolicyInspectConfigRuleSetRuleArgs{
    								AdjustmentRule: &dataloss.PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleArgs{
    									AdjustByImageFindings: &dataloss.PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByImageFindingsArgs{
    										InfoTypes: dataloss.PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByImageFindingsInfoTypeArray{
    											&dataloss.PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByImageFindingsInfoTypeArgs{
    												Name:    pulumi.String("OBJECT_TYPE/PERSON/PASSPORT"),
    												Version: pulumi.String("latest"),
    												SensitivityScore: &dataloss.PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByImageFindingsInfoTypeSensitivityScoreArgs{
    													Score: pulumi.String("SENSITIVITY_LOW"),
    												},
    											},
    										},
    										MinLikelihood: pulumi.String("LIKELY"),
    										ImageContainmentType: &dataloss.PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByImageFindingsImageContainmentTypeArgs{
    											Encloses: &dataloss.PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByImageFindingsImageContainmentTypeEnclosesArgs{},
    										},
    									},
    									LikelihoodAdjustment: &dataloss.PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleLikelihoodAdjustmentArgs{
    										FixedLikelihood: pulumi.String("VERY_LIKELY"),
    									},
    								},
    							},
    							&dataloss.PreventionContentPolicyInspectConfigRuleSetRuleArgs{
    								ExclusionRule: &dataloss.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleArgs{
    									MatchingType: pulumi.String("MATCHING_TYPE_RULE_SPECIFIC"),
    									ExcludeByImageFindings: &dataloss.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByImageFindingsArgs{
    										InfoTypes: dataloss.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByImageFindingsInfoTypeArray{
    											&dataloss.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByImageFindingsInfoTypeArgs{
    												Name:    pulumi.String("OBJECT_TYPE/PERSON/PASSPORT"),
    												Version: pulumi.String("latest"),
    												SensitivityScore: &dataloss.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByImageFindingsInfoTypeSensitivityScoreArgs{
    													Score: pulumi.String("SENSITIVITY_LOW"),
    												},
    											},
    										},
    										ImageContainmentType: &dataloss.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByImageFindingsImageContainmentTypeArgs{
    											FullyInside: &dataloss.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByImageFindingsImageContainmentTypeFullyInsideArgs{},
    										},
    									},
    								},
    							},
    						},
    					},
    					&dataloss.PreventionContentPolicyInspectConfigRuleSetArgs{
    						InfoTypes: dataloss.PreventionContentPolicyInspectConfigRuleSetInfoTypeArray{
    							&dataloss.PreventionContentPolicyInspectConfigRuleSetInfoTypeArgs{
    								Name:    pulumi.String("PERSON_NAME"),
    								Version: pulumi.String("latest"),
    							},
    						},
    						Rules: dataloss.PreventionContentPolicyInspectConfigRuleSetRuleArray{
    							&dataloss.PreventionContentPolicyInspectConfigRuleSetRuleArgs{
    								ExclusionRule: &dataloss.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleArgs{
    									MatchingType: pulumi.String("MATCHING_TYPE_PARTIAL_MATCH"),
    									Dictionary: &dataloss.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleDictionaryArgs{
    										WordList: &dataloss.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleDictionaryWordListArgs{
    											Words: pulumi.StringArray{
    												pulumi.String("test"),
    											},
    										},
    									},
    								},
    							},
    							&dataloss.PreventionContentPolicyInspectConfigRuleSetRuleArgs{
    								ExclusionRule: &dataloss.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleArgs{
    									MatchingType: pulumi.String("MATCHING_TYPE_PARTIAL_MATCH"),
    									Dictionary: &dataloss.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleDictionaryArgs{
    										CloudStoragePath: &dataloss.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleDictionaryCloudStoragePathArgs{
    											Path: pulumi.All(bucket.Name, object.Name).ApplyT(func(_args []interface{}) (string, error) {
    												bucketName := _args[0].(string)
    												objectName := _args[1].(string)
    												return fmt.Sprintf("gs://%v/%v", bucketName, objectName), nil
    											}).(pulumi.StringOutput),
    										},
    									},
    								},
    							},
    						},
    					},
    					&dataloss.PreventionContentPolicyInspectConfigRuleSetArgs{
    						InfoTypes: dataloss.PreventionContentPolicyInspectConfigRuleSetInfoTypeArray{
    							&dataloss.PreventionContentPolicyInspectConfigRuleSetInfoTypeArgs{
    								Name: pulumi.String("FIRST_NAME"),
    							},
    						},
    						Rules: dataloss.PreventionContentPolicyInspectConfigRuleSetRuleArray{
    							&dataloss.PreventionContentPolicyInspectConfigRuleSetRuleArgs{
    								ExclusionRule: &dataloss.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleArgs{
    									MatchingType: pulumi.String("MATCHING_TYPE_FULL_MATCH"),
    									ExcludeByHotword: &dataloss.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByHotwordArgs{
    										HotwordRegex: &dataloss.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByHotwordHotwordRegexArgs{
    											Pattern: pulumi.String("zone.*"),
    											GroupIndexes: pulumi.IntArray{
    												pulumi.Int(0),
    											},
    										},
    										Proximity: &dataloss.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByHotwordProximityArgs{
    											WindowBefore: pulumi.Int(1),
    											WindowAfter:  pulumi.Int(2),
    										},
    									},
    								},
    							},
    						},
    					},
    					&dataloss.PreventionContentPolicyInspectConfigRuleSetArgs{
    						InfoTypes: dataloss.PreventionContentPolicyInspectConfigRuleSetInfoTypeArray{
    							&dataloss.PreventionContentPolicyInspectConfigRuleSetInfoTypeArgs{
    								Name: pulumi.String("LAST_NAME"),
    							},
    						},
    						Rules: dataloss.PreventionContentPolicyInspectConfigRuleSetRuleArray{
    							&dataloss.PreventionContentPolicyInspectConfigRuleSetRuleArgs{
    								HotwordRule: &dataloss.PreventionContentPolicyInspectConfigRuleSetRuleHotwordRuleArgs{
    									HotwordRegex: &dataloss.PreventionContentPolicyInspectConfigRuleSetRuleHotwordRuleHotwordRegexArgs{
    										Pattern: pulumi.String("patient.*"),
    										GroupIndexes: pulumi.IntArray{
    											pulumi.Int(0),
    										},
    									},
    									Proximity: &dataloss.PreventionContentPolicyInspectConfigRuleSetRuleHotwordRuleProximityArgs{
    										WindowBefore: pulumi.Int(1),
    										WindowAfter:  pulumi.Int(2),
    									},
    									LikelihoodAdjustment: &dataloss.PreventionContentPolicyInspectConfigRuleSetRuleHotwordRuleLikelihoodAdjustmentArgs{
    										FixedLikelihood: pulumi.String("VERY_LIKELY"),
    									},
    								},
    							},
    						},
    					},
    				},
    			},
    			Rules: dataloss.PreventionContentPolicyRuleArray{
    				&dataloss.PreventionContentPolicyRuleArgs{
    					Conditions: dataloss.PreventionContentPolicyRuleConditionArray{
    						&dataloss.PreventionContentPolicyRuleConditionArgs{
    							InfoTypeCondition: &dataloss.PreventionContentPolicyRuleConditionInfoTypeConditionArgs{
    								AnyInfoType: &dataloss.PreventionContentPolicyRuleConditionInfoTypeConditionAnyInfoTypeArgs{},
    								MinCount:    pulumi.Int(2),
    							},
    						},
    					},
    					Action: &dataloss.PreventionContentPolicyRuleActionArgs{
    						ReturnVerdict: pulumi.String("BLOCK"),
    					},
    				},
    			},
    			UnsupportedFileType: &dataloss.PreventionContentPolicyUnsupportedFileTypeArgs{
    				ReturnVerdict: pulumi.String("ALLOW"),
    			},
    			InputTooLarge: &dataloss.PreventionContentPolicyInputTooLargeArgs{
    				ReturnVerdict: pulumi.String("ALLOW"),
    			},
    			FailedToScanSupportedFileType: &dataloss.PreventionContentPolicyFailedToScanSupportedFileTypeArgs{
    				ReturnVerdict: pulumi.String("BLOCK"),
    			},
    			DefaultAction: &dataloss.PreventionContentPolicyDefaultActionArgs{
    				ReturnVerdict: pulumi.String("ALLOW"),
    			},
    			LoggingConfigs: dataloss.PreventionContentPolicyLoggingConfigArray{
    				&dataloss.PreventionContentPolicyLoggingConfigArgs{
    					LogToBigQuery: &dataloss.PreventionContentPolicyLoggingConfigLogToBigQueryArgs{
    						ProjectId: defaultTable.Project,
    						DatasetId: _default.DatasetId,
    						TableId:   defaultTable.TableId,
    					},
    				},
    			},
    		})
    		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.PreventionStoredInfoType("basic", new()
        {
            Parent = "projects/my-project-name/locations/us-west1",
            Description = "Description for stored info type",
            DisplayName = "tf-test-stored-info-type",
            Regex = new Gcp.DataLoss.Inputs.PreventionStoredInfoTypeRegexArgs
            {
                Pattern = ".*",
                GroupIndexes = new[]
                {
                    0,
                },
            },
        });
    
        var bucket = new Gcp.Storage.Bucket("bucket", new()
        {
            Name = "dlp_bkt",
            Location = "US",
            UniformBucketLevelAccess = true,
            ForceDestroy = true,
        });
    
        var @object = new Gcp.Storage.BucketObject("object", new()
        {
            Name = "tf-test-wordlist",
            Bucket = bucket.Name,
            Content = @"word1
    word2
    ",
        });
    
        var @default = new Gcp.BigQuery.Dataset("default", new()
        {
            DatasetId = "dlp_ds",
            FriendlyName = "tf-test-dataset",
            Description = "Description for the dataset created by terraform",
            Location = "US",
            DefaultTableExpirationMs = 3600000,
            DeleteContentsOnDestroy = true,
        });
    
        var defaultTable = new Gcp.BigQuery.Table("default", new()
        {
            DatasetId = @default.DatasetId,
            TableId = "dlp_tbl",
            DeletionProtection = false,
            Schema = @"[
      {
        \""name\"": \""quantity\"",
        \""type\"": \""NUMERIC\"",
        \""mode\"": \""NULLABLE\"",
        \""description\"": \""The quantity\""
      }
    ]
    ",
        });
    
        var full = new Gcp.DataLoss.PreventionContentPolicy("full", new()
        {
            Parent = "projects/my-project-name/locations/us-west1",
            DisplayName = "tf-test-dlp-content-policy-full",
            InspectConfig = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigArgs
            {
                ContentOptions = new[]
                {
                    "CONTENT_TEXT",
                    "CONTENT_IMAGE",
                },
                IncludeQuote = true,
                ExcludeInfoTypes = false,
                MinLikelihood = "LIKELY",
                InfoTypes = new[]
                {
                    new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigInfoTypeArgs
                    {
                        Name = "PHONE_NUMBER",
                        SensitivityScore = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigInfoTypeSensitivityScoreArgs
                        {
                            Score = "SENSITIVITY_LOW",
                        },
                    },
                    new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigInfoTypeArgs
                    {
                        Name = "EMAIL_ADDRESS",
                    },
                    new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigInfoTypeArgs
                    {
                        Name = "PERSON_NAME",
                        Version = "latest",
                    },
                    new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigInfoTypeArgs
                    {
                        Name = "FIRST_NAME",
                    },
                    new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigInfoTypeArgs
                    {
                        Name = "LAST_NAME",
                    },
                    new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigInfoTypeArgs
                    {
                        Name = "OBJECT_TYPE/PERSON",
                    },
                    new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigInfoTypeArgs
                    {
                        Name = "OBJECT_TYPE/PERSON/PASSPORT",
                    },
                },
                MinLikelihoodPerInfoTypes = new[]
                {
                    new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigMinLikelihoodPerInfoTypeArgs
                    {
                        InfoType = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigMinLikelihoodPerInfoTypeInfoTypeArgs
                        {
                            Name = "PERSON_NAME",
                            Version = "latest",
                            SensitivityScore = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigMinLikelihoodPerInfoTypeInfoTypeSensitivityScoreArgs
                            {
                                Score = "SENSITIVITY_LOW",
                            },
                        },
                        MinLikelihood = "LIKELY",
                    },
                },
                CustomInfoTypes = new[]
                {
                    new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigCustomInfoTypeArgs
                    {
                        InfoType = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigCustomInfoTypeInfoTypeArgs
                        {
                            Name = "MY_CUSTOM_TYPE",
                            Version = "0.1",
                            SensitivityScore = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigCustomInfoTypeInfoTypeSensitivityScoreArgs
                            {
                                Score = "SENSITIVITY_LOW",
                            },
                        },
                        SensitivityScore = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigCustomInfoTypeSensitivityScoreArgs
                        {
                            Score = "SENSITIVITY_MODERATE",
                        },
                        Likelihood = "UNLIKELY",
                        ExclusionType = "EXCLUSION_TYPE_EXCLUDE",
                        Regex = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigCustomInfoTypeRegexArgs
                        {
                            Pattern = "test.*",
                            GroupIndexes = new[]
                            {
                                0,
                            },
                        },
                        DetectionRules = new[]
                        {
                            new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRuleArgs
                            {
                                HotwordRule = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRuleHotwordRuleArgs
                                {
                                    HotwordRegex = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRuleHotwordRuleHotwordRegexArgs
                                    {
                                        Pattern = "password",
                                        GroupIndexes = new[]
                                        {
                                            0,
                                        },
                                    },
                                    Proximity = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRuleHotwordRuleProximityArgs
                                    {
                                        WindowBefore = 10,
                                        WindowAfter = 10,
                                    },
                                    LikelihoodAdjustment = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRuleHotwordRuleLikelihoodAdjustmentArgs
                                    {
                                        FixedLikelihood = "VERY_LIKELY",
                                    },
                                },
                            },
                        },
                    },
                    new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigCustomInfoTypeArgs
                    {
                        InfoType = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigCustomInfoTypeInfoTypeArgs
                        {
                            Name = "MY_GDRIVE_LABEL_TYPE",
                        },
                        Likelihood = "POSSIBLE",
                        FileLabelInfoType = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigCustomInfoTypeFileLabelInfoTypeArgs
                        {
                            GoogleDriveLabel = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigCustomInfoTypeFileLabelInfoTypeGoogleDriveLabelArgs
                            {
                                LabelId = "testLabelId",
                                LabelFieldsToMatches = new[]
                                {
                                    new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigCustomInfoTypeFileLabelInfoTypeGoogleDriveLabelLabelFieldsToMatchArgs
                                    {
                                        Id = "field1",
                                        Value = "val1",
                                    },
                                },
                            },
                        },
                    },
                    new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigCustomInfoTypeArgs
                    {
                        InfoType = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigCustomInfoTypeInfoTypeArgs
                        {
                            Name = "MY_SENSITIVITY_LABEL_TYPE",
                        },
                        Likelihood = "POSSIBLE",
                        FileLabelInfoType = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigCustomInfoTypeFileLabelInfoTypeArgs
                        {
                            SensitivityLabel = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigCustomInfoTypeFileLabelInfoTypeSensitivityLabelArgs
                            {
                                Guid = "11111111-2222-3333-4444-555555555555",
                            },
                        },
                    },
                    new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigCustomInfoTypeArgs
                    {
                        InfoType = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigCustomInfoTypeInfoTypeArgs
                        {
                            Name = "MY_METADATA_KV_TYPE",
                        },
                        Likelihood = "POSSIBLE",
                        MetadataKeyValueExpression = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigCustomInfoTypeMetadataKeyValueExpressionArgs
                        {
                            KeyRegex = "key.*",
                            ValueRegex = "val.*",
                        },
                    },
                    new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigCustomInfoTypeArgs
                    {
                        InfoType = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigCustomInfoTypeInfoTypeArgs
                        {
                            Name = "MY_WORD_LIST_TYPE",
                        },
                        Likelihood = "POSSIBLE",
                        Dictionary = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigCustomInfoTypeDictionaryArgs
                        {
                            WordList = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigCustomInfoTypeDictionaryWordListArgs
                            {
                                Words = new[]
                                {
                                    "badword1",
                                    "badword2",
                                },
                            },
                        },
                    },
                    new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigCustomInfoTypeArgs
                    {
                        InfoType = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigCustomInfoTypeInfoTypeArgs
                        {
                            Name = "MY_STORAGE_TYPE",
                        },
                        Likelihood = "POSSIBLE",
                        Dictionary = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigCustomInfoTypeDictionaryArgs
                        {
                            CloudStoragePath = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigCustomInfoTypeDictionaryCloudStoragePathArgs
                            {
                                Path = Output.Tuple(bucket.Name, @object.Name).Apply(values =>
                                {
                                    var bucketName = values.Item1;
                                    var objectName = values.Item2;
                                    return $"gs://{bucketName}/{objectName}";
                                }),
                            },
                        },
                    },
                    new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigCustomInfoTypeArgs
                    {
                        InfoType = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigCustomInfoTypeInfoTypeArgs
                        {
                            Name = "MY_STORED_TYPE",
                        },
                        Likelihood = "POSSIBLE",
                        StoredType = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigCustomInfoTypeStoredTypeArgs
                        {
                            Name = basic.Id,
                        },
                    },
                },
                Limits = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigLimitsArgs
                {
                    MaxFindingsPerItem = 10,
                    MaxFindingsPerRequest = 50,
                    MaxFindingsPerInfoTypes = new[]
                    {
                        new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigLimitsMaxFindingsPerInfoTypeArgs
                        {
                            MaxFindings = 10,
                            InfoType = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigLimitsMaxFindingsPerInfoTypeInfoTypeArgs
                            {
                                Name = "PERSON_NAME",
                                Version = "latest",
                                SensitivityScore = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigLimitsMaxFindingsPerInfoTypeInfoTypeSensitivityScoreArgs
                                {
                                    Score = "SENSITIVITY_HIGH",
                                },
                            },
                        },
                    },
                },
                RuleSets = new[]
                {
                    new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetArgs
                    {
                        InfoTypes = new[]
                        {
                            new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetInfoTypeArgs
                            {
                                Name = "PHONE_NUMBER",
                                SensitivityScore = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetInfoTypeSensitivityScoreArgs
                                {
                                    Score = "SENSITIVITY_LOW",
                                },
                            },
                        },
                        Rules = new[]
                        {
                            new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleArgs
                            {
                                ExclusionRule = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleArgs
                                {
                                    MatchingType = "MATCHING_TYPE_FULL_MATCH",
                                    ExcludeInfoTypes = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeInfoTypesArgs
                                    {
                                        InfoTypes = new[]
                                        {
                                            new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeInfoTypesInfoTypeArgs
                                            {
                                                Name = "PERSON_NAME",
                                                Version = "latest",
                                                SensitivityScore = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeInfoTypesInfoTypeSensitivityScoreArgs
                                                {
                                                    Score = "SENSITIVITY_LOW",
                                                },
                                            },
                                        },
                                    },
                                },
                            },
                        },
                    },
                    new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetArgs
                    {
                        InfoTypes = new[]
                        {
                            new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetInfoTypeArgs
                            {
                                Name = "EMAIL_ADDRESS",
                            },
                        },
                        Rules = new[]
                        {
                            new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleArgs
                            {
                                ExclusionRule = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleArgs
                                {
                                    MatchingType = "MATCHING_TYPE_PARTIAL_MATCH",
                                    Regex = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleRegexArgs
                                    {
                                        Pattern = ".*@example\\.com",
                                        GroupIndexes = new[]
                                        {
                                            0,
                                        },
                                    },
                                },
                            },
                            new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleArgs
                            {
                                AdjustmentRule = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleArgs
                                {
                                    AdjustByMatchingInfoTypes = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByMatchingInfoTypesArgs
                                    {
                                        InfoTypes = new[]
                                        {
                                            new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByMatchingInfoTypesInfoTypeArgs
                                            {
                                                Name = "PERSON_NAME",
                                                Version = "latest",
                                                SensitivityScore = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByMatchingInfoTypesInfoTypeSensitivityScoreArgs
                                                {
                                                    Score = "SENSITIVITY_LOW",
                                                },
                                            },
                                        },
                                        MinLikelihood = "LIKELY",
                                        MatchingType = "MATCHING_TYPE_PARTIAL_MATCH",
                                    },
                                    LikelihoodAdjustment = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleLikelihoodAdjustmentArgs
                                    {
                                        FixedLikelihood = "VERY_LIKELY",
                                    },
                                },
                            },
                        },
                    },
                    new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetArgs
                    {
                        InfoTypes = new[]
                        {
                            new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetInfoTypeArgs
                            {
                                Name = "OBJECT_TYPE/PERSON",
                            },
                        },
                        Rules = new[]
                        {
                            new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleArgs
                            {
                                AdjustmentRule = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleArgs
                                {
                                    AdjustByImageFindings = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByImageFindingsArgs
                                    {
                                        InfoTypes = new[]
                                        {
                                            new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByImageFindingsInfoTypeArgs
                                            {
                                                Name = "OBJECT_TYPE/PERSON/PASSPORT",
                                                Version = "latest",
                                                SensitivityScore = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByImageFindingsInfoTypeSensitivityScoreArgs
                                                {
                                                    Score = "SENSITIVITY_LOW",
                                                },
                                            },
                                        },
                                        MinLikelihood = "LIKELY",
                                        ImageContainmentType = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByImageFindingsImageContainmentTypeArgs
                                        {
                                            Encloses = null,
                                        },
                                    },
                                    LikelihoodAdjustment = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleLikelihoodAdjustmentArgs
                                    {
                                        FixedLikelihood = "VERY_LIKELY",
                                    },
                                },
                            },
                            new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleArgs
                            {
                                ExclusionRule = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleArgs
                                {
                                    MatchingType = "MATCHING_TYPE_RULE_SPECIFIC",
                                    ExcludeByImageFindings = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByImageFindingsArgs
                                    {
                                        InfoTypes = new[]
                                        {
                                            new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByImageFindingsInfoTypeArgs
                                            {
                                                Name = "OBJECT_TYPE/PERSON/PASSPORT",
                                                Version = "latest",
                                                SensitivityScore = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByImageFindingsInfoTypeSensitivityScoreArgs
                                                {
                                                    Score = "SENSITIVITY_LOW",
                                                },
                                            },
                                        },
                                        ImageContainmentType = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByImageFindingsImageContainmentTypeArgs
                                        {
                                            FullyInside = null,
                                        },
                                    },
                                },
                            },
                        },
                    },
                    new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetArgs
                    {
                        InfoTypes = new[]
                        {
                            new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetInfoTypeArgs
                            {
                                Name = "PERSON_NAME",
                                Version = "latest",
                            },
                        },
                        Rules = new[]
                        {
                            new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleArgs
                            {
                                ExclusionRule = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleArgs
                                {
                                    MatchingType = "MATCHING_TYPE_PARTIAL_MATCH",
                                    Dictionary = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleDictionaryArgs
                                    {
                                        WordList = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleDictionaryWordListArgs
                                        {
                                            Words = new[]
                                            {
                                                "test",
                                            },
                                        },
                                    },
                                },
                            },
                            new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleArgs
                            {
                                ExclusionRule = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleArgs
                                {
                                    MatchingType = "MATCHING_TYPE_PARTIAL_MATCH",
                                    Dictionary = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleDictionaryArgs
                                    {
                                        CloudStoragePath = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleDictionaryCloudStoragePathArgs
                                        {
                                            Path = Output.Tuple(bucket.Name, @object.Name).Apply(values =>
                                            {
                                                var bucketName = values.Item1;
                                                var objectName = values.Item2;
                                                return $"gs://{bucketName}/{objectName}";
                                            }),
                                        },
                                    },
                                },
                            },
                        },
                    },
                    new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetArgs
                    {
                        InfoTypes = new[]
                        {
                            new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetInfoTypeArgs
                            {
                                Name = "FIRST_NAME",
                            },
                        },
                        Rules = new[]
                        {
                            new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleArgs
                            {
                                ExclusionRule = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleArgs
                                {
                                    MatchingType = "MATCHING_TYPE_FULL_MATCH",
                                    ExcludeByHotword = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByHotwordArgs
                                    {
                                        HotwordRegex = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByHotwordHotwordRegexArgs
                                        {
                                            Pattern = "zone.*",
                                            GroupIndexes = new[]
                                            {
                                                0,
                                            },
                                        },
                                        Proximity = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByHotwordProximityArgs
                                        {
                                            WindowBefore = 1,
                                            WindowAfter = 2,
                                        },
                                    },
                                },
                            },
                        },
                    },
                    new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetArgs
                    {
                        InfoTypes = new[]
                        {
                            new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetInfoTypeArgs
                            {
                                Name = "LAST_NAME",
                            },
                        },
                        Rules = new[]
                        {
                            new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleArgs
                            {
                                HotwordRule = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleHotwordRuleArgs
                                {
                                    HotwordRegex = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleHotwordRuleHotwordRegexArgs
                                    {
                                        Pattern = "patient.*",
                                        GroupIndexes = new[]
                                        {
                                            0,
                                        },
                                    },
                                    Proximity = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleHotwordRuleProximityArgs
                                    {
                                        WindowBefore = 1,
                                        WindowAfter = 2,
                                    },
                                    LikelihoodAdjustment = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleHotwordRuleLikelihoodAdjustmentArgs
                                    {
                                        FixedLikelihood = "VERY_LIKELY",
                                    },
                                },
                            },
                        },
                    },
                },
            },
            Rules = new[]
            {
                new Gcp.DataLoss.Inputs.PreventionContentPolicyRuleArgs
                {
                    Conditions = new[]
                    {
                        new Gcp.DataLoss.Inputs.PreventionContentPolicyRuleConditionArgs
                        {
                            InfoTypeCondition = new Gcp.DataLoss.Inputs.PreventionContentPolicyRuleConditionInfoTypeConditionArgs
                            {
                                AnyInfoType = null,
                                MinCount = 2,
                            },
                        },
                    },
                    Action = new Gcp.DataLoss.Inputs.PreventionContentPolicyRuleActionArgs
                    {
                        ReturnVerdict = "BLOCK",
                    },
                },
            },
            UnsupportedFileType = new Gcp.DataLoss.Inputs.PreventionContentPolicyUnsupportedFileTypeArgs
            {
                ReturnVerdict = "ALLOW",
            },
            InputTooLarge = new Gcp.DataLoss.Inputs.PreventionContentPolicyInputTooLargeArgs
            {
                ReturnVerdict = "ALLOW",
            },
            FailedToScanSupportedFileType = new Gcp.DataLoss.Inputs.PreventionContentPolicyFailedToScanSupportedFileTypeArgs
            {
                ReturnVerdict = "BLOCK",
            },
            DefaultAction = new Gcp.DataLoss.Inputs.PreventionContentPolicyDefaultActionArgs
            {
                ReturnVerdict = "ALLOW",
            },
            LoggingConfigs = new[]
            {
                new Gcp.DataLoss.Inputs.PreventionContentPolicyLoggingConfigArgs
                {
                    LogToBigQuery = new Gcp.DataLoss.Inputs.PreventionContentPolicyLoggingConfigLogToBigQueryArgs
                    {
                        ProjectId = defaultTable.Project,
                        DatasetId = @default.DatasetId,
                        TableId = defaultTable.TableId,
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.dataloss.PreventionStoredInfoType;
    import com.pulumi.gcp.dataloss.PreventionStoredInfoTypeArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionStoredInfoTypeRegexArgs;
    import com.pulumi.gcp.storage.Bucket;
    import com.pulumi.gcp.storage.BucketArgs;
    import com.pulumi.gcp.storage.BucketObject;
    import com.pulumi.gcp.storage.BucketObjectArgs;
    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.dataloss.PreventionContentPolicy;
    import com.pulumi.gcp.dataloss.PreventionContentPolicyArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyInspectConfigArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyInspectConfigInfoTypeArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyInspectConfigInfoTypeSensitivityScoreArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyInspectConfigMinLikelihoodPerInfoTypeArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyInspectConfigMinLikelihoodPerInfoTypeInfoTypeArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyInspectConfigMinLikelihoodPerInfoTypeInfoTypeSensitivityScoreArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyInspectConfigCustomInfoTypeArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyInspectConfigCustomInfoTypeInfoTypeArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyInspectConfigCustomInfoTypeInfoTypeSensitivityScoreArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyInspectConfigCustomInfoTypeSensitivityScoreArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyInspectConfigCustomInfoTypeRegexArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRuleArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRuleHotwordRuleArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRuleHotwordRuleHotwordRegexArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRuleHotwordRuleProximityArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRuleHotwordRuleLikelihoodAdjustmentArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyInspectConfigCustomInfoTypeFileLabelInfoTypeArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyInspectConfigCustomInfoTypeFileLabelInfoTypeGoogleDriveLabelArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyInspectConfigCustomInfoTypeFileLabelInfoTypeGoogleDriveLabelLabelFieldsToMatchArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyInspectConfigCustomInfoTypeFileLabelInfoTypeSensitivityLabelArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyInspectConfigCustomInfoTypeMetadataKeyValueExpressionArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyInspectConfigCustomInfoTypeDictionaryArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyInspectConfigCustomInfoTypeDictionaryWordListArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyInspectConfigCustomInfoTypeDictionaryCloudStoragePathArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyInspectConfigCustomInfoTypeStoredTypeArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyInspectConfigLimitsArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyInspectConfigLimitsMaxFindingsPerInfoTypeArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyInspectConfigLimitsMaxFindingsPerInfoTypeInfoTypeArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyInspectConfigLimitsMaxFindingsPerInfoTypeInfoTypeSensitivityScoreArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyInspectConfigRuleSetArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyInspectConfigRuleSetInfoTypeArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyInspectConfigRuleSetInfoTypeSensitivityScoreArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyInspectConfigRuleSetRuleArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeInfoTypesArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeInfoTypesInfoTypeArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeInfoTypesInfoTypeSensitivityScoreArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleRegexArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByMatchingInfoTypesArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByMatchingInfoTypesInfoTypeArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByMatchingInfoTypesInfoTypeSensitivityScoreArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleLikelihoodAdjustmentArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByImageFindingsArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByImageFindingsInfoTypeArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByImageFindingsInfoTypeSensitivityScoreArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByImageFindingsImageContainmentTypeArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByImageFindingsImageContainmentTypeEnclosesArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByImageFindingsArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByImageFindingsInfoTypeArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByImageFindingsInfoTypeSensitivityScoreArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByImageFindingsImageContainmentTypeArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByImageFindingsImageContainmentTypeFullyInsideArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleDictionaryArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleDictionaryWordListArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleDictionaryCloudStoragePathArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByHotwordArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByHotwordHotwordRegexArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByHotwordProximityArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyInspectConfigRuleSetRuleHotwordRuleArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyInspectConfigRuleSetRuleHotwordRuleHotwordRegexArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyInspectConfigRuleSetRuleHotwordRuleProximityArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyInspectConfigRuleSetRuleHotwordRuleLikelihoodAdjustmentArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyRuleArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyRuleConditionArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyRuleConditionInfoTypeConditionArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyRuleConditionInfoTypeConditionAnyInfoTypeArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyRuleActionArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyUnsupportedFileTypeArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyInputTooLargeArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyFailedToScanSupportedFileTypeArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyDefaultActionArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyLoggingConfigArgs;
    import com.pulumi.gcp.dataloss.inputs.PreventionContentPolicyLoggingConfigLogToBigQueryArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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 PreventionStoredInfoType("basic", PreventionStoredInfoTypeArgs.builder()
                .parent("projects/my-project-name/locations/us-west1")
                .description("Description for stored info type")
                .displayName("tf-test-stored-info-type")
                .regex(PreventionStoredInfoTypeRegexArgs.builder()
                    .pattern(".*")
                    .groupIndexes(0)
                    .build())
                .build());
    
            var bucket = new Bucket("bucket", BucketArgs.builder()
                .name("dlp_bkt")
                .location("US")
                .uniformBucketLevelAccess(true)
                .forceDestroy(true)
                .build());
    
            var object = new BucketObject("object", BucketObjectArgs.builder()
                .name("tf-test-wordlist")
                .bucket(bucket.name())
                .content("""
    word1
    word2
                """)
                .build());
    
            var default_ = new Dataset("default", DatasetArgs.builder()
                .datasetId("dlp_ds")
                .friendlyName("tf-test-dataset")
                .description("Description for the dataset created by terraform")
                .location("US")
                .defaultTableExpirationMs(3600000)
                .deleteContentsOnDestroy(true)
                .build());
    
            var defaultTable = new Table("defaultTable", TableArgs.builder()
                .datasetId(default_.datasetId())
                .tableId("dlp_tbl")
                .deletionProtection(false)
                .schema("""
    [
      {
        \"name\": \"quantity\",
        \"type\": \"NUMERIC\",
        \"mode\": \"NULLABLE\",
        \"description\": \"The quantity\"
      }
    ]
                """)
                .build());
    
            var full = new PreventionContentPolicy("full", PreventionContentPolicyArgs.builder()
                .parent("projects/my-project-name/locations/us-west1")
                .displayName("tf-test-dlp-content-policy-full")
                .inspectConfig(PreventionContentPolicyInspectConfigArgs.builder()
                    .contentOptions(                
                        "CONTENT_TEXT",
                        "CONTENT_IMAGE")
                    .includeQuote(true)
                    .excludeInfoTypes(false)
                    .minLikelihood("LIKELY")
                    .infoTypes(                
                        PreventionContentPolicyInspectConfigInfoTypeArgs.builder()
                            .name("PHONE_NUMBER")
                            .sensitivityScore(PreventionContentPolicyInspectConfigInfoTypeSensitivityScoreArgs.builder()
                                .score("SENSITIVITY_LOW")
                                .build())
                            .build(),
                        PreventionContentPolicyInspectConfigInfoTypeArgs.builder()
                            .name("EMAIL_ADDRESS")
                            .build(),
                        PreventionContentPolicyInspectConfigInfoTypeArgs.builder()
                            .name("PERSON_NAME")
                            .version("latest")
                            .build(),
                        PreventionContentPolicyInspectConfigInfoTypeArgs.builder()
                            .name("FIRST_NAME")
                            .build(),
                        PreventionContentPolicyInspectConfigInfoTypeArgs.builder()
                            .name("LAST_NAME")
                            .build(),
                        PreventionContentPolicyInspectConfigInfoTypeArgs.builder()
                            .name("OBJECT_TYPE/PERSON")
                            .build(),
                        PreventionContentPolicyInspectConfigInfoTypeArgs.builder()
                            .name("OBJECT_TYPE/PERSON/PASSPORT")
                            .build())
                    .minLikelihoodPerInfoTypes(PreventionContentPolicyInspectConfigMinLikelihoodPerInfoTypeArgs.builder()
                        .infoType(PreventionContentPolicyInspectConfigMinLikelihoodPerInfoTypeInfoTypeArgs.builder()
                            .name("PERSON_NAME")
                            .version("latest")
                            .sensitivityScore(PreventionContentPolicyInspectConfigMinLikelihoodPerInfoTypeInfoTypeSensitivityScoreArgs.builder()
                                .score("SENSITIVITY_LOW")
                                .build())
                            .build())
                        .minLikelihood("LIKELY")
                        .build())
                    .customInfoTypes(                
                        PreventionContentPolicyInspectConfigCustomInfoTypeArgs.builder()
                            .infoType(PreventionContentPolicyInspectConfigCustomInfoTypeInfoTypeArgs.builder()
                                .name("MY_CUSTOM_TYPE")
                                .version("0.1")
                                .sensitivityScore(PreventionContentPolicyInspectConfigCustomInfoTypeInfoTypeSensitivityScoreArgs.builder()
                                    .score("SENSITIVITY_LOW")
                                    .build())
                                .build())
                            .sensitivityScore(PreventionContentPolicyInspectConfigCustomInfoTypeSensitivityScoreArgs.builder()
                                .score("SENSITIVITY_MODERATE")
                                .build())
                            .likelihood("UNLIKELY")
                            .exclusionType("EXCLUSION_TYPE_EXCLUDE")
                            .regex(PreventionContentPolicyInspectConfigCustomInfoTypeRegexArgs.builder()
                                .pattern("test.*")
                                .groupIndexes(0)
                                .build())
                            .detectionRules(PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRuleArgs.builder()
                                .hotwordRule(PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRuleHotwordRuleArgs.builder()
                                    .hotwordRegex(PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRuleHotwordRuleHotwordRegexArgs.builder()
                                        .pattern("password")
                                        .groupIndexes(0)
                                        .build())
                                    .proximity(PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRuleHotwordRuleProximityArgs.builder()
                                        .windowBefore(10)
                                        .windowAfter(10)
                                        .build())
                                    .likelihoodAdjustment(PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRuleHotwordRuleLikelihoodAdjustmentArgs.builder()
                                        .fixedLikelihood("VERY_LIKELY")
                                        .build())
                                    .build())
                                .build())
                            .build(),
                        PreventionContentPolicyInspectConfigCustomInfoTypeArgs.builder()
                            .infoType(PreventionContentPolicyInspectConfigCustomInfoTypeInfoTypeArgs.builder()
                                .name("MY_GDRIVE_LABEL_TYPE")
                                .build())
                            .likelihood("POSSIBLE")
                            .fileLabelInfoType(PreventionContentPolicyInspectConfigCustomInfoTypeFileLabelInfoTypeArgs.builder()
                                .googleDriveLabel(PreventionContentPolicyInspectConfigCustomInfoTypeFileLabelInfoTypeGoogleDriveLabelArgs.builder()
                                    .labelId("testLabelId")
                                    .labelFieldsToMatches(PreventionContentPolicyInspectConfigCustomInfoTypeFileLabelInfoTypeGoogleDriveLabelLabelFieldsToMatchArgs.builder()
                                        .id("field1")
                                        .value("val1")
                                        .build())
                                    .build())
                                .build())
                            .build(),
                        PreventionContentPolicyInspectConfigCustomInfoTypeArgs.builder()
                            .infoType(PreventionContentPolicyInspectConfigCustomInfoTypeInfoTypeArgs.builder()
                                .name("MY_SENSITIVITY_LABEL_TYPE")
                                .build())
                            .likelihood("POSSIBLE")
                            .fileLabelInfoType(PreventionContentPolicyInspectConfigCustomInfoTypeFileLabelInfoTypeArgs.builder()
                                .sensitivityLabel(PreventionContentPolicyInspectConfigCustomInfoTypeFileLabelInfoTypeSensitivityLabelArgs.builder()
                                    .guid("11111111-2222-3333-4444-555555555555")
                                    .build())
                                .build())
                            .build(),
                        PreventionContentPolicyInspectConfigCustomInfoTypeArgs.builder()
                            .infoType(PreventionContentPolicyInspectConfigCustomInfoTypeInfoTypeArgs.builder()
                                .name("MY_METADATA_KV_TYPE")
                                .build())
                            .likelihood("POSSIBLE")
                            .metadataKeyValueExpression(PreventionContentPolicyInspectConfigCustomInfoTypeMetadataKeyValueExpressionArgs.builder()
                                .keyRegex("key.*")
                                .valueRegex("val.*")
                                .build())
                            .build(),
                        PreventionContentPolicyInspectConfigCustomInfoTypeArgs.builder()
                            .infoType(PreventionContentPolicyInspectConfigCustomInfoTypeInfoTypeArgs.builder()
                                .name("MY_WORD_LIST_TYPE")
                                .build())
                            .likelihood("POSSIBLE")
                            .dictionary(PreventionContentPolicyInspectConfigCustomInfoTypeDictionaryArgs.builder()
                                .wordList(PreventionContentPolicyInspectConfigCustomInfoTypeDictionaryWordListArgs.builder()
                                    .words(                                
                                        "badword1",
                                        "badword2")
                                    .build())
                                .build())
                            .build(),
                        PreventionContentPolicyInspectConfigCustomInfoTypeArgs.builder()
                            .infoType(PreventionContentPolicyInspectConfigCustomInfoTypeInfoTypeArgs.builder()
                                .name("MY_STORAGE_TYPE")
                                .build())
                            .likelihood("POSSIBLE")
                            .dictionary(PreventionContentPolicyInspectConfigCustomInfoTypeDictionaryArgs.builder()
                                .cloudStoragePath(PreventionContentPolicyInspectConfigCustomInfoTypeDictionaryCloudStoragePathArgs.builder()
                                    .path(Output.tuple(bucket.name(), object.name()).applyValue(values -> {
                                        var bucketName = values.t1;
                                        var objectName = values.t2;
                                        return String.format("gs://%s/%s", bucketName,objectName);
                                    }))
                                    .build())
                                .build())
                            .build(),
                        PreventionContentPolicyInspectConfigCustomInfoTypeArgs.builder()
                            .infoType(PreventionContentPolicyInspectConfigCustomInfoTypeInfoTypeArgs.builder()
                                .name("MY_STORED_TYPE")
                                .build())
                            .likelihood("POSSIBLE")
                            .storedType(PreventionContentPolicyInspectConfigCustomInfoTypeStoredTypeArgs.builder()
                                .name(basic.id())
                                .build())
                            .build())
                    .limits(PreventionContentPolicyInspectConfigLimitsArgs.builder()
                        .maxFindingsPerItem(10)
                        .maxFindingsPerRequest(50)
                        .maxFindingsPerInfoTypes(PreventionContentPolicyInspectConfigLimitsMaxFindingsPerInfoTypeArgs.builder()
                            .maxFindings(10)
                            .infoType(PreventionContentPolicyInspectConfigLimitsMaxFindingsPerInfoTypeInfoTypeArgs.builder()
                                .name("PERSON_NAME")
                                .version("latest")
                                .sensitivityScore(PreventionContentPolicyInspectConfigLimitsMaxFindingsPerInfoTypeInfoTypeSensitivityScoreArgs.builder()
                                    .score("SENSITIVITY_HIGH")
                                    .build())
                                .build())
                            .build())
                        .build())
                    .ruleSets(                
                        PreventionContentPolicyInspectConfigRuleSetArgs.builder()
                            .infoTypes(PreventionContentPolicyInspectConfigRuleSetInfoTypeArgs.builder()
                                .name("PHONE_NUMBER")
                                .sensitivityScore(PreventionContentPolicyInspectConfigRuleSetInfoTypeSensitivityScoreArgs.builder()
                                    .score("SENSITIVITY_LOW")
                                    .build())
                                .build())
                            .rules(PreventionContentPolicyInspectConfigRuleSetRuleArgs.builder()
                                .exclusionRule(PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleArgs.builder()
                                    .matchingType("MATCHING_TYPE_FULL_MATCH")
                                    .excludeInfoTypes(PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeInfoTypesArgs.builder()
                                        .infoTypes(PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeInfoTypesInfoTypeArgs.builder()
                                            .name("PERSON_NAME")
                                            .version("latest")
                                            .sensitivityScore(PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeInfoTypesInfoTypeSensitivityScoreArgs.builder()
                                                .score("SENSITIVITY_LOW")
                                                .build())
                                            .build())
                                        .build())
                                    .build())
                                .build())
                            .build(),
                        PreventionContentPolicyInspectConfigRuleSetArgs.builder()
                            .infoTypes(PreventionContentPolicyInspectConfigRuleSetInfoTypeArgs.builder()
                                .name("EMAIL_ADDRESS")
                                .build())
                            .rules(                        
                                PreventionContentPolicyInspectConfigRuleSetRuleArgs.builder()
                                    .exclusionRule(PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleArgs.builder()
                                        .matchingType("MATCHING_TYPE_PARTIAL_MATCH")
                                        .regex(PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleRegexArgs.builder()
                                            .pattern(".*@example\\.com")
                                            .groupIndexes(0)
                                            .build())
                                        .build())
                                    .build(),
                                PreventionContentPolicyInspectConfigRuleSetRuleArgs.builder()
                                    .adjustmentRule(PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleArgs.builder()
                                        .adjustByMatchingInfoTypes(PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByMatchingInfoTypesArgs.builder()
                                            .infoTypes(PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByMatchingInfoTypesInfoTypeArgs.builder()
                                                .name("PERSON_NAME")
                                                .version("latest")
                                                .sensitivityScore(PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByMatchingInfoTypesInfoTypeSensitivityScoreArgs.builder()
                                                    .score("SENSITIVITY_LOW")
                                                    .build())
                                                .build())
                                            .minLikelihood("LIKELY")
                                            .matchingType("MATCHING_TYPE_PARTIAL_MATCH")
                                            .build())
                                        .likelihoodAdjustment(PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleLikelihoodAdjustmentArgs.builder()
                                            .fixedLikelihood("VERY_LIKELY")
                                            .build())
                                        .build())
                                    .build())
                            .build(),
                        PreventionContentPolicyInspectConfigRuleSetArgs.builder()
                            .infoTypes(PreventionContentPolicyInspectConfigRuleSetInfoTypeArgs.builder()
                                .name("OBJECT_TYPE/PERSON")
                                .build())
                            .rules(                        
                                PreventionContentPolicyInspectConfigRuleSetRuleArgs.builder()
                                    .adjustmentRule(PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleArgs.builder()
                                        .adjustByImageFindings(PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByImageFindingsArgs.builder()
                                            .infoTypes(PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByImageFindingsInfoTypeArgs.builder()
                                                .name("OBJECT_TYPE/PERSON/PASSPORT")
                                                .version("latest")
                                                .sensitivityScore(PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByImageFindingsInfoTypeSensitivityScoreArgs.builder()
                                                    .score("SENSITIVITY_LOW")
                                                    .build())
                                                .build())
                                            .minLikelihood("LIKELY")
                                            .imageContainmentType(PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByImageFindingsImageContainmentTypeArgs.builder()
                                                .encloses(PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByImageFindingsImageContainmentTypeEnclosesArgs.builder()
                                                    .build())
                                                .build())
                                            .build())
                                        .likelihoodAdjustment(PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleLikelihoodAdjustmentArgs.builder()
                                            .fixedLikelihood("VERY_LIKELY")
                                            .build())
                                        .build())
                                    .build(),
                                PreventionContentPolicyInspectConfigRuleSetRuleArgs.builder()
                                    .exclusionRule(PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleArgs.builder()
                                        .matchingType("MATCHING_TYPE_RULE_SPECIFIC")
                                        .excludeByImageFindings(PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByImageFindingsArgs.builder()
                                            .infoTypes(PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByImageFindingsInfoTypeArgs.builder()
                                                .name("OBJECT_TYPE/PERSON/PASSPORT")
                                                .version("latest")
                                                .sensitivityScore(PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByImageFindingsInfoTypeSensitivityScoreArgs.builder()
                                                    .score("SENSITIVITY_LOW")
                                                    .build())
                                                .build())
                                            .imageContainmentType(PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByImageFindingsImageContainmentTypeArgs.builder()
                                                .fullyInside(PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByImageFindingsImageContainmentTypeFullyInsideArgs.builder()
                                                    .build())
                                                .build())
                                            .build())
                                        .build())
                                    .build())
                            .build(),
                        PreventionContentPolicyInspectConfigRuleSetArgs.builder()
                            .infoTypes(PreventionContentPolicyInspectConfigRuleSetInfoTypeArgs.builder()
                                .name("PERSON_NAME")
                                .version("latest")
                                .build())
                            .rules(                        
                                PreventionContentPolicyInspectConfigRuleSetRuleArgs.builder()
                                    .exclusionRule(PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleArgs.builder()
                                        .matchingType("MATCHING_TYPE_PARTIAL_MATCH")
                                        .dictionary(PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleDictionaryArgs.builder()
                                            .wordList(PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleDictionaryWordListArgs.builder()
                                                .words("test")
                                                .build())
                                            .build())
                                        .build())
                                    .build(),
                                PreventionContentPolicyInspectConfigRuleSetRuleArgs.builder()
                                    .exclusionRule(PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleArgs.builder()
                                        .matchingType("MATCHING_TYPE_PARTIAL_MATCH")
                                        .dictionary(PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleDictionaryArgs.builder()
                                            .cloudStoragePath(PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleDictionaryCloudStoragePathArgs.builder()
                                                .path(Output.tuple(bucket.name(), object.name()).applyValue(values -> {
                                                    var bucketName = values.t1;
                                                    var objectName = values.t2;
                                                    return String.format("gs://%s/%s", bucketName,objectName);
                                                }))
                                                .build())
                                            .build())
                                        .build())
                                    .build())
                            .build(),
                        PreventionContentPolicyInspectConfigRuleSetArgs.builder()
                            .infoTypes(PreventionContentPolicyInspectConfigRuleSetInfoTypeArgs.builder()
                                .name("FIRST_NAME")
                                .build())
                            .rules(PreventionContentPolicyInspectConfigRuleSetRuleArgs.builder()
                                .exclusionRule(PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleArgs.builder()
                                    .matchingType("MATCHING_TYPE_FULL_MATCH")
                                    .excludeByHotword(PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByHotwordArgs.builder()
                                        .hotwordRegex(PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByHotwordHotwordRegexArgs.builder()
                                            .pattern("zone.*")
                                            .groupIndexes(0)
                                            .build())
                                        .proximity(PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByHotwordProximityArgs.builder()
                                            .windowBefore(1)
                                            .windowAfter(2)
                                            .build())
                                        .build())
                                    .build())
                                .build())
                            .build(),
                        PreventionContentPolicyInspectConfigRuleSetArgs.builder()
                            .infoTypes(PreventionContentPolicyInspectConfigRuleSetInfoTypeArgs.builder()
                                .name("LAST_NAME")
                                .build())
                            .rules(PreventionContentPolicyInspectConfigRuleSetRuleArgs.builder()
                                .hotwordRule(PreventionContentPolicyInspectConfigRuleSetRuleHotwordRuleArgs.builder()
                                    .hotwordRegex(PreventionContentPolicyInspectConfigRuleSetRuleHotwordRuleHotwordRegexArgs.builder()
                                        .pattern("patient.*")
                                        .groupIndexes(0)
                                        .build())
                                    .proximity(PreventionContentPolicyInspectConfigRuleSetRuleHotwordRuleProximityArgs.builder()
                                        .windowBefore(1)
                                        .windowAfter(2)
                                        .build())
                                    .likelihoodAdjustment(PreventionContentPolicyInspectConfigRuleSetRuleHotwordRuleLikelihoodAdjustmentArgs.builder()
                                        .fixedLikelihood("VERY_LIKELY")
                                        .build())
                                    .build())
                                .build())
                            .build())
                    .build())
                .rules(PreventionContentPolicyRuleArgs.builder()
                    .conditions(PreventionContentPolicyRuleConditionArgs.builder()
                        .infoTypeCondition(PreventionContentPolicyRuleConditionInfoTypeConditionArgs.builder()
                            .anyInfoType(PreventionContentPolicyRuleConditionInfoTypeConditionAnyInfoTypeArgs.builder()
                                .build())
                            .minCount(2)
                            .build())
                        .build())
                    .action(PreventionContentPolicyRuleActionArgs.builder()
                        .returnVerdict("BLOCK")
                        .build())
                    .build())
                .unsupportedFileType(PreventionContentPolicyUnsupportedFileTypeArgs.builder()
                    .returnVerdict("ALLOW")
                    .build())
                .inputTooLarge(PreventionContentPolicyInputTooLargeArgs.builder()
                    .returnVerdict("ALLOW")
                    .build())
                .failedToScanSupportedFileType(PreventionContentPolicyFailedToScanSupportedFileTypeArgs.builder()
                    .returnVerdict("BLOCK")
                    .build())
                .defaultAction(PreventionContentPolicyDefaultActionArgs.builder()
                    .returnVerdict("ALLOW")
                    .build())
                .loggingConfigs(PreventionContentPolicyLoggingConfigArgs.builder()
                    .logToBigQuery(PreventionContentPolicyLoggingConfigLogToBigQueryArgs.builder()
                        .projectId(defaultTable.project())
                        .datasetId(default_.datasetId())
                        .tableId(defaultTable.tableId())
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      full:
        type: gcp:dataloss:PreventionContentPolicy
        properties:
          parent: projects/my-project-name/locations/us-west1
          displayName: tf-test-dlp-content-policy-full
          inspectConfig:
            contentOptions:
              - CONTENT_TEXT
              - CONTENT_IMAGE
            includeQuote: true
            excludeInfoTypes: false
            minLikelihood: LIKELY
            infoTypes:
              - name: PHONE_NUMBER
                sensitivityScore:
                  score: SENSITIVITY_LOW
              - name: EMAIL_ADDRESS
              - name: PERSON_NAME
                version: latest
              - name: FIRST_NAME
              - name: LAST_NAME
              - name: OBJECT_TYPE/PERSON
              - name: OBJECT_TYPE/PERSON/PASSPORT
            minLikelihoodPerInfoTypes:
              - infoType:
                  name: PERSON_NAME
                  version: latest
                  sensitivityScore:
                    score: SENSITIVITY_LOW
                minLikelihood: LIKELY
            customInfoTypes:
              - infoType:
                  name: MY_CUSTOM_TYPE
                  version: '0.1'
                  sensitivityScore:
                    score: SENSITIVITY_LOW
                sensitivityScore:
                  score: SENSITIVITY_MODERATE
                likelihood: UNLIKELY
                exclusionType: EXCLUSION_TYPE_EXCLUDE
                regex:
                  pattern: test.*
                  groupIndexes:
                    - 0
                detectionRules:
                  - hotwordRule:
                      hotwordRegex:
                        pattern: password
                        groupIndexes:
                          - 0
                      proximity:
                        windowBefore: 10
                        windowAfter: 10
                      likelihoodAdjustment:
                        fixedLikelihood: VERY_LIKELY
              - infoType:
                  name: MY_GDRIVE_LABEL_TYPE
                likelihood: POSSIBLE
                fileLabelInfoType:
                  googleDriveLabel:
                    labelId: testLabelId
                    labelFieldsToMatches:
                      - id: field1
                        value: val1
              - infoType:
                  name: MY_SENSITIVITY_LABEL_TYPE
                likelihood: POSSIBLE
                fileLabelInfoType:
                  sensitivityLabel:
                    guid: 11111111-2222-3333-4444-555555555555
              - infoType:
                  name: MY_METADATA_KV_TYPE
                likelihood: POSSIBLE
                metadataKeyValueExpression:
                  keyRegex: key.*
                  valueRegex: val.*
              - infoType:
                  name: MY_WORD_LIST_TYPE
                likelihood: POSSIBLE
                dictionary:
                  wordList:
                    words:
                      - badword1
                      - badword2
              - infoType:
                  name: MY_STORAGE_TYPE
                likelihood: POSSIBLE
                dictionary:
                  cloudStoragePath:
                    path: gs://${bucket.name}/${object.name}
              - infoType:
                  name: MY_STORED_TYPE
                likelihood: POSSIBLE
                storedType:
                  name: ${basic.id}
            limits:
              maxFindingsPerItem: 10
              maxFindingsPerRequest: 50
              maxFindingsPerInfoTypes:
                - maxFindings: 10
                  infoType:
                    name: PERSON_NAME
                    version: latest
                    sensitivityScore:
                      score: SENSITIVITY_HIGH
            ruleSets:
              - infoTypes:
                  - name: PHONE_NUMBER
                    sensitivityScore:
                      score: SENSITIVITY_LOW
                rules:
                  - exclusionRule:
                      matchingType: MATCHING_TYPE_FULL_MATCH
                      excludeInfoTypes:
                        infoTypes:
                          - name: PERSON_NAME
                            version: latest
                            sensitivityScore:
                              score: SENSITIVITY_LOW
              - infoTypes:
                  - name: EMAIL_ADDRESS
                rules:
                  - exclusionRule:
                      matchingType: MATCHING_TYPE_PARTIAL_MATCH
                      regex:
                        pattern: .*@example\.com
                        groupIndexes:
                          - 0
                  - adjustmentRule:
                      adjustByMatchingInfoTypes:
                        infoTypes:
                          - name: PERSON_NAME
                            version: latest
                            sensitivityScore:
                              score: SENSITIVITY_LOW
                        minLikelihood: LIKELY
                        matchingType: MATCHING_TYPE_PARTIAL_MATCH
                      likelihoodAdjustment:
                        fixedLikelihood: VERY_LIKELY
              - infoTypes:
                  - name: OBJECT_TYPE/PERSON
                rules:
                  - adjustmentRule:
                      adjustByImageFindings:
                        infoTypes:
                          - name: OBJECT_TYPE/PERSON/PASSPORT
                            version: latest
                            sensitivityScore:
                              score: SENSITIVITY_LOW
                        minLikelihood: LIKELY
                        imageContainmentType:
                          encloses: {}
                      likelihoodAdjustment:
                        fixedLikelihood: VERY_LIKELY
                  - exclusionRule:
                      matchingType: MATCHING_TYPE_RULE_SPECIFIC
                      excludeByImageFindings:
                        infoTypes:
                          - name: OBJECT_TYPE/PERSON/PASSPORT
                            version: latest
                            sensitivityScore:
                              score: SENSITIVITY_LOW
                        imageContainmentType:
                          fullyInside: {}
              - infoTypes:
                  - name: PERSON_NAME
                    version: latest
                rules:
                  - exclusionRule:
                      matchingType: MATCHING_TYPE_PARTIAL_MATCH
                      dictionary:
                        wordList:
                          words:
                            - test
                  - exclusionRule:
                      matchingType: MATCHING_TYPE_PARTIAL_MATCH
                      dictionary:
                        cloudStoragePath:
                          path: gs://${bucket.name}/${object.name}
              - infoTypes:
                  - name: FIRST_NAME
                rules:
                  - exclusionRule:
                      matchingType: MATCHING_TYPE_FULL_MATCH
                      excludeByHotword:
                        hotwordRegex:
                          pattern: zone.*
                          groupIndexes:
                            - 0
                        proximity:
                          windowBefore: 1
                          windowAfter: 2
              - infoTypes:
                  - name: LAST_NAME
                rules:
                  - hotwordRule:
                      hotwordRegex:
                        pattern: patient.*
                        groupIndexes:
                          - 0
                      proximity:
                        windowBefore: 1
                        windowAfter: 2
                      likelihoodAdjustment:
                        fixedLikelihood: VERY_LIKELY
          rules:
            - conditions:
                - infoTypeCondition:
                    anyInfoType: {}
                    minCount: 2
              action:
                returnVerdict: BLOCK
          unsupportedFileType:
            returnVerdict: ALLOW
          inputTooLarge:
            returnVerdict: ALLOW
          failedToScanSupportedFileType:
            returnVerdict: BLOCK
          defaultAction:
            returnVerdict: ALLOW
          loggingConfigs:
            - logToBigQuery:
                projectId: ${defaultTable.project}
                datasetId: ${default.datasetId}
                tableId: ${defaultTable.tableId}
      basic:
        type: gcp:dataloss:PreventionStoredInfoType
        properties:
          parent: projects/my-project-name/locations/us-west1
          description: Description for stored info type
          displayName: tf-test-stored-info-type
          regex:
            pattern: .*
            groupIndexes:
              - 0
      bucket:
        type: gcp:storage:Bucket
        properties:
          name: dlp_bkt
          location: US
          uniformBucketLevelAccess: true
          forceDestroy: true
      object:
        type: gcp:storage:BucketObject
        properties:
          name: tf-test-wordlist
          bucket: ${bucket.name}
          content: |
            word1
            word2
      default:
        type: gcp:bigquery:Dataset
        properties:
          datasetId: dlp_ds
          friendlyName: tf-test-dataset
          description: Description for the dataset created by terraform
          location: US
          defaultTableExpirationMs: 3.6e+06
          deleteContentsOnDestroy: true
      defaultTable:
        type: gcp:bigquery:Table
        name: default
        properties:
          datasetId: ${default.datasetId}
          tableId: dlp_tbl
          deletionProtection: false
          schema: |
            [
              {
                \"name\": \"quantity\",
                \"type\": \"NUMERIC\",
                \"mode\": \"NULLABLE\",
                \"description\": \"The quantity\"
              }
            ]
    
    terraform {
      required_providers {
        gcp = {
          source = "pulumi/gcp"
        }
      }
    }
    
    resource "gcp_dataloss_prevention_content_policy" "full" {
      lifecycle {
        create_before_destroy = true
      }
      parent       = "projects/my-project-name/locations/us-west1"
      display_name = "tf-test-dlp-content-policy-full"
      inspect_config = {
        content_options    = ["CONTENT_TEXT", "CONTENT_IMAGE"]
        include_quote      = true
        exclude_info_types = false
        min_likelihood     = "LIKELY"
        info_types = [{
          name = "PHONE_NUMBER"
          sensitivity_score = {
            score = "SENSITIVITY_LOW"
          }
          }, {
          name = "EMAIL_ADDRESS"
          }, {
          name    = "PERSON_NAME"
          version = "latest"
          }, {
          name = "FIRST_NAME"
          }, {
          name = "LAST_NAME"
          }, {
          name = "OBJECT_TYPE/PERSON"
          }, {
          name = "OBJECT_TYPE/PERSON/PASSPORT"
        }]
        min_likelihood_per_info_types = [{
          info_type = {
            name    = "PERSON_NAME"
            version = "latest"
            sensitivity_score = {
              score = "SENSITIVITY_LOW"
            }
          }
          min_likelihood = "LIKELY"
        }]
        custom_info_types = [{
          info_type = {
            name    = "MY_CUSTOM_TYPE"
            version = "0.1"
            sensitivity_score = {
              score = "SENSITIVITY_LOW"
            }
          }
          sensitivity_score = {
            score = "SENSITIVITY_MODERATE"
          }
          likelihood     = "UNLIKELY"
          exclusion_type = "EXCLUSION_TYPE_EXCLUDE"
          regex = {
            pattern       = "test.*"
            group_indexes = [0]
          }
          detection_rules = [{
            hotword_rule = {
              hotword_regex = {
                pattern       = "password"
                group_indexes = [0]
              }
              proximity = {
                window_before = 10
                window_after  = 10
              }
              likelihood_adjustment = {
                fixed_likelihood = "VERY_LIKELY"
              }
            }
          }]
          }, {
          info_type = {
            name = "MY_GDRIVE_LABEL_TYPE"
          }
          likelihood = "POSSIBLE"
          file_label_info_type = {
            google_drive_label = {
              label_id = "testLabelId"
              label_fields_to_matches = [{
                id    = "field1"
                value = "val1"
              }]
            }
          }
          }, {
          info_type = {
            name = "MY_SENSITIVITY_LABEL_TYPE"
          }
          likelihood = "POSSIBLE"
          file_label_info_type = {
            sensitivity_label = {
              guid = "11111111-2222-3333-4444-555555555555"
            }
          }
          }, {
          info_type = {
            name = "MY_METADATA_KV_TYPE"
          }
          likelihood = "POSSIBLE"
          metadata_key_value_expression = {
            key_regex   = "key.*"
            value_regex = "val.*"
          }
          }, {
          info_type = {
            name = "MY_WORD_LIST_TYPE"
          }
          likelihood = "POSSIBLE"
          dictionary = {
            word_list = {
              words = ["badword1", "badword2"]
            }
          }
          }, {
          info_type = {
            name = "MY_STORAGE_TYPE"
          }
          likelihood = "POSSIBLE"
          dictionary = {
            cloud_storage_path = {
              path ="gs://${gcp_storage_bucket.bucket.name}/${gcp_storage_bucket_object.object.name}"
            }
          }
          }, {
          info_type = {
            name = "MY_STORED_TYPE"
          }
          likelihood = "POSSIBLE"
          stored_type = {
            name = gcp_dataloss_prevention_stored_info_type.basic.id
          }
        }]
        limits = {
          max_findings_per_item    = 10
          max_findings_per_request = 50
          max_findings_per_info_types = [{
            max_findings = 10
            info_type = {
              name    = "PERSON_NAME"
              version = "latest"
              sensitivity_score = {
                score = "SENSITIVITY_HIGH"
              }
            }
          }]
        }
        rule_sets = [{
          info_types = [{
            name = "PHONE_NUMBER"
            sensitivity_score = {
              score = "SENSITIVITY_LOW"
            }
          }]
          rules = [{
            exclusion_rule = {
              matching_type = "MATCHING_TYPE_FULL_MATCH"
              exclude_info_types = {
                info_types = [{
                  name    = "PERSON_NAME"
                  version = "latest"
                  sensitivity_score = {
                    score = "SENSITIVITY_LOW"
                  }
                }]
              }
            }
          }]
          }, {
          info_types = [{
            name = "EMAIL_ADDRESS"
          }]
          rules = [{
            exclusion_rule = {
              matching_type = "MATCHING_TYPE_PARTIAL_MATCH"
              regex = {
                pattern       = ".*@example\\.com"
                group_indexes = [0]
              }
            }
            }, {
            adjustment_rule = {
              adjust_by_matching_info_types = {
                info_types = [{
                  name    = "PERSON_NAME"
                  version = "latest"
                  sensitivity_score = {
                    score = "SENSITIVITY_LOW"
                  }
                }]
                min_likelihood = "LIKELY"
                matching_type  = "MATCHING_TYPE_PARTIAL_MATCH"
              }
              likelihood_adjustment = {
                fixed_likelihood = "VERY_LIKELY"
              }
            }
          }]
          }, {
          info_types = [{
            name = "OBJECT_TYPE/PERSON"
          }]
          rules = [{
            adjustment_rule = {
              adjust_by_image_findings = {
                info_types = [{
                  name    = "OBJECT_TYPE/PERSON/PASSPORT"
                  version = "latest"
                  sensitivity_score = {
                    score = "SENSITIVITY_LOW"
                  }
                }]
                min_likelihood = "LIKELY"
                image_containment_type = {
                  encloses = {}
                }
              }
              likelihood_adjustment = {
                fixed_likelihood = "VERY_LIKELY"
              }
            }
            }, {
            exclusion_rule = {
              matching_type = "MATCHING_TYPE_RULE_SPECIFIC"
              exclude_by_image_findings = {
                info_types = [{
                  name    = "OBJECT_TYPE/PERSON/PASSPORT"
                  version = "latest"
                  sensitivity_score = {
                    score = "SENSITIVITY_LOW"
                  }
                }]
                image_containment_type = {
                  fully_inside = {}
                }
              }
            }
          }]
          }, {
          info_types = [{
            name    = "PERSON_NAME"
            version = "latest"
          }]
          rules = [{
            exclusion_rule = {
              matching_type = "MATCHING_TYPE_PARTIAL_MATCH"
              dictionary = {
                word_list = {
                  words = ["test"]
                }
              }
            }
            }, {
            exclusion_rule = {
              matching_type = "MATCHING_TYPE_PARTIAL_MATCH"
              dictionary = {
                cloud_storage_path = {
                  path ="gs://${gcp_storage_bucket.bucket.name}/${gcp_storage_bucket_object.object.name}"
                }
              }
            }
          }]
          }, {
          info_types = [{
            name = "FIRST_NAME"
          }]
          rules = [{
            exclusion_rule = {
              matching_type = "MATCHING_TYPE_FULL_MATCH"
              exclude_by_hotword = {
                hotword_regex = {
                  pattern       = "zone.*"
                  group_indexes = [0]
                }
                proximity = {
                  window_before = 1
                  window_after  = 2
                }
              }
            }
          }]
          }, {
          info_types = [{
            name = "LAST_NAME"
          }]
          rules = [{
            hotword_rule = {
              hotword_regex = {
                pattern       = "patient.*"
                group_indexes = [0]
              }
              proximity = {
                window_before = 1
                window_after  = 2
              }
              likelihood_adjustment = {
                fixed_likelihood = "VERY_LIKELY"
              }
            }
          }]
        }]
      }
      rules {
        conditions {
          info_type_condition = {
            any_info_type = {}
            min_count     = 2
          }
        }
        action = {
          return_verdict = "BLOCK"
        }
      }
      unsupported_file_type = {
        return_verdict = "ALLOW"
      }
      input_too_large = {
        return_verdict = "ALLOW"
      }
      failed_to_scan_supported_file_type = {
        return_verdict = "BLOCK"
      }
      default_action = {
        return_verdict = "ALLOW"
      }
      logging_configs {
        log_to_big_query = {
          project_id = gcp_bigquery_table.default.project
          dataset_id = gcp_bigquery_dataset.default.dataset_id
          table_id   = gcp_bigquery_table.default.table_id
        }
      }
    }
    resource "gcp_dataloss_prevention_stored_info_type" "basic" {
      lifecycle {
        create_before_destroy = true
      }
      parent       = "projects/my-project-name/locations/us-west1"
      description  = "Description for stored info type"
      display_name = "tf-test-stored-info-type"
      regex = {
        pattern       = ".*"
        group_indexes = [0]
      }
    }
    resource "gcp_storage_bucket" "bucket" {
      lifecycle {
        create_before_destroy = true
      }
      name                        = "dlp_bkt"
      location                    = "US"
      uniform_bucket_level_access = true
      force_destroy               = true
    }
    resource "gcp_storage_bucket_object" "object" {
      lifecycle {
        create_before_destroy = true
      }
      name    = "tf-test-wordlist"
      bucket  = gcp_storage_bucket.bucket.name
      content = "word1\nword2\n"
    }
    resource "gcp_bigquery_dataset" "default" {
      lifecycle {
        create_before_destroy = true
      }
      dataset_id                  = "dlp_ds"
      friendly_name               = "tf-test-dataset"
      description                 = "Description for the dataset created by terraform"
      location                    = "US"
      default_table_expiration_ms = 3600000
      delete_contents_on_destroy  = true
    }
    resource "gcp_bigquery_table" "default" {
      lifecycle {
        create_before_destroy = true
      }
      dataset_id          = gcp_bigquery_dataset.default.dataset_id
      table_id            = "dlp_tbl"
      deletion_protection = false
      schema              = <<EOF
    [
      {
        \"name\": \"quantity\",
        \"type\": \"NUMERIC\",
        \"mode\": \"NULLABLE\",
        \"description\": \"The quantity\"
      }
    ]
    EOF
    
    }
    

    Create PreventionContentPolicy Resource

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

    Constructor syntax

    new PreventionContentPolicy(name: string, args: PreventionContentPolicyArgs, opts?: CustomResourceOptions);
    @overload
    def PreventionContentPolicy(resource_name: str,
                                args: PreventionContentPolicyArgs,
                                opts: Optional[ResourceOptions] = None)
    
    @overload
    def PreventionContentPolicy(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                parent: Optional[str] = None,
                                rules: Optional[Sequence[PreventionContentPolicyRuleArgs]] = None,
                                default_action: Optional[PreventionContentPolicyDefaultActionArgs] = None,
                                deletion_policy: Optional[str] = None,
                                display_name: Optional[str] = None,
                                failed_to_scan_supported_file_type: Optional[PreventionContentPolicyFailedToScanSupportedFileTypeArgs] = None,
                                input_too_large: Optional[PreventionContentPolicyInputTooLargeArgs] = None,
                                inspect_config: Optional[PreventionContentPolicyInspectConfigArgs] = None,
                                logging_configs: Optional[Sequence[PreventionContentPolicyLoggingConfigArgs]] = None,
                                unsupported_file_type: Optional[PreventionContentPolicyUnsupportedFileTypeArgs] = None)
    func NewPreventionContentPolicy(ctx *Context, name string, args PreventionContentPolicyArgs, opts ...ResourceOption) (*PreventionContentPolicy, error)
    public PreventionContentPolicy(string name, PreventionContentPolicyArgs args, CustomResourceOptions? opts = null)
    public PreventionContentPolicy(String name, PreventionContentPolicyArgs args)
    public PreventionContentPolicy(String name, PreventionContentPolicyArgs args, CustomResourceOptions options)
    
    type: gcp:dataloss:PreventionContentPolicy
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "gcp_dataloss_prevention_content_policy" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args PreventionContentPolicyArgs
    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 PreventionContentPolicyArgs
    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 PreventionContentPolicyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PreventionContentPolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PreventionContentPolicyArgs
    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 preventionContentPolicyResource = new Gcp.DataLoss.PreventionContentPolicy("preventionContentPolicyResource", new()
    {
        Parent = "string",
        Rules = new[]
        {
            new Gcp.DataLoss.Inputs.PreventionContentPolicyRuleArgs
            {
                Action = new Gcp.DataLoss.Inputs.PreventionContentPolicyRuleActionArgs
                {
                    ReturnVerdict = "string",
                },
                Conditions = new[]
                {
                    new Gcp.DataLoss.Inputs.PreventionContentPolicyRuleConditionArgs
                    {
                        InfoTypeCondition = new Gcp.DataLoss.Inputs.PreventionContentPolicyRuleConditionInfoTypeConditionArgs
                        {
                            AnyInfoType = null,
                            InfoTypes = new Gcp.DataLoss.Inputs.PreventionContentPolicyRuleConditionInfoTypeConditionInfoTypesArgs
                            {
                                InfoTypeNames = new[]
                                {
                                    "string",
                                },
                            },
                            MinCount = 0,
                        },
                    },
                },
            },
        },
        DefaultAction = new Gcp.DataLoss.Inputs.PreventionContentPolicyDefaultActionArgs
        {
            ReturnVerdict = "string",
        },
        DeletionPolicy = "string",
        DisplayName = "string",
        FailedToScanSupportedFileType = new Gcp.DataLoss.Inputs.PreventionContentPolicyFailedToScanSupportedFileTypeArgs
        {
            ReturnVerdict = "string",
        },
        InputTooLarge = new Gcp.DataLoss.Inputs.PreventionContentPolicyInputTooLargeArgs
        {
            ReturnVerdict = "string",
        },
        InspectConfig = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigArgs
        {
            ContentOptions = new[]
            {
                "string",
            },
            CustomInfoTypes = new[]
            {
                new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigCustomInfoTypeArgs
                {
                    InfoType = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigCustomInfoTypeInfoTypeArgs
                    {
                        Name = "string",
                        SensitivityScore = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigCustomInfoTypeInfoTypeSensitivityScoreArgs
                        {
                            Score = "string",
                        },
                        Version = "string",
                    },
                    DetectionRules = new[]
                    {
                        new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRuleArgs
                        {
                            HotwordRule = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRuleHotwordRuleArgs
                            {
                                HotwordRegex = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRuleHotwordRuleHotwordRegexArgs
                                {
                                    Pattern = "string",
                                    GroupIndexes = new[]
                                    {
                                        0,
                                    },
                                },
                                LikelihoodAdjustment = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRuleHotwordRuleLikelihoodAdjustmentArgs
                                {
                                    FixedLikelihood = "string",
                                    RelativeLikelihood = 0,
                                },
                                Proximity = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRuleHotwordRuleProximityArgs
                                {
                                    WindowAfter = 0,
                                    WindowBefore = 0,
                                },
                            },
                        },
                    },
                    Dictionary = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigCustomInfoTypeDictionaryArgs
                    {
                        CloudStoragePath = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigCustomInfoTypeDictionaryCloudStoragePathArgs
                        {
                            Path = "string",
                        },
                        WordList = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigCustomInfoTypeDictionaryWordListArgs
                        {
                            Words = new[]
                            {
                                "string",
                            },
                        },
                    },
                    ExclusionType = "string",
                    FileLabelInfoType = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigCustomInfoTypeFileLabelInfoTypeArgs
                    {
                        GoogleDriveLabel = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigCustomInfoTypeFileLabelInfoTypeGoogleDriveLabelArgs
                        {
                            LabelId = "string",
                            LabelFieldsToMatches = new[]
                            {
                                new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigCustomInfoTypeFileLabelInfoTypeGoogleDriveLabelLabelFieldsToMatchArgs
                                {
                                    Id = "string",
                                    Value = "string",
                                },
                            },
                        },
                        SensitivityLabel = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigCustomInfoTypeFileLabelInfoTypeSensitivityLabelArgs
                        {
                            Guid = "string",
                        },
                    },
                    Likelihood = "string",
                    MetadataKeyValueExpression = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigCustomInfoTypeMetadataKeyValueExpressionArgs
                    {
                        KeyRegex = "string",
                        ValueRegex = "string",
                    },
                    Regex = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigCustomInfoTypeRegexArgs
                    {
                        Pattern = "string",
                        GroupIndexes = new[]
                        {
                            0,
                        },
                    },
                    SensitivityScore = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigCustomInfoTypeSensitivityScoreArgs
                    {
                        Score = "string",
                    },
                    StoredType = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigCustomInfoTypeStoredTypeArgs
                    {
                        Name = "string",
                        CreateTime = "string",
                    },
                    SurrogateType = null,
                },
            },
            ExcludeInfoTypes = false,
            IncludeQuote = false,
            InfoTypes = new[]
            {
                new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigInfoTypeArgs
                {
                    Name = "string",
                    SensitivityScore = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigInfoTypeSensitivityScoreArgs
                    {
                        Score = "string",
                    },
                    Version = "string",
                },
            },
            Limits = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigLimitsArgs
            {
                MaxFindingsPerItem = 0,
                MaxFindingsPerRequest = 0,
                MaxFindingsPerInfoTypes = new[]
                {
                    new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigLimitsMaxFindingsPerInfoTypeArgs
                    {
                        MaxFindings = 0,
                        InfoType = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigLimitsMaxFindingsPerInfoTypeInfoTypeArgs
                        {
                            Name = "string",
                            SensitivityScore = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigLimitsMaxFindingsPerInfoTypeInfoTypeSensitivityScoreArgs
                            {
                                Score = "string",
                            },
                            Version = "string",
                        },
                    },
                },
            },
            MinLikelihood = "string",
            MinLikelihoodPerInfoTypes = new[]
            {
                new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigMinLikelihoodPerInfoTypeArgs
                {
                    MinLikelihood = "string",
                    InfoType = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigMinLikelihoodPerInfoTypeInfoTypeArgs
                    {
                        Name = "string",
                        SensitivityScore = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigMinLikelihoodPerInfoTypeInfoTypeSensitivityScoreArgs
                        {
                            Score = "string",
                        },
                        Version = "string",
                    },
                },
            },
            RuleSets = new[]
            {
                new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetArgs
                {
                    InfoTypes = new[]
                    {
                        new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetInfoTypeArgs
                        {
                            Name = "string",
                            SensitivityScore = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetInfoTypeSensitivityScoreArgs
                            {
                                Score = "string",
                            },
                            Version = "string",
                        },
                    },
                    Rules = new[]
                    {
                        new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleArgs
                        {
                            AdjustmentRule = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleArgs
                            {
                                LikelihoodAdjustment = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleLikelihoodAdjustmentArgs
                                {
                                    FixedLikelihood = "string",
                                },
                                AdjustByImageFindings = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByImageFindingsArgs
                                {
                                    InfoTypes = new[]
                                    {
                                        new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByImageFindingsInfoTypeArgs
                                        {
                                            Name = "string",
                                            SensitivityScore = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByImageFindingsInfoTypeSensitivityScoreArgs
                                            {
                                                Score = "string",
                                            },
                                            Version = "string",
                                        },
                                    },
                                    MinLikelihood = "string",
                                    ImageContainmentType = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByImageFindingsImageContainmentTypeArgs
                                    {
                                        Encloses = null,
                                        FullyInside = null,
                                        Overlaps = null,
                                    },
                                },
                                AdjustByMatchingInfoTypes = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByMatchingInfoTypesArgs
                                {
                                    InfoTypes = new[]
                                    {
                                        new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByMatchingInfoTypesInfoTypeArgs
                                        {
                                            Name = "string",
                                            SensitivityScore = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByMatchingInfoTypesInfoTypeSensitivityScoreArgs
                                            {
                                                Score = "string",
                                            },
                                            Version = "string",
                                        },
                                    },
                                    MatchingType = "string",
                                    MinLikelihood = "string",
                                },
                            },
                            ExclusionRule = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleArgs
                            {
                                MatchingType = "string",
                                Dictionary = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleDictionaryArgs
                                {
                                    CloudStoragePath = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleDictionaryCloudStoragePathArgs
                                    {
                                        Path = "string",
                                    },
                                    WordList = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleDictionaryWordListArgs
                                    {
                                        Words = new[]
                                        {
                                            "string",
                                        },
                                    },
                                },
                                ExcludeByHotword = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByHotwordArgs
                                {
                                    HotwordRegex = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByHotwordHotwordRegexArgs
                                    {
                                        Pattern = "string",
                                        GroupIndexes = new[]
                                        {
                                            0,
                                        },
                                    },
                                    Proximity = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByHotwordProximityArgs
                                    {
                                        WindowAfter = 0,
                                        WindowBefore = 0,
                                    },
                                },
                                ExcludeByImageFindings = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByImageFindingsArgs
                                {
                                    InfoTypes = new[]
                                    {
                                        new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByImageFindingsInfoTypeArgs
                                        {
                                            Name = "string",
                                            SensitivityScore = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByImageFindingsInfoTypeSensitivityScoreArgs
                                            {
                                                Score = "string",
                                            },
                                            Version = "string",
                                        },
                                    },
                                    ImageContainmentType = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByImageFindingsImageContainmentTypeArgs
                                    {
                                        Encloses = null,
                                        FullyInside = null,
                                        Overlaps = null,
                                    },
                                },
                                ExcludeInfoTypes = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeInfoTypesArgs
                                {
                                    InfoTypes = new[]
                                    {
                                        new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeInfoTypesInfoTypeArgs
                                        {
                                            Name = "string",
                                            SensitivityScore = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeInfoTypesInfoTypeSensitivityScoreArgs
                                            {
                                                Score = "string",
                                            },
                                            Version = "string",
                                        },
                                    },
                                },
                                Regex = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleRegexArgs
                                {
                                    Pattern = "string",
                                    GroupIndexes = new[]
                                    {
                                        0,
                                    },
                                },
                            },
                            HotwordRule = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleHotwordRuleArgs
                            {
                                HotwordRegex = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleHotwordRuleHotwordRegexArgs
                                {
                                    Pattern = "string",
                                    GroupIndexes = new[]
                                    {
                                        0,
                                    },
                                },
                                LikelihoodAdjustment = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleHotwordRuleLikelihoodAdjustmentArgs
                                {
                                    FixedLikelihood = "string",
                                    RelativeLikelihood = 0,
                                },
                                Proximity = new Gcp.DataLoss.Inputs.PreventionContentPolicyInspectConfigRuleSetRuleHotwordRuleProximityArgs
                                {
                                    WindowAfter = 0,
                                    WindowBefore = 0,
                                },
                            },
                        },
                    },
                },
            },
        },
        LoggingConfigs = new[]
        {
            new Gcp.DataLoss.Inputs.PreventionContentPolicyLoggingConfigArgs
            {
                LogToBigQuery = new Gcp.DataLoss.Inputs.PreventionContentPolicyLoggingConfigLogToBigQueryArgs
                {
                    DatasetId = "string",
                    ProjectId = "string",
                    TableId = "string",
                },
            },
        },
        UnsupportedFileType = new Gcp.DataLoss.Inputs.PreventionContentPolicyUnsupportedFileTypeArgs
        {
            ReturnVerdict = "string",
        },
    });
    
    example, err := dataloss.NewPreventionContentPolicy(ctx, "preventionContentPolicyResource", &dataloss.PreventionContentPolicyArgs{
    	Parent: pulumi.String("string"),
    	Rules: dataloss.PreventionContentPolicyRuleArray{
    		&dataloss.PreventionContentPolicyRuleArgs{
    			Action: &dataloss.PreventionContentPolicyRuleActionArgs{
    				ReturnVerdict: pulumi.String("string"),
    			},
    			Conditions: dataloss.PreventionContentPolicyRuleConditionArray{
    				&dataloss.PreventionContentPolicyRuleConditionArgs{
    					InfoTypeCondition: &dataloss.PreventionContentPolicyRuleConditionInfoTypeConditionArgs{
    						AnyInfoType: &dataloss.PreventionContentPolicyRuleConditionInfoTypeConditionAnyInfoTypeArgs{},
    						InfoTypes: &dataloss.PreventionContentPolicyRuleConditionInfoTypeConditionInfoTypesArgs{
    							InfoTypeNames: pulumi.StringArray{
    								pulumi.String("string"),
    							},
    						},
    						MinCount: pulumi.Int(0),
    					},
    				},
    			},
    		},
    	},
    	DefaultAction: &dataloss.PreventionContentPolicyDefaultActionArgs{
    		ReturnVerdict: pulumi.String("string"),
    	},
    	DeletionPolicy: pulumi.String("string"),
    	DisplayName:    pulumi.String("string"),
    	FailedToScanSupportedFileType: &dataloss.PreventionContentPolicyFailedToScanSupportedFileTypeArgs{
    		ReturnVerdict: pulumi.String("string"),
    	},
    	InputTooLarge: &dataloss.PreventionContentPolicyInputTooLargeArgs{
    		ReturnVerdict: pulumi.String("string"),
    	},
    	InspectConfig: &dataloss.PreventionContentPolicyInspectConfigArgs{
    		ContentOptions: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		CustomInfoTypes: dataloss.PreventionContentPolicyInspectConfigCustomInfoTypeArray{
    			&dataloss.PreventionContentPolicyInspectConfigCustomInfoTypeArgs{
    				InfoType: &dataloss.PreventionContentPolicyInspectConfigCustomInfoTypeInfoTypeArgs{
    					Name: pulumi.String("string"),
    					SensitivityScore: &dataloss.PreventionContentPolicyInspectConfigCustomInfoTypeInfoTypeSensitivityScoreArgs{
    						Score: pulumi.String("string"),
    					},
    					Version: pulumi.String("string"),
    				},
    				DetectionRules: dataloss.PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRuleArray{
    					&dataloss.PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRuleArgs{
    						HotwordRule: &dataloss.PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRuleHotwordRuleArgs{
    							HotwordRegex: &dataloss.PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRuleHotwordRuleHotwordRegexArgs{
    								Pattern: pulumi.String("string"),
    								GroupIndexes: pulumi.IntArray{
    									pulumi.Int(0),
    								},
    							},
    							LikelihoodAdjustment: &dataloss.PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRuleHotwordRuleLikelihoodAdjustmentArgs{
    								FixedLikelihood:    pulumi.String("string"),
    								RelativeLikelihood: pulumi.Int(0),
    							},
    							Proximity: &dataloss.PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRuleHotwordRuleProximityArgs{
    								WindowAfter:  pulumi.Int(0),
    								WindowBefore: pulumi.Int(0),
    							},
    						},
    					},
    				},
    				Dictionary: &dataloss.PreventionContentPolicyInspectConfigCustomInfoTypeDictionaryArgs{
    					CloudStoragePath: &dataloss.PreventionContentPolicyInspectConfigCustomInfoTypeDictionaryCloudStoragePathArgs{
    						Path: pulumi.String("string"),
    					},
    					WordList: &dataloss.PreventionContentPolicyInspectConfigCustomInfoTypeDictionaryWordListArgs{
    						Words: pulumi.StringArray{
    							pulumi.String("string"),
    						},
    					},
    				},
    				ExclusionType: pulumi.String("string"),
    				FileLabelInfoType: &dataloss.PreventionContentPolicyInspectConfigCustomInfoTypeFileLabelInfoTypeArgs{
    					GoogleDriveLabel: &dataloss.PreventionContentPolicyInspectConfigCustomInfoTypeFileLabelInfoTypeGoogleDriveLabelArgs{
    						LabelId: pulumi.String("string"),
    						LabelFieldsToMatches: dataloss.PreventionContentPolicyInspectConfigCustomInfoTypeFileLabelInfoTypeGoogleDriveLabelLabelFieldsToMatchArray{
    							&dataloss.PreventionContentPolicyInspectConfigCustomInfoTypeFileLabelInfoTypeGoogleDriveLabelLabelFieldsToMatchArgs{
    								Id:    pulumi.String("string"),
    								Value: pulumi.String("string"),
    							},
    						},
    					},
    					SensitivityLabel: &dataloss.PreventionContentPolicyInspectConfigCustomInfoTypeFileLabelInfoTypeSensitivityLabelArgs{
    						Guid: pulumi.String("string"),
    					},
    				},
    				Likelihood: pulumi.String("string"),
    				MetadataKeyValueExpression: &dataloss.PreventionContentPolicyInspectConfigCustomInfoTypeMetadataKeyValueExpressionArgs{
    					KeyRegex:   pulumi.String("string"),
    					ValueRegex: pulumi.String("string"),
    				},
    				Regex: &dataloss.PreventionContentPolicyInspectConfigCustomInfoTypeRegexArgs{
    					Pattern: pulumi.String("string"),
    					GroupIndexes: pulumi.IntArray{
    						pulumi.Int(0),
    					},
    				},
    				SensitivityScore: &dataloss.PreventionContentPolicyInspectConfigCustomInfoTypeSensitivityScoreArgs{
    					Score: pulumi.String("string"),
    				},
    				StoredType: &dataloss.PreventionContentPolicyInspectConfigCustomInfoTypeStoredTypeArgs{
    					Name:       pulumi.String("string"),
    					CreateTime: pulumi.String("string"),
    				},
    				SurrogateType: &dataloss.PreventionContentPolicyInspectConfigCustomInfoTypeSurrogateTypeArgs{},
    			},
    		},
    		ExcludeInfoTypes: pulumi.Bool(false),
    		IncludeQuote:     pulumi.Bool(false),
    		InfoTypes: dataloss.PreventionContentPolicyInspectConfigInfoTypeArray{
    			&dataloss.PreventionContentPolicyInspectConfigInfoTypeArgs{
    				Name: pulumi.String("string"),
    				SensitivityScore: &dataloss.PreventionContentPolicyInspectConfigInfoTypeSensitivityScoreArgs{
    					Score: pulumi.String("string"),
    				},
    				Version: pulumi.String("string"),
    			},
    		},
    		Limits: &dataloss.PreventionContentPolicyInspectConfigLimitsArgs{
    			MaxFindingsPerItem:    pulumi.Int(0),
    			MaxFindingsPerRequest: pulumi.Int(0),
    			MaxFindingsPerInfoTypes: dataloss.PreventionContentPolicyInspectConfigLimitsMaxFindingsPerInfoTypeArray{
    				&dataloss.PreventionContentPolicyInspectConfigLimitsMaxFindingsPerInfoTypeArgs{
    					MaxFindings: pulumi.Int(0),
    					InfoType: &dataloss.PreventionContentPolicyInspectConfigLimitsMaxFindingsPerInfoTypeInfoTypeArgs{
    						Name: pulumi.String("string"),
    						SensitivityScore: &dataloss.PreventionContentPolicyInspectConfigLimitsMaxFindingsPerInfoTypeInfoTypeSensitivityScoreArgs{
    							Score: pulumi.String("string"),
    						},
    						Version: pulumi.String("string"),
    					},
    				},
    			},
    		},
    		MinLikelihood: pulumi.String("string"),
    		MinLikelihoodPerInfoTypes: dataloss.PreventionContentPolicyInspectConfigMinLikelihoodPerInfoTypeArray{
    			&dataloss.PreventionContentPolicyInspectConfigMinLikelihoodPerInfoTypeArgs{
    				MinLikelihood: pulumi.String("string"),
    				InfoType: &dataloss.PreventionContentPolicyInspectConfigMinLikelihoodPerInfoTypeInfoTypeArgs{
    					Name: pulumi.String("string"),
    					SensitivityScore: &dataloss.PreventionContentPolicyInspectConfigMinLikelihoodPerInfoTypeInfoTypeSensitivityScoreArgs{
    						Score: pulumi.String("string"),
    					},
    					Version: pulumi.String("string"),
    				},
    			},
    		},
    		RuleSets: dataloss.PreventionContentPolicyInspectConfigRuleSetArray{
    			&dataloss.PreventionContentPolicyInspectConfigRuleSetArgs{
    				InfoTypes: dataloss.PreventionContentPolicyInspectConfigRuleSetInfoTypeArray{
    					&dataloss.PreventionContentPolicyInspectConfigRuleSetInfoTypeArgs{
    						Name: pulumi.String("string"),
    						SensitivityScore: &dataloss.PreventionContentPolicyInspectConfigRuleSetInfoTypeSensitivityScoreArgs{
    							Score: pulumi.String("string"),
    						},
    						Version: pulumi.String("string"),
    					},
    				},
    				Rules: dataloss.PreventionContentPolicyInspectConfigRuleSetRuleArray{
    					&dataloss.PreventionContentPolicyInspectConfigRuleSetRuleArgs{
    						AdjustmentRule: &dataloss.PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleArgs{
    							LikelihoodAdjustment: &dataloss.PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleLikelihoodAdjustmentArgs{
    								FixedLikelihood: pulumi.String("string"),
    							},
    							AdjustByImageFindings: &dataloss.PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByImageFindingsArgs{
    								InfoTypes: dataloss.PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByImageFindingsInfoTypeArray{
    									&dataloss.PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByImageFindingsInfoTypeArgs{
    										Name: pulumi.String("string"),
    										SensitivityScore: &dataloss.PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByImageFindingsInfoTypeSensitivityScoreArgs{
    											Score: pulumi.String("string"),
    										},
    										Version: pulumi.String("string"),
    									},
    								},
    								MinLikelihood: pulumi.String("string"),
    								ImageContainmentType: &dataloss.PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByImageFindingsImageContainmentTypeArgs{
    									Encloses:    &dataloss.PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByImageFindingsImageContainmentTypeEnclosesArgs{},
    									FullyInside: &dataloss.PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByImageFindingsImageContainmentTypeFullyInsideArgs{},
    									Overlaps:    &dataloss.PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByImageFindingsImageContainmentTypeOverlapsArgs{},
    								},
    							},
    							AdjustByMatchingInfoTypes: &dataloss.PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByMatchingInfoTypesArgs{
    								InfoTypes: dataloss.PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByMatchingInfoTypesInfoTypeArray{
    									&dataloss.PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByMatchingInfoTypesInfoTypeArgs{
    										Name: pulumi.String("string"),
    										SensitivityScore: &dataloss.PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByMatchingInfoTypesInfoTypeSensitivityScoreArgs{
    											Score: pulumi.String("string"),
    										},
    										Version: pulumi.String("string"),
    									},
    								},
    								MatchingType:  pulumi.String("string"),
    								MinLikelihood: pulumi.String("string"),
    							},
    						},
    						ExclusionRule: &dataloss.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleArgs{
    							MatchingType: pulumi.String("string"),
    							Dictionary: &dataloss.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleDictionaryArgs{
    								CloudStoragePath: &dataloss.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleDictionaryCloudStoragePathArgs{
    									Path: pulumi.String("string"),
    								},
    								WordList: &dataloss.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleDictionaryWordListArgs{
    									Words: pulumi.StringArray{
    										pulumi.String("string"),
    									},
    								},
    							},
    							ExcludeByHotword: &dataloss.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByHotwordArgs{
    								HotwordRegex: &dataloss.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByHotwordHotwordRegexArgs{
    									Pattern: pulumi.String("string"),
    									GroupIndexes: pulumi.IntArray{
    										pulumi.Int(0),
    									},
    								},
    								Proximity: &dataloss.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByHotwordProximityArgs{
    									WindowAfter:  pulumi.Int(0),
    									WindowBefore: pulumi.Int(0),
    								},
    							},
    							ExcludeByImageFindings: &dataloss.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByImageFindingsArgs{
    								InfoTypes: dataloss.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByImageFindingsInfoTypeArray{
    									&dataloss.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByImageFindingsInfoTypeArgs{
    										Name: pulumi.String("string"),
    										SensitivityScore: &dataloss.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByImageFindingsInfoTypeSensitivityScoreArgs{
    											Score: pulumi.String("string"),
    										},
    										Version: pulumi.String("string"),
    									},
    								},
    								ImageContainmentType: &dataloss.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByImageFindingsImageContainmentTypeArgs{
    									Encloses:    &dataloss.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByImageFindingsImageContainmentTypeEnclosesArgs{},
    									FullyInside: &dataloss.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByImageFindingsImageContainmentTypeFullyInsideArgs{},
    									Overlaps:    &dataloss.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByImageFindingsImageContainmentTypeOverlapsArgs{},
    								},
    							},
    							ExcludeInfoTypes: &dataloss.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeInfoTypesArgs{
    								InfoTypes: dataloss.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeInfoTypesInfoTypeArray{
    									&dataloss.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeInfoTypesInfoTypeArgs{
    										Name: pulumi.String("string"),
    										SensitivityScore: &dataloss.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeInfoTypesInfoTypeSensitivityScoreArgs{
    											Score: pulumi.String("string"),
    										},
    										Version: pulumi.String("string"),
    									},
    								},
    							},
    							Regex: &dataloss.PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleRegexArgs{
    								Pattern: pulumi.String("string"),
    								GroupIndexes: pulumi.IntArray{
    									pulumi.Int(0),
    								},
    							},
    						},
    						HotwordRule: &dataloss.PreventionContentPolicyInspectConfigRuleSetRuleHotwordRuleArgs{
    							HotwordRegex: &dataloss.PreventionContentPolicyInspectConfigRuleSetRuleHotwordRuleHotwordRegexArgs{
    								Pattern: pulumi.String("string"),
    								GroupIndexes: pulumi.IntArray{
    									pulumi.Int(0),
    								},
    							},
    							LikelihoodAdjustment: &dataloss.PreventionContentPolicyInspectConfigRuleSetRuleHotwordRuleLikelihoodAdjustmentArgs{
    								FixedLikelihood:    pulumi.String("string"),
    								RelativeLikelihood: pulumi.Int(0),
    							},
    							Proximity: &dataloss.PreventionContentPolicyInspectConfigRuleSetRuleHotwordRuleProximityArgs{
    								WindowAfter:  pulumi.Int(0),
    								WindowBefore: pulumi.Int(0),
    							},
    						},
    					},
    				},
    			},
    		},
    	},
    	LoggingConfigs: dataloss.PreventionContentPolicyLoggingConfigArray{
    		&dataloss.PreventionContentPolicyLoggingConfigArgs{
    			LogToBigQuery: &dataloss.PreventionContentPolicyLoggingConfigLogToBigQueryArgs{
    				DatasetId: pulumi.String("string"),
    				ProjectId: pulumi.String("string"),
    				TableId:   pulumi.String("string"),
    			},
    		},
    	},
    	UnsupportedFileType: &dataloss.PreventionContentPolicyUnsupportedFileTypeArgs{
    		ReturnVerdict: pulumi.String("string"),
    	},
    })
    
    resource "gcp_dataloss_prevention_content_policy" "preventionContentPolicyResource" {
      lifecycle {
        create_before_destroy = true
      }
      parent = "string"
      rules {
        action = {
          return_verdict = "string"
        }
        conditions {
          info_type_condition = {
            any_info_type = {}
            info_types = {
              info_type_names = ["string"]
            }
            min_count = 0
          }
        }
      }
      default_action = {
        return_verdict = "string"
      }
      deletion_policy = "string"
      display_name    = "string"
      failed_to_scan_supported_file_type = {
        return_verdict = "string"
      }
      input_too_large = {
        return_verdict = "string"
      }
      inspect_config = {
        content_options = ["string"]
        custom_info_types = [{
          info_type = {
            name = "string"
            sensitivity_score = {
              score = "string"
            }
            version = "string"
          }
          detection_rules = [{
            hotword_rule = {
              hotword_regex = {
                pattern       = "string"
                group_indexes = [0]
              }
              likelihood_adjustment = {
                fixed_likelihood    = "string"
                relative_likelihood = 0
              }
              proximity = {
                window_after  = 0
                window_before = 0
              }
            }
          }]
          dictionary = {
            cloud_storage_path = {
              path = "string"
            }
            word_list = {
              words = ["string"]
            }
          }
          exclusion_type = "string"
          file_label_info_type = {
            google_drive_label = {
              label_id = "string"
              label_fields_to_matches = [{
                id    = "string"
                value = "string"
              }]
            }
            sensitivity_label = {
              guid = "string"
            }
          }
          likelihood = "string"
          metadata_key_value_expression = {
            key_regex   = "string"
            value_regex = "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_item    = 0
          max_findings_per_request = 0
          max_findings_per_info_types = [{
            max_findings = 0
            info_type = {
              name = "string"
              sensitivity_score = {
                score = "string"
              }
              version = "string"
            }
          }]
        }
        min_likelihood = "string"
        min_likelihood_per_info_types = [{
          min_likelihood = "string"
          info_type = {
            name = "string"
            sensitivity_score = {
              score = "string"
            }
            version = "string"
          }
        }]
        rule_sets = [{
          info_types = [{
            name = "string"
            sensitivity_score = {
              score = "string"
            }
            version = "string"
          }]
          rules = [{
            adjustment_rule = {
              likelihood_adjustment = {
                fixed_likelihood = "string"
              }
              adjust_by_image_findings = {
                info_types = [{
                  name = "string"
                  sensitivity_score = {
                    score = "string"
                  }
                  version = "string"
                }]
                min_likelihood = "string"
                image_containment_type = {
                  encloses     = {}
                  fully_inside = {}
                  overlaps     = {}
                }
              }
              adjust_by_matching_info_types = {
                info_types = [{
                  name = "string"
                  sensitivity_score = {
                    score = "string"
                  }
                  version = "string"
                }]
                matching_type  = "string"
                min_likelihood = "string"
              }
            }
            exclusion_rule = {
              matching_type = "string"
              dictionary = {
                cloud_storage_path = {
                  path = "string"
                }
                word_list = {
                  words = ["string"]
                }
              }
              exclude_by_hotword = {
                hotword_regex = {
                  pattern       = "string"
                  group_indexes = [0]
                }
                proximity = {
                  window_after  = 0
                  window_before = 0
                }
              }
              exclude_by_image_findings = {
                info_types = [{
                  name = "string"
                  sensitivity_score = {
                    score = "string"
                  }
                  version = "string"
                }]
                image_containment_type = {
                  encloses     = {}
                  fully_inside = {}
                  overlaps     = {}
                }
              }
              exclude_info_types = {
                info_types = [{
                  name = "string"
                  sensitivity_score = {
                    score = "string"
                  }
                  version = "string"
                }]
              }
              regex = {
                pattern       = "string"
                group_indexes = [0]
              }
            }
            hotword_rule = {
              hotword_regex = {
                pattern       = "string"
                group_indexes = [0]
              }
              likelihood_adjustment = {
                fixed_likelihood    = "string"
                relative_likelihood = 0
              }
              proximity = {
                window_after  = 0
                window_before = 0
              }
            }
          }]
        }]
      }
      logging_configs {
        log_to_big_query = {
          dataset_id = "string"
          project_id = "string"
          table_id   = "string"
        }
      }
      unsupported_file_type = {
        return_verdict = "string"
      }
    }
    
    var preventionContentPolicyResource = new PreventionContentPolicy("preventionContentPolicyResource", PreventionContentPolicyArgs.builder()
        .parent("string")
        .rules(PreventionContentPolicyRuleArgs.builder()
            .action(PreventionContentPolicyRuleActionArgs.builder()
                .returnVerdict("string")
                .build())
            .conditions(PreventionContentPolicyRuleConditionArgs.builder()
                .infoTypeCondition(PreventionContentPolicyRuleConditionInfoTypeConditionArgs.builder()
                    .anyInfoType(PreventionContentPolicyRuleConditionInfoTypeConditionAnyInfoTypeArgs.builder()
                        .build())
                    .infoTypes(PreventionContentPolicyRuleConditionInfoTypeConditionInfoTypesArgs.builder()
                        .infoTypeNames("string")
                        .build())
                    .minCount(0)
                    .build())
                .build())
            .build())
        .defaultAction(PreventionContentPolicyDefaultActionArgs.builder()
            .returnVerdict("string")
            .build())
        .deletionPolicy("string")
        .displayName("string")
        .failedToScanSupportedFileType(PreventionContentPolicyFailedToScanSupportedFileTypeArgs.builder()
            .returnVerdict("string")
            .build())
        .inputTooLarge(PreventionContentPolicyInputTooLargeArgs.builder()
            .returnVerdict("string")
            .build())
        .inspectConfig(PreventionContentPolicyInspectConfigArgs.builder()
            .contentOptions("string")
            .customInfoTypes(PreventionContentPolicyInspectConfigCustomInfoTypeArgs.builder()
                .infoType(PreventionContentPolicyInspectConfigCustomInfoTypeInfoTypeArgs.builder()
                    .name("string")
                    .sensitivityScore(PreventionContentPolicyInspectConfigCustomInfoTypeInfoTypeSensitivityScoreArgs.builder()
                        .score("string")
                        .build())
                    .version("string")
                    .build())
                .detectionRules(PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRuleArgs.builder()
                    .hotwordRule(PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRuleHotwordRuleArgs.builder()
                        .hotwordRegex(PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRuleHotwordRuleHotwordRegexArgs.builder()
                            .pattern("string")
                            .groupIndexes(0)
                            .build())
                        .likelihoodAdjustment(PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRuleHotwordRuleLikelihoodAdjustmentArgs.builder()
                            .fixedLikelihood("string")
                            .relativeLikelihood(0)
                            .build())
                        .proximity(PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRuleHotwordRuleProximityArgs.builder()
                            .windowAfter(0)
                            .windowBefore(0)
                            .build())
                        .build())
                    .build())
                .dictionary(PreventionContentPolicyInspectConfigCustomInfoTypeDictionaryArgs.builder()
                    .cloudStoragePath(PreventionContentPolicyInspectConfigCustomInfoTypeDictionaryCloudStoragePathArgs.builder()
                        .path("string")
                        .build())
                    .wordList(PreventionContentPolicyInspectConfigCustomInfoTypeDictionaryWordListArgs.builder()
                        .words("string")
                        .build())
                    .build())
                .exclusionType("string")
                .fileLabelInfoType(PreventionContentPolicyInspectConfigCustomInfoTypeFileLabelInfoTypeArgs.builder()
                    .googleDriveLabel(PreventionContentPolicyInspectConfigCustomInfoTypeFileLabelInfoTypeGoogleDriveLabelArgs.builder()
                        .labelId("string")
                        .labelFieldsToMatches(PreventionContentPolicyInspectConfigCustomInfoTypeFileLabelInfoTypeGoogleDriveLabelLabelFieldsToMatchArgs.builder()
                            .id("string")
                            .value("string")
                            .build())
                        .build())
                    .sensitivityLabel(PreventionContentPolicyInspectConfigCustomInfoTypeFileLabelInfoTypeSensitivityLabelArgs.builder()
                        .guid("string")
                        .build())
                    .build())
                .likelihood("string")
                .metadataKeyValueExpression(PreventionContentPolicyInspectConfigCustomInfoTypeMetadataKeyValueExpressionArgs.builder()
                    .keyRegex("string")
                    .valueRegex("string")
                    .build())
                .regex(PreventionContentPolicyInspectConfigCustomInfoTypeRegexArgs.builder()
                    .pattern("string")
                    .groupIndexes(0)
                    .build())
                .sensitivityScore(PreventionContentPolicyInspectConfigCustomInfoTypeSensitivityScoreArgs.builder()
                    .score("string")
                    .build())
                .storedType(PreventionContentPolicyInspectConfigCustomInfoTypeStoredTypeArgs.builder()
                    .name("string")
                    .createTime("string")
                    .build())
                .surrogateType(PreventionContentPolicyInspectConfigCustomInfoTypeSurrogateTypeArgs.builder()
                    .build())
                .build())
            .excludeInfoTypes(false)
            .includeQuote(false)
            .infoTypes(PreventionContentPolicyInspectConfigInfoTypeArgs.builder()
                .name("string")
                .sensitivityScore(PreventionContentPolicyInspectConfigInfoTypeSensitivityScoreArgs.builder()
                    .score("string")
                    .build())
                .version("string")
                .build())
            .limits(PreventionContentPolicyInspectConfigLimitsArgs.builder()
                .maxFindingsPerItem(0)
                .maxFindingsPerRequest(0)
                .maxFindingsPerInfoTypes(PreventionContentPolicyInspectConfigLimitsMaxFindingsPerInfoTypeArgs.builder()
                    .maxFindings(0)
                    .infoType(PreventionContentPolicyInspectConfigLimitsMaxFindingsPerInfoTypeInfoTypeArgs.builder()
                        .name("string")
                        .sensitivityScore(PreventionContentPolicyInspectConfigLimitsMaxFindingsPerInfoTypeInfoTypeSensitivityScoreArgs.builder()
                            .score("string")
                            .build())
                        .version("string")
                        .build())
                    .build())
                .build())
            .minLikelihood("string")
            .minLikelihoodPerInfoTypes(PreventionContentPolicyInspectConfigMinLikelihoodPerInfoTypeArgs.builder()
                .minLikelihood("string")
                .infoType(PreventionContentPolicyInspectConfigMinLikelihoodPerInfoTypeInfoTypeArgs.builder()
                    .name("string")
                    .sensitivityScore(PreventionContentPolicyInspectConfigMinLikelihoodPerInfoTypeInfoTypeSensitivityScoreArgs.builder()
                        .score("string")
                        .build())
                    .version("string")
                    .build())
                .build())
            .ruleSets(PreventionContentPolicyInspectConfigRuleSetArgs.builder()
                .infoTypes(PreventionContentPolicyInspectConfigRuleSetInfoTypeArgs.builder()
                    .name("string")
                    .sensitivityScore(PreventionContentPolicyInspectConfigRuleSetInfoTypeSensitivityScoreArgs.builder()
                        .score("string")
                        .build())
                    .version("string")
                    .build())
                .rules(PreventionContentPolicyInspectConfigRuleSetRuleArgs.builder()
                    .adjustmentRule(PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleArgs.builder()
                        .likelihoodAdjustment(PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleLikelihoodAdjustmentArgs.builder()
                            .fixedLikelihood("string")
                            .build())
                        .adjustByImageFindings(PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByImageFindingsArgs.builder()
                            .infoTypes(PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByImageFindingsInfoTypeArgs.builder()
                                .name("string")
                                .sensitivityScore(PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByImageFindingsInfoTypeSensitivityScoreArgs.builder()
                                    .score("string")
                                    .build())
                                .version("string")
                                .build())
                            .minLikelihood("string")
                            .imageContainmentType(PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByImageFindingsImageContainmentTypeArgs.builder()
                                .encloses(PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByImageFindingsImageContainmentTypeEnclosesArgs.builder()
                                    .build())
                                .fullyInside(PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByImageFindingsImageContainmentTypeFullyInsideArgs.builder()
                                    .build())
                                .overlaps(PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByImageFindingsImageContainmentTypeOverlapsArgs.builder()
                                    .build())
                                .build())
                            .build())
                        .adjustByMatchingInfoTypes(PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByMatchingInfoTypesArgs.builder()
                            .infoTypes(PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByMatchingInfoTypesInfoTypeArgs.builder()
                                .name("string")
                                .sensitivityScore(PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByMatchingInfoTypesInfoTypeSensitivityScoreArgs.builder()
                                    .score("string")
                                    .build())
                                .version("string")
                                .build())
                            .matchingType("string")
                            .minLikelihood("string")
                            .build())
                        .build())
                    .exclusionRule(PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleArgs.builder()
                        .matchingType("string")
                        .dictionary(PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleDictionaryArgs.builder()
                            .cloudStoragePath(PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleDictionaryCloudStoragePathArgs.builder()
                                .path("string")
                                .build())
                            .wordList(PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleDictionaryWordListArgs.builder()
                                .words("string")
                                .build())
                            .build())
                        .excludeByHotword(PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByHotwordArgs.builder()
                            .hotwordRegex(PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByHotwordHotwordRegexArgs.builder()
                                .pattern("string")
                                .groupIndexes(0)
                                .build())
                            .proximity(PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByHotwordProximityArgs.builder()
                                .windowAfter(0)
                                .windowBefore(0)
                                .build())
                            .build())
                        .excludeByImageFindings(PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByImageFindingsArgs.builder()
                            .infoTypes(PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByImageFindingsInfoTypeArgs.builder()
                                .name("string")
                                .sensitivityScore(PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByImageFindingsInfoTypeSensitivityScoreArgs.builder()
                                    .score("string")
                                    .build())
                                .version("string")
                                .build())
                            .imageContainmentType(PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByImageFindingsImageContainmentTypeArgs.builder()
                                .encloses(PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByImageFindingsImageContainmentTypeEnclosesArgs.builder()
                                    .build())
                                .fullyInside(PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByImageFindingsImageContainmentTypeFullyInsideArgs.builder()
                                    .build())
                                .overlaps(PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByImageFindingsImageContainmentTypeOverlapsArgs.builder()
                                    .build())
                                .build())
                            .build())
                        .excludeInfoTypes(PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeInfoTypesArgs.builder()
                            .infoTypes(PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeInfoTypesInfoTypeArgs.builder()
                                .name("string")
                                .sensitivityScore(PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeInfoTypesInfoTypeSensitivityScoreArgs.builder()
                                    .score("string")
                                    .build())
                                .version("string")
                                .build())
                            .build())
                        .regex(PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleRegexArgs.builder()
                            .pattern("string")
                            .groupIndexes(0)
                            .build())
                        .build())
                    .hotwordRule(PreventionContentPolicyInspectConfigRuleSetRuleHotwordRuleArgs.builder()
                        .hotwordRegex(PreventionContentPolicyInspectConfigRuleSetRuleHotwordRuleHotwordRegexArgs.builder()
                            .pattern("string")
                            .groupIndexes(0)
                            .build())
                        .likelihoodAdjustment(PreventionContentPolicyInspectConfigRuleSetRuleHotwordRuleLikelihoodAdjustmentArgs.builder()
                            .fixedLikelihood("string")
                            .relativeLikelihood(0)
                            .build())
                        .proximity(PreventionContentPolicyInspectConfigRuleSetRuleHotwordRuleProximityArgs.builder()
                            .windowAfter(0)
                            .windowBefore(0)
                            .build())
                        .build())
                    .build())
                .build())
            .build())
        .loggingConfigs(PreventionContentPolicyLoggingConfigArgs.builder()
            .logToBigQuery(PreventionContentPolicyLoggingConfigLogToBigQueryArgs.builder()
                .datasetId("string")
                .projectId("string")
                .tableId("string")
                .build())
            .build())
        .unsupportedFileType(PreventionContentPolicyUnsupportedFileTypeArgs.builder()
            .returnVerdict("string")
            .build())
        .build());
    
    prevention_content_policy_resource = gcp.dataloss.PreventionContentPolicy("preventionContentPolicyResource",
        parent="string",
        rules=[{
            "action": {
                "return_verdict": "string",
            },
            "conditions": [{
                "info_type_condition": {
                    "any_info_type": {},
                    "info_types": {
                        "info_type_names": ["string"],
                    },
                    "min_count": 0,
                },
            }],
        }],
        default_action={
            "return_verdict": "string",
        },
        deletion_policy="string",
        display_name="string",
        failed_to_scan_supported_file_type={
            "return_verdict": "string",
        },
        input_too_large={
            "return_verdict": "string",
        },
        inspect_config={
            "content_options": ["string"],
            "custom_info_types": [{
                "info_type": {
                    "name": "string",
                    "sensitivity_score": {
                        "score": "string",
                    },
                    "version": "string",
                },
                "detection_rules": [{
                    "hotword_rule": {
                        "hotword_regex": {
                            "pattern": "string",
                            "group_indexes": [0],
                        },
                        "likelihood_adjustment": {
                            "fixed_likelihood": "string",
                            "relative_likelihood": 0,
                        },
                        "proximity": {
                            "window_after": 0,
                            "window_before": 0,
                        },
                    },
                }],
                "dictionary": {
                    "cloud_storage_path": {
                        "path": "string",
                    },
                    "word_list": {
                        "words": ["string"],
                    },
                },
                "exclusion_type": "string",
                "file_label_info_type": {
                    "google_drive_label": {
                        "label_id": "string",
                        "label_fields_to_matches": [{
                            "id": "string",
                            "value": "string",
                        }],
                    },
                    "sensitivity_label": {
                        "guid": "string",
                    },
                },
                "likelihood": "string",
                "metadata_key_value_expression": {
                    "key_regex": "string",
                    "value_regex": "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_item": 0,
                "max_findings_per_request": 0,
                "max_findings_per_info_types": [{
                    "max_findings": 0,
                    "info_type": {
                        "name": "string",
                        "sensitivity_score": {
                            "score": "string",
                        },
                        "version": "string",
                    },
                }],
            },
            "min_likelihood": "string",
            "min_likelihood_per_info_types": [{
                "min_likelihood": "string",
                "info_type": {
                    "name": "string",
                    "sensitivity_score": {
                        "score": "string",
                    },
                    "version": "string",
                },
            }],
            "rule_sets": [{
                "info_types": [{
                    "name": "string",
                    "sensitivity_score": {
                        "score": "string",
                    },
                    "version": "string",
                }],
                "rules": [{
                    "adjustment_rule": {
                        "likelihood_adjustment": {
                            "fixed_likelihood": "string",
                        },
                        "adjust_by_image_findings": {
                            "info_types": [{
                                "name": "string",
                                "sensitivity_score": {
                                    "score": "string",
                                },
                                "version": "string",
                            }],
                            "min_likelihood": "string",
                            "image_containment_type": {
                                "encloses": {},
                                "fully_inside": {},
                                "overlaps": {},
                            },
                        },
                        "adjust_by_matching_info_types": {
                            "info_types": [{
                                "name": "string",
                                "sensitivity_score": {
                                    "score": "string",
                                },
                                "version": "string",
                            }],
                            "matching_type": "string",
                            "min_likelihood": "string",
                        },
                    },
                    "exclusion_rule": {
                        "matching_type": "string",
                        "dictionary": {
                            "cloud_storage_path": {
                                "path": "string",
                            },
                            "word_list": {
                                "words": ["string"],
                            },
                        },
                        "exclude_by_hotword": {
                            "hotword_regex": {
                                "pattern": "string",
                                "group_indexes": [0],
                            },
                            "proximity": {
                                "window_after": 0,
                                "window_before": 0,
                            },
                        },
                        "exclude_by_image_findings": {
                            "info_types": [{
                                "name": "string",
                                "sensitivity_score": {
                                    "score": "string",
                                },
                                "version": "string",
                            }],
                            "image_containment_type": {
                                "encloses": {},
                                "fully_inside": {},
                                "overlaps": {},
                            },
                        },
                        "exclude_info_types": {
                            "info_types": [{
                                "name": "string",
                                "sensitivity_score": {
                                    "score": "string",
                                },
                                "version": "string",
                            }],
                        },
                        "regex": {
                            "pattern": "string",
                            "group_indexes": [0],
                        },
                    },
                    "hotword_rule": {
                        "hotword_regex": {
                            "pattern": "string",
                            "group_indexes": [0],
                        },
                        "likelihood_adjustment": {
                            "fixed_likelihood": "string",
                            "relative_likelihood": 0,
                        },
                        "proximity": {
                            "window_after": 0,
                            "window_before": 0,
                        },
                    },
                }],
            }],
        },
        logging_configs=[{
            "log_to_big_query": {
                "dataset_id": "string",
                "project_id": "string",
                "table_id": "string",
            },
        }],
        unsupported_file_type={
            "return_verdict": "string",
        })
    
    const preventionContentPolicyResource = new gcp.dataloss.PreventionContentPolicy("preventionContentPolicyResource", {
        parent: "string",
        rules: [{
            action: {
                returnVerdict: "string",
            },
            conditions: [{
                infoTypeCondition: {
                    anyInfoType: {},
                    infoTypes: {
                        infoTypeNames: ["string"],
                    },
                    minCount: 0,
                },
            }],
        }],
        defaultAction: {
            returnVerdict: "string",
        },
        deletionPolicy: "string",
        displayName: "string",
        failedToScanSupportedFileType: {
            returnVerdict: "string",
        },
        inputTooLarge: {
            returnVerdict: "string",
        },
        inspectConfig: {
            contentOptions: ["string"],
            customInfoTypes: [{
                infoType: {
                    name: "string",
                    sensitivityScore: {
                        score: "string",
                    },
                    version: "string",
                },
                detectionRules: [{
                    hotwordRule: {
                        hotwordRegex: {
                            pattern: "string",
                            groupIndexes: [0],
                        },
                        likelihoodAdjustment: {
                            fixedLikelihood: "string",
                            relativeLikelihood: 0,
                        },
                        proximity: {
                            windowAfter: 0,
                            windowBefore: 0,
                        },
                    },
                }],
                dictionary: {
                    cloudStoragePath: {
                        path: "string",
                    },
                    wordList: {
                        words: ["string"],
                    },
                },
                exclusionType: "string",
                fileLabelInfoType: {
                    googleDriveLabel: {
                        labelId: "string",
                        labelFieldsToMatches: [{
                            id: "string",
                            value: "string",
                        }],
                    },
                    sensitivityLabel: {
                        guid: "string",
                    },
                },
                likelihood: "string",
                metadataKeyValueExpression: {
                    keyRegex: "string",
                    valueRegex: "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: {
                maxFindingsPerItem: 0,
                maxFindingsPerRequest: 0,
                maxFindingsPerInfoTypes: [{
                    maxFindings: 0,
                    infoType: {
                        name: "string",
                        sensitivityScore: {
                            score: "string",
                        },
                        version: "string",
                    },
                }],
            },
            minLikelihood: "string",
            minLikelihoodPerInfoTypes: [{
                minLikelihood: "string",
                infoType: {
                    name: "string",
                    sensitivityScore: {
                        score: "string",
                    },
                    version: "string",
                },
            }],
            ruleSets: [{
                infoTypes: [{
                    name: "string",
                    sensitivityScore: {
                        score: "string",
                    },
                    version: "string",
                }],
                rules: [{
                    adjustmentRule: {
                        likelihoodAdjustment: {
                            fixedLikelihood: "string",
                        },
                        adjustByImageFindings: {
                            infoTypes: [{
                                name: "string",
                                sensitivityScore: {
                                    score: "string",
                                },
                                version: "string",
                            }],
                            minLikelihood: "string",
                            imageContainmentType: {
                                encloses: {},
                                fullyInside: {},
                                overlaps: {},
                            },
                        },
                        adjustByMatchingInfoTypes: {
                            infoTypes: [{
                                name: "string",
                                sensitivityScore: {
                                    score: "string",
                                },
                                version: "string",
                            }],
                            matchingType: "string",
                            minLikelihood: "string",
                        },
                    },
                    exclusionRule: {
                        matchingType: "string",
                        dictionary: {
                            cloudStoragePath: {
                                path: "string",
                            },
                            wordList: {
                                words: ["string"],
                            },
                        },
                        excludeByHotword: {
                            hotwordRegex: {
                                pattern: "string",
                                groupIndexes: [0],
                            },
                            proximity: {
                                windowAfter: 0,
                                windowBefore: 0,
                            },
                        },
                        excludeByImageFindings: {
                            infoTypes: [{
                                name: "string",
                                sensitivityScore: {
                                    score: "string",
                                },
                                version: "string",
                            }],
                            imageContainmentType: {
                                encloses: {},
                                fullyInside: {},
                                overlaps: {},
                            },
                        },
                        excludeInfoTypes: {
                            infoTypes: [{
                                name: "string",
                                sensitivityScore: {
                                    score: "string",
                                },
                                version: "string",
                            }],
                        },
                        regex: {
                            pattern: "string",
                            groupIndexes: [0],
                        },
                    },
                    hotwordRule: {
                        hotwordRegex: {
                            pattern: "string",
                            groupIndexes: [0],
                        },
                        likelihoodAdjustment: {
                            fixedLikelihood: "string",
                            relativeLikelihood: 0,
                        },
                        proximity: {
                            windowAfter: 0,
                            windowBefore: 0,
                        },
                    },
                }],
            }],
        },
        loggingConfigs: [{
            logToBigQuery: {
                datasetId: "string",
                projectId: "string",
                tableId: "string",
            },
        }],
        unsupportedFileType: {
            returnVerdict: "string",
        },
    });
    
    type: gcp:dataloss:PreventionContentPolicy
    properties:
        defaultAction:
            returnVerdict: string
        deletionPolicy: string
        displayName: string
        failedToScanSupportedFileType:
            returnVerdict: string
        inputTooLarge:
            returnVerdict: string
        inspectConfig:
            contentOptions:
                - string
            customInfoTypes:
                - detectionRules:
                    - hotwordRule:
                        hotwordRegex:
                            groupIndexes:
                                - 0
                            pattern: string
                        likelihoodAdjustment:
                            fixedLikelihood: string
                            relativeLikelihood: 0
                        proximity:
                            windowAfter: 0
                            windowBefore: 0
                  dictionary:
                    cloudStoragePath:
                        path: string
                    wordList:
                        words:
                            - string
                  exclusionType: string
                  fileLabelInfoType:
                    googleDriveLabel:
                        labelFieldsToMatches:
                            - id: string
                              value: string
                        labelId: string
                    sensitivityLabel:
                        guid: string
                  infoType:
                    name: string
                    sensitivityScore:
                        score: string
                    version: string
                  likelihood: string
                  metadataKeyValueExpression:
                    keyRegex: string
                    valueRegex: 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
            minLikelihoodPerInfoTypes:
                - infoType:
                    name: string
                    sensitivityScore:
                        score: string
                    version: string
                  minLikelihood: string
            ruleSets:
                - infoTypes:
                    - name: string
                      sensitivityScore:
                        score: string
                      version: string
                  rules:
                    - adjustmentRule:
                        adjustByImageFindings:
                            imageContainmentType:
                                encloses: {}
                                fullyInside: {}
                                overlaps: {}
                            infoTypes:
                                - name: string
                                  sensitivityScore:
                                    score: string
                                  version: string
                            minLikelihood: string
                        adjustByMatchingInfoTypes:
                            infoTypes:
                                - name: string
                                  sensitivityScore:
                                    score: string
                                  version: string
                            matchingType: string
                            minLikelihood: string
                        likelihoodAdjustment:
                            fixedLikelihood: string
                      exclusionRule:
                        dictionary:
                            cloudStoragePath:
                                path: string
                            wordList:
                                words:
                                    - string
                        excludeByHotword:
                            hotwordRegex:
                                groupIndexes:
                                    - 0
                                pattern: string
                            proximity:
                                windowAfter: 0
                                windowBefore: 0
                        excludeByImageFindings:
                            imageContainmentType:
                                encloses: {}
                                fullyInside: {}
                                overlaps: {}
                            infoTypes:
                                - name: string
                                  sensitivityScore:
                                    score: string
                                  version: string
                        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
        loggingConfigs:
            - logToBigQuery:
                datasetId: string
                projectId: string
                tableId: string
        parent: string
        rules:
            - action:
                returnVerdict: string
              conditions:
                - infoTypeCondition:
                    anyInfoType: {}
                    infoTypes:
                        infoTypeNames:
                            - string
                    minCount: 0
        unsupportedFileType:
            returnVerdict: string
    

    PreventionContentPolicy 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 PreventionContentPolicy resource accepts the following input properties:

    Parent string
    The parent of the content policy in any of the following formats:

    • projects/{{project}}/locations/{{location}}
    Rules List<PreventionContentPolicyRule>
    Policies to apply, based on the findings returned by inspection. The first rule to match applies. Structure is documented below.
    DefaultAction PreventionContentPolicyDefaultAction
    Action to take if the content is scanned and no rules match. Defaults to returning an ALLOW verdict if not set. Structure is documented below.
    DeletionPolicy string
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    DisplayName string
    Display name (max 63 chars).
    FailedToScanSupportedFileType PreventionContentPolicyFailedToScanSupportedFileType
    Action to take if the content is a supported file type and size but fails to be scanned, for example because the file is encrypted or corrupted. Structure is documented below.
    InputTooLarge PreventionContentPolicyInputTooLarge
    Action to take if the content is a supported file type but is too large to be scanned. Structure is documented below.
    InspectConfig PreventionContentPolicyInspectConfig
    InspectConfig to use to produce findings. Structure is documented below.
    LoggingConfigs List<PreventionContentPolicyLoggingConfig>
    Log the actions taken by the content policy to external systems. Structure is documented below.
    UnsupportedFileType PreventionContentPolicyUnsupportedFileType
    Action to take if the content is an unsupported file type. Structure is documented below.
    Parent string
    The parent of the content policy in any of the following formats:

    • projects/{{project}}/locations/{{location}}
    Rules []PreventionContentPolicyRuleArgs
    Policies to apply, based on the findings returned by inspection. The first rule to match applies. Structure is documented below.
    DefaultAction PreventionContentPolicyDefaultActionArgs
    Action to take if the content is scanned and no rules match. Defaults to returning an ALLOW verdict if not set. Structure is documented below.
    DeletionPolicy string
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    DisplayName string
    Display name (max 63 chars).
    FailedToScanSupportedFileType PreventionContentPolicyFailedToScanSupportedFileTypeArgs
    Action to take if the content is a supported file type and size but fails to be scanned, for example because the file is encrypted or corrupted. Structure is documented below.
    InputTooLarge PreventionContentPolicyInputTooLargeArgs
    Action to take if the content is a supported file type but is too large to be scanned. Structure is documented below.
    InspectConfig PreventionContentPolicyInspectConfigArgs
    InspectConfig to use to produce findings. Structure is documented below.
    LoggingConfigs []PreventionContentPolicyLoggingConfigArgs
    Log the actions taken by the content policy to external systems. Structure is documented below.
    UnsupportedFileType PreventionContentPolicyUnsupportedFileTypeArgs
    Action to take if the content is an unsupported file type. Structure is documented below.
    parent string
    The parent of the content policy in any of the following formats:

    • projects/{{project}}/locations/{{location}}
    rules list(object)
    Policies to apply, based on the findings returned by inspection. The first rule to match applies. Structure is documented below.
    default_action object
    Action to take if the content is scanned and no rules match. Defaults to returning an ALLOW verdict if not set. Structure is documented below.
    deletion_policy string
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    display_name string
    Display name (max 63 chars).
    failed_to_scan_supported_file_type object
    Action to take if the content is a supported file type and size but fails to be scanned, for example because the file is encrypted or corrupted. Structure is documented below.
    input_too_large object
    Action to take if the content is a supported file type but is too large to be scanned. Structure is documented below.
    inspect_config object
    InspectConfig to use to produce findings. Structure is documented below.
    logging_configs list(object)
    Log the actions taken by the content policy to external systems. Structure is documented below.
    unsupported_file_type object
    Action to take if the content is an unsupported file type. Structure is documented below.
    parent String
    The parent of the content policy in any of the following formats:

    • projects/{{project}}/locations/{{location}}
    rules List<PreventionContentPolicyRule>
    Policies to apply, based on the findings returned by inspection. The first rule to match applies. Structure is documented below.
    defaultAction PreventionContentPolicyDefaultAction
    Action to take if the content is scanned and no rules match. Defaults to returning an ALLOW verdict if not set. Structure is documented below.
    deletionPolicy String
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    displayName String
    Display name (max 63 chars).
    failedToScanSupportedFileType PreventionContentPolicyFailedToScanSupportedFileType
    Action to take if the content is a supported file type and size but fails to be scanned, for example because the file is encrypted or corrupted. Structure is documented below.
    inputTooLarge PreventionContentPolicyInputTooLarge
    Action to take if the content is a supported file type but is too large to be scanned. Structure is documented below.
    inspectConfig PreventionContentPolicyInspectConfig
    InspectConfig to use to produce findings. Structure is documented below.
    loggingConfigs List<PreventionContentPolicyLoggingConfig>
    Log the actions taken by the content policy to external systems. Structure is documented below.
    unsupportedFileType PreventionContentPolicyUnsupportedFileType
    Action to take if the content is an unsupported file type. Structure is documented below.
    parent string
    The parent of the content policy in any of the following formats:

    • projects/{{project}}/locations/{{location}}
    rules PreventionContentPolicyRule[]
    Policies to apply, based on the findings returned by inspection. The first rule to match applies. Structure is documented below.
    defaultAction PreventionContentPolicyDefaultAction
    Action to take if the content is scanned and no rules match. Defaults to returning an ALLOW verdict if not set. Structure is documented below.
    deletionPolicy string
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    displayName string
    Display name (max 63 chars).
    failedToScanSupportedFileType PreventionContentPolicyFailedToScanSupportedFileType
    Action to take if the content is a supported file type and size but fails to be scanned, for example because the file is encrypted or corrupted. Structure is documented below.
    inputTooLarge PreventionContentPolicyInputTooLarge
    Action to take if the content is a supported file type but is too large to be scanned. Structure is documented below.
    inspectConfig PreventionContentPolicyInspectConfig
    InspectConfig to use to produce findings. Structure is documented below.
    loggingConfigs PreventionContentPolicyLoggingConfig[]
    Log the actions taken by the content policy to external systems. Structure is documented below.
    unsupportedFileType PreventionContentPolicyUnsupportedFileType
    Action to take if the content is an unsupported file type. Structure is documented below.
    parent str
    The parent of the content policy in any of the following formats:

    • projects/{{project}}/locations/{{location}}
    rules Sequence[PreventionContentPolicyRuleArgs]
    Policies to apply, based on the findings returned by inspection. The first rule to match applies. Structure is documented below.
    default_action PreventionContentPolicyDefaultActionArgs
    Action to take if the content is scanned and no rules match. Defaults to returning an ALLOW verdict if not set. Structure is documented below.
    deletion_policy str
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    display_name str
    Display name (max 63 chars).
    failed_to_scan_supported_file_type PreventionContentPolicyFailedToScanSupportedFileTypeArgs
    Action to take if the content is a supported file type and size but fails to be scanned, for example because the file is encrypted or corrupted. Structure is documented below.
    input_too_large PreventionContentPolicyInputTooLargeArgs
    Action to take if the content is a supported file type but is too large to be scanned. Structure is documented below.
    inspect_config PreventionContentPolicyInspectConfigArgs
    InspectConfig to use to produce findings. Structure is documented below.
    logging_configs Sequence[PreventionContentPolicyLoggingConfigArgs]
    Log the actions taken by the content policy to external systems. Structure is documented below.
    unsupported_file_type PreventionContentPolicyUnsupportedFileTypeArgs
    Action to take if the content is an unsupported file type. Structure is documented below.
    parent String
    The parent of the content policy in any of the following formats:

    • projects/{{project}}/locations/{{location}}
    rules List<Property Map>
    Policies to apply, based on the findings returned by inspection. The first rule to match applies. Structure is documented below.
    defaultAction Property Map
    Action to take if the content is scanned and no rules match. Defaults to returning an ALLOW verdict if not set. Structure is documented below.
    deletionPolicy String
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    displayName String
    Display name (max 63 chars).
    failedToScanSupportedFileType Property Map
    Action to take if the content is a supported file type and size but fails to be scanned, for example because the file is encrypted or corrupted. Structure is documented below.
    inputTooLarge Property Map
    Action to take if the content is a supported file type but is too large to be scanned. Structure is documented below.
    inspectConfig Property Map
    InspectConfig to use to produce findings. Structure is documented below.
    loggingConfigs List<Property Map>
    Log the actions taken by the content policy to external systems. Structure is documented below.
    unsupportedFileType Property Map
    Action to take if the content is an unsupported file type. Structure is documented below.

    Outputs

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

    CreateTime string
    Output only. The creation timestamp of a ContentPolicy.
    Errors List<PreventionContentPolicyError>
    Output only. A stream of errors encountered when the policy was applied. Output only field. Will return the last 100 errors. Structure is documented below.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The resource name of the content policy. Set by the server.
    UpdateTime string
    Output only. The last update timestamp of a ContentPolicy.
    CreateTime string
    Output only. The creation timestamp of a ContentPolicy.
    Errors []PreventionContentPolicyError
    Output only. A stream of errors encountered when the policy was applied. Output only field. Will return the last 100 errors. Structure is documented below.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The resource name of the content policy. Set by the server.
    UpdateTime string
    Output only. The last update timestamp of a ContentPolicy.
    create_time string
    Output only. The creation timestamp of a ContentPolicy.
    errors list(object)
    Output only. A stream of errors encountered when the policy was applied. Output only field. Will return the last 100 errors. Structure is documented below.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The resource name of the content policy. Set by the server.
    update_time string
    Output only. The last update timestamp of a ContentPolicy.
    createTime String
    Output only. The creation timestamp of a ContentPolicy.
    errors List<PreventionContentPolicyError>
    Output only. A stream of errors encountered when the policy was applied. Output only field. Will return the last 100 errors. Structure is documented below.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The resource name of the content policy. Set by the server.
    updateTime String
    Output only. The last update timestamp of a ContentPolicy.
    createTime string
    Output only. The creation timestamp of a ContentPolicy.
    errors PreventionContentPolicyError[]
    Output only. A stream of errors encountered when the policy was applied. Output only field. Will return the last 100 errors. Structure is documented below.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The resource name of the content policy. Set by the server.
    updateTime string
    Output only. The last update timestamp of a ContentPolicy.
    create_time str
    Output only. The creation timestamp of a ContentPolicy.
    errors Sequence[PreventionContentPolicyError]
    Output only. A stream of errors encountered when the policy was applied. Output only field. Will return the last 100 errors. Structure is documented below.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The resource name of the content policy. Set by the server.
    update_time str
    Output only. The last update timestamp of a ContentPolicy.
    createTime String
    Output only. The creation timestamp of a ContentPolicy.
    errors List<Property Map>
    Output only. A stream of errors encountered when the policy was applied. Output only field. Will return the last 100 errors. Structure is documented below.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The resource name of the content policy. Set by the server.
    updateTime String
    Output only. The last update timestamp of a ContentPolicy.

    Look up Existing PreventionContentPolicy Resource

    Get an existing PreventionContentPolicy 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?: PreventionContentPolicyState, opts?: CustomResourceOptions): PreventionContentPolicy
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            create_time: Optional[str] = None,
            default_action: Optional[PreventionContentPolicyDefaultActionArgs] = None,
            deletion_policy: Optional[str] = None,
            display_name: Optional[str] = None,
            errors: Optional[Sequence[PreventionContentPolicyErrorArgs]] = None,
            failed_to_scan_supported_file_type: Optional[PreventionContentPolicyFailedToScanSupportedFileTypeArgs] = None,
            input_too_large: Optional[PreventionContentPolicyInputTooLargeArgs] = None,
            inspect_config: Optional[PreventionContentPolicyInspectConfigArgs] = None,
            logging_configs: Optional[Sequence[PreventionContentPolicyLoggingConfigArgs]] = None,
            name: Optional[str] = None,
            parent: Optional[str] = None,
            rules: Optional[Sequence[PreventionContentPolicyRuleArgs]] = None,
            unsupported_file_type: Optional[PreventionContentPolicyUnsupportedFileTypeArgs] = None,
            update_time: Optional[str] = None) -> PreventionContentPolicy
    func GetPreventionContentPolicy(ctx *Context, name string, id IDInput, state *PreventionContentPolicyState, opts ...ResourceOption) (*PreventionContentPolicy, error)
    public static PreventionContentPolicy Get(string name, Input<string> id, PreventionContentPolicyState? state, CustomResourceOptions? opts = null)
    public static PreventionContentPolicy get(String name, Output<String> id, PreventionContentPolicyState state, CustomResourceOptions options)
    resources:  existingPreventionContentPolicy:    type: gcp:dataloss:PreventionContentPolicy    get:      id: ${id}
    import {
      to = gcp_dataloss_prevention_content_policy.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    state PreventionContentPolicyState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    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 resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state PreventionContentPolicyState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    state PreventionContentPolicyState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    state PreventionContentPolicyState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    options CustomResourceOptions
    Bag of options to control resource's behavior.
    The following state arguments are supported:
    CreateTime string
    Output only. The creation timestamp of a ContentPolicy.
    DefaultAction PreventionContentPolicyDefaultAction
    Action to take if the content is scanned and no rules match. Defaults to returning an ALLOW verdict if not set. Structure is documented below.
    DeletionPolicy string
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    DisplayName string
    Display name (max 63 chars).
    Errors List<PreventionContentPolicyError>
    Output only. A stream of errors encountered when the policy was applied. Output only field. Will return the last 100 errors. Structure is documented below.
    FailedToScanSupportedFileType PreventionContentPolicyFailedToScanSupportedFileType
    Action to take if the content is a supported file type and size but fails to be scanned, for example because the file is encrypted or corrupted. Structure is documented below.
    InputTooLarge PreventionContentPolicyInputTooLarge
    Action to take if the content is a supported file type but is too large to be scanned. Structure is documented below.
    InspectConfig PreventionContentPolicyInspectConfig
    InspectConfig to use to produce findings. Structure is documented below.
    LoggingConfigs List<PreventionContentPolicyLoggingConfig>
    Log the actions taken by the content policy to external systems. Structure is documented below.
    Name string
    The resource name of the content policy. Set by the server.
    Parent string
    The parent of the content policy in any of the following formats:

    • projects/{{project}}/locations/{{location}}
    Rules List<PreventionContentPolicyRule>
    Policies to apply, based on the findings returned by inspection. The first rule to match applies. Structure is documented below.
    UnsupportedFileType PreventionContentPolicyUnsupportedFileType
    Action to take if the content is an unsupported file type. Structure is documented below.
    UpdateTime string
    Output only. The last update timestamp of a ContentPolicy.
    CreateTime string
    Output only. The creation timestamp of a ContentPolicy.
    DefaultAction PreventionContentPolicyDefaultActionArgs
    Action to take if the content is scanned and no rules match. Defaults to returning an ALLOW verdict if not set. Structure is documented below.
    DeletionPolicy string
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    DisplayName string
    Display name (max 63 chars).
    Errors []PreventionContentPolicyErrorArgs
    Output only. A stream of errors encountered when the policy was applied. Output only field. Will return the last 100 errors. Structure is documented below.
    FailedToScanSupportedFileType PreventionContentPolicyFailedToScanSupportedFileTypeArgs
    Action to take if the content is a supported file type and size but fails to be scanned, for example because the file is encrypted or corrupted. Structure is documented below.
    InputTooLarge PreventionContentPolicyInputTooLargeArgs
    Action to take if the content is a supported file type but is too large to be scanned. Structure is documented below.
    InspectConfig PreventionContentPolicyInspectConfigArgs
    InspectConfig to use to produce findings. Structure is documented below.
    LoggingConfigs []PreventionContentPolicyLoggingConfigArgs
    Log the actions taken by the content policy to external systems. Structure is documented below.
    Name string
    The resource name of the content policy. Set by the server.
    Parent string
    The parent of the content policy in any of the following formats:

    • projects/{{project}}/locations/{{location}}
    Rules []PreventionContentPolicyRuleArgs
    Policies to apply, based on the findings returned by inspection. The first rule to match applies. Structure is documented below.
    UnsupportedFileType PreventionContentPolicyUnsupportedFileTypeArgs
    Action to take if the content is an unsupported file type. Structure is documented below.
    UpdateTime string
    Output only. The last update timestamp of a ContentPolicy.
    create_time string
    Output only. The creation timestamp of a ContentPolicy.
    default_action object
    Action to take if the content is scanned and no rules match. Defaults to returning an ALLOW verdict if not set. Structure is documented below.
    deletion_policy string
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    display_name string
    Display name (max 63 chars).
    errors list(object)
    Output only. A stream of errors encountered when the policy was applied. Output only field. Will return the last 100 errors. Structure is documented below.
    failed_to_scan_supported_file_type object
    Action to take if the content is a supported file type and size but fails to be scanned, for example because the file is encrypted or corrupted. Structure is documented below.
    input_too_large object
    Action to take if the content is a supported file type but is too large to be scanned. Structure is documented below.
    inspect_config object
    InspectConfig to use to produce findings. Structure is documented below.
    logging_configs list(object)
    Log the actions taken by the content policy to external systems. Structure is documented below.
    name string
    The resource name of the content policy. Set by the server.
    parent string
    The parent of the content policy in any of the following formats:

    • projects/{{project}}/locations/{{location}}
    rules list(object)
    Policies to apply, based on the findings returned by inspection. The first rule to match applies. Structure is documented below.
    unsupported_file_type object
    Action to take if the content is an unsupported file type. Structure is documented below.
    update_time string
    Output only. The last update timestamp of a ContentPolicy.
    createTime String
    Output only. The creation timestamp of a ContentPolicy.
    defaultAction PreventionContentPolicyDefaultAction
    Action to take if the content is scanned and no rules match. Defaults to returning an ALLOW verdict if not set. Structure is documented below.
    deletionPolicy String
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    displayName String
    Display name (max 63 chars).
    errors List<PreventionContentPolicyError>
    Output only. A stream of errors encountered when the policy was applied. Output only field. Will return the last 100 errors. Structure is documented below.
    failedToScanSupportedFileType PreventionContentPolicyFailedToScanSupportedFileType
    Action to take if the content is a supported file type and size but fails to be scanned, for example because the file is encrypted or corrupted. Structure is documented below.
    inputTooLarge PreventionContentPolicyInputTooLarge
    Action to take if the content is a supported file type but is too large to be scanned. Structure is documented below.
    inspectConfig PreventionContentPolicyInspectConfig
    InspectConfig to use to produce findings. Structure is documented below.
    loggingConfigs List<PreventionContentPolicyLoggingConfig>
    Log the actions taken by the content policy to external systems. Structure is documented below.
    name String
    The resource name of the content policy. Set by the server.
    parent String
    The parent of the content policy in any of the following formats:

    • projects/{{project}}/locations/{{location}}
    rules List<PreventionContentPolicyRule>
    Policies to apply, based on the findings returned by inspection. The first rule to match applies. Structure is documented below.
    unsupportedFileType PreventionContentPolicyUnsupportedFileType
    Action to take if the content is an unsupported file type. Structure is documented below.
    updateTime String
    Output only. The last update timestamp of a ContentPolicy.
    createTime string
    Output only. The creation timestamp of a ContentPolicy.
    defaultAction PreventionContentPolicyDefaultAction
    Action to take if the content is scanned and no rules match. Defaults to returning an ALLOW verdict if not set. Structure is documented below.
    deletionPolicy string
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    displayName string
    Display name (max 63 chars).
    errors PreventionContentPolicyError[]
    Output only. A stream of errors encountered when the policy was applied. Output only field. Will return the last 100 errors. Structure is documented below.
    failedToScanSupportedFileType PreventionContentPolicyFailedToScanSupportedFileType
    Action to take if the content is a supported file type and size but fails to be scanned, for example because the file is encrypted or corrupted. Structure is documented below.
    inputTooLarge PreventionContentPolicyInputTooLarge
    Action to take if the content is a supported file type but is too large to be scanned. Structure is documented below.
    inspectConfig PreventionContentPolicyInspectConfig
    InspectConfig to use to produce findings. Structure is documented below.
    loggingConfigs PreventionContentPolicyLoggingConfig[]
    Log the actions taken by the content policy to external systems. Structure is documented below.
    name string
    The resource name of the content policy. Set by the server.
    parent string
    The parent of the content policy in any of the following formats:

    • projects/{{project}}/locations/{{location}}
    rules PreventionContentPolicyRule[]
    Policies to apply, based on the findings returned by inspection. The first rule to match applies. Structure is documented below.
    unsupportedFileType PreventionContentPolicyUnsupportedFileType
    Action to take if the content is an unsupported file type. Structure is documented below.
    updateTime string
    Output only. The last update timestamp of a ContentPolicy.
    create_time str
    Output only. The creation timestamp of a ContentPolicy.
    default_action PreventionContentPolicyDefaultActionArgs
    Action to take if the content is scanned and no rules match. Defaults to returning an ALLOW verdict if not set. Structure is documented below.
    deletion_policy str
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    display_name str
    Display name (max 63 chars).
    errors Sequence[PreventionContentPolicyErrorArgs]
    Output only. A stream of errors encountered when the policy was applied. Output only field. Will return the last 100 errors. Structure is documented below.
    failed_to_scan_supported_file_type PreventionContentPolicyFailedToScanSupportedFileTypeArgs
    Action to take if the content is a supported file type and size but fails to be scanned, for example because the file is encrypted or corrupted. Structure is documented below.
    input_too_large PreventionContentPolicyInputTooLargeArgs
    Action to take if the content is a supported file type but is too large to be scanned. Structure is documented below.
    inspect_config PreventionContentPolicyInspectConfigArgs
    InspectConfig to use to produce findings. Structure is documented below.
    logging_configs Sequence[PreventionContentPolicyLoggingConfigArgs]
    Log the actions taken by the content policy to external systems. Structure is documented below.
    name str
    The resource name of the content policy. Set by the server.
    parent str
    The parent of the content policy in any of the following formats:

    • projects/{{project}}/locations/{{location}}
    rules Sequence[PreventionContentPolicyRuleArgs]
    Policies to apply, based on the findings returned by inspection. The first rule to match applies. Structure is documented below.
    unsupported_file_type PreventionContentPolicyUnsupportedFileTypeArgs
    Action to take if the content is an unsupported file type. Structure is documented below.
    update_time str
    Output only. The last update timestamp of a ContentPolicy.
    createTime String
    Output only. The creation timestamp of a ContentPolicy.
    defaultAction Property Map
    Action to take if the content is scanned and no rules match. Defaults to returning an ALLOW verdict if not set. Structure is documented below.
    deletionPolicy String
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    displayName String
    Display name (max 63 chars).
    errors List<Property Map>
    Output only. A stream of errors encountered when the policy was applied. Output only field. Will return the last 100 errors. Structure is documented below.
    failedToScanSupportedFileType Property Map
    Action to take if the content is a supported file type and size but fails to be scanned, for example because the file is encrypted or corrupted. Structure is documented below.
    inputTooLarge Property Map
    Action to take if the content is a supported file type but is too large to be scanned. Structure is documented below.
    inspectConfig Property Map
    InspectConfig to use to produce findings. Structure is documented below.
    loggingConfigs List<Property Map>
    Log the actions taken by the content policy to external systems. Structure is documented below.
    name String
    The resource name of the content policy. Set by the server.
    parent String
    The parent of the content policy in any of the following formats:

    • projects/{{project}}/locations/{{location}}
    rules List<Property Map>
    Policies to apply, based on the findings returned by inspection. The first rule to match applies. Structure is documented below.
    unsupportedFileType Property Map
    Action to take if the content is an unsupported file type. Structure is documented below.
    updateTime String
    Output only. The last update timestamp of a ContentPolicy.

    Supporting Types

    PreventionContentPolicyDefaultAction, PreventionContentPolicyDefaultActionArgs

    ReturnVerdict string
    If set, the verdict will be returned to the user. Possible values: ["ALLOW", "BLOCK"] Possible values are: ALLOW, BLOCK.
    ReturnVerdict string
    If set, the verdict will be returned to the user. Possible values: ["ALLOW", "BLOCK"] Possible values are: ALLOW, BLOCK.
    return_verdict string
    If set, the verdict will be returned to the user. Possible values: ["ALLOW", "BLOCK"] Possible values are: ALLOW, BLOCK.
    returnVerdict String
    If set, the verdict will be returned to the user. Possible values: ["ALLOW", "BLOCK"] Possible values are: ALLOW, BLOCK.
    returnVerdict string
    If set, the verdict will be returned to the user. Possible values: ["ALLOW", "BLOCK"] Possible values are: ALLOW, BLOCK.
    return_verdict str
    If set, the verdict will be returned to the user. Possible values: ["ALLOW", "BLOCK"] Possible values are: ALLOW, BLOCK.
    returnVerdict String
    If set, the verdict will be returned to the user. Possible values: ["ALLOW", "BLOCK"] Possible values are: ALLOW, BLOCK.

    PreventionContentPolicyError, PreventionContentPolicyErrorArgs

    Details List<PreventionContentPolicyErrorDetail>
    (Output) A list of messages that carry the error details.
    ExtraInfo string
    (Output) Additional information about the error.
    Timestamps List<string>
    (Output) The times the error occurred. List includes the oldest timestamp and the last 9 timestamps.
    Details []PreventionContentPolicyErrorDetail
    (Output) A list of messages that carry the error details.
    ExtraInfo string
    (Output) Additional information about the error.
    Timestamps []string
    (Output) The times the error occurred. List includes the oldest timestamp and the last 9 timestamps.
    details list(object)
    (Output) A list of messages that carry the error details.
    extra_info string
    (Output) Additional information about the error.
    timestamps list(string)
    (Output) The times the error occurred. List includes the oldest timestamp and the last 9 timestamps.
    details List<PreventionContentPolicyErrorDetail>
    (Output) A list of messages that carry the error details.
    extraInfo String
    (Output) Additional information about the error.
    timestamps List<String>
    (Output) The times the error occurred. List includes the oldest timestamp and the last 9 timestamps.
    details PreventionContentPolicyErrorDetail[]
    (Output) A list of messages that carry the error details.
    extraInfo string
    (Output) Additional information about the error.
    timestamps string[]
    (Output) The times the error occurred. List includes the oldest timestamp and the last 9 timestamps.
    details Sequence[PreventionContentPolicyErrorDetail]
    (Output) A list of messages that carry the error details.
    extra_info str
    (Output) Additional information about the error.
    timestamps Sequence[str]
    (Output) The times the error occurred. List includes the oldest timestamp and the last 9 timestamps.
    details List<Property Map>
    (Output) A list of messages that carry the error details.
    extraInfo String
    (Output) Additional information about the error.
    timestamps List<String>
    (Output) The times the error occurred. List includes the oldest timestamp and the last 9 timestamps.

    PreventionContentPolicyErrorDetail, PreventionContentPolicyErrorDetailArgs

    Code int
    (Output) The status code, which should be an enum value of google.rpc.Code.
    Details List<ImmutableDictionary<string, string>>
    (Output) A list of messages that carry the error details.
    Message string
    (Output) A developer-facing error message, which should be in English.
    Code int
    (Output) The status code, which should be an enum value of google.rpc.Code.
    Details []map[string]string
    (Output) A list of messages that carry the error details.
    Message string
    (Output) A developer-facing error message, which should be in English.
    code number
    (Output) The status code, which should be an enum value of google.rpc.Code.
    details list(map(string))
    (Output) A list of messages that carry the error details.
    message string
    (Output) A developer-facing error message, which should be in English.
    code Integer
    (Output) The status code, which should be an enum value of google.rpc.Code.
    details List<Map<String,String>>
    (Output) A list of messages that carry the error details.
    message String
    (Output) A developer-facing error message, which should be in English.
    code number
    (Output) The status code, which should be an enum value of google.rpc.Code.
    details {[key: string]: string}[]
    (Output) A list of messages that carry the error details.
    message string
    (Output) A developer-facing error message, which should be in English.
    code int
    (Output) The status code, which should be an enum value of google.rpc.Code.
    details Sequence[Mapping[str, str]]
    (Output) A list of messages that carry the error details.
    message str
    (Output) A developer-facing error message, which should be in English.
    code Number
    (Output) The status code, which should be an enum value of google.rpc.Code.
    details List<Map<String>>
    (Output) A list of messages that carry the error details.
    message String
    (Output) A developer-facing error message, which should be in English.

    PreventionContentPolicyFailedToScanSupportedFileType, PreventionContentPolicyFailedToScanSupportedFileTypeArgs

    ReturnVerdict string
    If set, the verdict will be returned to the user. Possible values: ["ALLOW", "BLOCK"] Possible values are: ALLOW, BLOCK.
    ReturnVerdict string
    If set, the verdict will be returned to the user. Possible values: ["ALLOW", "BLOCK"] Possible values are: ALLOW, BLOCK.
    return_verdict string
    If set, the verdict will be returned to the user. Possible values: ["ALLOW", "BLOCK"] Possible values are: ALLOW, BLOCK.
    returnVerdict String
    If set, the verdict will be returned to the user. Possible values: ["ALLOW", "BLOCK"] Possible values are: ALLOW, BLOCK.
    returnVerdict string
    If set, the verdict will be returned to the user. Possible values: ["ALLOW", "BLOCK"] Possible values are: ALLOW, BLOCK.
    return_verdict str
    If set, the verdict will be returned to the user. Possible values: ["ALLOW", "BLOCK"] Possible values are: ALLOW, BLOCK.
    returnVerdict String
    If set, the verdict will be returned to the user. Possible values: ["ALLOW", "BLOCK"] Possible values are: ALLOW, BLOCK.

    PreventionContentPolicyInputTooLarge, PreventionContentPolicyInputTooLargeArgs

    ReturnVerdict string
    If set, the verdict will be returned to the user. Possible values: ["ALLOW", "BLOCK"] Possible values are: ALLOW, BLOCK.
    ReturnVerdict string
    If set, the verdict will be returned to the user. Possible values: ["ALLOW", "BLOCK"] Possible values are: ALLOW, BLOCK.
    return_verdict string
    If set, the verdict will be returned to the user. Possible values: ["ALLOW", "BLOCK"] Possible values are: ALLOW, BLOCK.
    returnVerdict String
    If set, the verdict will be returned to the user. Possible values: ["ALLOW", "BLOCK"] Possible values are: ALLOW, BLOCK.
    returnVerdict string
    If set, the verdict will be returned to the user. Possible values: ["ALLOW", "BLOCK"] Possible values are: ALLOW, BLOCK.
    return_verdict str
    If set, the verdict will be returned to the user. Possible values: ["ALLOW", "BLOCK"] Possible values are: ALLOW, BLOCK.
    returnVerdict String
    If set, the verdict will be returned to the user. Possible values: ["ALLOW", "BLOCK"] Possible values are: ALLOW, BLOCK.

    PreventionContentPolicyInspectConfig, PreventionContentPolicyInspectConfigArgs

    ContentOptions List<string>
    List of options defining data content to scan. If empty, text, images, and other content will be included. Each value may be one of: CONTENT_TEXT, CONTENT_IMAGE.
    CustomInfoTypes List<PreventionContentPolicyInspectConfigCustomInfoType>
    Custom info types to be used. See https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more. Structure is documented below.
    ExcludeInfoTypes bool
    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<PreventionContentPolicyInspectConfigInfoType>
    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 PreventionContentPolicyInspectConfigLimits
    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.
    MinLikelihoodPerInfoTypes List<PreventionContentPolicyInspectConfigMinLikelihoodPerInfoType>
    Minimum likelihood per infotype. For each infotype, a user can specify a minimum likelihood. The system only returns a finding if its likelihood is above this threshold. If this field is not set, the system uses the InspectConfig min_likelihood. Structure is documented below.
    RuleSets List<PreventionContentPolicyInspectConfigRuleSet>
    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.
    ContentOptions []string
    List of options defining data content to scan. If empty, text, images, and other content will be included. Each value may be one of: CONTENT_TEXT, CONTENT_IMAGE.
    CustomInfoTypes []PreventionContentPolicyInspectConfigCustomInfoType
    Custom info types to be used. See https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more. Structure is documented below.
    ExcludeInfoTypes bool
    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 []PreventionContentPolicyInspectConfigInfoType
    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 PreventionContentPolicyInspectConfigLimits
    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.
    MinLikelihoodPerInfoTypes []PreventionContentPolicyInspectConfigMinLikelihoodPerInfoType
    Minimum likelihood per infotype. For each infotype, a user can specify a minimum likelihood. The system only returns a finding if its likelihood is above this threshold. If this field is not set, the system uses the InspectConfig min_likelihood. Structure is documented below.
    RuleSets []PreventionContentPolicyInspectConfigRuleSet
    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.
    content_options list(string)
    List of options defining data content to scan. If empty, text, images, and other content will be included. Each value may be one of: CONTENT_TEXT, CONTENT_IMAGE.
    custom_info_types list(object)
    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_types bool
    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 list(object)
    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 object
    Configuration to control the number of findings returned. Structure is documented below.
    min_likelihood 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.
    min_likelihood_per_info_types list(object)
    Minimum likelihood per infotype. For each infotype, a user can specify a minimum likelihood. The system only returns a finding if its likelihood is above this threshold. If this field is not set, the system uses the InspectConfig min_likelihood. Structure is documented below.
    rule_sets list(object)
    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.
    contentOptions List<String>
    List of options defining data content to scan. If empty, text, images, and other content will be included. Each value may be one of: CONTENT_TEXT, CONTENT_IMAGE.
    customInfoTypes List<PreventionContentPolicyInspectConfigCustomInfoType>
    Custom info types to be used. See https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more. Structure is documented below.
    excludeInfoTypes Boolean
    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<PreventionContentPolicyInspectConfigInfoType>
    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 PreventionContentPolicyInspectConfigLimits
    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.
    minLikelihoodPerInfoTypes List<PreventionContentPolicyInspectConfigMinLikelihoodPerInfoType>
    Minimum likelihood per infotype. For each infotype, a user can specify a minimum likelihood. The system only returns a finding if its likelihood is above this threshold. If this field is not set, the system uses the InspectConfig min_likelihood. Structure is documented below.
    ruleSets List<PreventionContentPolicyInspectConfigRuleSet>
    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.
    contentOptions string[]
    List of options defining data content to scan. If empty, text, images, and other content will be included. Each value may be one of: CONTENT_TEXT, CONTENT_IMAGE.
    customInfoTypes PreventionContentPolicyInspectConfigCustomInfoType[]
    Custom info types to be used. See https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more. Structure is documented below.
    excludeInfoTypes boolean
    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 PreventionContentPolicyInspectConfigInfoType[]
    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 PreventionContentPolicyInspectConfigLimits
    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.
    minLikelihoodPerInfoTypes PreventionContentPolicyInspectConfigMinLikelihoodPerInfoType[]
    Minimum likelihood per infotype. For each infotype, a user can specify a minimum likelihood. The system only returns a finding if its likelihood is above this threshold. If this field is not set, the system uses the InspectConfig min_likelihood. Structure is documented below.
    ruleSets PreventionContentPolicyInspectConfigRuleSet[]
    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.
    content_options Sequence[str]
    List of options defining data content to scan. If empty, text, images, and other content will be included. Each value may be one of: CONTENT_TEXT, CONTENT_IMAGE.
    custom_info_types Sequence[PreventionContentPolicyInspectConfigCustomInfoType]
    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_types bool
    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[PreventionContentPolicyInspectConfigInfoType]
    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 PreventionContentPolicyInspectConfigLimits
    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.
    min_likelihood_per_info_types Sequence[PreventionContentPolicyInspectConfigMinLikelihoodPerInfoType]
    Minimum likelihood per infotype. For each infotype, a user can specify a minimum likelihood. The system only returns a finding if its likelihood is above this threshold. If this field is not set, the system uses the InspectConfig min_likelihood. Structure is documented below.
    rule_sets Sequence[PreventionContentPolicyInspectConfigRuleSet]
    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.
    contentOptions List<String>
    List of options defining data content to scan. If empty, text, images, and other content will be included. Each value may be one of: CONTENT_TEXT, CONTENT_IMAGE.
    customInfoTypes List<Property Map>
    Custom info types to be used. See https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more. Structure is documented below.
    excludeInfoTypes Boolean
    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.
    minLikelihoodPerInfoTypes List<Property Map>
    Minimum likelihood per infotype. For each infotype, a user can specify a minimum likelihood. The system only returns a finding if its likelihood is above this threshold. If this field is not set, the system uses the InspectConfig min_likelihood. Structure is documented below.
    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.

    PreventionContentPolicyInspectConfigCustomInfoType, PreventionContentPolicyInspectConfigCustomInfoTypeArgs

    InfoType PreventionContentPolicyInspectConfigCustomInfoTypeInfoType
    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 infoTypes field. Specifying the latter adds findings to the one detected by the system. If built-in info type is not specified in infoTypes list then the name is treated as a custom info type. Structure is documented below.
    DetectionRules List<PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRule>
    Set of detection rules to apply to all findings of this CustomInfoType. Rules are applied in order that they are specified. Only supported for the dictionary, regex, and storedType CustomInfoTypes. Structure is documented below.
    Dictionary PreventionContentPolicyInspectConfigCustomInfoTypeDictionary
    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.
    FileLabelInfoType PreventionContentPolicyInspectConfigCustomInfoTypeFileLabelInfoType
    Configuration for a custom infoType that detects file labels. Structure is documented below.
    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.
    MetadataKeyValueExpression PreventionContentPolicyInspectConfigCustomInfoTypeMetadataKeyValueExpression
    Configuration for a custom infoType that detects key-value pairs in the metadata matching the specified regular expressions. Structure is documented below.
    Regex PreventionContentPolicyInspectConfigCustomInfoTypeRegex
    Regular expression which defines the rule. Structure is documented below.
    SensitivityScore PreventionContentPolicyInspectConfigCustomInfoTypeSensitivityScore
    Optional custom sensitivity for this InfoType. This only applies to data profiling. Structure is documented below.
    StoredType PreventionContentPolicyInspectConfigCustomInfoTypeStoredType
    A reference to a StoredInfoType to use with scanning. Structure is documented below.
    SurrogateType PreventionContentPolicyInspectConfigCustomInfoTypeSurrogateType
    Message for detecting output from deidentification transformations that support reversing.
    InfoType PreventionContentPolicyInspectConfigCustomInfoTypeInfoType
    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 infoTypes field. Specifying the latter adds findings to the one detected by the system. If built-in info type is not specified in infoTypes list then the name is treated as a custom info type. Structure is documented below.
    DetectionRules []PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRule
    Set of detection rules to apply to all findings of this CustomInfoType. Rules are applied in order that they are specified. Only supported for the dictionary, regex, and storedType CustomInfoTypes. Structure is documented below.
    Dictionary PreventionContentPolicyInspectConfigCustomInfoTypeDictionary
    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.
    FileLabelInfoType PreventionContentPolicyInspectConfigCustomInfoTypeFileLabelInfoType
    Configuration for a custom infoType that detects file labels. Structure is documented below.
    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.
    MetadataKeyValueExpression PreventionContentPolicyInspectConfigCustomInfoTypeMetadataKeyValueExpression
    Configuration for a custom infoType that detects key-value pairs in the metadata matching the specified regular expressions. Structure is documented below.
    Regex PreventionContentPolicyInspectConfigCustomInfoTypeRegex
    Regular expression which defines the rule. Structure is documented below.
    SensitivityScore PreventionContentPolicyInspectConfigCustomInfoTypeSensitivityScore
    Optional custom sensitivity for this InfoType. This only applies to data profiling. Structure is documented below.
    StoredType PreventionContentPolicyInspectConfigCustomInfoTypeStoredType
    A reference to a StoredInfoType to use with scanning. Structure is documented below.
    SurrogateType PreventionContentPolicyInspectConfigCustomInfoTypeSurrogateType
    Message for detecting output from deidentification transformations that support reversing.
    info_type object
    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 infoTypes field. Specifying the latter adds findings to the one detected by the system. If built-in info type is not specified in infoTypes list then the name is treated as a custom info type. Structure is documented below.
    detection_rules list(object)
    Set of detection rules to apply to all findings of this CustomInfoType. Rules are applied in order that they are specified. Only supported for the dictionary, regex, and storedType CustomInfoTypes. Structure is documented below.
    dictionary object
    Dictionary which defines the rule. Structure is documented below.
    exclusion_type 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.
    file_label_info_type object
    Configuration for a custom infoType that detects file labels. Structure is documented below.
    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.
    metadata_key_value_expression object
    Configuration for a custom infoType that detects key-value pairs in the metadata matching the specified regular expressions. Structure is documented below.
    regex object
    Regular expression which defines the rule. Structure is documented below.
    sensitivity_score object
    Optional custom sensitivity for this InfoType. This only applies to data profiling. Structure is documented below.
    stored_type object
    A reference to a StoredInfoType to use with scanning. Structure is documented below.
    surrogate_type object
    Message for detecting output from deidentification transformations that support reversing.
    infoType PreventionContentPolicyInspectConfigCustomInfoTypeInfoType
    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 infoTypes field. Specifying the latter adds findings to the one detected by the system. If built-in info type is not specified in infoTypes list then the name is treated as a custom info type. Structure is documented below.
    detectionRules List<PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRule>
    Set of detection rules to apply to all findings of this CustomInfoType. Rules are applied in order that they are specified. Only supported for the dictionary, regex, and storedType CustomInfoTypes. Structure is documented below.
    dictionary PreventionContentPolicyInspectConfigCustomInfoTypeDictionary
    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.
    fileLabelInfoType PreventionContentPolicyInspectConfigCustomInfoTypeFileLabelInfoType
    Configuration for a custom infoType that detects file labels. Structure is documented below.
    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.
    metadataKeyValueExpression PreventionContentPolicyInspectConfigCustomInfoTypeMetadataKeyValueExpression
    Configuration for a custom infoType that detects key-value pairs in the metadata matching the specified regular expressions. Structure is documented below.
    regex PreventionContentPolicyInspectConfigCustomInfoTypeRegex
    Regular expression which defines the rule. Structure is documented below.
    sensitivityScore PreventionContentPolicyInspectConfigCustomInfoTypeSensitivityScore
    Optional custom sensitivity for this InfoType. This only applies to data profiling. Structure is documented below.
    storedType PreventionContentPolicyInspectConfigCustomInfoTypeStoredType
    A reference to a StoredInfoType to use with scanning. Structure is documented below.
    surrogateType PreventionContentPolicyInspectConfigCustomInfoTypeSurrogateType
    Message for detecting output from deidentification transformations that support reversing.
    infoType PreventionContentPolicyInspectConfigCustomInfoTypeInfoType
    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 infoTypes field. Specifying the latter adds findings to the one detected by the system. If built-in info type is not specified in infoTypes list then the name is treated as a custom info type. Structure is documented below.
    detectionRules PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRule[]
    Set of detection rules to apply to all findings of this CustomInfoType. Rules are applied in order that they are specified. Only supported for the dictionary, regex, and storedType CustomInfoTypes. Structure is documented below.
    dictionary PreventionContentPolicyInspectConfigCustomInfoTypeDictionary
    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.
    fileLabelInfoType PreventionContentPolicyInspectConfigCustomInfoTypeFileLabelInfoType
    Configuration for a custom infoType that detects file labels. Structure is documented below.
    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.
    metadataKeyValueExpression PreventionContentPolicyInspectConfigCustomInfoTypeMetadataKeyValueExpression
    Configuration for a custom infoType that detects key-value pairs in the metadata matching the specified regular expressions. Structure is documented below.
    regex PreventionContentPolicyInspectConfigCustomInfoTypeRegex
    Regular expression which defines the rule. Structure is documented below.
    sensitivityScore PreventionContentPolicyInspectConfigCustomInfoTypeSensitivityScore
    Optional custom sensitivity for this InfoType. This only applies to data profiling. Structure is documented below.
    storedType PreventionContentPolicyInspectConfigCustomInfoTypeStoredType
    A reference to a StoredInfoType to use with scanning. Structure is documented below.
    surrogateType PreventionContentPolicyInspectConfigCustomInfoTypeSurrogateType
    Message for detecting output from deidentification transformations that support reversing.
    info_type PreventionContentPolicyInspectConfigCustomInfoTypeInfoType
    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 infoTypes field. Specifying the latter adds findings to the one detected by the system. If built-in info type is not specified in infoTypes list then the name is treated as a custom info type. Structure is documented below.
    detection_rules Sequence[PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRule]
    Set of detection rules to apply to all findings of this CustomInfoType. Rules are applied in order that they are specified. Only supported for the dictionary, regex, and storedType CustomInfoTypes. Structure is documented below.
    dictionary PreventionContentPolicyInspectConfigCustomInfoTypeDictionary
    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.
    file_label_info_type PreventionContentPolicyInspectConfigCustomInfoTypeFileLabelInfoType
    Configuration for a custom infoType that detects file labels. Structure is documented below.
    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.
    metadata_key_value_expression PreventionContentPolicyInspectConfigCustomInfoTypeMetadataKeyValueExpression
    Configuration for a custom infoType that detects key-value pairs in the metadata matching the specified regular expressions. Structure is documented below.
    regex PreventionContentPolicyInspectConfigCustomInfoTypeRegex
    Regular expression which defines the rule. Structure is documented below.
    sensitivity_score PreventionContentPolicyInspectConfigCustomInfoTypeSensitivityScore
    Optional custom sensitivity for this InfoType. This only applies to data profiling. Structure is documented below.
    stored_type PreventionContentPolicyInspectConfigCustomInfoTypeStoredType
    A reference to a StoredInfoType to use with scanning. Structure is documented below.
    surrogate_type PreventionContentPolicyInspectConfigCustomInfoTypeSurrogateType
    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 infoTypes field. Specifying the latter adds findings to the one detected by the system. If built-in info type is not specified in infoTypes list then the name is treated as a custom info type. Structure is documented below.
    detectionRules List<Property Map>
    Set of detection rules to apply to all findings of this CustomInfoType. Rules are applied in order that they are specified. Only supported for the dictionary, regex, and storedType CustomInfoTypes. 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.
    fileLabelInfoType Property Map
    Configuration for a custom infoType that detects file labels. Structure is documented below.
    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.
    metadataKeyValueExpression Property Map
    Configuration for a custom infoType that detects key-value pairs in the metadata matching the specified regular expressions. Structure is documented below.
    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.

    PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRule, PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRuleArgs

    HotwordRule PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRuleHotwordRule
    Hotword-based detection rule. Structure is documented below.
    HotwordRule PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRuleHotwordRule
    Hotword-based detection rule. Structure is documented below.
    hotword_rule object
    Hotword-based detection rule. Structure is documented below.
    hotwordRule PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRuleHotwordRule
    Hotword-based detection rule. Structure is documented below.
    hotwordRule PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRuleHotwordRule
    Hotword-based detection rule. Structure is documented below.
    hotword_rule PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRuleHotwordRule
    Hotword-based detection rule. Structure is documented below.
    hotwordRule Property Map
    Hotword-based detection rule. Structure is documented below.

    PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRuleHotwordRule, PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRuleHotwordRuleArgs

    HotwordRegex PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRuleHotwordRuleHotwordRegex
    Regular expression pattern defining what qualifies as a hotword. Structure is documented below.
    LikelihoodAdjustment PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRuleHotwordRuleLikelihoodAdjustment
    Likelihood adjustment to apply to all matching findings. Structure is documented below.
    Proximity PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRuleHotwordRuleProximity
    Proximity of the finding within which the entire hotword must reside. The total length of the window cannot exceed 1000 characters. Structure is documented below.
    HotwordRegex PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRuleHotwordRuleHotwordRegex
    Regular expression pattern defining what qualifies as a hotword. Structure is documented below.
    LikelihoodAdjustment PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRuleHotwordRuleLikelihoodAdjustment
    Likelihood adjustment to apply to all matching findings. Structure is documented below.
    Proximity PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRuleHotwordRuleProximity
    Proximity of the finding within which the entire hotword must reside. The total length of the window cannot exceed 1000 characters. Structure is documented below.
    hotword_regex object
    Regular expression pattern defining what qualifies as a hotword. Structure is documented below.
    likelihood_adjustment object
    Likelihood adjustment to apply to all matching findings. Structure is documented below.
    proximity object
    Proximity of the finding within which the entire hotword must reside. The total length of the window cannot exceed 1000 characters. Structure is documented below.
    hotwordRegex PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRuleHotwordRuleHotwordRegex
    Regular expression pattern defining what qualifies as a hotword. Structure is documented below.
    likelihoodAdjustment PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRuleHotwordRuleLikelihoodAdjustment
    Likelihood adjustment to apply to all matching findings. Structure is documented below.
    proximity PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRuleHotwordRuleProximity
    Proximity of the finding within which the entire hotword must reside. The total length of the window cannot exceed 1000 characters. Structure is documented below.
    hotwordRegex PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRuleHotwordRuleHotwordRegex
    Regular expression pattern defining what qualifies as a hotword. Structure is documented below.
    likelihoodAdjustment PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRuleHotwordRuleLikelihoodAdjustment
    Likelihood adjustment to apply to all matching findings. Structure is documented below.
    proximity PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRuleHotwordRuleProximity
    Proximity of the finding within which the entire hotword must reside. The total length of the window cannot exceed 1000 characters. Structure is documented below.
    hotword_regex PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRuleHotwordRuleHotwordRegex
    Regular expression pattern defining what qualifies as a hotword. Structure is documented below.
    likelihood_adjustment PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRuleHotwordRuleLikelihoodAdjustment
    Likelihood adjustment to apply to all matching findings. Structure is documented below.
    proximity PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRuleHotwordRuleProximity
    Proximity of the finding within which the entire hotword must reside. The total length of the window cannot exceed 1000 characters. 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. Structure is documented below.

    PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRuleHotwordRuleHotwordRegex, PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRuleHotwordRuleHotwordRegexArgs

    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.
    group_indexes 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.
    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.

    PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRuleHotwordRuleLikelihoodAdjustment, PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRuleHotwordRuleLikelihoodAdjustmentArgs

    FixedLikelihood string
    Set the likelihood of a finding to a fixed value. Either this or relativeLikelihood 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.
    FixedLikelihood string
    Set the likelihood of a finding to a fixed value. Either this or relativeLikelihood 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.
    fixed_likelihood string
    Set the likelihood of a finding to a fixed value. Either this or relativeLikelihood can be set. Possible values are: VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY.
    relative_likelihood number
    Increase or decrease the likelihood by the specified number of levels.
    fixedLikelihood String
    Set the likelihood of a finding to a fixed value. Either this or relativeLikelihood 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.
    fixedLikelihood string
    Set the likelihood of a finding to a fixed value. Either this or relativeLikelihood 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.
    fixed_likelihood str
    Set the likelihood of a finding to a fixed value. Either this or relativeLikelihood 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.
    fixedLikelihood String
    Set the likelihood of a finding to a fixed value. Either this or relativeLikelihood 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.

    PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRuleHotwordRuleProximity, PreventionContentPolicyInspectConfigCustomInfoTypeDetectionRuleHotwordRuleProximityArgs

    WindowAfter int
    Number of characters after the finding to consider.
    WindowBefore int
    Number of characters before the finding to consider.
    WindowAfter int
    Number of characters after the finding to consider.
    WindowBefore int
    Number of characters before the finding to consider.
    window_after number
    Number of characters after the finding to consider.
    window_before number
    Number of characters before the finding to consider.
    windowAfter Integer
    Number of characters after the finding to consider.
    windowBefore Integer
    Number of characters before the finding to consider.
    windowAfter number
    Number of characters after the finding to consider.
    windowBefore number
    Number of characters before the finding to consider.
    window_after int
    Number of characters after the finding to consider.
    window_before int
    Number of characters before the finding to consider.
    windowAfter Number
    Number of characters after the finding to consider.
    windowBefore Number
    Number of characters before the finding to consider.

    PreventionContentPolicyInspectConfigCustomInfoTypeDictionary, PreventionContentPolicyInspectConfigCustomInfoTypeDictionaryArgs

    CloudStoragePath PreventionContentPolicyInspectConfigCustomInfoTypeDictionaryCloudStoragePath
    Newline-delimited file of words in Cloud Storage. Only a single file is accepted. Structure is documented below.
    WordList PreventionContentPolicyInspectConfigCustomInfoTypeDictionaryWordList
    List of words or phrases to search for. Structure is documented below.
    CloudStoragePath PreventionContentPolicyInspectConfigCustomInfoTypeDictionaryCloudStoragePath
    Newline-delimited file of words in Cloud Storage. Only a single file is accepted. Structure is documented below.
    WordList PreventionContentPolicyInspectConfigCustomInfoTypeDictionaryWordList
    List of words or phrases to search for. Structure is documented below.
    cloud_storage_path object
    Newline-delimited file of words in Cloud Storage. Only a single file is accepted. Structure is documented below.
    word_list object
    List of words or phrases to search for. Structure is documented below.
    cloudStoragePath PreventionContentPolicyInspectConfigCustomInfoTypeDictionaryCloudStoragePath
    Newline-delimited file of words in Cloud Storage. Only a single file is accepted. Structure is documented below.
    wordList PreventionContentPolicyInspectConfigCustomInfoTypeDictionaryWordList
    List of words or phrases to search for. Structure is documented below.
    cloudStoragePath PreventionContentPolicyInspectConfigCustomInfoTypeDictionaryCloudStoragePath
    Newline-delimited file of words in Cloud Storage. Only a single file is accepted. Structure is documented below.
    wordList PreventionContentPolicyInspectConfigCustomInfoTypeDictionaryWordList
    List of words or phrases to search for. Structure is documented below.
    cloud_storage_path PreventionContentPolicyInspectConfigCustomInfoTypeDictionaryCloudStoragePath
    Newline-delimited file of words in Cloud Storage. Only a single file is accepted. Structure is documented below.
    word_list PreventionContentPolicyInspectConfigCustomInfoTypeDictionaryWordList
    List of words or phrases to search for. Structure is documented below.
    cloudStoragePath Property Map
    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.

    PreventionContentPolicyInspectConfigCustomInfoTypeDictionaryCloudStoragePath, PreventionContentPolicyInspectConfigCustomInfoTypeDictionaryCloudStoragePathArgs

    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 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

    PreventionContentPolicyInspectConfigCustomInfoTypeDictionaryWordList, PreventionContentPolicyInspectConfigCustomInfoTypeDictionaryWordListArgs

    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 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.

    PreventionContentPolicyInspectConfigCustomInfoTypeFileLabelInfoType, PreventionContentPolicyInspectConfigCustomInfoTypeFileLabelInfoTypeArgs

    GoogleDriveLabel PreventionContentPolicyInspectConfigCustomInfoTypeFileLabelInfoTypeGoogleDriveLabel
    Google Drive labels published by Google. Structure is documented below.
    SensitivityLabel PreventionContentPolicyInspectConfigCustomInfoTypeFileLabelInfoTypeSensitivityLabel
    Sensitivity labels published by Microsoft. Structure is documented below.
    GoogleDriveLabel PreventionContentPolicyInspectConfigCustomInfoTypeFileLabelInfoTypeGoogleDriveLabel
    Google Drive labels published by Google. Structure is documented below.
    SensitivityLabel PreventionContentPolicyInspectConfigCustomInfoTypeFileLabelInfoTypeSensitivityLabel
    Sensitivity labels published by Microsoft. Structure is documented below.
    google_drive_label object
    Google Drive labels published by Google. Structure is documented below.
    sensitivity_label object
    Sensitivity labels published by Microsoft. Structure is documented below.
    googleDriveLabel PreventionContentPolicyInspectConfigCustomInfoTypeFileLabelInfoTypeGoogleDriveLabel
    Google Drive labels published by Google. Structure is documented below.
    sensitivityLabel PreventionContentPolicyInspectConfigCustomInfoTypeFileLabelInfoTypeSensitivityLabel
    Sensitivity labels published by Microsoft. Structure is documented below.
    googleDriveLabel PreventionContentPolicyInspectConfigCustomInfoTypeFileLabelInfoTypeGoogleDriveLabel
    Google Drive labels published by Google. Structure is documented below.
    sensitivityLabel PreventionContentPolicyInspectConfigCustomInfoTypeFileLabelInfoTypeSensitivityLabel
    Sensitivity labels published by Microsoft. Structure is documented below.
    google_drive_label PreventionContentPolicyInspectConfigCustomInfoTypeFileLabelInfoTypeGoogleDriveLabel
    Google Drive labels published by Google. Structure is documented below.
    sensitivity_label PreventionContentPolicyInspectConfigCustomInfoTypeFileLabelInfoTypeSensitivityLabel
    Sensitivity labels published by Microsoft. Structure is documented below.
    googleDriveLabel Property Map
    Google Drive labels published by Google. Structure is documented below.
    sensitivityLabel Property Map
    Sensitivity labels published by Microsoft. Structure is documented below.

    PreventionContentPolicyInspectConfigCustomInfoTypeFileLabelInfoTypeGoogleDriveLabel, PreventionContentPolicyInspectConfigCustomInfoTypeFileLabelInfoTypeGoogleDriveLabelArgs

    LabelId string
    The label ID of the Google Drive label.
    LabelFieldsToMatches List<PreventionContentPolicyInspectConfigCustomInfoTypeFileLabelInfoTypeGoogleDriveLabelLabelFieldsToMatch>
    The field values of the Google Drive label to match. Structure is documented below.
    LabelId string
    The label ID of the Google Drive label.
    LabelFieldsToMatches []PreventionContentPolicyInspectConfigCustomInfoTypeFileLabelInfoTypeGoogleDriveLabelLabelFieldsToMatch
    The field values of the Google Drive label to match. Structure is documented below.
    label_id string
    The label ID of the Google Drive label.
    label_fields_to_matches list(object)
    The field values of the Google Drive label to match. Structure is documented below.
    labelId String
    The label ID of the Google Drive label.
    labelFieldsToMatches List<PreventionContentPolicyInspectConfigCustomInfoTypeFileLabelInfoTypeGoogleDriveLabelLabelFieldsToMatch>
    The field values of the Google Drive label to match. Structure is documented below.
    labelId string
    The label ID of the Google Drive label.
    labelFieldsToMatches PreventionContentPolicyInspectConfigCustomInfoTypeFileLabelInfoTypeGoogleDriveLabelLabelFieldsToMatch[]
    The field values of the Google Drive label to match. Structure is documented below.
    label_id str
    The label ID of the Google Drive label.
    label_fields_to_matches Sequence[PreventionContentPolicyInspectConfigCustomInfoTypeFileLabelInfoTypeGoogleDriveLabelLabelFieldsToMatch]
    The field values of the Google Drive label to match. Structure is documented below.
    labelId String
    The label ID of the Google Drive label.
    labelFieldsToMatches List<Property Map>
    The field values of the Google Drive label to match. Structure is documented below.

    PreventionContentPolicyInspectConfigCustomInfoTypeFileLabelInfoTypeGoogleDriveLabelLabelFieldsToMatch, PreventionContentPolicyInspectConfigCustomInfoTypeFileLabelInfoTypeGoogleDriveLabelLabelFieldsToMatchArgs

    Id string
    The identifier of the Label Field.
    Value string
    The value of the Label Field to match.
    Id string
    The identifier of the Label Field.
    Value string
    The value of the Label Field to match.
    id string
    The identifier of the Label Field.
    value string
    The value of the Label Field to match.
    id String
    The identifier of the Label Field.
    value String
    The value of the Label Field to match.
    id string
    The identifier of the Label Field.
    value string
    The value of the Label Field to match.
    id str
    The identifier of the Label Field.
    value str
    The value of the Label Field to match.
    id String
    The identifier of the Label Field.
    value String
    The value of the Label Field to match.

    PreventionContentPolicyInspectConfigCustomInfoTypeFileLabelInfoTypeSensitivityLabel, PreventionContentPolicyInspectConfigCustomInfoTypeFileLabelInfoTypeSensitivityLabelArgs

    Guid string
    The GUID of the sensitivity label.
    Guid string
    The GUID of the sensitivity label.
    guid string
    The GUID of the sensitivity label.
    guid String
    The GUID of the sensitivity label.
    guid string
    The GUID of the sensitivity label.
    guid str
    The GUID of the sensitivity label.
    guid String
    The GUID of the sensitivity label.

    PreventionContentPolicyInspectConfigCustomInfoTypeInfoType, PreventionContentPolicyInspectConfigCustomInfoTypeInfoTypeArgs

    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 PreventionContentPolicyInspectConfigCustomInfoTypeInfoTypeSensitivityScore
    Optional custom sensitivity for this InfoType. This only applies to data profiling. Structure is documented below.
    Version string
    Version name for this InfoType.
    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 PreventionContentPolicyInspectConfigCustomInfoTypeInfoTypeSensitivityScore
    Optional custom sensitivity for this InfoType. This only applies to data profiling. Structure is documented below.
    Version string
    Version name for this InfoType.
    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.
    sensitivity_score object
    Optional custom sensitivity for this InfoType. This only applies to data profiling. Structure is documented below.
    version string
    Version name for this InfoType.
    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 PreventionContentPolicyInspectConfigCustomInfoTypeInfoTypeSensitivityScore
    Optional custom sensitivity for this InfoType. This only applies to data profiling. Structure is documented below.
    version String
    Version name for this InfoType.
    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 PreventionContentPolicyInspectConfigCustomInfoTypeInfoTypeSensitivityScore
    Optional custom sensitivity for this InfoType. This only applies to data profiling. Structure is documented below.
    version string
    Version name for this InfoType.
    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 PreventionContentPolicyInspectConfigCustomInfoTypeInfoTypeSensitivityScore
    Optional custom sensitivity for this InfoType. This only applies to data profiling. Structure is documented below.
    version str
    Version name for this InfoType.
    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 name for this InfoType.

    PreventionContentPolicyInspectConfigCustomInfoTypeInfoTypeSensitivityScore, PreventionContentPolicyInspectConfigCustomInfoTypeInfoTypeSensitivityScoreArgs

    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 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.

    PreventionContentPolicyInspectConfigCustomInfoTypeMetadataKeyValueExpression, PreventionContentPolicyInspectConfigCustomInfoTypeMetadataKeyValueExpressionArgs

    KeyRegex string
    The regular expression for the key.
    ValueRegex string
    The regular expression for the value.
    KeyRegex string
    The regular expression for the key.
    ValueRegex string
    The regular expression for the value.
    key_regex string
    The regular expression for the key.
    value_regex string
    The regular expression for the value.
    keyRegex String
    The regular expression for the key.
    valueRegex String
    The regular expression for the value.
    keyRegex string
    The regular expression for the key.
    valueRegex string
    The regular expression for the value.
    key_regex str
    The regular expression for the key.
    value_regex str
    The regular expression for the value.
    keyRegex String
    The regular expression for the key.
    valueRegex String
    The regular expression for the value.

    PreventionContentPolicyInspectConfigCustomInfoTypeRegex, PreventionContentPolicyInspectConfigCustomInfoTypeRegexArgs

    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.
    group_indexes 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.
    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.

    PreventionContentPolicyInspectConfigCustomInfoTypeSensitivityScore, PreventionContentPolicyInspectConfigCustomInfoTypeSensitivityScoreArgs

    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 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.

    PreventionContentPolicyInspectConfigCustomInfoTypeStoredType, PreventionContentPolicyInspectConfigCustomInfoTypeStoredTypeArgs

    Name string
    Resource name of the requested StoredInfoType, for example organizations/433245324/storedInfoTypes/432452342 or projects/project-id/storedInfoTypes/432452342.
    CreateTime string
    (Output) Output only. Timestamp indicating when the version of the StoredInfoType used for inspection was created.
    Name string
    Resource name of the requested StoredInfoType, for example organizations/433245324/storedInfoTypes/432452342 or projects/project-id/storedInfoTypes/432452342.
    CreateTime string
    (Output) Output only. Timestamp indicating when the version of the StoredInfoType used for inspection was created.
    name string
    Resource name of the requested StoredInfoType, for example organizations/433245324/storedInfoTypes/432452342 or projects/project-id/storedInfoTypes/432452342.
    create_time string
    (Output) Output only. Timestamp indicating when the version of the StoredInfoType used for inspection was created.
    name String
    Resource name of the requested StoredInfoType, for example organizations/433245324/storedInfoTypes/432452342 or projects/project-id/storedInfoTypes/432452342.
    createTime String
    (Output) Output only. Timestamp indicating when the version of the StoredInfoType used for inspection was created.
    name string
    Resource name of the requested StoredInfoType, for example organizations/433245324/storedInfoTypes/432452342 or projects/project-id/storedInfoTypes/432452342.
    createTime string
    (Output) Output only. Timestamp indicating when the version of the StoredInfoType used for inspection was created.
    name str
    Resource name of the requested StoredInfoType, for example organizations/433245324/storedInfoTypes/432452342 or projects/project-id/storedInfoTypes/432452342.
    create_time str
    (Output) Output only. Timestamp indicating when the version of the StoredInfoType used for inspection was created.
    name String
    Resource name of the requested StoredInfoType, for example organizations/433245324/storedInfoTypes/432452342 or projects/project-id/storedInfoTypes/432452342.
    createTime String
    (Output) Output only. Timestamp indicating when the version of the StoredInfoType used for inspection was created.

    PreventionContentPolicyInspectConfigInfoType, PreventionContentPolicyInspectConfigInfoTypeArgs

    Name string
    Name of the information type.
    SensitivityScore PreventionContentPolicyInspectConfigInfoTypeSensitivityScore
    Optional custom sensitivity for this InfoType. Structure is documented below.
    Version string
    Version name for this InfoType.
    Name string
    Name of the information type.
    SensitivityScore PreventionContentPolicyInspectConfigInfoTypeSensitivityScore
    Optional custom sensitivity for this InfoType. Structure is documented below.
    Version string
    Version name for this InfoType.
    name string
    Name of the information type.
    sensitivity_score object
    Optional custom sensitivity for this InfoType. Structure is documented below.
    version string
    Version name for this InfoType.
    name String
    Name of the information type.
    sensitivityScore PreventionContentPolicyInspectConfigInfoTypeSensitivityScore
    Optional custom sensitivity for this InfoType. Structure is documented below.
    version String
    Version name for this InfoType.
    name string
    Name of the information type.
    sensitivityScore PreventionContentPolicyInspectConfigInfoTypeSensitivityScore
    Optional custom sensitivity for this InfoType. Structure is documented below.
    version string
    Version name for this InfoType.
    name str
    Name of the information type.
    sensitivity_score PreventionContentPolicyInspectConfigInfoTypeSensitivityScore
    Optional custom sensitivity for this InfoType. Structure is documented below.
    version str
    Version name for this InfoType.
    name String
    Name of the information type.
    sensitivityScore Property Map
    Optional custom sensitivity for this InfoType. Structure is documented below.
    version String
    Version name for this InfoType.

    PreventionContentPolicyInspectConfigInfoTypeSensitivityScore, PreventionContentPolicyInspectConfigInfoTypeSensitivityScoreArgs

    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 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.

    PreventionContentPolicyInspectConfigLimits, PreventionContentPolicyInspectConfigLimitsArgs

    MaxFindingsPerItem int
    Max number of findings that will be returned for each item scanned. The maximum returned is 2000.
    MaxFindingsPerRequest int
    Max number of findings that will be returned per request/job. The maximum returned is 2000.
    MaxFindingsPerInfoTypes List<PreventionContentPolicyInspectConfigLimitsMaxFindingsPerInfoType>
    Configuration of findings limit given for specified infoTypes. Structure is documented below.
    MaxFindingsPerItem int
    Max number of findings that will be returned for each item scanned. The maximum returned is 2000.
    MaxFindingsPerRequest int
    Max number of findings that will be returned per request/job. The maximum returned is 2000.
    MaxFindingsPerInfoTypes []PreventionContentPolicyInspectConfigLimitsMaxFindingsPerInfoType
    Configuration of findings limit given for specified infoTypes. Structure is documented below.
    max_findings_per_item number
    Max number of findings that will be returned for each item scanned. The maximum returned is 2000.
    max_findings_per_request number
    Max number of findings that will be returned per request/job. The maximum returned is 2000.
    max_findings_per_info_types list(object)
    Configuration of findings limit given for specified infoTypes. Structure is documented below.
    maxFindingsPerItem Integer
    Max number of findings that will be returned for each item scanned. The maximum returned is 2000.
    maxFindingsPerRequest Integer
    Max number of findings that will be returned per request/job. The maximum returned is 2000.
    maxFindingsPerInfoTypes List<PreventionContentPolicyInspectConfigLimitsMaxFindingsPerInfoType>
    Configuration of findings limit given for specified infoTypes. Structure is documented below.
    maxFindingsPerItem number
    Max number of findings that will be returned for each item scanned. The maximum returned is 2000.
    maxFindingsPerRequest number
    Max number of findings that will be returned per request/job. The maximum returned is 2000.
    maxFindingsPerInfoTypes PreventionContentPolicyInspectConfigLimitsMaxFindingsPerInfoType[]
    Configuration of findings limit given for specified infoTypes. Structure is documented below.
    max_findings_per_item int
    Max number of findings that will be returned for each item scanned. The maximum returned is 2000.
    max_findings_per_request int
    Max number of findings that will be returned per request/job. The maximum returned is 2000.
    max_findings_per_info_types Sequence[PreventionContentPolicyInspectConfigLimitsMaxFindingsPerInfoType]
    Configuration of findings limit given for specified infoTypes. Structure is documented below.
    maxFindingsPerItem Number
    Max number of findings that will be returned for each item scanned. The maximum returned is 2000.
    maxFindingsPerRequest Number
    Max number of findings that will be returned per request/job. The maximum returned is 2000.
    maxFindingsPerInfoTypes List<Property Map>
    Configuration of findings limit given for specified infoTypes. Structure is documented below.

    PreventionContentPolicyInspectConfigLimitsMaxFindingsPerInfoType, PreventionContentPolicyInspectConfigLimitsMaxFindingsPerInfoTypeArgs

    MaxFindings int
    Max findings limit for the given infoType.
    InfoType PreventionContentPolicyInspectConfigLimitsMaxFindingsPerInfoTypeInfoType
    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 PreventionContentPolicyInspectConfigLimitsMaxFindingsPerInfoTypeInfoType
    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 number
    Max findings limit for the given infoType.
    info_type object
    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 PreventionContentPolicyInspectConfigLimitsMaxFindingsPerInfoTypeInfoType
    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.
    infoType PreventionContentPolicyInspectConfigLimitsMaxFindingsPerInfoTypeInfoType
    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.
    info_type PreventionContentPolicyInspectConfigLimitsMaxFindingsPerInfoTypeInfoType
    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.
    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.

    PreventionContentPolicyInspectConfigLimitsMaxFindingsPerInfoTypeInfoType, PreventionContentPolicyInspectConfigLimitsMaxFindingsPerInfoTypeInfoTypeArgs

    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 PreventionContentPolicyInspectConfigLimitsMaxFindingsPerInfoTypeInfoTypeSensitivityScore
    Optional custom sensitivity for this InfoType. This only applies to data profiling. Structure is documented below.
    Version string
    Version name for this InfoType.
    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 PreventionContentPolicyInspectConfigLimitsMaxFindingsPerInfoTypeInfoTypeSensitivityScore
    Optional custom sensitivity for this InfoType. This only applies to data profiling. Structure is documented below.
    Version string
    Version name for this InfoType.
    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.
    sensitivity_score object
    Optional custom sensitivity for this InfoType. This only applies to data profiling. Structure is documented below.
    version string
    Version name for this InfoType.
    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 PreventionContentPolicyInspectConfigLimitsMaxFindingsPerInfoTypeInfoTypeSensitivityScore
    Optional custom sensitivity for this InfoType. This only applies to data profiling. Structure is documented below.
    version String
    Version name for this InfoType.
    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 PreventionContentPolicyInspectConfigLimitsMaxFindingsPerInfoTypeInfoTypeSensitivityScore
    Optional custom sensitivity for this InfoType. This only applies to data profiling. Structure is documented below.
    version string
    Version name for this InfoType.
    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 PreventionContentPolicyInspectConfigLimitsMaxFindingsPerInfoTypeInfoTypeSensitivityScore
    Optional custom sensitivity for this InfoType. This only applies to data profiling. Structure is documented below.
    version str
    Version name for this InfoType.
    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 name for this InfoType.

    PreventionContentPolicyInspectConfigLimitsMaxFindingsPerInfoTypeInfoTypeSensitivityScore, PreventionContentPolicyInspectConfigLimitsMaxFindingsPerInfoTypeInfoTypeSensitivityScoreArgs

    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 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.

    PreventionContentPolicyInspectConfigMinLikelihoodPerInfoType, PreventionContentPolicyInspectConfigMinLikelihoodPerInfoTypeArgs

    MinLikelihood string
    Only returns findings equal or above this threshold. See https://cloud.google.com/dlp/docs/likelihood for more info. Possible values are: VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY.
    InfoType PreventionContentPolicyInspectConfigMinLikelihoodPerInfoTypeInfoType
    Type of information the likeliness threshold applies to. Only one likelihood per infoType should be provided. If InfoTypeLikelihood does not have an info_type, the configuration fails. 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. Possible values are: VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY.
    InfoType PreventionContentPolicyInspectConfigMinLikelihoodPerInfoTypeInfoType
    Type of information the likeliness threshold applies to. Only one likelihood per infoType should be provided. If InfoTypeLikelihood does not have an info_type, the configuration fails. Structure is documented below.
    min_likelihood string
    Only returns findings equal or above this threshold. See https://cloud.google.com/dlp/docs/likelihood for more info. Possible values are: VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY.
    info_type object
    Type of information the likeliness threshold applies to. Only one likelihood per infoType should be provided. If InfoTypeLikelihood does not have an info_type, the configuration fails. 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. Possible values are: VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY.
    infoType PreventionContentPolicyInspectConfigMinLikelihoodPerInfoTypeInfoType
    Type of information the likeliness threshold applies to. Only one likelihood per infoType should be provided. If InfoTypeLikelihood does not have an info_type, the configuration fails. 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. Possible values are: VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY.
    infoType PreventionContentPolicyInspectConfigMinLikelihoodPerInfoTypeInfoType
    Type of information the likeliness threshold applies to. Only one likelihood per infoType should be provided. If InfoTypeLikelihood does not have an info_type, the configuration fails. 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. Possible values are: VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY.
    info_type PreventionContentPolicyInspectConfigMinLikelihoodPerInfoTypeInfoType
    Type of information the likeliness threshold applies to. Only one likelihood per infoType should be provided. If InfoTypeLikelihood does not have an info_type, the configuration fails. 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. Possible values are: VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY.
    infoType Property Map
    Type of information the likeliness threshold applies to. Only one likelihood per infoType should be provided. If InfoTypeLikelihood does not have an info_type, the configuration fails. Structure is documented below.

    PreventionContentPolicyInspectConfigMinLikelihoodPerInfoTypeInfoType, PreventionContentPolicyInspectConfigMinLikelihoodPerInfoTypeInfoTypeArgs

    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 PreventionContentPolicyInspectConfigMinLikelihoodPerInfoTypeInfoTypeSensitivityScore
    Optional custom sensitivity for this InfoType. This only applies to data profiling. Structure is documented below.
    Version string
    Version name for this InfoType.
    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 PreventionContentPolicyInspectConfigMinLikelihoodPerInfoTypeInfoTypeSensitivityScore
    Optional custom sensitivity for this InfoType. This only applies to data profiling. Structure is documented below.
    Version string
    Version name for this InfoType.
    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.
    sensitivity_score object
    Optional custom sensitivity for this InfoType. This only applies to data profiling. Structure is documented below.
    version string
    Version name for this InfoType.
    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 PreventionContentPolicyInspectConfigMinLikelihoodPerInfoTypeInfoTypeSensitivityScore
    Optional custom sensitivity for this InfoType. This only applies to data profiling. Structure is documented below.
    version String
    Version name for this InfoType.
    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 PreventionContentPolicyInspectConfigMinLikelihoodPerInfoTypeInfoTypeSensitivityScore
    Optional custom sensitivity for this InfoType. This only applies to data profiling. Structure is documented below.
    version string
    Version name for this InfoType.
    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 PreventionContentPolicyInspectConfigMinLikelihoodPerInfoTypeInfoTypeSensitivityScore
    Optional custom sensitivity for this InfoType. This only applies to data profiling. Structure is documented below.
    version str
    Version name for this InfoType.
    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 name for this InfoType.

    PreventionContentPolicyInspectConfigMinLikelihoodPerInfoTypeInfoTypeSensitivityScore, PreventionContentPolicyInspectConfigMinLikelihoodPerInfoTypeInfoTypeSensitivityScoreArgs

    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 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.

    PreventionContentPolicyInspectConfigRuleSet, PreventionContentPolicyInspectConfigRuleSetArgs

    InfoTypes List<PreventionContentPolicyInspectConfigRuleSetInfoType>
    List of infoTypes this rule set is applied to. Structure is documented below.
    Rules List<PreventionContentPolicyInspectConfigRuleSetRule>
    Set of rules to be applied to infoTypes. The rules are applied in order. Structure is documented below.
    InfoTypes []PreventionContentPolicyInspectConfigRuleSetInfoType
    List of infoTypes this rule set is applied to. Structure is documented below.
    Rules []PreventionContentPolicyInspectConfigRuleSetRule
    Set of rules to be applied to infoTypes. The rules are applied in order. Structure is documented below.
    info_types list(object)
    List of infoTypes this rule set is applied to. Structure is documented below.
    rules list(object)
    Set of rules to be applied to infoTypes. The rules are applied in order. Structure is documented below.
    infoTypes List<PreventionContentPolicyInspectConfigRuleSetInfoType>
    List of infoTypes this rule set is applied to. Structure is documented below.
    rules List<PreventionContentPolicyInspectConfigRuleSetRule>
    Set of rules to be applied to infoTypes. The rules are applied in order. Structure is documented below.
    infoTypes PreventionContentPolicyInspectConfigRuleSetInfoType[]
    List of infoTypes this rule set is applied to. Structure is documented below.
    rules PreventionContentPolicyInspectConfigRuleSetRule[]
    Set of rules to be applied to infoTypes. The rules are applied in order. Structure is documented below.
    info_types Sequence[PreventionContentPolicyInspectConfigRuleSetInfoType]
    List of infoTypes this rule set is applied to. Structure is documented below.
    rules Sequence[PreventionContentPolicyInspectConfigRuleSetRule]
    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.
    rules List<Property Map>
    Set of rules to be applied to infoTypes. The rules are applied in order. Structure is documented below.

    PreventionContentPolicyInspectConfigRuleSetInfoType, PreventionContentPolicyInspectConfigRuleSetInfoTypeArgs

    Name string
    Name of the information type.
    SensitivityScore PreventionContentPolicyInspectConfigRuleSetInfoTypeSensitivityScore
    Optional custom sensitivity for this InfoType. Structure is documented below.
    Version string
    Version name for this InfoType.
    Name string
    Name of the information type.
    SensitivityScore PreventionContentPolicyInspectConfigRuleSetInfoTypeSensitivityScore
    Optional custom sensitivity for this InfoType. Structure is documented below.
    Version string
    Version name for this InfoType.
    name string
    Name of the information type.
    sensitivity_score object
    Optional custom sensitivity for this InfoType. Structure is documented below.
    version string
    Version name for this InfoType.
    name String
    Name of the information type.
    sensitivityScore PreventionContentPolicyInspectConfigRuleSetInfoTypeSensitivityScore
    Optional custom sensitivity for this InfoType. Structure is documented below.
    version String
    Version name for this InfoType.
    name string
    Name of the information type.
    sensitivityScore PreventionContentPolicyInspectConfigRuleSetInfoTypeSensitivityScore
    Optional custom sensitivity for this InfoType. Structure is documented below.
    version string
    Version name for this InfoType.
    name str
    Name of the information type.
    sensitivity_score PreventionContentPolicyInspectConfigRuleSetInfoTypeSensitivityScore
    Optional custom sensitivity for this InfoType. Structure is documented below.
    version str
    Version name for this InfoType.
    name String
    Name of the information type.
    sensitivityScore Property Map
    Optional custom sensitivity for this InfoType. Structure is documented below.
    version String
    Version name for this InfoType.

    PreventionContentPolicyInspectConfigRuleSetInfoTypeSensitivityScore, PreventionContentPolicyInspectConfigRuleSetInfoTypeSensitivityScoreArgs

    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 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.

    PreventionContentPolicyInspectConfigRuleSetRule, PreventionContentPolicyInspectConfigRuleSetRuleArgs

    AdjustmentRule PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRule
    Rule that specifies conditions when a certain infoType's finding details should be adjusted. Structure is documented below.
    ExclusionRule PreventionContentPolicyInspectConfigRuleSetRuleExclusionRule
    The rule that specifies conditions when findings of infoTypes specified in InspectionRuleSet are removed from results. Structure is documented below.
    HotwordRule PreventionContentPolicyInspectConfigRuleSetRuleHotwordRule
    Hotword-based detection rule. Structure is documented below.
    AdjustmentRule PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRule
    Rule that specifies conditions when a certain infoType's finding details should be adjusted. Structure is documented below.
    ExclusionRule PreventionContentPolicyInspectConfigRuleSetRuleExclusionRule
    The rule that specifies conditions when findings of infoTypes specified in InspectionRuleSet are removed from results. Structure is documented below.
    HotwordRule PreventionContentPolicyInspectConfigRuleSetRuleHotwordRule
    Hotword-based detection rule. Structure is documented below.
    adjustment_rule object
    Rule that specifies conditions when a certain infoType's finding details should be adjusted. Structure is documented below.
    exclusion_rule object
    The rule that specifies conditions when findings of infoTypes specified in InspectionRuleSet are removed from results. Structure is documented below.
    hotword_rule object
    Hotword-based detection rule. Structure is documented below.
    adjustmentRule PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRule
    Rule that specifies conditions when a certain infoType's finding details should be adjusted. Structure is documented below.
    exclusionRule PreventionContentPolicyInspectConfigRuleSetRuleExclusionRule
    The rule that specifies conditions when findings of infoTypes specified in InspectionRuleSet are removed from results. Structure is documented below.
    hotwordRule PreventionContentPolicyInspectConfigRuleSetRuleHotwordRule
    Hotword-based detection rule. Structure is documented below.
    adjustmentRule PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRule
    Rule that specifies conditions when a certain infoType's finding details should be adjusted. Structure is documented below.
    exclusionRule PreventionContentPolicyInspectConfigRuleSetRuleExclusionRule
    The rule that specifies conditions when findings of infoTypes specified in InspectionRuleSet are removed from results. Structure is documented below.
    hotwordRule PreventionContentPolicyInspectConfigRuleSetRuleHotwordRule
    Hotword-based detection rule. Structure is documented below.
    adjustment_rule PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRule
    Rule that specifies conditions when a certain infoType's finding details should be adjusted. Structure is documented below.
    exclusion_rule PreventionContentPolicyInspectConfigRuleSetRuleExclusionRule
    The rule that specifies conditions when findings of infoTypes specified in InspectionRuleSet are removed from results. Structure is documented below.
    hotword_rule PreventionContentPolicyInspectConfigRuleSetRuleHotwordRule
    Hotword-based detection rule. Structure is documented below.
    adjustmentRule Property Map
    Rule that specifies conditions when a certain infoType's finding details should be adjusted. 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.

    PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRule, PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleArgs

    LikelihoodAdjustment PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleLikelihoodAdjustment
    Likelihood adjustment to apply to all matching findings. Structure is documented below.
    AdjustByImageFindings PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByImageFindings
    AdjustmentRule condition for image findings. Structure is documented below.
    AdjustByMatchingInfoTypes PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByMatchingInfoTypes
    AdjustmentRule condition for matching infoTypes. Structure is documented below.
    LikelihoodAdjustment PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleLikelihoodAdjustment
    Likelihood adjustment to apply to all matching findings. Structure is documented below.
    AdjustByImageFindings PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByImageFindings
    AdjustmentRule condition for image findings. Structure is documented below.
    AdjustByMatchingInfoTypes PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByMatchingInfoTypes
    AdjustmentRule condition for matching infoTypes. Structure is documented below.
    likelihood_adjustment object
    Likelihood adjustment to apply to all matching findings. Structure is documented below.
    adjust_by_image_findings object
    AdjustmentRule condition for image findings. Structure is documented below.
    adjust_by_matching_info_types object
    AdjustmentRule condition for matching infoTypes. Structure is documented below.
    likelihoodAdjustment PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleLikelihoodAdjustment
    Likelihood adjustment to apply to all matching findings. Structure is documented below.
    adjustByImageFindings PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByImageFindings
    AdjustmentRule condition for image findings. Structure is documented below.
    adjustByMatchingInfoTypes PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByMatchingInfoTypes
    AdjustmentRule condition for matching infoTypes. Structure is documented below.
    likelihoodAdjustment PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleLikelihoodAdjustment
    Likelihood adjustment to apply to all matching findings. Structure is documented below.
    adjustByImageFindings PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByImageFindings
    AdjustmentRule condition for image findings. Structure is documented below.
    adjustByMatchingInfoTypes PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByMatchingInfoTypes
    AdjustmentRule condition for matching infoTypes. Structure is documented below.
    likelihood_adjustment PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleLikelihoodAdjustment
    Likelihood adjustment to apply to all matching findings. Structure is documented below.
    adjust_by_image_findings PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByImageFindings
    AdjustmentRule condition for image findings. Structure is documented below.
    adjust_by_matching_info_types PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByMatchingInfoTypes
    AdjustmentRule condition for matching infoTypes. Structure is documented below.
    likelihoodAdjustment Property Map
    Likelihood adjustment to apply to all matching findings. Structure is documented below.
    adjustByImageFindings Property Map
    AdjustmentRule condition for image findings. Structure is documented below.
    adjustByMatchingInfoTypes Property Map
    AdjustmentRule condition for matching infoTypes. Structure is documented below.

    PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByImageFindings, PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByImageFindingsArgs

    InfoTypes List<PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByImageFindingsInfoType>
    A list of image-supported infoTypes to be used as context for the adjustment rule. Structure is documented below.
    MinLikelihood string
    Minimum likelihood of the adjustByImageFindings infoTypes finding. Possible values are: VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY.
    ImageContainmentType PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByImageFindingsImageContainmentType
    Specifies the required spatial relationship between the bounding boxes of the target finding and the context infoType findings. Structure is documented below.
    InfoTypes []PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByImageFindingsInfoType
    A list of image-supported infoTypes to be used as context for the adjustment rule. Structure is documented below.
    MinLikelihood string
    Minimum likelihood of the adjustByImageFindings infoTypes finding. Possible values are: VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY.
    ImageContainmentType PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByImageFindingsImageContainmentType
    Specifies the required spatial relationship between the bounding boxes of the target finding and the context infoType findings. Structure is documented below.
    info_types list(object)
    A list of image-supported infoTypes to be used as context for the adjustment rule. Structure is documented below.
    min_likelihood string
    Minimum likelihood of the adjustByImageFindings infoTypes finding. Possible values are: VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY.
    image_containment_type object
    Specifies the required spatial relationship between the bounding boxes of the target finding and the context infoType findings. Structure is documented below.
    infoTypes List<PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByImageFindingsInfoType>
    A list of image-supported infoTypes to be used as context for the adjustment rule. Structure is documented below.
    minLikelihood String
    Minimum likelihood of the adjustByImageFindings infoTypes finding. Possible values are: VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY.
    imageContainmentType PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByImageFindingsImageContainmentType
    Specifies the required spatial relationship between the bounding boxes of the target finding and the context infoType findings. Structure is documented below.
    infoTypes PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByImageFindingsInfoType[]
    A list of image-supported infoTypes to be used as context for the adjustment rule. Structure is documented below.
    minLikelihood string
    Minimum likelihood of the adjustByImageFindings infoTypes finding. Possible values are: VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY.
    imageContainmentType PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByImageFindingsImageContainmentType
    Specifies the required spatial relationship between the bounding boxes of the target finding and the context infoType findings. Structure is documented below.
    info_types Sequence[PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByImageFindingsInfoType]
    A list of image-supported infoTypes to be used as context for the adjustment rule. Structure is documented below.
    min_likelihood str
    Minimum likelihood of the adjustByImageFindings infoTypes finding. Possible values are: VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY.
    image_containment_type PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByImageFindingsImageContainmentType
    Specifies the required spatial relationship between the bounding boxes of the target finding and the context infoType findings. Structure is documented below.
    infoTypes List<Property Map>
    A list of image-supported infoTypes to be used as context for the adjustment rule. Structure is documented below.
    minLikelihood String
    Minimum likelihood of the adjustByImageFindings infoTypes finding. Possible values are: VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY.
    imageContainmentType Property Map
    Specifies the required spatial relationship between the bounding boxes of the target finding and the context infoType findings. Structure is documented below.

    PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByImageFindingsImageContainmentType, PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByImageFindingsImageContainmentTypeArgs

    encloses object
    Defines a condition where one bounding box encloses another.
    fully_inside object
    Defines a condition where one bounding box is fully inside another.
    overlaps object
    Defines a condition for overlapping bounding boxes.
    encloses Property Map
    Defines a condition where one bounding box encloses another.
    fullyInside Property Map
    Defines a condition where one bounding box is fully inside another.
    overlaps Property Map
    Defines a condition for overlapping bounding boxes.

    PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByImageFindingsInfoType, PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByImageFindingsInfoTypeArgs

    Name string
    Name of the information type.
    SensitivityScore PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByImageFindingsInfoTypeSensitivityScore
    Optional custom sensitivity for this InfoType. Structure is documented below.
    Version string
    Version name for this InfoType.
    Name string
    Name of the information type.
    SensitivityScore PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByImageFindingsInfoTypeSensitivityScore
    Optional custom sensitivity for this InfoType. Structure is documented below.
    Version string
    Version name for this InfoType.
    name string
    Name of the information type.
    sensitivity_score object
    Optional custom sensitivity for this InfoType. Structure is documented below.
    version string
    Version name for this InfoType.
    name String
    Name of the information type.
    sensitivityScore PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByImageFindingsInfoTypeSensitivityScore
    Optional custom sensitivity for this InfoType. Structure is documented below.
    version String
    Version name for this InfoType.
    name string
    Name of the information type.
    sensitivityScore PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByImageFindingsInfoTypeSensitivityScore
    Optional custom sensitivity for this InfoType. Structure is documented below.
    version string
    Version name for this InfoType.
    name str
    Name of the information type.
    sensitivity_score PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByImageFindingsInfoTypeSensitivityScore
    Optional custom sensitivity for this InfoType. Structure is documented below.
    version str
    Version name for this InfoType.
    name String
    Name of the information type.
    sensitivityScore Property Map
    Optional custom sensitivity for this InfoType. Structure is documented below.
    version String
    Version name for this InfoType.

    PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByImageFindingsInfoTypeSensitivityScore, PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByImageFindingsInfoTypeSensitivityScoreArgs

    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 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.

    PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByMatchingInfoTypes, PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByMatchingInfoTypesArgs

    InfoTypes List<PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByMatchingInfoTypesInfoType>
    Sensitive Data Protection adjusts the likelihood of a finding if that finding also matches one of these infoTypes. Structure is documented below.
    MatchingType string
    How the adjustment rule is applied. Possible values are: MATCHING_TYPE_FULL_MATCH, MATCHING_TYPE_PARTIAL_MATCH, MATCHING_TYPE_INVERSE_MATCH.
    MinLikelihood string
    Minimum likelihood of the adjustByMatchingInfoTypes infoTypes finding. Possible values are: VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY.
    InfoTypes []PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByMatchingInfoTypesInfoType
    Sensitive Data Protection adjusts the likelihood of a finding if that finding also matches one of these infoTypes. Structure is documented below.
    MatchingType string
    How the adjustment rule is applied. Possible values are: MATCHING_TYPE_FULL_MATCH, MATCHING_TYPE_PARTIAL_MATCH, MATCHING_TYPE_INVERSE_MATCH.
    MinLikelihood string
    Minimum likelihood of the adjustByMatchingInfoTypes infoTypes finding. Possible values are: VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY.
    info_types list(object)
    Sensitive Data Protection adjusts the likelihood of a finding if that finding also matches one of these infoTypes. Structure is documented below.
    matching_type string
    How the adjustment rule is applied. Possible values are: MATCHING_TYPE_FULL_MATCH, MATCHING_TYPE_PARTIAL_MATCH, MATCHING_TYPE_INVERSE_MATCH.
    min_likelihood string
    Minimum likelihood of the adjustByMatchingInfoTypes infoTypes finding. Possible values are: VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY.
    infoTypes List<PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByMatchingInfoTypesInfoType>
    Sensitive Data Protection adjusts the likelihood of a finding if that finding also matches one of these infoTypes. Structure is documented below.
    matchingType String
    How the adjustment rule is applied. Possible values are: MATCHING_TYPE_FULL_MATCH, MATCHING_TYPE_PARTIAL_MATCH, MATCHING_TYPE_INVERSE_MATCH.
    minLikelihood String
    Minimum likelihood of the adjustByMatchingInfoTypes infoTypes finding. Possible values are: VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY.
    infoTypes PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByMatchingInfoTypesInfoType[]
    Sensitive Data Protection adjusts the likelihood of a finding if that finding also matches one of these infoTypes. Structure is documented below.
    matchingType string
    How the adjustment rule is applied. Possible values are: MATCHING_TYPE_FULL_MATCH, MATCHING_TYPE_PARTIAL_MATCH, MATCHING_TYPE_INVERSE_MATCH.
    minLikelihood string
    Minimum likelihood of the adjustByMatchingInfoTypes infoTypes finding. Possible values are: VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY.
    info_types Sequence[PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByMatchingInfoTypesInfoType]
    Sensitive Data Protection adjusts the likelihood of a finding if that finding also matches one of these infoTypes. Structure is documented below.
    matching_type str
    How the adjustment rule is applied. Possible values are: MATCHING_TYPE_FULL_MATCH, MATCHING_TYPE_PARTIAL_MATCH, MATCHING_TYPE_INVERSE_MATCH.
    min_likelihood str
    Minimum likelihood of the adjustByMatchingInfoTypes infoTypes finding. Possible values are: VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY.
    infoTypes List<Property Map>
    Sensitive Data Protection adjusts the likelihood of a finding if that finding also matches one of these infoTypes. Structure is documented below.
    matchingType String
    How the adjustment rule is applied. Possible values are: MATCHING_TYPE_FULL_MATCH, MATCHING_TYPE_PARTIAL_MATCH, MATCHING_TYPE_INVERSE_MATCH.
    minLikelihood String
    Minimum likelihood of the adjustByMatchingInfoTypes infoTypes finding. Possible values are: VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY.

    PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByMatchingInfoTypesInfoType, PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByMatchingInfoTypesInfoTypeArgs

    Name string
    Name of the information type.
    SensitivityScore PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByMatchingInfoTypesInfoTypeSensitivityScore
    Optional custom sensitivity for this InfoType. Structure is documented below.
    Version string
    Version name for this InfoType.
    Name string
    Name of the information type.
    SensitivityScore PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByMatchingInfoTypesInfoTypeSensitivityScore
    Optional custom sensitivity for this InfoType. Structure is documented below.
    Version string
    Version name for this InfoType.
    name string
    Name of the information type.
    sensitivity_score object
    Optional custom sensitivity for this InfoType. Structure is documented below.
    version string
    Version name for this InfoType.
    name String
    Name of the information type.
    sensitivityScore PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByMatchingInfoTypesInfoTypeSensitivityScore
    Optional custom sensitivity for this InfoType. Structure is documented below.
    version String
    Version name for this InfoType.
    name string
    Name of the information type.
    sensitivityScore PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByMatchingInfoTypesInfoTypeSensitivityScore
    Optional custom sensitivity for this InfoType. Structure is documented below.
    version string
    Version name for this InfoType.
    name str
    Name of the information type.
    sensitivity_score PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByMatchingInfoTypesInfoTypeSensitivityScore
    Optional custom sensitivity for this InfoType. Structure is documented below.
    version str
    Version name for this InfoType.
    name String
    Name of the information type.
    sensitivityScore Property Map
    Optional custom sensitivity for this InfoType. Structure is documented below.
    version String
    Version name for this InfoType.

    PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByMatchingInfoTypesInfoTypeSensitivityScore, PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleAdjustByMatchingInfoTypesInfoTypeSensitivityScoreArgs

    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 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.

    PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleLikelihoodAdjustment, PreventionContentPolicyInspectConfigRuleSetRuleAdjustmentRuleLikelihoodAdjustmentArgs

    FixedLikelihood string
    Set the likelihood of a finding to a fixed value. Either this or relativeLikelihood can be set. Possible values are: VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY.
    FixedLikelihood string
    Set the likelihood of a finding to a fixed value. Either this or relativeLikelihood can be set. Possible values are: VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY.
    fixed_likelihood string
    Set the likelihood of a finding to a fixed value. Either this or relativeLikelihood can be set. Possible values are: VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY.
    fixedLikelihood String
    Set the likelihood of a finding to a fixed value. Either this or relativeLikelihood can be set. Possible values are: VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY.
    fixedLikelihood string
    Set the likelihood of a finding to a fixed value. Either this or relativeLikelihood can be set. Possible values are: VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY.
    fixed_likelihood str
    Set the likelihood of a finding to a fixed value. Either this or relativeLikelihood can be set. Possible values are: VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY.
    fixedLikelihood String
    Set the likelihood of a finding to a fixed value. Either this or relativeLikelihood can be set. Possible values are: VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY.

    PreventionContentPolicyInspectConfigRuleSetRuleExclusionRule, PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleArgs

    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, MATCHING_TYPE_RULE_SPECIFIC.
    Dictionary PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleDictionary
    Dictionary which defines the rule. Structure is documented below.
    ExcludeByHotword PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByHotword
    Drop if the hotword rule is contained in the proximate context. For tabular data, the context includes the column name. Structure is documented below.
    ExcludeByImageFindings PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByImageFindings
    The rule to exclude image findings based on spatial relationships with other image findings. Structure is documented below.
    ExcludeInfoTypes PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeInfoTypes
    Set of infoTypes for which findings would affect this rule. Structure is documented below.
    Regex PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleRegex
    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, MATCHING_TYPE_RULE_SPECIFIC.
    Dictionary PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleDictionary
    Dictionary which defines the rule. Structure is documented below.
    ExcludeByHotword PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByHotword
    Drop if the hotword rule is contained in the proximate context. For tabular data, the context includes the column name. Structure is documented below.
    ExcludeByImageFindings PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByImageFindings
    The rule to exclude image findings based on spatial relationships with other image findings. Structure is documented below.
    ExcludeInfoTypes PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeInfoTypes
    Set of infoTypes for which findings would affect this rule. Structure is documented below.
    Regex PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleRegex
    Regular expression which defines the rule. Structure is documented below.
    matching_type 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, MATCHING_TYPE_RULE_SPECIFIC.
    dictionary object
    Dictionary which defines the rule. Structure is documented below.
    exclude_by_hotword object
    Drop if the hotword rule is contained in the proximate context. For tabular data, the context includes the column name. Structure is documented below.
    exclude_by_image_findings object
    The rule to exclude image findings based on spatial relationships with other image findings. Structure is documented below.
    exclude_info_types object
    Set of infoTypes for which findings would affect this rule. Structure is documented below.
    regex object
    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, MATCHING_TYPE_RULE_SPECIFIC.
    dictionary PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleDictionary
    Dictionary which defines the rule. Structure is documented below.
    excludeByHotword PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByHotword
    Drop if the hotword rule is contained in the proximate context. For tabular data, the context includes the column name. Structure is documented below.
    excludeByImageFindings PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByImageFindings
    The rule to exclude image findings based on spatial relationships with other image findings. Structure is documented below.
    excludeInfoTypes PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeInfoTypes
    Set of infoTypes for which findings would affect this rule. Structure is documented below.
    regex PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleRegex
    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, MATCHING_TYPE_RULE_SPECIFIC.
    dictionary PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleDictionary
    Dictionary which defines the rule. Structure is documented below.
    excludeByHotword PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByHotword
    Drop if the hotword rule is contained in the proximate context. For tabular data, the context includes the column name. Structure is documented below.
    excludeByImageFindings PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByImageFindings
    The rule to exclude image findings based on spatial relationships with other image findings. Structure is documented below.
    excludeInfoTypes PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeInfoTypes
    Set of infoTypes for which findings would affect this rule. Structure is documented below.
    regex PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleRegex
    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, MATCHING_TYPE_RULE_SPECIFIC.
    dictionary PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleDictionary
    Dictionary which defines the rule. Structure is documented below.
    exclude_by_hotword PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByHotword
    Drop if the hotword rule is contained in the proximate context. For tabular data, the context includes the column name. Structure is documented below.
    exclude_by_image_findings PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByImageFindings
    The rule to exclude image findings based on spatial relationships with other image findings. Structure is documented below.
    exclude_info_types PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeInfoTypes
    Set of infoTypes for which findings would affect this rule. Structure is documented below.
    regex PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleRegex
    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, MATCHING_TYPE_RULE_SPECIFIC.
    dictionary Property Map
    Dictionary which defines the rule. Structure is documented below.
    excludeByHotword Property Map
    Drop if the hotword rule is contained in the proximate context. For tabular data, the context includes the column name. Structure is documented below.
    excludeByImageFindings Property Map
    The rule to exclude image findings based on spatial relationships with other image findings. Structure is documented below.
    excludeInfoTypes Property Map
    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.

    PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleDictionary, PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleDictionaryArgs

    CloudStoragePath PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleDictionaryCloudStoragePath
    Newline-delimited file of words in Cloud Storage. Only a single file is accepted. Structure is documented below.
    WordList PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleDictionaryWordList
    List of words or phrases to search for. Structure is documented below.
    CloudStoragePath PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleDictionaryCloudStoragePath
    Newline-delimited file of words in Cloud Storage. Only a single file is accepted. Structure is documented below.
    WordList PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleDictionaryWordList
    List of words or phrases to search for. Structure is documented below.
    cloud_storage_path object
    Newline-delimited file of words in Cloud Storage. Only a single file is accepted. Structure is documented below.
    word_list object
    List of words or phrases to search for. Structure is documented below.
    cloudStoragePath PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleDictionaryCloudStoragePath
    Newline-delimited file of words in Cloud Storage. Only a single file is accepted. Structure is documented below.
    wordList PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleDictionaryWordList
    List of words or phrases to search for. Structure is documented below.
    cloudStoragePath PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleDictionaryCloudStoragePath
    Newline-delimited file of words in Cloud Storage. Only a single file is accepted. Structure is documented below.
    wordList PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleDictionaryWordList
    List of words or phrases to search for. Structure is documented below.
    cloud_storage_path PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleDictionaryCloudStoragePath
    Newline-delimited file of words in Cloud Storage. Only a single file is accepted. Structure is documented below.
    word_list PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleDictionaryWordList
    List of words or phrases to search for. Structure is documented below.
    cloudStoragePath Property Map
    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.

    PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleDictionaryCloudStoragePath, PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleDictionaryCloudStoragePathArgs

    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 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

    PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleDictionaryWordList, PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleDictionaryWordListArgs

    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 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.

    PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByHotword, PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByHotwordArgs

    HotwordRegex PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByHotwordHotwordRegex
    Regular expression pattern defining what qualifies as a hotword. Structure is documented below.
    Proximity PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByHotwordProximity
    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), where xxx is the area code in question. Structure is documented below.
    HotwordRegex PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByHotwordHotwordRegex
    Regular expression pattern defining what qualifies as a hotword. Structure is documented below.
    Proximity PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByHotwordProximity
    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), where xxx is the area code in question. Structure is documented below.
    hotword_regex object
    Regular expression pattern defining what qualifies as a hotword. Structure is documented below.
    proximity object
    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), where xxx is the area code in question. Structure is documented below.
    hotwordRegex PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByHotwordHotwordRegex
    Regular expression pattern defining what qualifies as a hotword. Structure is documented below.
    proximity PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByHotwordProximity
    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), where xxx is the area code in question. Structure is documented below.
    hotwordRegex PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByHotwordHotwordRegex
    Regular expression pattern defining what qualifies as a hotword. Structure is documented below.
    proximity PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByHotwordProximity
    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), where xxx is the area code in question. Structure is documented below.
    hotword_regex PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByHotwordHotwordRegex
    Regular expression pattern defining what qualifies as a hotword. Structure is documented below.
    proximity PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByHotwordProximity
    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), where xxx is 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), where xxx is the area code in question. Structure is documented below.

    PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByHotwordHotwordRegex, PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByHotwordHotwordRegexArgs

    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.
    group_indexes 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.
    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.

    PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByHotwordProximity, PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByHotwordProximityArgs

    WindowAfter int
    Number of characters after the finding to consider.
    WindowBefore int
    Number of characters before the finding to consider.
    WindowAfter int
    Number of characters after the finding to consider.
    WindowBefore int
    Number of characters before the finding to consider.
    window_after number
    Number of characters after the finding to consider.
    window_before number
    Number of characters before the finding to consider.
    windowAfter Integer
    Number of characters after the finding to consider.
    windowBefore Integer
    Number of characters before the finding to consider.
    windowAfter number
    Number of characters after the finding to consider.
    windowBefore number
    Number of characters before the finding to consider.
    window_after int
    Number of characters after the finding to consider.
    window_before int
    Number of characters before the finding to consider.
    windowAfter Number
    Number of characters after the finding to consider.
    windowBefore Number
    Number of characters before the finding to consider.

    PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByImageFindings, PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByImageFindingsArgs

    InfoTypes List<PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByImageFindingsInfoType>
    A list of image-supported infoTypes to be used as context for the exclusion rule. Structure is documented below.
    ImageContainmentType PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByImageFindingsImageContainmentType
    Specifies the required spatial relationship between the bounding boxes of the target finding and the context infoType findings. Structure is documented below.
    InfoTypes []PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByImageFindingsInfoType
    A list of image-supported infoTypes to be used as context for the exclusion rule. Structure is documented below.
    ImageContainmentType PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByImageFindingsImageContainmentType
    Specifies the required spatial relationship between the bounding boxes of the target finding and the context infoType findings. Structure is documented below.
    info_types list(object)
    A list of image-supported infoTypes to be used as context for the exclusion rule. Structure is documented below.
    image_containment_type object
    Specifies the required spatial relationship between the bounding boxes of the target finding and the context infoType findings. Structure is documented below.
    infoTypes List<PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByImageFindingsInfoType>
    A list of image-supported infoTypes to be used as context for the exclusion rule. Structure is documented below.
    imageContainmentType PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByImageFindingsImageContainmentType
    Specifies the required spatial relationship between the bounding boxes of the target finding and the context infoType findings. Structure is documented below.
    infoTypes PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByImageFindingsInfoType[]
    A list of image-supported infoTypes to be used as context for the exclusion rule. Structure is documented below.
    imageContainmentType PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByImageFindingsImageContainmentType
    Specifies the required spatial relationship between the bounding boxes of the target finding and the context infoType findings. Structure is documented below.
    info_types Sequence[PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByImageFindingsInfoType]
    A list of image-supported infoTypes to be used as context for the exclusion rule. Structure is documented below.
    image_containment_type PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByImageFindingsImageContainmentType
    Specifies the required spatial relationship between the bounding boxes of the target finding and the context infoType findings. Structure is documented below.
    infoTypes List<Property Map>
    A list of image-supported infoTypes to be used as context for the exclusion rule. Structure is documented below.
    imageContainmentType Property Map
    Specifies the required spatial relationship between the bounding boxes of the target finding and the context infoType findings. Structure is documented below.

    PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByImageFindingsImageContainmentType, PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByImageFindingsImageContainmentTypeArgs

    encloses object
    Defines a condition where one bounding box encloses another.
    fully_inside object
    Defines a condition where one bounding box is fully inside another.
    overlaps object
    Defines a condition for overlapping bounding boxes.
    encloses Property Map
    Defines a condition where one bounding box encloses another.
    fullyInside Property Map
    Defines a condition where one bounding box is fully inside another.
    overlaps Property Map
    Defines a condition for overlapping bounding boxes.

    PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByImageFindingsInfoType, PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByImageFindingsInfoTypeArgs

    Name string
    Name of the information type.
    SensitivityScore PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByImageFindingsInfoTypeSensitivityScore
    Optional custom sensitivity for this InfoType. Structure is documented below.
    Version string
    Version name for this InfoType.
    Name string
    Name of the information type.
    SensitivityScore PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByImageFindingsInfoTypeSensitivityScore
    Optional custom sensitivity for this InfoType. Structure is documented below.
    Version string
    Version name for this InfoType.
    name string
    Name of the information type.
    sensitivity_score object
    Optional custom sensitivity for this InfoType. Structure is documented below.
    version string
    Version name for this InfoType.
    name String
    Name of the information type.
    sensitivityScore PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByImageFindingsInfoTypeSensitivityScore
    Optional custom sensitivity for this InfoType. Structure is documented below.
    version String
    Version name for this InfoType.
    name string
    Name of the information type.
    sensitivityScore PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByImageFindingsInfoTypeSensitivityScore
    Optional custom sensitivity for this InfoType. Structure is documented below.
    version string
    Version name for this InfoType.
    name str
    Name of the information type.
    sensitivity_score PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByImageFindingsInfoTypeSensitivityScore
    Optional custom sensitivity for this InfoType. Structure is documented below.
    version str
    Version name for this InfoType.
    name String
    Name of the information type.
    sensitivityScore Property Map
    Optional custom sensitivity for this InfoType. Structure is documented below.
    version String
    Version name for this InfoType.

    PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByImageFindingsInfoTypeSensitivityScore, PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeByImageFindingsInfoTypeSensitivityScoreArgs

    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 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.

    PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeInfoTypes, PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeInfoTypesArgs

    InfoTypes List<PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeInfoTypesInfoType>
    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 []PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeInfoTypesInfoType
    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 list(object)
    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<PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeInfoTypesInfoType>
    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 PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeInfoTypesInfoType[]
    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[PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeInfoTypesInfoType]
    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.

    PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeInfoTypesInfoType, PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeInfoTypesInfoTypeArgs

    Name string
    Name of the information type.
    SensitivityScore PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeInfoTypesInfoTypeSensitivityScore
    Optional custom sensitivity for this InfoType. Structure is documented below.
    Version string
    Version name for this InfoType.
    Name string
    Name of the information type.
    SensitivityScore PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeInfoTypesInfoTypeSensitivityScore
    Optional custom sensitivity for this InfoType. Structure is documented below.
    Version string
    Version name for this InfoType.
    name string
    Name of the information type.
    sensitivity_score object
    Optional custom sensitivity for this InfoType. Structure is documented below.
    version string
    Version name for this InfoType.
    name String
    Name of the information type.
    sensitivityScore PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeInfoTypesInfoTypeSensitivityScore
    Optional custom sensitivity for this InfoType. Structure is documented below.
    version String
    Version name for this InfoType.
    name string
    Name of the information type.
    sensitivityScore PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeInfoTypesInfoTypeSensitivityScore
    Optional custom sensitivity for this InfoType. Structure is documented below.
    version string
    Version name for this InfoType.
    name str
    Name of the information type.
    sensitivity_score PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeInfoTypesInfoTypeSensitivityScore
    Optional custom sensitivity for this InfoType. Structure is documented below.
    version str
    Version name for this InfoType.
    name String
    Name of the information type.
    sensitivityScore Property Map
    Optional custom sensitivity for this InfoType. Structure is documented below.
    version String
    Version name for this InfoType.

    PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeInfoTypesInfoTypeSensitivityScore, PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleExcludeInfoTypesInfoTypeSensitivityScoreArgs

    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 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.

    PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleRegex, PreventionContentPolicyInspectConfigRuleSetRuleExclusionRuleRegexArgs

    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.
    group_indexes 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.
    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.

    PreventionContentPolicyInspectConfigRuleSetRuleHotwordRule, PreventionContentPolicyInspectConfigRuleSetRuleHotwordRuleArgs

    HotwordRegex PreventionContentPolicyInspectConfigRuleSetRuleHotwordRuleHotwordRegex
    Regular expression pattern defining what qualifies as a hotword. Structure is documented below.
    LikelihoodAdjustment PreventionContentPolicyInspectConfigRuleSetRuleHotwordRuleLikelihoodAdjustment
    Likelihood adjustment to apply to all matching findings. Structure is documented below.
    Proximity PreventionContentPolicyInspectConfigRuleSetRuleHotwordRuleProximity
    Proximity of the finding within which the entire hotword must reside. The total length of the window cannot exceed 1000 characters. Structure is documented below.
    HotwordRegex PreventionContentPolicyInspectConfigRuleSetRuleHotwordRuleHotwordRegex
    Regular expression pattern defining what qualifies as a hotword. Structure is documented below.
    LikelihoodAdjustment PreventionContentPolicyInspectConfigRuleSetRuleHotwordRuleLikelihoodAdjustment
    Likelihood adjustment to apply to all matching findings. Structure is documented below.
    Proximity PreventionContentPolicyInspectConfigRuleSetRuleHotwordRuleProximity
    Proximity of the finding within which the entire hotword must reside. The total length of the window cannot exceed 1000 characters. Structure is documented below.
    hotword_regex object
    Regular expression pattern defining what qualifies as a hotword. Structure is documented below.
    likelihood_adjustment object
    Likelihood adjustment to apply to all matching findings. Structure is documented below.
    proximity object
    Proximity of the finding within which the entire hotword must reside. The total length of the window cannot exceed 1000 characters. Structure is documented below.
    hotwordRegex PreventionContentPolicyInspectConfigRuleSetRuleHotwordRuleHotwordRegex
    Regular expression pattern defining what qualifies as a hotword. Structure is documented below.
    likelihoodAdjustment PreventionContentPolicyInspectConfigRuleSetRuleHotwordRuleLikelihoodAdjustment
    Likelihood adjustment to apply to all matching findings. Structure is documented below.
    proximity PreventionContentPolicyInspectConfigRuleSetRuleHotwordRuleProximity
    Proximity of the finding within which the entire hotword must reside. The total length of the window cannot exceed 1000 characters. Structure is documented below.
    hotwordRegex PreventionContentPolicyInspectConfigRuleSetRuleHotwordRuleHotwordRegex
    Regular expression pattern defining what qualifies as a hotword. Structure is documented below.
    likelihoodAdjustment PreventionContentPolicyInspectConfigRuleSetRuleHotwordRuleLikelihoodAdjustment
    Likelihood adjustment to apply to all matching findings. Structure is documented below.
    proximity PreventionContentPolicyInspectConfigRuleSetRuleHotwordRuleProximity
    Proximity of the finding within which the entire hotword must reside. The total length of the window cannot exceed 1000 characters. Structure is documented below.
    hotword_regex PreventionContentPolicyInspectConfigRuleSetRuleHotwordRuleHotwordRegex
    Regular expression pattern defining what qualifies as a hotword. Structure is documented below.
    likelihood_adjustment PreventionContentPolicyInspectConfigRuleSetRuleHotwordRuleLikelihoodAdjustment
    Likelihood adjustment to apply to all matching findings. Structure is documented below.
    proximity PreventionContentPolicyInspectConfigRuleSetRuleHotwordRuleProximity
    Proximity of the finding within which the entire hotword must reside. The total length of the window cannot exceed 1000 characters. 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. Structure is documented below.

    PreventionContentPolicyInspectConfigRuleSetRuleHotwordRuleHotwordRegex, PreventionContentPolicyInspectConfigRuleSetRuleHotwordRuleHotwordRegexArgs

    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.
    group_indexes 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.
    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.

    PreventionContentPolicyInspectConfigRuleSetRuleHotwordRuleLikelihoodAdjustment, PreventionContentPolicyInspectConfigRuleSetRuleHotwordRuleLikelihoodAdjustmentArgs

    FixedLikelihood string
    Set the likelihood of a finding to a fixed value. Either this or relativeLikelihood 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.
    FixedLikelihood string
    Set the likelihood of a finding to a fixed value. Either this or relativeLikelihood 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.
    fixed_likelihood string
    Set the likelihood of a finding to a fixed value. Either this or relativeLikelihood can be set. Possible values are: VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY.
    relative_likelihood number
    Increase or decrease the likelihood by the specified number of levels.
    fixedLikelihood String
    Set the likelihood of a finding to a fixed value. Either this or relativeLikelihood 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.
    fixedLikelihood string
    Set the likelihood of a finding to a fixed value. Either this or relativeLikelihood 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.
    fixed_likelihood str
    Set the likelihood of a finding to a fixed value. Either this or relativeLikelihood 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.
    fixedLikelihood String
    Set the likelihood of a finding to a fixed value. Either this or relativeLikelihood 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.

    PreventionContentPolicyInspectConfigRuleSetRuleHotwordRuleProximity, PreventionContentPolicyInspectConfigRuleSetRuleHotwordRuleProximityArgs

    WindowAfter int
    Number of characters after the finding to consider.
    WindowBefore int
    Number of characters before the finding to consider.
    WindowAfter int
    Number of characters after the finding to consider.
    WindowBefore int
    Number of characters before the finding to consider.
    window_after number
    Number of characters after the finding to consider.
    window_before number
    Number of characters before the finding to consider.
    windowAfter Integer
    Number of characters after the finding to consider.
    windowBefore Integer
    Number of characters before the finding to consider.
    windowAfter number
    Number of characters after the finding to consider.
    windowBefore number
    Number of characters before the finding to consider.
    window_after int
    Number of characters after the finding to consider.
    window_before int
    Number of characters before the finding to consider.
    windowAfter Number
    Number of characters after the finding to consider.
    windowBefore Number
    Number of characters before the finding to consider.

    PreventionContentPolicyLoggingConfig, PreventionContentPolicyLoggingConfigArgs

    LogToBigQuery PreventionContentPolicyLoggingConfigLogToBigQuery
    Log actions to BigQuery. Structure is documented below.
    LogToBigQuery PreventionContentPolicyLoggingConfigLogToBigQuery
    Log actions to BigQuery. Structure is documented below.
    log_to_big_query object
    Log actions to BigQuery. Structure is documented below.
    logToBigQuery PreventionContentPolicyLoggingConfigLogToBigQuery
    Log actions to BigQuery. Structure is documented below.
    logToBigQuery PreventionContentPolicyLoggingConfigLogToBigQuery
    Log actions to BigQuery. Structure is documented below.
    log_to_big_query PreventionContentPolicyLoggingConfigLogToBigQuery
    Log actions to BigQuery. Structure is documented below.
    logToBigQuery Property Map
    Log actions to BigQuery. Structure is documented below.

    PreventionContentPolicyLoggingConfigLogToBigQuery, PreventionContentPolicyLoggingConfigLogToBigQueryArgs

    DatasetId string
    The dataset ID of the BigQuery table to log to.
    ProjectId string
    The project ID of the BigQuery table to log to.
    TableId string
    The table ID of the BigQuery table to log to.
    DatasetId string
    The dataset ID of the BigQuery table to log to.
    ProjectId string
    The project ID of the BigQuery table to log to.
    TableId string
    The table ID of the BigQuery table to log to.
    dataset_id string
    The dataset ID of the BigQuery table to log to.
    project_id string
    The project ID of the BigQuery table to log to.
    table_id string
    The table ID of the BigQuery table to log to.
    datasetId String
    The dataset ID of the BigQuery table to log to.
    projectId String
    The project ID of the BigQuery table to log to.
    tableId String
    The table ID of the BigQuery table to log to.
    datasetId string
    The dataset ID of the BigQuery table to log to.
    projectId string
    The project ID of the BigQuery table to log to.
    tableId string
    The table ID of the BigQuery table to log to.
    dataset_id str
    The dataset ID of the BigQuery table to log to.
    project_id str
    The project ID of the BigQuery table to log to.
    table_id str
    The table ID of the BigQuery table to log to.
    datasetId String
    The dataset ID of the BigQuery table to log to.
    projectId String
    The project ID of the BigQuery table to log to.
    tableId String
    The table ID of the BigQuery table to log to.

    PreventionContentPolicyRule, PreventionContentPolicyRuleArgs

    Action PreventionContentPolicyRuleAction
    The action to take if the rule matches. Structure is documented below.
    Conditions List<PreventionContentPolicyRuleCondition>
    List of conditions that must be met for this rule to apply. Structure is documented below.
    Action PreventionContentPolicyRuleAction
    The action to take if the rule matches. Structure is documented below.
    Conditions []PreventionContentPolicyRuleCondition
    List of conditions that must be met for this rule to apply. Structure is documented below.
    action object
    The action to take if the rule matches. Structure is documented below.
    conditions list(object)
    List of conditions that must be met for this rule to apply. Structure is documented below.
    action PreventionContentPolicyRuleAction
    The action to take if the rule matches. Structure is documented below.
    conditions List<PreventionContentPolicyRuleCondition>
    List of conditions that must be met for this rule to apply. Structure is documented below.
    action PreventionContentPolicyRuleAction
    The action to take if the rule matches. Structure is documented below.
    conditions PreventionContentPolicyRuleCondition[]
    List of conditions that must be met for this rule to apply. Structure is documented below.
    action PreventionContentPolicyRuleAction
    The action to take if the rule matches. Structure is documented below.
    conditions Sequence[PreventionContentPolicyRuleCondition]
    List of conditions that must be met for this rule to apply. Structure is documented below.
    action Property Map
    The action to take if the rule matches. Structure is documented below.
    conditions List<Property Map>
    List of conditions that must be met for this rule to apply. Structure is documented below.

    PreventionContentPolicyRuleAction, PreventionContentPolicyRuleActionArgs

    ReturnVerdict string
    If set, the verdict will be returned to the user. Possible values: ["ALLOW", "BLOCK"] Possible values are: ALLOW, BLOCK.
    ReturnVerdict string
    If set, the verdict will be returned to the user. Possible values: ["ALLOW", "BLOCK"] Possible values are: ALLOW, BLOCK.
    return_verdict string
    If set, the verdict will be returned to the user. Possible values: ["ALLOW", "BLOCK"] Possible values are: ALLOW, BLOCK.
    returnVerdict String
    If set, the verdict will be returned to the user. Possible values: ["ALLOW", "BLOCK"] Possible values are: ALLOW, BLOCK.
    returnVerdict string
    If set, the verdict will be returned to the user. Possible values: ["ALLOW", "BLOCK"] Possible values are: ALLOW, BLOCK.
    return_verdict str
    If set, the verdict will be returned to the user. Possible values: ["ALLOW", "BLOCK"] Possible values are: ALLOW, BLOCK.
    returnVerdict String
    If set, the verdict will be returned to the user. Possible values: ["ALLOW", "BLOCK"] Possible values are: ALLOW, BLOCK.

    PreventionContentPolicyRuleCondition, PreventionContentPolicyRuleConditionArgs

    InfoTypeCondition PreventionContentPolicyRuleConditionInfoTypeCondition
    A condition based on info types. Structure is documented below.
    InfoTypeCondition PreventionContentPolicyRuleConditionInfoTypeCondition
    A condition based on info types. Structure is documented below.
    info_type_condition object
    A condition based on info types. Structure is documented below.
    infoTypeCondition PreventionContentPolicyRuleConditionInfoTypeCondition
    A condition based on info types. Structure is documented below.
    infoTypeCondition PreventionContentPolicyRuleConditionInfoTypeCondition
    A condition based on info types. Structure is documented below.
    info_type_condition PreventionContentPolicyRuleConditionInfoTypeCondition
    A condition based on info types. Structure is documented below.
    infoTypeCondition Property Map
    A condition based on info types. Structure is documented below.

    PreventionContentPolicyRuleConditionInfoTypeCondition, PreventionContentPolicyRuleConditionInfoTypeConditionArgs

    AnyInfoType PreventionContentPolicyRuleConditionInfoTypeConditionAnyInfoType
    Match any info type.
    InfoTypes PreventionContentPolicyRuleConditionInfoTypeConditionInfoTypes
    List of info types to match. Structure is documented below.
    MinCount int
    The minimum number of findings required for this condition to be met. Defaults to 1.
    AnyInfoType PreventionContentPolicyRuleConditionInfoTypeConditionAnyInfoType
    Match any info type.
    InfoTypes PreventionContentPolicyRuleConditionInfoTypeConditionInfoTypes
    List of info types to match. Structure is documented below.
    MinCount int
    The minimum number of findings required for this condition to be met. Defaults to 1.
    any_info_type object
    Match any info type.
    info_types object
    List of info types to match. Structure is documented below.
    min_count number
    The minimum number of findings required for this condition to be met. Defaults to 1.
    anyInfoType PreventionContentPolicyRuleConditionInfoTypeConditionAnyInfoType
    Match any info type.
    infoTypes PreventionContentPolicyRuleConditionInfoTypeConditionInfoTypes
    List of info types to match. Structure is documented below.
    minCount Integer
    The minimum number of findings required for this condition to be met. Defaults to 1.
    anyInfoType PreventionContentPolicyRuleConditionInfoTypeConditionAnyInfoType
    Match any info type.
    infoTypes PreventionContentPolicyRuleConditionInfoTypeConditionInfoTypes
    List of info types to match. Structure is documented below.
    minCount number
    The minimum number of findings required for this condition to be met. Defaults to 1.
    any_info_type PreventionContentPolicyRuleConditionInfoTypeConditionAnyInfoType
    Match any info type.
    info_types PreventionContentPolicyRuleConditionInfoTypeConditionInfoTypes
    List of info types to match. Structure is documented below.
    min_count int
    The minimum number of findings required for this condition to be met. Defaults to 1.
    anyInfoType Property Map
    Match any info type.
    infoTypes Property Map
    List of info types to match. Structure is documented below.
    minCount Number
    The minimum number of findings required for this condition to be met. Defaults to 1.

    PreventionContentPolicyRuleConditionInfoTypeConditionInfoTypes, PreventionContentPolicyRuleConditionInfoTypeConditionInfoTypesArgs

    InfoTypeNames List<string>
    List of info type names.
    InfoTypeNames []string
    List of info type names.
    info_type_names list(string)
    List of info type names.
    infoTypeNames List<String>
    List of info type names.
    infoTypeNames string[]
    List of info type names.
    info_type_names Sequence[str]
    List of info type names.
    infoTypeNames List<String>
    List of info type names.

    PreventionContentPolicyUnsupportedFileType, PreventionContentPolicyUnsupportedFileTypeArgs

    ReturnVerdict string
    If set, the verdict will be returned to the user. Possible values: ["ALLOW", "BLOCK"] Possible values are: ALLOW, BLOCK.
    ReturnVerdict string
    If set, the verdict will be returned to the user. Possible values: ["ALLOW", "BLOCK"] Possible values are: ALLOW, BLOCK.
    return_verdict string
    If set, the verdict will be returned to the user. Possible values: ["ALLOW", "BLOCK"] Possible values are: ALLOW, BLOCK.
    returnVerdict String
    If set, the verdict will be returned to the user. Possible values: ["ALLOW", "BLOCK"] Possible values are: ALLOW, BLOCK.
    returnVerdict string
    If set, the verdict will be returned to the user. Possible values: ["ALLOW", "BLOCK"] Possible values are: ALLOW, BLOCK.
    return_verdict str
    If set, the verdict will be returned to the user. Possible values: ["ALLOW", "BLOCK"] Possible values are: ALLOW, BLOCK.
    returnVerdict String
    If set, the verdict will be returned to the user. Possible values: ["ALLOW", "BLOCK"] Possible values are: ALLOW, BLOCK.

    Import

    ContentPolicy can be imported using any of these accepted formats:

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

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

    $ pulumi import gcp:dataloss/preventionContentPolicy:PreventionContentPolicy default {{parent}}/contentPolicies/{{name}}
    $ pulumi import gcp:dataloss/preventionContentPolicy:PreventionContentPolicy default {{parent}}/{{name}}
    

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

    Package Details

    Repository
    Google Cloud (GCP) pulumi/pulumi-gcp
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the google-beta Terraform Provider.
    gcp logo
    Viewing docs for Google Cloud v10.5.0
    published on Wednesday, Nov 18, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial