Package com.google.privacy.dlp.v2 (3.28.0)

Classes

Action

A task to execute on the completion of a job. See https://cloud.google.com/dlp/docs/concepts-actions to learn more.

Protobuf type google.privacy.dlp.v2.Action

Action.Builder

A task to execute on the completion of a job. See https://cloud.google.com/dlp/docs/concepts-actions to learn more.

Protobuf type google.privacy.dlp.v2.Action

Action.Deidentify

Create a de-identified copy of the requested table or files.

A TransformationDetail will be created for each transformation.

If any rows in BigQuery are skipped during de-identification (transformation errors or row size exceeds BigQuery insert API limits) they are placed in the failure output table. If the original row exceeds the BigQuery insert API limit it will be truncated when written to the failure output table. The failure output table can be set in the action.deidentify.output.big_query_output.deidentified_failure_output_table field, if no table is set, a table will be automatically created in the same project and dataset as the original table.

Compatible with: Inspect

Protobuf type google.privacy.dlp.v2.Action.Deidentify

Action.Deidentify.Builder

Create a de-identified copy of the requested table or files.

A TransformationDetail will be created for each transformation.

If any rows in BigQuery are skipped during de-identification (transformation errors or row size exceeds BigQuery insert API limits) they are placed in the failure output table. If the original row exceeds the BigQuery insert API limit it will be truncated when written to the failure output table. The failure output table can be set in the action.deidentify.output.big_query_output.deidentified_failure_output_table field, if no table is set, a table will be automatically created in the same project and dataset as the original table.

Compatible with: Inspect

Protobuf type google.privacy.dlp.v2.Action.Deidentify

Action.JobNotificationEmails

Sends an email when the job completes. The email goes to IAM project owners and technical Essential Contacts.

Protobuf type google.privacy.dlp.v2.Action.JobNotificationEmails

Action.JobNotificationEmails.Builder

Sends an email when the job completes. The email goes to IAM project owners and technical Essential Contacts.

Protobuf type google.privacy.dlp.v2.Action.JobNotificationEmails

Action.PublishFindingsToCloudDataCatalog

Publish findings of a DlpJob to Data Catalog. In Data Catalog, tag templates are applied to the resource that Cloud DLP scanned. Data Catalog tag templates are stored in the same project and region where the BigQuery table exists. For Cloud DLP to create and apply the tag template, the Cloud DLP service agent must have the roles/datacatalog.tagTemplateOwner permission on the project. The tag template contains fields summarizing the results of the DlpJob. Any field values previously written by another DlpJob are deleted. InfoType naming patterns are strictly enforced when using this feature.

Findings are persisted in Data Catalog storage and are governed by service-specific policies for Data Catalog. For more information, see Service Specific Terms.

Only a single instance of this action can be specified. This action is allowed only if all resources being scanned are BigQuery tables. Compatible with: Inspect

Protobuf type google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog

Action.PublishFindingsToCloudDataCatalog.Builder

Publish findings of a DlpJob to Data Catalog. In Data Catalog, tag templates are applied to the resource that Cloud DLP scanned. Data Catalog tag templates are stored in the same project and region where the BigQuery table exists. For Cloud DLP to create and apply the tag template, the Cloud DLP service agent must have the roles/datacatalog.tagTemplateOwner permission on the project. The tag template contains fields summarizing the results of the DlpJob. Any field values previously written by another DlpJob are deleted. InfoType naming patterns are strictly enforced when using this feature.

Findings are persisted in Data Catalog storage and are governed by service-specific policies for Data Catalog. For more information, see Service Specific Terms.

Only a single instance of this action can be specified. This action is allowed only if all resources being scanned are BigQuery tables. Compatible with: Inspect

Protobuf type google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog

Action.PublishSummaryToCscc

Publish the result summary of a DlpJob to the Cloud Security Command Center (CSCC Alpha). This action is only available for projects which are parts of an organization and whitelisted for the alpha Cloud Security Command Center. The action will publish the count of finding instances and their info types. The summary of findings will be persisted in CSCC and are governed by CSCC service-specific policy, see https://cloud.google.com/terms/service-terms Only a single instance of this action can be specified. Compatible with: Inspect

Protobuf type google.privacy.dlp.v2.Action.PublishSummaryToCscc

Action.PublishSummaryToCscc.Builder

Publish the result summary of a DlpJob to the Cloud Security Command Center (CSCC Alpha). This action is only available for projects which are parts of an organization and whitelisted for the alpha Cloud Security Command Center. The action will publish the count of finding instances and their info types. The summary of findings will be persisted in CSCC and are governed by CSCC service-specific policy, see https://cloud.google.com/terms/service-terms Only a single instance of this action can be specified. Compatible with: Inspect

Protobuf type google.privacy.dlp.v2.Action.PublishSummaryToCscc

Action.PublishToPubSub

Publish a message into a given Pub/Sub topic when DlpJob has completed. The message contains a single field, DlpJobName, which is equal to the finished job's DlpJob.name. Compatible with: Inspect, Risk

Protobuf type google.privacy.dlp.v2.Action.PublishToPubSub

Action.PublishToPubSub.Builder

Publish a message into a given Pub/Sub topic when DlpJob has completed. The message contains a single field, DlpJobName, which is equal to the finished job's DlpJob.name. Compatible with: Inspect, Risk

Protobuf type google.privacy.dlp.v2.Action.PublishToPubSub

Action.PublishToStackdriver

Enable Stackdriver metric dlp.googleapis.com/finding_count. This will publish a metric to stack driver on each infotype requested and how many findings were found for it. CustomDetectors will be bucketed as 'Custom' under the Stackdriver label 'info_type'.

Protobuf type google.privacy.dlp.v2.Action.PublishToStackdriver

Action.PublishToStackdriver.Builder

Enable Stackdriver metric dlp.googleapis.com/finding_count. This will publish a metric to stack driver on each infotype requested and how many findings were found for it. CustomDetectors will be bucketed as 'Custom' under the Stackdriver label 'info_type'.

Protobuf type google.privacy.dlp.v2.Action.PublishToStackdriver

Action.SaveFindings

If set, the detailed findings will be persisted to the specified OutputStorageConfig. Only a single instance of this action can be specified. Compatible with: Inspect, Risk

Protobuf type google.privacy.dlp.v2.Action.SaveFindings

Action.SaveFindings.Builder

If set, the detailed findings will be persisted to the specified OutputStorageConfig. Only a single instance of this action can be specified. Compatible with: Inspect, Risk

Protobuf type google.privacy.dlp.v2.Action.SaveFindings

ActivateJobTriggerRequest

Request message for ActivateJobTrigger.

Protobuf type google.privacy.dlp.v2.ActivateJobTriggerRequest

ActivateJobTriggerRequest.Builder

Request message for ActivateJobTrigger.

Protobuf type google.privacy.dlp.v2.ActivateJobTriggerRequest

AnalyzeDataSourceRiskDetails

Result of a risk analysis operation request.

Protobuf type google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails

AnalyzeDataSourceRiskDetails.Builder

Result of a risk analysis operation request.

Protobuf type google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails

AnalyzeDataSourceRiskDetails.CategoricalStatsResult

Result of the categorical stats computation.

Protobuf type google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult

AnalyzeDataSourceRiskDetails.CategoricalStatsResult.Builder

Result of the categorical stats computation.

Protobuf type google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult

AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket

Histogram of value frequencies in the column.

Protobuf type google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket

AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder

Histogram of value frequencies in the column.

Protobuf type google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket

AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult

Result of the δ-presence computation. Note that these results are an estimation, not exact values.

Protobuf type google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult

AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.Builder

Result of the δ-presence computation. Note that these results are an estimation, not exact values.

Protobuf type google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult

AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket

A DeltaPresenceEstimationHistogramBucket message with the following values: min_probability: 0.1 max_probability: 0.2 frequency: 42 means that there are 42 records for which δ is in [0.1, 0.2). An important particular case is when min_probability = max_probability = 1: then, every individual who shares this quasi-identifier combination is in the dataset.

Protobuf type google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket

AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket.Builder

A DeltaPresenceEstimationHistogramBucket message with the following values: min_probability: 0.1 max_probability: 0.2 frequency: 42 means that there are 42 records for which δ is in [0.1, 0.2). An important particular case is when min_probability = max_probability = 1: then, every individual who shares this quasi-identifier combination is in the dataset.

Protobuf type google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket

AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues

A tuple of values for the quasi-identifier columns.

Protobuf type google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues

AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues.Builder

A tuple of values for the quasi-identifier columns.

Protobuf type google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues

AnalyzeDataSourceRiskDetails.KAnonymityResult

Result of the k-anonymity computation.

Protobuf type google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult

AnalyzeDataSourceRiskDetails.KAnonymityResult.Builder

Result of the k-anonymity computation.

Protobuf type google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult

AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass

The set of columns' values that share the same ldiversity value

Protobuf type google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass

AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder

The set of columns' values that share the same ldiversity value

Protobuf type google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass

AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket

Histogram of k-anonymity equivalence classes.

Protobuf type google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket

AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder

Histogram of k-anonymity equivalence classes.

Protobuf type google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket

AnalyzeDataSourceRiskDetails.KMapEstimationResult

Result of the reidentifiability analysis. Note that these results are an estimation, not exact values.

Protobuf type google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult

AnalyzeDataSourceRiskDetails.KMapEstimationResult.Builder

Result of the reidentifiability analysis. Note that these results are an estimation, not exact values.

Protobuf type google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult

AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket

A KMapEstimationHistogramBucket message with the following values: min_anonymity: 3 max_anonymity: 5 frequency: 42 means that there are 42 records whose quasi-identifier values correspond to 3, 4 or 5 people in the overlying population. An important particular case is when min_anonymity = max_anonymity = 1: the frequency field then corresponds to the number of uniquely identifiable records.

Protobuf type google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket

AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder

A KMapEstimationHistogramBucket message with the following values: min_anonymity: 3 max_anonymity: 5 frequency: 42 means that there are 42 records whose quasi-identifier values correspond to 3, 4 or 5 people in the overlying population. An important particular case is when min_anonymity = max_anonymity = 1: the frequency field then corresponds to the number of uniquely identifiable records.

Protobuf type google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket

AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues

A tuple of values for the quasi-identifier columns.

