Interface DataLossPreventionJobTriggerInspectJobStorageConfigCloudStorageOptions

    • Method Detail

      • getBytesLimitPerFile

        @Stability(Stable)
        @Nullable
        default Number getBytesLimitPerFile()
        Max number of bytes to scan from a file.

        If a scanned file's size is bigger than this value then the rest of the bytes are omitted. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_loss_prevention_job_trigger#bytes_limit_per_file DataLossPreventionJobTrigger#bytes_limit_per_file}

      • getBytesLimitPerFilePercent

        @Stability(Stable)
        @Nullable
        default Number getBytesLimitPerFilePercent()
        Max percentage of bytes to scan from a file.

        The rest are omitted. The number of bytes scanned is rounded down. Must be between 0 and 100, inclusively. Both 0 and 100 means no limit. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_loss_prevention_job_trigger#bytes_limit_per_file_percent DataLossPreventionJobTrigger#bytes_limit_per_file_percent}

      • getFilesLimitPercent

        @Stability(Stable)
        @Nullable
        default Number getFilesLimitPercent()
        Limits the number of files to scan to this percentage of the input FileSet.

        Number of files scanned is rounded down. Must be between 0 and 100, inclusively. Both 0 and 100 means no limit. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_loss_prevention_job_trigger#files_limit_percent DataLossPreventionJobTrigger#files_limit_percent}

      • getFileTypes

        @Stability(Stable)
        @Nullable
        default List<String> getFileTypes()
        List of file type groups to include in the scan.

        If empty, all files are scanned and available data format processors are applied. In addition, the binary content of the selected files is always scanned as well. Images are scanned only as binary if the specified region does not support image inspection and no fileTypes were specified. Possible values: ["BINARY_FILE", "TEXT_FILE", "IMAGE", "WORD", "PDF", "AVRO", "CSV", "TSV", "POWERPOINT", "EXCEL"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_loss_prevention_job_trigger#file_types DataLossPreventionJobTrigger#file_types}

      • getSampleMethod

        @Stability(Stable)
        @Nullable
        default String getSampleMethod()
        How to sample bytes if not all bytes are scanned.

        Meaningful only when used in conjunction with bytesLimitPerFile. If not specified, scanning would start from the top. Possible values: ["TOP", "RANDOM_START"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_loss_prevention_job_trigger#sample_method DataLossPreventionJobTrigger#sample_method}