Protobuf type google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues

AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.Builder

A tuple of values for the quasi-identifier columns.

Protobuf type google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues

AnalyzeDataSourceRiskDetails.LDiversityResult

Result of the l-diversity computation.

Protobuf type google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult

AnalyzeDataSourceRiskDetails.LDiversityResult.Builder

Result of the l-diversity computation.

Protobuf type google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult

AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass

The set of columns' values that share the same ldiversity value.

Protobuf type google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass

AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder

The set of columns' values that share the same ldiversity value.

Protobuf type google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass

AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket

Histogram of l-diversity equivalence class sensitive value frequencies.

Protobuf type google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket

AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder

Histogram of l-diversity equivalence class sensitive value frequencies.

Protobuf type google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket

AnalyzeDataSourceRiskDetails.NumericalStatsResult

Result of the numerical stats computation.

Protobuf type google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult

AnalyzeDataSourceRiskDetails.NumericalStatsResult.Builder

Result of the numerical stats computation.

Protobuf type google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult

AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions

Risk analysis options.

Protobuf type google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions

AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions.Builder

Risk analysis options.

Protobuf type google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions

BigQueryField

Message defining a field of a BigQuery table.

Protobuf type google.privacy.dlp.v2.BigQueryField

BigQueryField.Builder

Message defining a field of a BigQuery table.

Protobuf type google.privacy.dlp.v2.BigQueryField

BigQueryKey

Row key for identifying a record in BigQuery table.

Protobuf type google.privacy.dlp.v2.BigQueryKey

BigQueryKey.Builder

Row key for identifying a record in BigQuery table.

Protobuf type google.privacy.dlp.v2.BigQueryKey

BigQueryOptions

Options defining BigQuery table and row identifiers.

Protobuf type google.privacy.dlp.v2.BigQueryOptions

BigQueryOptions.Builder

Options defining BigQuery table and row identifiers.

Protobuf type google.privacy.dlp.v2.BigQueryOptions

BigQueryTable

Message defining the location of a BigQuery table. A table is uniquely identified by its project_id, dataset_id, and table_name. Within a query a table is often referenced with a string in the format of: <project_id>:<dataset_id>.<table_id> or <project_id>.<dataset_id>.<table_id>.

Protobuf type google.privacy.dlp.v2.BigQueryTable

BigQueryTable.Builder

Message defining the location of a BigQuery table. A table is uniquely identified by its project_id, dataset_id, and table_name. Within a query a table is often referenced with a string in the format of: <project_id>:<dataset_id>.<table_id> or <project_id>.<dataset_id>.<table_id>.

Protobuf type google.privacy.dlp.v2.BigQueryTable

BoundingBox

Bounding box encompassing detected text within an image.

Protobuf type google.privacy.dlp.v2.BoundingBox

BoundingBox.Builder

Bounding box encompassing detected text within an image.

Protobuf type google.privacy.dlp.v2.BoundingBox

BucketingConfig

Generalization function that buckets values based on ranges. The ranges and replacement values are dynamically provided by the user for custom behavior, such as 1-30 -> LOW 31-65 -> MEDIUM 66-100 -> HIGH This can be used on data of type: number, long, string, timestamp. If the bound Value type differs from the type of data being transformed, we will first attempt converting the type of the data to be transformed to match the type of the bound before comparing. See https://cloud.google.com/dlp/docs/concepts-bucketing to learn more.

Protobuf type google.privacy.dlp.v2.BucketingConfig

BucketingConfig.Bucket

Bucket is represented as a range, along with replacement values.

Protobuf type google.privacy.dlp.v2.BucketingConfig.Bucket

BucketingConfig.Bucket.Builder

Bucket is represented as a range, along with replacement values.

Protobuf type google.privacy.dlp.v2.BucketingConfig.Bucket

BucketingConfig.Builder

Generalization function that buckets values based on ranges. The ranges and replacement values are dynamically provided by the user for custom behavior, such as 1-30 -> LOW 31-65 -> MEDIUM 66-100 -> HIGH This can be used on data of type: number, long, string, timestamp. If the bound Value type differs from the type of data being transformed, we will first attempt converting the type of the data to be transformed to match the type of the bound before comparing. See https://cloud.google.com/dlp/docs/concepts-bucketing to learn more.

Protobuf type google.privacy.dlp.v2.BucketingConfig

ByteContentItem

Container for bytes to inspect or redact.

Protobuf type google.privacy.dlp.v2.ByteContentItem

ByteContentItem.Builder

Container for bytes to inspect or redact.

Protobuf type google.privacy.dlp.v2.ByteContentItem

CancelDlpJobRequest

The request message for canceling a DLP job.

Protobuf type google.privacy.dlp.v2.CancelDlpJobRequest

CancelDlpJobRequest.Builder

The request message for canceling a DLP job.

Protobuf type google.privacy.dlp.v2.CancelDlpJobRequest

CharacterMaskConfig

Partially mask a string by replacing a given number of characters with a fixed character. Masking can start from the beginning or end of the string. This can be used on data of any type (numbers, longs, and so on) and when de-identifying structured data we'll attempt to preserve the original data's type. (This allows you to take a long like 123 and modify it to a string like **3.

Protobuf type google.privacy.dlp.v2.CharacterMaskConfig

CharacterMaskConfig.Builder

Partially mask a string by replacing a given number of characters with a fixed character. Masking can start from the beginning or end of the string. This can be used on data of any type (numbers, longs, and so on) and when de-identifying structured data we'll attempt to preserve the original data's type. (This allows you to take a long like 123 and modify it to a string like **3.

Protobuf type google.privacy.dlp.v2.CharacterMaskConfig

CharsToIgnore

Characters to skip when doing deidentification of a value. These will be left alone and skipped.

Protobuf type google.privacy.dlp.v2.CharsToIgnore

CharsToIgnore.Builder

Characters to skip when doing deidentification of a value. These will be left alone and skipped.

Protobuf type google.privacy.dlp.v2.CharsToIgnore

CloudStorageFileSet

Message representing a set of files in Cloud Storage.

Protobuf type google.privacy.dlp.v2.CloudStorageFileSet

CloudStorageFileSet.Builder

Message representing a set of files in Cloud Storage.

Protobuf type google.privacy.dlp.v2.CloudStorageFileSet

CloudStorageOptions

Options defining a file or a set of files within a Cloud Storage bucket.

Protobuf type google.privacy.dlp.v2.CloudStorageOptions

CloudStorageOptions.Builder

Options defining a file or a set of files within a Cloud Storage bucket.

Protobuf type google.privacy.dlp.v2.CloudStorageOptions

CloudStorageOptions.FileSet

Set of files to scan.

Protobuf type google.privacy.dlp.v2.CloudStorageOptions.FileSet

CloudStorageOptions.FileSet.Builder

Set of files to scan.

Protobuf type google.privacy.dlp.v2.CloudStorageOptions.FileSet

CloudStoragePath

Message representing a single file or path in Cloud Storage.

Protobuf type google.privacy.dlp.v2.CloudStoragePath

CloudStoragePath.Builder

Message representing a single file or path in Cloud Storage.

Protobuf type google.privacy.dlp.v2.CloudStoragePath

CloudStorageRegexFileSet

Message representing a set of files in a Cloud Storage bucket. Regular expressions are used to allow fine-grained control over which files in the bucket to include.

Included files are those that match at least one item in include_regex and do not match any items in exclude_regex. Note that a file that matches items from both lists will not be included. For a match to occur, the entire file path (i.e., everything in the url after the bucket name) must match the regular expression.

For example, given the input {bucket_name: "mybucket", include_regex: ["directory1/."], exclude_regex: ["directory1/excluded."]}:

  • gs://mybucket/directory1/myfile will be included
  • gs://mybucket/directory1/directory2/myfile will be included (.* matches across /)
  • gs://mybucket/directory0/directory1/myfile will not be included (the full path doesn't match any items in include_regex)
  • gs://mybucket/directory1/excludedfile will not be included (the path matches an item in exclude_regex)

    If include_regex is left empty, it will match all files by default (this is equivalent to setting include_regex: [".*"]).

    Some other common use cases:

  • {bucket_name: "mybucket", exclude_regex: [".*\.pdf"]} will include all files in mybucket except for .pdf files

  • {bucket_name: "mybucket", include_regex: ["directory/[^/]+"]} will include all files directly under gs://mybucket/directory/, without matching across /

Protobuf type google.privacy.dlp.v2.CloudStorageRegexFileSet

CloudStorageRegexFileSet.Builder

Message representing a set of files in a Cloud Storage bucket. Regular expressions are used to allow fine-grained control over which files in the bucket to include.

Included files are those that match at least one item in include_regex and do not match any items in exclude_regex. Note that a file that matches items from both lists will not be included. For a match to occur, the entire file path (i.e., everything in the url after the bucket name) must match the regular expression.

For example, given the input {bucket_name: "mybucket", include_regex: ["directory1/."], exclude_regex: ["directory1/excluded."]}:

  • gs://mybucket/directory1/myfile will be included
  • gs://mybucket/directory1/directory2/myfile will be included (.* matches across /)
  • gs://mybucket/directory0/directory1/myfile will not be included (the full path doesn't match any items in include_regex)
  • gs://mybucket/directory1/excludedfile will not be included (the path matches an item in exclude_regex)

    If include_regex is left empty, it will match all files by default (this is equivalent to setting include_regex: [".*"]).

    Some other common use cases:

  • {bucket_name: "mybucket", exclude_regex: [".*\.pdf"]} will include all files in mybucket except for .pdf files

  • {bucket_name: "mybucket", include_regex: ["directory/[^/]+"]} will include all files directly under gs://mybucket/directory/, without matching across /

Protobuf type google.privacy.dlp.v2.CloudStorageRegexFileSet

Color

Represents a color in the RGB color space.

Protobuf type google.privacy.dlp.v2.Color

Color.Builder

Represents a color in the RGB color space.

Protobuf type google.privacy.dlp.v2.Color

Container

Represents a container that may contain DLP findings. Examples of a container include a file, table, or database record.

Protobuf type google.privacy.dlp.v2.Container

Container.Builder

Represents a container that may contain DLP findings. Examples of a container include a file, table, or database record.

Protobuf type google.privacy.dlp.v2.Container

ContentItem

Protobuf type google.privacy.dlp.v2.ContentItem

ContentItem.Builder

Protobuf type google.privacy.dlp.v2.ContentItem

ContentLocation

Precise location of the finding within a document, record, image, or metadata container.

Protobuf type google.privacy.dlp.v2.ContentLocation

ContentLocation.Builder

Precise location of the finding within a document, record, image, or metadata container.

Protobuf type google.privacy.dlp.v2.ContentLocation

CreateDeidentifyTemplateRequest

Request message for CreateDeidentifyTemplate.

Protobuf type google.privacy.dlp.v2.CreateDeidentifyTemplateRequest

CreateDeidentifyTemplateRequest.Builder

Request message for CreateDeidentifyTemplate.

Protobuf type google.privacy.dlp.v2.CreateDeidentifyTemplateRequest

CreateDlpJobRequest

Request message for CreateDlpJobRequest. Used to initiate long running jobs such as calculating risk metrics or inspecting Google Cloud Storage.

Protobuf type google.privacy.dlp.v2.CreateDlpJobRequest

CreateDlpJobRequest.Builder

Request message for CreateDlpJobRequest. Used to initiate long running jobs such as calculating risk metrics or inspecting Google Cloud Storage.

Protobuf type google.privacy.dlp.v2.CreateDlpJobRequest

CreateInspectTemplateRequest

Request message for CreateInspectTemplate.

Protobuf type google.privacy.dlp.v2.CreateInspectTemplateRequest

CreateInspectTemplateRequest.Builder

Request message for CreateInspectTemplate.

Protobuf type google.privacy.dlp.v2.CreateInspectTemplateRequest

CreateJobTriggerRequest

Request message for CreateJobTrigger.

Protobuf type google.privacy.dlp.v2.CreateJobTriggerRequest

CreateJobTriggerRequest.Builder

Request message for CreateJobTrigger.

Protobuf type google.privacy.dlp.v2.CreateJobTriggerRequest

CreateStoredInfoTypeRequest

Request message for CreateStoredInfoType.

Protobuf type google.privacy.dlp.v2.CreateStoredInfoTypeRequest

CreateStoredInfoTypeRequest.Builder

Request message for CreateStoredInfoType.

Protobuf type google.privacy.dlp.v2.CreateStoredInfoTypeRequest

CryptoDeterministicConfig

Pseudonymization method that generates deterministic encryption for the given input. Outputs a base64 encoded representation of the encrypted output. Uses AES-SIV based on the RFC https://tools.ietf.org/html/rfc5297.

Protobuf type google.privacy.dlp.v2.CryptoDeterministicConfig

CryptoDeterministicConfig.Builder

Pseudonymization method that generates deterministic encryption for the given input. Outputs a base64 encoded representation of the encrypted output. Uses AES-SIV based on the RFC https://tools.ietf.org/html/rfc5297.

Protobuf type google.privacy.dlp.v2.CryptoDeterministicConfig

CryptoHashConfig

Pseudonymization method that generates surrogates via cryptographic hashing. Uses SHA-256. The key size must be either 32 or 64 bytes. Outputs a base64 encoded representation of the hashed output (for example, L7k0BHmF1ha5U3NfGykjro4xWi1MPVQPjhMAZbSV9mM=). Currently, only string and integer values can be hashed. See https://cloud.google.com/dlp/docs/pseudonymization to learn more.

Protobuf type google.privacy.dlp.v2.CryptoHashConfig

CryptoHashConfig.Builder

Pseudonymization method that generates surrogates via cryptographic hashing. Uses SHA-256. The key size must be either 32 or 64 bytes. Outputs a base64 encoded representation of the hashed output (for example, L7k0BHmF1ha5U3NfGykjro4xWi1MPVQPjhMAZbSV9mM=). Currently, only string and integer values can be hashed. See https://cloud.google.com/dlp/docs/pseudonymization to learn more.

Protobuf type google.privacy.dlp.v2.CryptoHashConfig

CryptoKey

This is a data encryption key (DEK) (as opposed to a key encryption key (KEK) stored by Cloud Key Management Service (Cloud KMS). When using Cloud KMS to wrap or unwrap a DEK, be sure to set an appropriate IAM policy on the KEK to ensure an attacker cannot unwrap the DEK.

Protobuf type google.privacy.dlp.v2.CryptoKey

CryptoKey.Builder

This is a data encryption key (DEK) (as opposed to a key encryption key (KEK) stored by Cloud Key Management Service (Cloud KMS). When using Cloud KMS to wrap or unwrap a DEK, be sure to set an appropriate IAM policy on the KEK to ensure an attacker cannot unwrap the DEK.

Protobuf type google.privacy.dlp.v2.CryptoKey

CryptoReplaceFfxFpeConfig

Replaces an identifier with a surrogate using Format Preserving Encryption (FPE) with the FFX mode of operation; however when used in the ReidentifyContent API method, it serves the opposite function by reversing the surrogate back into the original identifier. The identifier must be encoded as ASCII. For a given crypto key and context, the same identifier will be replaced with the same surrogate. Identifiers must be at least two characters long. In the case that the identifier is the empty string, it will be skipped. See https://cloud.google.com/dlp/docs/pseudonymization to learn more.

Note: We recommend using CryptoDeterministicConfig for all use cases which do not require preserving the input alphabet space and size, plus warrant referential integrity.

Protobuf type google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig

CryptoReplaceFfxFpeConfig.Builder

Replaces an identifier with a surrogate using Format Preserving Encryption (FPE) with the FFX mode of operation; however when used in the ReidentifyContent API method, it serves the opposite function by reversing the surrogate back into the original identifier. The identifier must be encoded as ASCII. For a given crypto key and context, the same identifier will be replaced with the same surrogate. Identifiers must be at least two characters long. In the case that the identifier is the empty string, it will be skipped. See https://cloud.google.com/dlp/docs/pseudonymization to learn more.

Note: We recommend using CryptoDeterministicConfig for all use cases which do not require preserving the input alphabet space and size, plus warrant referential integrity.

Protobuf type google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig

CustomInfoType

Custom information type provided by the user. Used to find domain-specific sensitive information configurable to the data in question.

Protobuf type google.privacy.dlp.v2.CustomInfoType

CustomInfoType.Builder

Custom information type provided by the user. Used to find domain-specific sensitive information configurable to the data in question.

Protobuf type google.privacy.dlp.v2.CustomInfoType

CustomInfoType.DetectionRule

Deprecated; use InspectionRuleSet instead. Rule for modifying a CustomInfoType to alter behavior under certain circumstances, depending on the specific details of the rule. Not supported for the surrogate_type custom infoType.

Protobuf type google.privacy.dlp.v2.CustomInfoType.DetectionRule

CustomInfoType.DetectionRule.Builder

Deprecated; use InspectionRuleSet instead. Rule for modifying a CustomInfoType to alter behavior under certain circumstances, depending on the specific details of the rule. Not supported for the surrogate_type custom infoType.

Protobuf type google.privacy.dlp.v2.CustomInfoType.DetectionRule

CustomInfoType.DetectionRule.HotwordRule

The rule that adjusts the likelihood of findings within a certain proximity of hotwords.

Protobuf type google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule

CustomInfoType.DetectionRule.HotwordRule.Builder

The rule that adjusts the likelihood of findings within a certain proximity of hotwords.

Protobuf type google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule

CustomInfoType.DetectionRule.LikelihoodAdjustment

Message for specifying an adjustment to the likelihood of a finding as part of a detection rule.

Protobuf type google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment

CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder

Message for specifying an adjustment to the likelihood of a finding as part of a detection rule.

Protobuf type google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment

CustomInfoType.DetectionRule.Proximity

Message for specifying a window around a finding to apply a detection rule.

Protobuf type google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity

CustomInfoType.DetectionRule.Proximity.Builder

Message for specifying a window around a finding to apply a detection rule.

Protobuf type google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity

CustomInfoType.Dictionary

Custom information type based on a dictionary of words or phrases. This can be used to match sensitive information specific to the data, such as a list of employee IDs or job titles.

Dictionary words are case-insensitive and all characters other than letters and digits in the unicode Basic Multilingual Plane will be replaced with whitespace when scanning for matches, so the dictionary phrase "Sam Johnson" will match all three phrases "sam johnson", "Sam, Johnson", and "Sam (Johnson)". Additionally, the characters surrounding any match must be of a different type than the adjacent characters within the word, so letters must be next to non-letters and digits next to non-digits. For example, the dictionary word "jen" will match the first three letters of the text "jen123" but will return no matches for "jennifer".

Dictionary words containing a large number of characters that are not letters or digits may result in unexpected findings because such characters are treated as whitespace. The limits page contains details about the size limits of dictionaries. For dictionaries that do not fit within these constraints, consider using LargeCustomDictionaryConfig in the StoredInfoType API.

Protobuf type google.privacy.dlp.v2.CustomInfoType.Dictionary

CustomInfoType.Dictionary.Builder

Custom information type based on a dictionary of words or phrases. This can be used to match sensitive information specific to the data, such as a list of employee IDs or job titles.

Dictionary words are case-insensitive and all characters other than letters and digits in the unicode Basic Multilingual Plane will be replaced with whitespace when scanning for matches, so the dictionary phrase "Sam Johnson" will match all three phrases "sam johnson", "Sam, Johnson", and "Sam (Johnson)". Additionally, the characters surrounding any match must be of a different type than the adjacent characters within the word, so letters must be next to non-letters and digits next to non-digits. For example, the dictionary word "jen" will match the first three letters of the text "jen123" but will return no matches for "jennifer".

Dictionary words containing a large number of characters that are not letters or digits may result in unexpected findings because such characters are treated as whitespace. The limits page contains details about the size limits of dictionaries. For dictionaries that do not fit within these constraints, consider using LargeCustomDictionaryConfig in the StoredInfoType API.

Protobuf type google.privacy.dlp.v2.CustomInfoType.Dictionary

CustomInfoType.Dictionary.WordList

Message defining a list of words or phrases to search for in the data.

Protobuf type google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList

CustomInfoType.Dictionary.WordList.Builder

Message defining a list of words or phrases to search for in the data.

Protobuf type google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList

CustomInfoType.Regex

Message defining a custom regular expression.

Protobuf type google.privacy.dlp.v2.CustomInfoType.Regex

CustomInfoType.Regex.Builder

Message defining a custom regular expression.

Protobuf type google.privacy.dlp.v2.CustomInfoType.Regex

CustomInfoType.SurrogateType

Message for detecting output from deidentification transformations such as CryptoReplaceFfxFpeConfig. These types of transformations are those that perform pseudonymization, thereby producing a "surrogate" as output. This should be used in conjunction with a field on the transformation such as surrogate_info_type. This CustomInfoType does not support the use of detection_rules.

Protobuf type google.privacy.dlp.v2.CustomInfoType.SurrogateType

CustomInfoType.SurrogateType.Builder

Message for detecting output from deidentification transformations such as CryptoReplaceFfxFpeConfig. These types of transformations are those that perform pseudonymization, thereby producing a "surrogate" as output. This should be used in conjunction with a field on the transformation such as surrogate_info_type. This CustomInfoType does not support the use of detection_rules.

Protobuf type google.privacy.dlp.v2.CustomInfoType.SurrogateType

DataProfileAction

A task to execute when a data profile has been generated.

Protobuf type google.privacy.dlp.v2.DataProfileAction

DataProfileAction.Builder

A task to execute when a data profile has been generated.

Protobuf type google.privacy.dlp.v2.DataProfileAction

DataProfileAction.Export

If set, the detailed data profiles will be persisted to the location of your choice whenever updated.

Protobuf type google.privacy.dlp.v2.DataProfileAction.Export

DataProfileAction.Export.Builder

If set, the detailed data profiles will be persisted to the location of your choice whenever updated.

Protobuf type google.privacy.dlp.v2.DataProfileAction.Export

DataProfileAction.PubSubNotification

Send a Pub/Sub message into the given Pub/Sub topic to connect other systems to data profile generation. The message payload data will be the byte serialization of DataProfilePubSubMessage.

Protobuf type google.privacy.dlp.v2.DataProfileAction.PubSubNotification

DataProfileAction.PubSubNotification.Builder

Send a Pub/Sub message into the given Pub/Sub topic to connect other systems to data profile generation. The message payload data will be the byte serialization of DataProfilePubSubMessage.

Protobuf type google.privacy.dlp.v2.DataProfileAction.PubSubNotification

DataProfileConfigSnapshot

Snapshot of the configurations used to generate the profile.

Protobuf type google.privacy.dlp.v2.DataProfileConfigSnapshot

DataProfileConfigSnapshot.Builder

Snapshot of the configurations used to generate the profile.

Protobuf type google.privacy.dlp.v2.DataProfileConfigSnapshot

DataProfileJobConfig

Configuration for setting up a job to scan resources for profile generation. Only one data profile configuration may exist per organization, folder, or project.

The generated data profiles are retained according to the data retention policy.

Protobuf type google.privacy.dlp.v2.DataProfileJobConfig

DataProfileJobConfig.Builder

Configuration for setting up a job to scan resources for profile generation. Only one data profile configuration may exist per organization, folder, or project.

The generated data profiles are retained according to the data retention policy.

Protobuf type google.privacy.dlp.v2.DataProfileJobConfig

DataProfileLocation

The data that will be profiled.

Protobuf type google.privacy.dlp.v2.DataProfileLocation

DataProfileLocation.Builder

The data that will be profiled.

Protobuf type google.privacy.dlp.v2.DataProfileLocation

DataProfilePubSubCondition

A condition for determining whether a Pub/Sub should be triggered.

Protobuf type google.privacy.dlp.v2.DataProfilePubSubCondition

DataProfilePubSubCondition.Builder

A condition for determining whether a Pub/Sub should be triggered.

Protobuf type google.privacy.dlp.v2.DataProfilePubSubCondition

DataProfilePubSubCondition.PubSubCondition

A condition consisting of a value.

Protobuf type google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition

DataProfilePubSubCondition.PubSubCondition.Builder

A condition consisting of a value.

Protobuf type google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition

DataProfilePubSubCondition.PubSubExpressions

An expression, consisting of an operator and conditions.

Protobuf type google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions

DataProfilePubSubCondition.PubSubExpressions.Builder

An expression, consisting of an operator and conditions.

Protobuf type google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions

DataProfilePubSubMessage

Pub/Sub topic message for a DataProfileAction.PubSubNotification event. To receive a message of protocol buffer schema type, convert the message data to an object of this proto class.

Protobuf type google.privacy.dlp.v2.DataProfilePubSubMessage

DataProfilePubSubMessage.Builder

Pub/Sub topic message for a DataProfileAction.PubSubNotification event. To receive a message of protocol buffer schema type, convert the message data to an object of this proto class.

Protobuf type google.privacy.dlp.v2.DataProfilePubSubMessage

DataRiskLevel

Score is a summary of all elements in the data profile. A higher number means more risk.

Protobuf type google.privacy.dlp.v2.DataRiskLevel

DataRiskLevel.Builder

Score is a summary of all elements in the data profile. A higher number means more risk.

Protobuf type google.privacy.dlp.v2.DataRiskLevel

DatastoreKey

Record key for a finding in Cloud Datastore.

Protobuf type google.privacy.dlp.v2.DatastoreKey

DatastoreKey.Builder

Record key for a finding in Cloud Datastore.

Protobuf type google.privacy.dlp.v2.DatastoreKey

DatastoreOptions

Options defining a data set within Google Cloud Datastore.

Protobuf type google.privacy.dlp.v2.DatastoreOptions

DatastoreOptions.Builder

Options defining a data set within Google Cloud Datastore.

Protobuf type google.privacy.dlp.v2.DatastoreOptions

DateShiftConfig

Shifts dates by random number of days, with option to be consistent for the same context. See https://cloud.google.com/dlp/docs/concepts-date-shifting to learn more.

Protobuf type google.privacy.dlp.v2.DateShiftConfig

DateShiftConfig.Builder

Shifts dates by random number of days, with option to be consistent for the same context. See https://cloud.google.com/dlp/docs/concepts-date-shifting to learn more.

Protobuf type google.privacy.dlp.v2.DateShiftConfig

DateTime

Message for a date time object. e.g. 2018-01-01, 5th August.

Protobuf type google.privacy.dlp.v2.DateTime

DateTime.Builder

Message for a date time object. e.g. 2018-01-01, 5th August.

Protobuf type google.privacy.dlp.v2.DateTime

DateTime.TimeZone

Time zone of the date time object.

Protobuf type google.privacy.dlp.v2.DateTime.TimeZone

DateTime.TimeZone.Builder

Time zone of the date time object.

Protobuf type google.privacy.dlp.v2.DateTime.TimeZone

DeidentifyConfig

The configuration that controls how the data will change.

Protobuf type google.privacy.dlp.v2.DeidentifyConfig

DeidentifyConfig.Builder

The configuration that controls how the data will change.

Protobuf type google.privacy.dlp.v2.DeidentifyConfig

DeidentifyContentRequest

Request to de-identify a ContentItem.

Protobuf type google.privacy.dlp.v2.DeidentifyContentRequest

DeidentifyContentRequest.Builder

Request to de-identify a ContentItem.

Protobuf type google.privacy.dlp.v2.DeidentifyContentRequest

DeidentifyContentResponse

Results of de-identifying a ContentItem.

Protobuf type google.privacy.dlp.v2.DeidentifyContentResponse

DeidentifyContentResponse.Builder

Results of de-identifying a ContentItem.

Protobuf type google.privacy.dlp.v2.DeidentifyContentResponse

DeidentifyTemplate

DeidentifyTemplates contains instructions on how to de-identify content. See https://cloud.google.com/dlp/docs/concepts-templates to learn more.

Protobuf type google.privacy.dlp.v2.DeidentifyTemplate

DeidentifyTemplate.Builder

DeidentifyTemplates contains instructions on how to de-identify content. See https://cloud.google.com/dlp/docs/concepts-templates to learn more.

Protobuf type google.privacy.dlp.v2.DeidentifyTemplate

DeidentifyTemplateName

DeidentifyTemplateName.Builder

Builder for organizations/{organization}/deidentifyTemplates/{deidentify_template}.

DeidentifyTemplateName.OrganizationLocationDeidentifyTemplateBuilder

Builder for organizations/{organization}/locations/{location}/deidentifyTemplates/{deidentify_template}.

DeidentifyTemplateName.ProjectDeidentifyTemplateBuilder

Builder for projects/{project}/deidentifyTemplates/{deidentify_template}.

DeidentifyTemplateName.ProjectLocationDeidentifyTemplateBuilder

Builder for projects/{project}/locations/{location}/deidentifyTemplates/{deidentify_template}.

DeidentifyTemplateNames (deprecated)

Deprecated. This resource name class will be removed in the next major version.

AUTO-GENERATED DOCUMENTATION AND CLASS

DeleteDeidentifyTemplateRequest

Request message for DeleteDeidentifyTemplate.

Protobuf type google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest

DeleteDeidentifyTemplateRequest.Builder

Request message for DeleteDeidentifyTemplate.

Protobuf type google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest

DeleteDlpJobRequest

The request message for deleting a DLP job.

Protobuf type google.privacy.dlp.v2.DeleteDlpJobRequest

DeleteDlpJobRequest.Builder

The request message for deleting a DLP job.

Protobuf type google.privacy.dlp.v2.DeleteDlpJobRequest

DeleteInspectTemplateRequest

Request message for DeleteInspectTemplate.

Protobuf type google.privacy.dlp.v2.DeleteInspectTemplateRequest

DeleteInspectTemplateRequest.Builder

Request message for DeleteInspectTemplate.

Protobuf type google.privacy.dlp.v2.DeleteInspectTemplateRequest

DeleteJobTriggerRequest

Request message for DeleteJobTrigger.

Protobuf type google.privacy.dlp.v2.DeleteJobTriggerRequest

DeleteJobTriggerRequest.Builder

Request message for DeleteJobTrigger.

Protobuf type google.privacy.dlp.v2.DeleteJobTriggerRequest

DeleteStoredInfoTypeRequest

Request message for DeleteStoredInfoType.

Protobuf type google.privacy.dlp.v2.DeleteStoredInfoTypeRequest

DeleteStoredInfoTypeRequest.Builder

Request message for DeleteStoredInfoType.

Protobuf type google.privacy.dlp.v2.DeleteStoredInfoTypeRequest

DlpContentName

DlpContentName.Builder

Builder for projects/{project}/dlpContent.

DlpContentName.ProjectLocationBuilder

Builder for projects/{project}/locations/{location}/dlpContent.

DlpJob

Combines all of the information about a DLP job.

Protobuf type google.privacy.dlp.v2.DlpJob

DlpJob.Builder

Combines all of the information about a DLP job.

Protobuf type google.privacy.dlp.v2.DlpJob

DlpJobName

DlpJobName.Builder

Builder for projects/{project}/dlpJobs/{dlp_job}.

DlpJobName.ProjectLocationDlpJobBuilder

Builder for projects/{project}/locations/{location}/dlpJobs/{dlp_job}.

DlpProto

DlpServiceGrpc

The Cloud Data Loss Prevention (DLP) API is a service that allows clients to detect the presence of Personally Identifiable Information (PII) and other privacy-sensitive data in user-supplied, unstructured data streams, like text blocks or images. The service also includes methods for sensitive data redaction and scheduling of data scans on Google Cloud Platform based data sets. To learn more about concepts and find how-to guides see https://cloud.google.com/dlp/docs/.

DlpServiceGrpc.DlpServiceBlockingStub

A stub to allow clients to do synchronous rpc calls to service DlpService.

The Cloud Data Loss Prevention (DLP) API is a service that allows clients to detect the presence of Personally Identifiable Information (PII) and other privacy-sensitive data in user-supplied, unstructured data streams, like text blocks or images. The service also includes methods for sensitive data redaction and scheduling of data scans on Google Cloud Platform based data sets. To learn more about concepts and find how-to guides see https://cloud.google.com/dlp/docs/.

DlpServiceGrpc.DlpServiceFutureStub

A stub to allow clients to do ListenableFuture-style rpc calls to service DlpService.

The Cloud Data Loss Prevention (DLP) API is a service that allows clients to detect the presence of Personally Identifiable Information (PII) and other privacy-sensitive data in user-supplied, unstructured data streams, like text blocks or images. The service also includes methods for sensitive data redaction and scheduling of data scans on Google Cloud Platform based data sets. To learn more about concepts and find how-to guides see https://cloud.google.com/dlp/docs/.

DlpServiceGrpc.DlpServiceImplBase

Base class for the server implementation of the service DlpService.

The Cloud Data Loss Prevention (DLP) API is a service that allows clients to detect the presence of Personally Identifiable Information (PII) and other privacy-sensitive data in user-supplied, unstructured data streams, like text blocks or images. The service also includes methods for sensitive data redaction and scheduling of data scans on Google Cloud Platform based data sets. To learn more about concepts and find how-to guides see https://cloud.google.com/dlp/docs/.

DlpServiceGrpc.DlpServiceStub

A stub to allow clients to do asynchronous rpc calls to service DlpService.

The Cloud Data Loss Prevention (DLP) API is a service that allows clients to detect the presence of Personally Identifiable Information (PII) and other privacy-sensitive data in user-supplied, unstructured data streams, like text blocks or images. The service also includes methods for sensitive data redaction and scheduling of data scans on Google Cloud Platform based data sets. To learn more about concepts and find how-to guides see https://cloud.google.com/dlp/docs/.

DlpStorage

DocumentLocation

Location of a finding within a document.

Protobuf type google.privacy.dlp.v2.DocumentLocation

DocumentLocation.Builder

Location of a finding within a document.

Protobuf type google.privacy.dlp.v2.DocumentLocation

EntityId

An entity in a dataset is a field or set of fields that correspond to a single person. For example, in medical records the EntityId might be a patient identifier, or for financial records it might be an account identifier. This message is used when generalizations or analysis must take into account that multiple rows correspond to the same entity.

Protobuf type google.privacy.dlp.v2.EntityId

EntityId.Builder

An entity in a dataset is a field or set of fields that correspond to a single person. For example, in medical records the EntityId might be a patient identifier, or for financial records it might be an account identifier. This message is used when generalizations or analysis must take into account that multiple rows correspond to the same entity.

Protobuf type google.privacy.dlp.v2.EntityId

Error

Details information about an error encountered during job execution or the results of an unsuccessful activation of the JobTrigger.

Protobuf type google.privacy.dlp.v2.Error

Error.Builder

Details information about an error encountered during job execution or the results of an unsuccessful activation of the JobTrigger.

Protobuf type google.privacy.dlp.v2.Error

ExcludeByHotword

The rule to exclude findings based on a hotword. For record inspection of tables, column names are considered hotwords. An example of this is to exclude a finding if a BigQuery column matches a specific pattern.

Protobuf type google.privacy.dlp.v2.ExcludeByHotword

ExcludeByHotword.Builder

The rule to exclude findings based on a hotword. For record inspection of tables, column names are considered hotwords. An example of this is to exclude a finding if a BigQuery column matches a specific pattern.

Protobuf type google.privacy.dlp.v2.ExcludeByHotword

ExcludeInfoTypes

List of excluded infoTypes.

Protobuf type google.privacy.dlp.v2.ExcludeInfoTypes

ExcludeInfoTypes.Builder

List of excluded infoTypes.

Protobuf type google.privacy.dlp.v2.ExcludeInfoTypes

ExclusionRule

The rule that specifies conditions when findings of infoTypes specified in InspectionRuleSet are removed from results.

Protobuf type google.privacy.dlp.v2.ExclusionRule

ExclusionRule.Builder

The rule that specifies conditions when findings of infoTypes specified in InspectionRuleSet are removed from results.

Protobuf type google.privacy.dlp.v2.ExclusionRule

FieldId

General identifier of a data field in a storage service.

Protobuf type google.privacy.dlp.v2.FieldId

FieldId.Builder

General identifier of a data field in a storage service.

Protobuf type google.privacy.dlp.v2.FieldId

FieldTransformation

The transformation to apply to the field.

Protobuf type google.privacy.dlp.v2.FieldTransformation

FieldTransformation.Builder

The transformation to apply to the field.

Protobuf type google.privacy.dlp.v2.FieldTransformation

Finding

Represents a piece of potentially sensitive content.

Protobuf type google.privacy.dlp.v2.Finding

Finding.Builder

Represents a piece of potentially sensitive content.

Protobuf type google.privacy.dlp.v2.Finding

FinishDlpJobRequest

The request message for finishing a DLP hybrid job.

Protobuf type google.privacy.dlp.v2.FinishDlpJobRequest

FinishDlpJobRequest.Builder

The request message for finishing a DLP hybrid job.

Protobuf type google.privacy.dlp.v2.FinishDlpJobRequest

FixedSizeBucketingConfig

Buckets values based on fixed size ranges. The Bucketing transformation can provide all of this functionality, but requires more configuration. This message is provided as a convenience to the user for simple bucketing strategies.

The transformed value will be a hyphenated string of {lower_bound}-{upper_bound}. For example, if lower_bound = 10 and upper_bound = 20, all values that are within this bucket will be replaced with "10-20".

This can be used on data of type: double, long.

If the bound Value type differs from the type of data being transformed, we will first attempt converting the type of the data to be transformed to match the type of the bound before comparing.

See https://cloud.google.com/dlp/docs/concepts-bucketing to learn more.

Protobuf type google.privacy.dlp.v2.FixedSizeBucketingConfig

FixedSizeBucketingConfig.Builder

Buckets values based on fixed size ranges. The Bucketing transformation can provide all of this functionality, but requires more configuration. This message is provided as a convenience to the user for simple bucketing strategies.

The transformed value will be a hyphenated string of {lower_bound}-{upper_bound}. For example, if lower_bound = 10 and upper_bound = 20, all values that are within this bucket will be replaced with "10-20".

This can be used on data of type: double, long.

If the bound Value type differs from the type of data being transformed, we will first attempt converting the type of the data to be transformed to match the type of the bound before comparing.

See https://cloud.google.com/dlp/docs/concepts-bucketing to learn more.

Protobuf type google.privacy.dlp.v2.FixedSizeBucketingConfig

GetDeidentifyTemplateRequest

Request message for GetDeidentifyTemplate.

Protobuf type google.privacy.dlp.v2.GetDeidentifyTemplateRequest

GetDeidentifyTemplateRequest.Builder

Request message for GetDeidentifyTemplate.

Protobuf type google.privacy.dlp.v2.GetDeidentifyTemplateRequest

GetDlpJobRequest

The request message for [DlpJobs.GetDlpJob][].

Protobuf type google.privacy.dlp.v2.GetDlpJobRequest

GetDlpJobRequest.Builder

The request message for [DlpJobs.GetDlpJob][].

Protobuf type google.privacy.dlp.v2.GetDlpJobRequest

GetInspectTemplateRequest

Request message for GetInspectTemplate.

Protobuf type google.privacy.dlp.v2.GetInspectTemplateRequest

GetInspectTemplateRequest.Builder

Request message for GetInspectTemplate.

Protobuf type google.privacy.dlp.v2.GetInspectTemplateRequest

GetJobTriggerRequest

Request message for GetJobTrigger.

Protobuf type google.privacy.dlp.v2.GetJobTriggerRequest

GetJobTriggerRequest.Builder

Request message for GetJobTrigger.

Protobuf type google.privacy.dlp.v2.GetJobTriggerRequest

GetStoredInfoTypeRequest

Request message for GetStoredInfoType.

Protobuf type google.privacy.dlp.v2.GetStoredInfoTypeRequest

GetStoredInfoTypeRequest.Builder

Request message for GetStoredInfoType.

Protobuf type google.privacy.dlp.v2.GetStoredInfoTypeRequest

HybridContentItem

An individual hybrid item to inspect. Will be stored temporarily during processing.

Protobuf type google.privacy.dlp.v2.HybridContentItem

HybridContentItem.Builder

An individual hybrid item to inspect. Will be stored temporarily during processing.

Protobuf type google.privacy.dlp.v2.HybridContentItem

HybridFindingDetails

Populate to associate additional data with each finding.

Protobuf type google.privacy.dlp.v2.HybridFindingDetails

HybridFindingDetails.Builder

Populate to associate additional data with each finding.

Protobuf type google.privacy.dlp.v2.HybridFindingDetails

HybridInspectDlpJobRequest

Request to search for potentially sensitive info in a custom location.

Protobuf type google.privacy.dlp.v2.HybridInspectDlpJobRequest

HybridInspectDlpJobRequest.Builder

Request to search for potentially sensitive info in a custom location.

Protobuf type google.privacy.dlp.v2.HybridInspectDlpJobRequest

HybridInspectJobTriggerRequest

Request to search for potentially sensitive info in a custom location.

Protobuf type google.privacy.dlp.v2.HybridInspectJobTriggerRequest

HybridInspectJobTriggerRequest.Builder

Request to search for potentially sensitive info in a custom location.

Protobuf type google.privacy.dlp.v2.HybridInspectJobTriggerRequest

HybridInspectResponse

Quota exceeded errors will be thrown once quota has been met.

Protobuf type google.privacy.dlp.v2.HybridInspectResponse

HybridInspectResponse.Builder

Quota exceeded errors will be thrown once quota has been met.

Protobuf type google.privacy.dlp.v2.HybridInspectResponse

HybridInspectStatistics

Statistics related to processing hybrid inspect requests.

Protobuf type google.privacy.dlp.v2.HybridInspectStatistics

HybridInspectStatistics.Builder

Statistics related to processing hybrid inspect requests.

Protobuf type google.privacy.dlp.v2.HybridInspectStatistics

HybridOptions

Configuration to control jobs where the content being inspected is outside of Google Cloud Platform.

Protobuf type google.privacy.dlp.v2.HybridOptions

HybridOptions.Builder

Configuration to control jobs where the content being inspected is outside of Google Cloud Platform.

Protobuf type google.privacy.dlp.v2.HybridOptions

ImageLocation

Location of the finding within an image.

Protobuf type google.privacy.dlp.v2.ImageLocation

ImageLocation.Builder

Location of the finding within an image.

Protobuf type google.privacy.dlp.v2.ImageLocation

ImageTransformations

A type of transformation that is applied over images.

Protobuf type google.privacy.dlp.v2.ImageTransformations

ImageTransformations.Builder

A type of transformation that is applied over images.

Protobuf type google.privacy.dlp.v2.ImageTransformations

ImageTransformations.ImageTransformation

Configuration for determining how redaction of images should occur.

Protobuf type google.privacy.dlp.v2.ImageTransformations.ImageTransformation

ImageTransformations.ImageTransformation.AllInfoTypes

Apply transformation to all findings.

Protobuf type google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes

ImageTransformations.ImageTransformation.AllInfoTypes.Builder

Apply transformation to all findings.

Protobuf type google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes

ImageTransformations.ImageTransformation.AllText

Apply to all text.

Protobuf type google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText

ImageTransformations.ImageTransformation.AllText.Builder

Apply to all text.

Protobuf type google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText

ImageTransformations.ImageTransformation.Builder

Configuration for determining how redaction of images should occur.

Protobuf type google.privacy.dlp.v2.ImageTransformations.ImageTransformation

ImageTransformations.ImageTransformation.SelectedInfoTypes

Apply transformation to the selected info_types.

Protobuf type google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes

ImageTransformations.ImageTransformation.SelectedInfoTypes.Builder

Apply transformation to the selected info_types.

Protobuf type google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes

InfoType

Type of information detected by the API.

Protobuf type google.privacy.dlp.v2.InfoType

InfoType.Builder

Type of information detected by the API.

Protobuf type google.privacy.dlp.v2.InfoType

InfoTypeCategory

Classification of infoTypes to organize them according to geographic location, industry, and data type.

Protobuf type google.privacy.dlp.v2.InfoTypeCategory

InfoTypeCategory.Builder

Classification of infoTypes to organize them according to geographic location, industry, and data type.

Protobuf type google.privacy.dlp.v2.InfoTypeCategory

InfoTypeDescription

InfoType description.

Protobuf type google.privacy.dlp.v2.InfoTypeDescription

InfoTypeDescription.Builder

InfoType description.

Protobuf type google.privacy.dlp.v2.InfoTypeDescription

InfoTypeStats

Statistics regarding a specific InfoType.

Protobuf type google.privacy.dlp.v2.InfoTypeStats

InfoTypeStats.Builder

Statistics regarding a specific InfoType.

Protobuf type google.privacy.dlp.v2.InfoTypeStats

InfoTypeSummary

The infoType details for this column.

Protobuf type google.privacy.dlp.v2.InfoTypeSummary

InfoTypeSummary.Builder

The infoType details for this column.

Protobuf type google.privacy.dlp.v2.InfoTypeSummary

InfoTypeTransformations

A type of transformation that will scan unstructured text and apply various PrimitiveTransformations to each finding, where the transformation is applied to only values that were identified as a specific info_type.

Protobuf type google.privacy.dlp.v2.InfoTypeTransformations

InfoTypeTransformations.Builder

A type of transformation that will scan unstructured text and apply various PrimitiveTransformations to each finding, where the transformation is applied to only values that were identified as a specific info_type.

Protobuf type google.privacy.dlp.v2.InfoTypeTransformations

InfoTypeTransformations.InfoTypeTransformation

A transformation to apply to text that is identified as a specific info_type.

Protobuf type google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation

InfoTypeTransformations.InfoTypeTransformation.Builder

A transformation to apply to text that is identified as a specific info_type.

Protobuf type google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation

InspectConfig

Configuration description of the scanning process. When used with redactContent only info_types and min_likelihood are currently used.

Protobuf type google.privacy.dlp.v2.InspectConfig

InspectConfig.Builder

Configuration description of the scanning process. When used with redactContent only info_types and min_likelihood are currently used.

Protobuf type google.privacy.dlp.v2.InspectConfig

InspectConfig.FindingLimits

Configuration to control the number of findings returned for inspection. This is not used for de-identification or data profiling.

When redacting sensitive data from images, finding limits don't apply. They can cause unexpected or inconsistent results, where only some data is redacted. Don't include finding limits in RedactImage requests. Otherwise, Cloud DLP returns an error.

Protobuf type google.privacy.dlp.v2.InspectConfig.FindingLimits

InspectConfig.FindingLimits.Builder

Configuration to control the number of findings returned for inspection. This is not used for de-identification or data profiling.

When redacting sensitive data from images, finding limits don't apply. They can cause unexpected or inconsistent results, where only some data is redacted. Don't include finding limits in RedactImage requests. Otherwise, Cloud DLP returns an error.

Protobuf type google.privacy.dlp.v2.InspectConfig.FindingLimits

InspectConfig.FindingLimits.InfoTypeLimit

Max findings configuration per infoType, per content item or long running DlpJob.

Protobuf type google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit

InspectConfig.FindingLimits.InfoTypeLimit.Builder

Max findings configuration per infoType, per content item or long running DlpJob.

Protobuf type google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit

InspectContentRequest

Request to search for potentially sensitive info in a ContentItem.

Protobuf type google.privacy.dlp.v2.InspectContentRequest

InspectContentRequest.Builder

Request to search for potentially sensitive info in a ContentItem.

Protobuf type google.privacy.dlp.v2.InspectContentRequest

InspectContentResponse

Results of inspecting an item.

Protobuf type google.privacy.dlp.v2.InspectContentResponse

InspectContentResponse.Builder

Results of inspecting an item.

Protobuf type google.privacy.dlp.v2.InspectContentResponse

InspectDataSourceDetails

The results of an inspect DataSource job.

Protobuf type google.privacy.dlp.v2.InspectDataSourceDetails

InspectDataSourceDetails.Builder

The results of an inspect DataSource job.

Protobuf type google.privacy.dlp.v2.InspectDataSourceDetails

InspectDataSourceDetails.RequestedOptions

Snapshot of the inspection configuration.

Protobuf type google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions

InspectDataSourceDetails.RequestedOptions.Builder

Snapshot of the inspection configuration.

Protobuf type google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions

InspectDataSourceDetails.Result

All result fields mentioned below are updated while the job is processing.

Protobuf type google.privacy.dlp.v2.InspectDataSourceDetails.Result

InspectDataSourceDetails.Result.Builder

All result fields mentioned below are updated while the job is processing.

Protobuf type google.privacy.dlp.v2.InspectDataSourceDetails.Result

InspectFindingName

AUTO-GENERATED DOCUMENTATION AND CLASS

InspectFindingName.Builder

Builder for InspectFindingName.

InspectJobConfig

Controls what and how to inspect for findings.

Protobuf type google.privacy.dlp.v2.InspectJobConfig

InspectJobConfig.Builder

Controls what and how to inspect for findings.

Protobuf type google.privacy.dlp.v2.InspectJobConfig

InspectResult

All the findings for a single scanned item.

Protobuf type google.privacy.dlp.v2.InspectResult

InspectResult.Builder

All the findings for a single scanned item.

Protobuf type google.privacy.dlp.v2.InspectResult

InspectTemplate

The inspectTemplate contains a configuration (set of types of sensitive data to be detected) to be used anywhere you otherwise would normally specify InspectConfig. See https://cloud.google.com/dlp/docs/concepts-templates to learn more.

Protobuf type google.privacy.dlp.v2.InspectTemplate

InspectTemplate.Builder

The inspectTemplate contains a configuration (set of types of sensitive data to be detected) to be used anywhere you otherwise would normally specify InspectConfig. See https://cloud.google.com/dlp/docs/concepts-templates to learn more.

Protobuf type google.privacy.dlp.v2.InspectTemplate

InspectTemplateName

InspectTemplateName.Builder

Builder for organizations/{organization}/inspectTemplates/{inspect_template}.

InspectTemplateName.OrganizationLocationInspectTemplateBuilder

Builder for organizations/{organization}/locations/{location}/inspectTemplates/{inspect_template}.

InspectTemplateName.ProjectInspectTemplateBuilder

Builder for projects/{project}/inspectTemplates/{inspect_template}.

InspectTemplateName.ProjectLocationInspectTemplateBuilder

Builder for projects/{project}/locations/{location}/inspectTemplates/{inspect_template}.

InspectTemplateNames (deprecated)

Deprecated. This resource name class will be removed in the next major version.

AUTO-GENERATED DOCUMENTATION AND CLASS

InspectionRule

A single inspection rule to be applied to infoTypes, specified in InspectionRuleSet.

Protobuf type google.privacy.dlp.v2.InspectionRule

InspectionRule.Builder

A single inspection rule to be applied to infoTypes, specified in InspectionRuleSet.

Protobuf type google.privacy.dlp.v2.InspectionRule

InspectionRuleSet

Rule set for modifying a set of infoTypes to alter behavior under certain circumstances, depending on the specific details of the rules within the set.

Protobuf type google.privacy.dlp.v2.InspectionRuleSet

InspectionRuleSet.Builder

Rule set for modifying a set of infoTypes to alter behavior under certain circumstances, depending on the specific details of the rules within the set.

Protobuf type google.privacy.dlp.v2.InspectionRuleSet

JobTrigger

Contains a configuration to make dlp api calls on a repeating basis. See https://cloud.google.com/dlp/docs/concepts-job-triggers to learn more.

Protobuf type google.privacy.dlp.v2.JobTrigger

JobTrigger.Builder

Contains a configuration to make dlp api calls on a repeating basis. See https://cloud.google.com/dlp/docs/concepts-job-triggers to learn more.

Protobuf type google.privacy.dlp.v2.JobTrigger

JobTrigger.Trigger

What event needs to occur for a new job to be started.

Protobuf type google.privacy.dlp.v2.JobTrigger.Trigger

JobTrigger.Trigger.Builder

What event needs to occur for a new job to be started.

Protobuf type google.privacy.dlp.v2.JobTrigger.Trigger

JobTriggerName

JobTriggerName.Builder

Builder for projects/{project}/jobTriggers/{job_trigger}.

JobTriggerName.ProjectLocationJobTriggerBuilder

Builder for projects/{project}/locations/{location}/jobTriggers/{job_trigger}.

Key

A unique identifier for a Datastore entity. If a key's partition ID or any of its path kinds or names are reserved/read-only, the key is reserved/read-only. A reserved/read-only key is forbidden in certain documented contexts.

Protobuf type google.privacy.dlp.v2.Key

Key.Builder

A unique identifier for a Datastore entity. If a key's partition ID or any of its path kinds or names are reserved/read-only, the key is reserved/read-only. A reserved/read-only key is forbidden in certain documented contexts.

Protobuf type google.privacy.dlp.v2.Key

Key.PathElement

A (kind, ID/name) pair used to construct a key path.

If either name or ID is set, the element is complete. If neither is set, the element is incomplete.

Protobuf type google.privacy.dlp.v2.Key.PathElement

Key.PathElement.Builder

A (kind, ID/name) pair used to construct a key path.

If either name or ID is set, the element is complete. If neither is set, the element is incomplete.

Protobuf type google.privacy.dlp.v2.Key.PathElement

KindExpression

A representation of a Datastore kind.

Protobuf type google.privacy.dlp.v2.KindExpression

KindExpression.Builder

A representation of a Datastore kind.

Protobuf type google.privacy.dlp.v2.KindExpression

KmsWrappedCryptoKey

Include to use an existing data crypto key wrapped by KMS. The wrapped key must be a 128-, 192-, or 256-bit key. Authorization requires the following IAM permissions when sending a request to perform a crypto transformation using a KMS-wrapped crypto key: dlp.kms.encrypt

For more information, see Creating a wrapped key.

Note: When you use Cloud KMS for cryptographic operations, charges apply.

Protobuf type google.privacy.dlp.v2.KmsWrappedCryptoKey

KmsWrappedCryptoKey.Builder

Include to use an existing data crypto key wrapped by KMS. The wrapped key must be a 128-, 192-, or 256-bit key. Authorization requires the following IAM permissions when sending a request to perform a crypto transformation using a KMS-wrapped crypto key: dlp.kms.encrypt

For more information, see Creating a wrapped key.

Note: When you use Cloud KMS for cryptographic operations, charges apply.

Protobuf type google.privacy.dlp.v2.KmsWrappedCryptoKey

LargeCustomDictionaryConfig

Configuration for a custom dictionary created from a data source of any size up to the maximum size defined in the limits page. The artifacts of dictionary creation are stored in the specified Cloud Storage location. Consider using CustomInfoType.Dictionary for smaller dictionaries that satisfy the size requirements.

Protobuf type google.privacy.dlp.v2.LargeCustomDictionaryConfig

LargeCustomDictionaryConfig.Builder

Configuration for a custom dictionary created from a data source of any size up to the maximum size defined in the limits page. The artifacts of dictionary creation are stored in the specified Cloud Storage location. Consider using CustomInfoType.Dictionary for smaller dictionaries that satisfy the size requirements.

Protobuf type google.privacy.dlp.v2.LargeCustomDictionaryConfig

LargeCustomDictionaryStats

Summary statistics of a custom dictionary.

Protobuf type google.privacy.dlp.v2.LargeCustomDictionaryStats

LargeCustomDictionaryStats.Builder

Summary statistics of a custom dictionary.

Protobuf type google.privacy.dlp.v2.LargeCustomDictionaryStats

ListDeidentifyTemplatesRequest

Request message for ListDeidentifyTemplates.

Protobuf type google.privacy.dlp.v2.ListDeidentifyTemplatesRequest

ListDeidentifyTemplatesRequest.Builder

Request message for ListDeidentifyTemplates.

Protobuf type google.privacy.dlp.v2.ListDeidentifyTemplatesRequest

ListDeidentifyTemplatesResponse

Response message for ListDeidentifyTemplates.

Protobuf type google.privacy.dlp.v2.ListDeidentifyTemplatesResponse

ListDeidentifyTemplatesResponse.Builder

Response message for ListDeidentifyTemplates.

Protobuf type google.privacy.dlp.v2.ListDeidentifyTemplatesResponse

ListDlpJobsRequest

The request message for listing DLP jobs.

Protobuf type google.privacy.dlp.v2.ListDlpJobsRequest

ListDlpJobsRequest.Builder

The request message for listing DLP jobs.

Protobuf type google.privacy.dlp.v2.ListDlpJobsRequest

ListDlpJobsResponse

The response message for listing DLP jobs.

Protobuf type google.privacy.dlp.v2.ListDlpJobsResponse

ListDlpJobsResponse.Builder

The response message for listing DLP jobs.

Protobuf type google.privacy.dlp.v2.ListDlpJobsResponse

ListInfoTypesRequest

Request for the list of infoTypes.

Protobuf type google.privacy.dlp.v2.ListInfoTypesRequest

ListInfoTypesRequest.Builder

Request for the list of infoTypes.

Protobuf type google.privacy.dlp.v2.ListInfoTypesRequest

ListInfoTypesResponse

Response to the ListInfoTypes request.

Protobuf type google.privacy.dlp.v2.ListInfoTypesResponse

ListInfoTypesResponse.Builder

Response to the ListInfoTypes request.

Protobuf type google.privacy.dlp.v2.ListInfoTypesResponse

ListInspectTemplatesRequest

Request message for ListInspectTemplates.

Protobuf type google.privacy.dlp.v2.ListInspectTemplatesRequest

ListInspectTemplatesRequest.Builder

Request message for ListInspectTemplates.

Protobuf type google.privacy.dlp.v2.ListInspectTemplatesRequest

ListInspectTemplatesResponse

Response message for ListInspectTemplates.

Protobuf type google.privacy.dlp.v2.ListInspectTemplatesResponse

ListInspectTemplatesResponse.Builder

Response message for ListInspectTemplates.

Protobuf type google.privacy.dlp.v2.ListInspectTemplatesResponse

ListJobTriggersRequest

Request message for ListJobTriggers.

Protobuf type google.privacy.dlp.v2.ListJobTriggersRequest

ListJobTriggersRequest.Builder

Request message for ListJobTriggers.

Protobuf type google.privacy.dlp.v2.ListJobTriggersRequest

ListJobTriggersResponse

Response message for ListJobTriggers.

Protobuf type google.privacy.dlp.v2.ListJobTriggersResponse

ListJobTriggersResponse.Builder

Response message for ListJobTriggers.

Protobuf type google.privacy.dlp.v2.ListJobTriggersResponse

ListStoredInfoTypesRequest

Request message for ListStoredInfoTypes.

Protobuf type google.privacy.dlp.v2.ListStoredInfoTypesRequest

ListStoredInfoTypesRequest.Builder

Request message for ListStoredInfoTypes.

Protobuf type google.privacy.dlp.v2.ListStoredInfoTypesRequest

ListStoredInfoTypesResponse

Response message for ListStoredInfoTypes.

Protobuf type google.privacy.dlp.v2.ListStoredInfoTypesResponse

ListStoredInfoTypesResponse.Builder

Response message for ListStoredInfoTypes.

Protobuf type google.privacy.dlp.v2.ListStoredInfoTypesResponse

Location

Specifies the location of the finding.

Protobuf type google.privacy.dlp.v2.Location

Location.Builder

Specifies the location of the finding.

Protobuf type google.privacy.dlp.v2.Location

LocationName

LocationName.Builder

Builder for projects/{project}/locations/{location}.

Manual

Job trigger option for hybrid jobs. Jobs must be manually created and finished.

Protobuf type google.privacy.dlp.v2.Manual

Manual.Builder

Job trigger option for hybrid jobs. Jobs must be manually created and finished.

Protobuf type google.privacy.dlp.v2.Manual

MetadataLocation

Metadata Location

Protobuf type google.privacy.dlp.v2.MetadataLocation

MetadataLocation.Builder

Metadata Location

Protobuf type google.privacy.dlp.v2.MetadataLocation

OrganizationDeidentifyTemplateName

AUTO-GENERATED DOCUMENTATION AND CLASS

OrganizationDeidentifyTemplateName.Builder

Builder for OrganizationDeidentifyTemplateName.

OrganizationInspectTemplateName

AUTO-GENERATED DOCUMENTATION AND CLASS

OrganizationInspectTemplateName.Builder

Builder for OrganizationInspectTemplateName.

OrganizationLocationName

OrganizationLocationName.Builder

Builder for organizations/{organization}/locations/{location}.

OrganizationName

OrganizationName.Builder

Builder for organizations/{organization}.

OrganizationStoredInfoTypeName

AUTO-GENERATED DOCUMENTATION AND CLASS

OrganizationStoredInfoTypeName.Builder

Builder for OrganizationStoredInfoTypeName.

OtherInfoTypeSummary

Infotype details for other infoTypes found within a column.

Protobuf type google.privacy.dlp.v2.OtherInfoTypeSummary

OtherInfoTypeSummary.Builder

Infotype details for other infoTypes found within a column.

Protobuf type google.privacy.dlp.v2.OtherInfoTypeSummary

OutputStorageConfig

Cloud repository for storing output.

Protobuf type google.privacy.dlp.v2.OutputStorageConfig

OutputStorageConfig.Builder

Cloud repository for storing output.

Protobuf type google.privacy.dlp.v2.OutputStorageConfig

PartitionId

Datastore partition ID. A partition ID identifies a grouping of entities. The grouping is always by project and namespace, however the namespace ID may be empty.

A partition ID contains several dimensions: project ID and namespace ID.

Protobuf type google.privacy.dlp.v2.PartitionId

PartitionId.Builder

Datastore partition ID. A partition ID identifies a grouping of entities. The grouping is always by project and namespace, however the namespace ID may be empty.

A partition ID contains several dimensions: project ID and namespace ID.

Protobuf type google.privacy.dlp.v2.PartitionId

PrimitiveTransformation

A rule for transforming a value.

Protobuf type google.privacy.dlp.v2.PrimitiveTransformation

PrimitiveTransformation.Builder

A rule for transforming a value.

Protobuf type google.privacy.dlp.v2.PrimitiveTransformation

PrivacyMetric

Privacy metric to compute for reidentification risk analysis.

Protobuf type google.privacy.dlp.v2.PrivacyMetric

PrivacyMetric.Builder

Privacy metric to compute for reidentification risk analysis.

Protobuf type google.privacy.dlp.v2.PrivacyMetric

PrivacyMetric.CategoricalStatsConfig

Compute numerical stats over an individual column, including number of distinct values and value count distribution.

Protobuf type google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig

PrivacyMetric.CategoricalStatsConfig.Builder

Compute numerical stats over an individual column, including number of distinct values and value count distribution.

Protobuf type google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig

PrivacyMetric.DeltaPresenceEstimationConfig

δ-presence metric, used to estimate how likely it is for an attacker to figure out that one given individual appears in a de-identified dataset. Similarly to the k-map metric, we cannot compute δ-presence exactly without knowing the attack dataset, so we use a statistical model instead.

Protobuf type google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig

PrivacyMetric.DeltaPresenceEstimationConfig.Builder

δ-presence metric, used to estimate how likely it is for an attacker to figure out that one given individual appears in a de-identified dataset. Similarly to the k-map metric, we cannot compute δ-presence exactly without knowing the attack dataset, so we use a statistical model instead.

Protobuf type google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig

PrivacyMetric.KAnonymityConfig

k-anonymity metric, used for analysis of reidentification risk.

Protobuf type google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig

PrivacyMetric.KAnonymityConfig.Builder

k-anonymity metric, used for analysis of reidentification risk.

Protobuf type google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig

PrivacyMetric.KMapEstimationConfig

Reidentifiability metric. This corresponds to a risk model similar to what is called "journalist risk" in the literature, except the attack dataset is statistically modeled instead of being perfectly known. This can be done using publicly available data (like the US Census), or using a custom statistical model (indicated as one or several BigQuery tables), or by extrapolating from the distribution of values in the input dataset.

Protobuf type google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig

PrivacyMetric.KMapEstimationConfig.AuxiliaryTable

An auxiliary table contains statistical information on the relative frequency of different quasi-identifiers values. It has one or several quasi-identifiers columns, and one column that indicates the relative frequency of each quasi-identifier tuple. If a tuple is present in the data but not in the auxiliary table, the corresponding relative frequency is assumed to be zero (and thus, the tuple is highly reidentifiable).

Protobuf type google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable

PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.Builder

An auxiliary table contains statistical information on the relative frequency of different quasi-identifiers values. It has one or several quasi-identifiers columns, and one column that indicates the relative frequency of each quasi-identifier tuple. If a tuple is present in the data but not in the auxiliary table, the corresponding relative frequency is assumed to be zero (and thus, the tuple is highly reidentifiable).

Protobuf type google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable

PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField

A quasi-identifier column has a custom_tag, used to know which column in the data corresponds to which column in the statistical model.

Protobuf type google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField

PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField.Builder

A quasi-identifier column has a custom_tag, used to know which column in the data corresponds to which column in the statistical model.

Protobuf type google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField

PrivacyMetric.KMapEstimationConfig.Builder

Reidentifiability metric. This corresponds to a risk model similar to what is called "journalist risk" in the literature, except the attack dataset is statistically modeled instead of being perfectly known. This can be done using publicly available data (like the US Census), or using a custom statistical model (indicated as one or several BigQuery tables), or by extrapolating from the distribution of values in the input dataset.

Protobuf type google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig

PrivacyMetric.KMapEstimationConfig.TaggedField

A column with a semantic tag attached.

Protobuf type google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField

PrivacyMetric.KMapEstimationConfig.TaggedField.Builder

A column with a semantic tag attached.

Protobuf type google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField

PrivacyMetric.LDiversityConfig

l-diversity metric, used for analysis of reidentification risk.

Protobuf type google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig

PrivacyMetric.LDiversityConfig.Builder

l-diversity metric, used for analysis of reidentification risk.

Protobuf type google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig

PrivacyMetric.NumericalStatsConfig

Compute numerical stats over an individual column, including min, max, and quantiles.

Protobuf type google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig

PrivacyMetric.NumericalStatsConfig.Builder

Compute numerical stats over an individual column, including min, max, and quantiles.

Protobuf type google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig

ProfileStatus

Protobuf type google.privacy.dlp.v2.ProfileStatus

ProfileStatus.Builder

Protobuf type google.privacy.dlp.v2.ProfileStatus

ProjectDeidentifyTemplateName

AUTO-GENERATED DOCUMENTATION AND CLASS

ProjectDeidentifyTemplateName.Builder

Builder for ProjectDeidentifyTemplateName.

ProjectInspectTemplateName

AUTO-GENERATED DOCUMENTATION AND CLASS

ProjectInspectTemplateName.Builder

Builder for ProjectInspectTemplateName.

ProjectJobTriggerName

AUTO-GENERATED DOCUMENTATION AND CLASS

ProjectJobTriggerName.Builder

Builder for ProjectJobTriggerName.

ProjectName

ProjectName.Builder

Builder for projects/{project}.

ProjectStoredInfoTypeName

AUTO-GENERATED DOCUMENTATION AND CLASS

ProjectStoredInfoTypeName.Builder

Builder for ProjectStoredInfoTypeName.

QuasiId

A column with a semantic tag attached.

Protobuf type google.privacy.dlp.v2.QuasiId

QuasiId.Builder

A column with a semantic tag attached.

Protobuf type google.privacy.dlp.v2.QuasiId

QuoteInfo

Message for infoType-dependent details parsed from quote.

Protobuf type google.privacy.dlp.v2.QuoteInfo

QuoteInfo.Builder

Message for infoType-dependent details parsed from quote.

Protobuf type google.privacy.dlp.v2.QuoteInfo

Range

Generic half-open interval [start, end)

Protobuf type google.privacy.dlp.v2.Range

Range.Builder

Generic half-open interval [start, end)

Protobuf type google.privacy.dlp.v2.Range

RecordCondition

A condition for determining whether a transformation should be applied to a field.

Protobuf type google.privacy.dlp.v2.RecordCondition

RecordCondition.Builder

A condition for determining whether a transformation should be applied to a field.

Protobuf type google.privacy.dlp.v2.RecordCondition

RecordCondition.Condition

The field type of value and field do not need to match to be considered equal, but not all comparisons are possible. EQUAL_TO and NOT_EQUAL_TO attempt to compare even with incompatible types, but all other comparisons are invalid with incompatible types. A value of type:

  • string can be compared against all other types
  • boolean can only be compared against other booleans
  • integer can be compared against doubles or a string if the string value can be parsed as an integer.
  • double can be compared against integers or a string if the string can be parsed as a double.
  • Timestamp can be compared against strings in RFC 3339 date string format.
  • TimeOfDay can be compared against timestamps and strings in the format of 'HH:mm:ss'.

    If we fail to compare do to type mismatch, a warning will be given and the condition will evaluate to false.

Protobuf type google.privacy.dlp.v2.RecordCondition.Condition

RecordCondition.Condition.Builder

The field type of value and field do not need to match to be considered equal, but not all comparisons are possible. EQUAL_TO and NOT_EQUAL_TO attempt to compare even with incompatible types, but all other comparisons are invalid with incompatible types. A value of type:

  • string can be compared against all other types
  • boolean can only be compared against other booleans
  • integer can be compared against doubles or a string if the string value can be parsed as an integer.
  • double can be compared against integers or a string if the string can be parsed as a double.
  • Timestamp can be compared against strings in RFC 3339 date string format.
  • TimeOfDay can be compared against timestamps and strings in the format of 'HH:mm:ss'.

    If we fail to compare do to type mismatch, a warning will be given and the condition will evaluate to false.

Protobuf type google.privacy.dlp.v2.RecordCondition.Condition

RecordCondition.Conditions

A collection of conditions.

Protobuf type google.privacy.dlp.v2.RecordCondition.Conditions

RecordCondition.Conditions.Builder

A collection of conditions.

Protobuf type google.privacy.dlp.v2.RecordCondition.Conditions

RecordCondition.Expressions

An expression, consisting of an operator and conditions.

Protobuf type google.privacy.dlp.v2.RecordCondition.Expressions

RecordCondition.Expressions.Builder

An expression, consisting of an operator and conditions.

Protobuf type google.privacy.dlp.v2.RecordCondition.Expressions

RecordKey

Message for a unique key indicating a record that contains a finding.

Protobuf type google.privacy.dlp.v2.RecordKey

RecordKey.Builder

Message for a unique key indicating a record that contains a finding.

Protobuf type google.privacy.dlp.v2.RecordKey

RecordLocation

Location of a finding within a row or record.

Protobuf type google.privacy.dlp.v2.RecordLocation

RecordLocation.Builder

Location of a finding within a row or record.

Protobuf type google.privacy.dlp.v2.RecordLocation

RecordSuppression

Configuration to suppress records whose suppression conditions evaluate to true.

Protobuf type google.privacy.dlp.v2.RecordSuppression

RecordSuppression.Builder

Configuration to suppress records whose suppression conditions evaluate to true.

Protobuf type google.privacy.dlp.v2.RecordSuppression

RecordTransformation

Protobuf type google.privacy.dlp.v2.RecordTransformation

RecordTransformation.Builder

Protobuf type google.privacy.dlp.v2.RecordTransformation

RecordTransformations

A type of transformation that is applied over structured data such as a table.

Protobuf type google.privacy.dlp.v2.RecordTransformations

RecordTransformations.Builder