package google.privacy.dlp.v2

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

service DlpService

dlp.proto:48

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

message Action

dlp.proto:2446

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

Used in: InspectJobConfig, RiskAnalysisJobConfig

message Action.JobNotificationEmails

dlp.proto:2498

Enable email notification to project owners and editors on jobs's completion/failure.

Used in: Action

(message has no fields)

message Action.PublishFindingsToCloudDataCatalog

dlp.proto:2492

Publish findings of a DlpJob to Cloud Data Catalog. Labels summarizing the results of the DlpJob will be applied to the entry for the resource scanned in Cloud Data Catalog. Any labels previously written by another DlpJob will be deleted. InfoType naming patterns are strictly enforced when using this feature. Note that the findings will be persisted in Cloud Data Catalog storage and are governed by Data Catalog service-specific policy, see https://cloud.google.com/terms/service-terms Only a single instance of this action can be specified and only allowed if all resources being scanned are BigQuery tables. Compatible with: Inspect

Used in: Action

(message has no fields)

message Action.PublishSummaryToCscc

dlp.proto:2478

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

Used in: Action

(message has no fields)

message Action.PublishToPubSub

dlp.proto:2460

Publish a message into 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`](/dlp/docs/reference/rest/v2/projects.dlpJobs#DlpJob). Compatible with: Inspect, Risk

Used in: Action

message Action.SaveFindings

dlp.proto:2451

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

Used in: Action

message AnalyzeDataSourceRiskDetails

dlp.proto:1337

Result of a risk analysis operation request.

Used in: DlpJob

message AnalyzeDataSourceRiskDetails.CategoricalStatsResult

dlp.proto:1352

Result of the categorical stats computation.

Used in: AnalyzeDataSourceRiskDetails

message AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket

dlp.proto:1353

Used in: CategoricalStatsResult

message AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult

dlp.proto:1504

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

Used in: AnalyzeDataSourceRiskDetails

message AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket

dlp.proto:1530

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.

Used in: DeltaPresenceEstimationResult

message AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues

dlp.proto:1506

A tuple of values for the quasi-identifier columns.

Used in: DeltaPresenceEstimationHistogramBucket

message AnalyzeDataSourceRiskDetails.KAnonymityResult

dlp.proto:1376

Result of the k-anonymity computation.

Used in: AnalyzeDataSourceRiskDetails

message AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass

dlp.proto:1378

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

Used in: KAnonymityHistogramBucket

message AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket

dlp.proto:1389

Used in: KAnonymityResult

message AnalyzeDataSourceRiskDetails.KMapEstimationResult

dlp.proto:1455

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

Used in: AnalyzeDataSourceRiskDetails

message AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket

dlp.proto:1473

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.

Used in: KMapEstimationResult

message AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues

dlp.proto:1457

A tuple of values for the quasi-identifier columns.

Used in: KMapEstimationHistogramBucket

message AnalyzeDataSourceRiskDetails.LDiversityResult

dlp.proto:1412

Result of the l-diversity computation.

Used in: AnalyzeDataSourceRiskDetails

message AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass

dlp.proto:1414

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

Used in: LDiversityHistogramBucket

message AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket

dlp.proto:1429

Used in: LDiversityResult

message AnalyzeDataSourceRiskDetails.NumericalStatsResult

dlp.proto:1339

Result of the numerical stats computation.

Used in: AnalyzeDataSourceRiskDetails

message BigQueryField

storage.proto:627

Message defining a field of a BigQuery table.

Used in: LargeCustomDictionaryConfig

message BigQueryKey

storage.proto:533

Row key for identifying a record in BigQuery table.

Used in: RecordKey

message BigQueryOptions

storage.proto:421

Options defining BigQuery table and row identifiers.

Used in: StorageConfig

enum BigQueryOptions.SampleMethod

storage.proto:425

How to sample rows if not all rows are scanned. Meaningful only when used in conjunction with either rows_limit or rows_limit_percent. If not specified, scanning would start from the top.

Used in: BigQueryOptions

message BigQueryTable

storage.proto:614

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

Used in: AnalyzeDataSourceRiskDetails, BigQueryField, BigQueryKey, BigQueryOptions, OutputStorageConfig, PrivacyMetric.KMapEstimationConfig.AuxiliaryTable, RiskAnalysisJobConfig, StatisticalTable

message BoundingBox

dlp.proto:781

Bounding box encompassing detected text within an image.

Used in: ImageLocation

message BucketingConfig

dlp.proto:1904

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.

Used in: PrimitiveTransformation

message BucketingConfig.Bucket

dlp.proto:1906

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

Used in: BucketingConfig

message ByteContentItem

dlp.proto:557

Container for bytes to inspect or redact.

Used in: ContentItem, RedactImageRequest

enum ByteContentItem.BytesType

dlp.proto:558

Used in: ByteContentItem

message CharacterMaskConfig

dlp.proto:1836

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.

Used in: PrimitiveTransformation

message CharsToIgnore

dlp.proto:1803

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

Used in: CharacterMaskConfig

enum CharsToIgnore.CommonCharsToIgnore

dlp.proto:1804

Used in: CharsToIgnore

message CloudStorageFileSet

storage.proto:407

Message representing a set of files in Cloud Storage.

Used in: LargeCustomDictionaryConfig

message CloudStorageOptions

storage.proto:344

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

Used in: StorageConfig

message CloudStorageOptions.FileSet

storage.proto:346

Set of files to scan.

Used in: CloudStorageOptions

enum CloudStorageOptions.SampleMethod

storage.proto:367

How to sample bytes if not all bytes are scanned. Meaningful only when used in conjunction with bytes_limit_per_file. If not specified, scanning would start from the top.

Used in: CloudStorageOptions

message CloudStoragePath

storage.proto:414

Message representing a single file or path in Cloud Storage.

Used in: CustomInfoType.Dictionary, LargeCustomDictionaryConfig

message CloudStorageRegexFileSet

storage.proto:317

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

Used in: CloudStorageOptions.FileSet

message Color

dlp.proto:836

Represents a color in the RGB color space.

Used in: RedactImageRequest.ImageRedactionConfig

message ContentItem

dlp.proto:584

Container structure for the content to inspect.

Used in: DeidentifyContentRequest, DeidentifyContentResponse, InspectContentRequest, ReidentifyContentRequest, ReidentifyContentResponse

message ContentLocation

dlp.proto:704

Findings container location data.

Used in: Location

enum ContentOption

dlp.proto:430

Options describing which parts of the provided content should be scanned.

Used in: InspectConfig

message CryptoDeterministicConfig

dlp.proto:1729

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.

Used in: PrimitiveTransformation

message CryptoHashConfig

dlp.proto:1721

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.

Used in: PrimitiveTransformation

message CryptoKey

dlp.proto:2030

This is a data encryption key (DEK) (as opposed to a key encryption key (KEK) stored by KMS). When using KMS to wrap/unwrap DEKs, be sure to set an appropriate IAM policy on the KMS CryptoKey (KEK) to ensure an attacker cannot unwrap the data crypto key.

Used in: CryptoDeterministicConfig, CryptoHashConfig, CryptoReplaceFfxFpeConfig, DateShiftConfig

message CryptoReplaceFfxFpeConfig

dlp.proto:1936

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.

Used in: PrimitiveTransformation

enum CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet

dlp.proto:1940

These are commonly used subsets of the alphabet that the FFX mode natively supports. In the algorithm, the alphabet is selected using the "radix". Therefore each corresponds to particular radix.

Used in: CryptoReplaceFfxFpeConfig

message CustomInfoType

storage.proto:74

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

Used in: InspectConfig

message CustomInfoType.DetectionRule

storage.proto:145

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.

Used in: CustomInfoType

message CustomInfoType.DetectionRule.HotwordRule

storage.proto:177

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

Used in: DetectionRule, InspectionRule

message CustomInfoType.DetectionRule.LikelihoodAdjustment

storage.proto:158

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

Used in: HotwordRule

message CustomInfoType.DetectionRule.Proximity

storage.proto:148

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

Used in: HotwordRule

message CustomInfoType.Dictionary

storage.proto:98

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](https://en.wikipedia.org/wiki/Plane_%28Unicode%29#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](https://cloud.google.com/dlp/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.

Used in: CustomInfoType, ExclusionRule

message CustomInfoType.Dictionary.WordList

storage.proto:100

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

Used in: Dictionary

enum CustomInfoType.ExclusionType

storage.proto:201

Used in: CustomInfoType

message CustomInfoType.Regex

storage.proto:118

Message defining a custom regular expression.

Used in: CustomInfoType, DetectionRule.HotwordRule, ExclusionRule

message CustomInfoType.SurrogateType

storage.proto:137

Message for detecting output from deidentification transformations such as [`CryptoReplaceFfxFpeConfig`](/dlp/docs/reference/rest/v2/organizations.deidentifyTemplates#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`.

Used in: CustomInfoType

(message has no fields)

message DatastoreKey

storage.proto:543

Record key for a finding in Cloud Datastore.

Used in: RecordKey

message DatastoreOptions

storage.proto:276

Options defining a data set within Google Cloud Datastore.

Used in: StorageConfig

message DateShiftConfig

dlp.proto:2086

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.

Used in: PrimitiveTransformation

message DateTime

dlp.proto:1627

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

Used in: QuoteInfo

message DateTime.TimeZone

dlp.proto:1628

Used in: DateTime

message DeidentifyConfig

dlp.proto:1646

The configuration that controls how the data will change.

Used in: DeidentifyContentRequest, DeidentifyTemplate, ReidentifyContentRequest

message DeidentifyTemplate

dlp.proto:2342

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

Used as response type in: DlpService.CreateDeidentifyTemplate, DlpService.GetDeidentifyTemplate, DlpService.UpdateDeidentifyTemplate

Used as field type in: CreateDeidentifyTemplateRequest, ListDeidentifyTemplatesResponse, UpdateDeidentifyTemplateRequest

message DlpJob

dlp.proto:2761

Combines all of the information about a DLP job.

Used as response type in: DlpService.ActivateJobTrigger, DlpService.CreateDlpJob, DlpService.GetDlpJob

Used as field type in: ListDlpJobsResponse

enum DlpJob.JobState

dlp.proto:2762

Used in: DlpJob

enum DlpJobType

dlp.proto:3200

An enum to represent the various type of DLP jobs.

Used in: DlpJob, ListDlpJobsRequest

message DocumentLocation

dlp.proto:741

Location of a finding within a document.

Used in: ContentLocation

message EntityId

storage.proto:640

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.

Used in: PrivacyMetric.KAnonymityConfig

message Error

dlp.proto:2369

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

Used in: DlpJob, JobTrigger, StoredInfoTypeVersion

message ExcludeInfoTypes

dlp.proto:417

List of exclude infoTypes.

Used in: ExclusionRule

message ExclusionRule

dlp.proto:443

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

Used in: InspectionRule

message FieldId

storage.proto:250

General identifier of a data field in a storage service.

Used in: BigQueryField, BigQueryOptions, CryptoDeterministicConfig, CryptoReplaceFfxFpeConfig, DateShiftConfig, EntityId, FieldTransformation, PrivacyMetric.CategoricalStatsConfig, PrivacyMetric.KAnonymityConfig, PrivacyMetric.KMapEstimationConfig.AuxiliaryTable, PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField, PrivacyMetric.KMapEstimationConfig.TaggedField, PrivacyMetric.LDiversityConfig, PrivacyMetric.NumericalStatsConfig, QuasiId, RecordCondition.Condition, RecordLocation, StatisticalTable, StatisticalTable.QuasiIdentifierField, StorageConfig.TimespanConfig, Table, TransformationSummary

message FieldTransformation

dlp.proto:2136

The transformation to apply to the field.

Used in: RecordTransformations, TransformationSummary

enum FileType

storage.proto:507

Definitions of file type groups to scan.

Used in: CloudStorageOptions

message Finding

dlp.proto:628

Represents a piece of potentially sensitive content.

Used in: InspectResult

message FixedSizeBucketingConfig

dlp.proto:1876

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>, i.e 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.

Used in: PrimitiveTransformation

message ImageLocation

dlp.proto:775

Location of the finding within an image.

Used in: ContentLocation

message InfoType

storage.proto:31

Type of information detected by the API.

Used in: CryptoDeterministicConfig, CryptoReplaceFfxFpeConfig, CustomInfoType, ExcludeInfoTypes, Finding, InfoTypeStats, InfoTypeTransformations.InfoTypeTransformation, InspectConfig, InspectConfig.FindingLimits.InfoTypeLimit, InspectionRuleSet, PrivacyMetric.KMapEstimationConfig.TaggedField, QuasiId, RedactImageRequest.ImageRedactionConfig, TransformationSummary

message InfoTypeDescription

dlp.proto:1069

InfoType description.

Used in: ListInfoTypesResponse

message InfoTypeStats

dlp.proto:1030

Statistics regarding a specific InfoType.

Used in: InspectDataSourceDetails.Result

enum InfoTypeSupportedBy

dlp.proto:2053

Parts of the APIs which use certain infoTypes.

Used in: InfoTypeDescription

message InfoTypeTransformations

dlp.proto:2117

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

Used in: DeidentifyConfig, FieldTransformation

message InfoTypeTransformations.InfoTypeTransformation

dlp.proto:2120

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

Used in: InfoTypeTransformations

message InspectConfig

dlp.proto:484

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

Used in: DeidentifyContentRequest, InspectContentRequest, InspectJobConfig, InspectTemplate, RedactImageRequest, ReidentifyContentRequest

message InspectConfig.FindingLimits

dlp.proto:485

Used in: InspectConfig

message InspectConfig.FindingLimits.InfoTypeLimit

dlp.proto:488

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

Used in: FindingLimits

message InspectDataSourceDetails

dlp.proto:1039

The results of an inspect DataSource job.

Used in: DlpJob

message InspectDataSourceDetails.RequestedOptions

dlp.proto:1040

Used in: InspectDataSourceDetails

message InspectDataSourceDetails.Result

dlp.proto:1049

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

Used in: InspectDataSourceDetails

message InspectJobConfig

dlp.proto:2744

Used in: CreateDlpJobRequest, InspectDataSourceDetails.RequestedOptions, JobTrigger

message InspectResult

dlp.proto:614

All the findings for a single scanned item.

Used in: InspectContentResponse, RedactImageResponse

message InspectTemplate

dlp.proto:2316

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.

Used as response type in: DlpService.CreateInspectTemplate, DlpService.GetInspectTemplate, DlpService.UpdateInspectTemplate

Used as field type in: CreateInspectTemplateRequest, InspectDataSourceDetails.RequestedOptions, ListInspectTemplatesResponse, UpdateInspectTemplateRequest

message InspectionRule

dlp.proto:461

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

Used in: InspectionRuleSet

message InspectionRuleSet

dlp.proto:473

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.

Used in: InspectConfig

message JobTrigger

dlp.proto:2378

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.

Used as response type in: DlpService.CreateJobTrigger, DlpService.GetJobTrigger, DlpService.UpdateJobTrigger

Used as field type in: CreateJobTriggerRequest, ListJobTriggersResponse, UpdateJobTriggerRequest

enum JobTrigger.Status

dlp.proto:2391

Whether the trigger is currently active. If PAUSED or CANCELLED, no jobs will be created with this configuration. The service may automatically pause triggers experiencing frequent errors. To restart a job, set the status to HEALTHY after correcting user errors.

Used in: JobTrigger

message JobTrigger.Trigger

dlp.proto:2380

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

Used in: JobTrigger

message Key

storage.proto:552

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.

Used in: DatastoreKey

message Key.PathElement

storage.proto:557

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.

Used in: Key

message KindExpression

storage.proto:270

A representation of a Datastore kind.

Used in: DatastoreOptions

message KmsWrappedCryptoKey

dlp.proto:2075

Include to use an existing data crypto key wrapped by KMS. The wrapped key must be a 128/192/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

Used in: CryptoKey

message LargeCustomDictionaryConfig

dlp.proto:3021

Configuration for a custom dictionary created from a data source of any size up to the maximum size defined in the [limits](https://cloud.google.com/dlp/limits) page. The artifacts of dictionary creation are stored in the specified Google Cloud Storage location. Consider using `CustomInfoType.Dictionary` for smaller dictionaries that satisfy the size requirements.

Used in: StoredInfoTypeConfig

message LargeCustomDictionaryStats

dlp.proto:3038

Summary statistics of a custom dictionary.

Used in: StoredInfoTypeStats

enum Likelihood

storage.proto:54

Categorization of results based on how likely they are to represent a match, based on the number of elements they contain which imply a match.

Used in: CustomInfoType, CustomInfoType.DetectionRule.LikelihoodAdjustment, Finding, InspectConfig

message Location

dlp.proto:656

Specifies the location of the finding.

Used in: Finding

enum MatchingType

dlp.proto:677

Type of the match which can be applied to different ways of matching, like Dictionary, regular expression and intersecting with findings of another info type.

Used in: ExclusionRule

message OutputStorageConfig

dlp.proto:977

Cloud repository for storing output.

Used in: Action.SaveFindings

enum OutputStorageConfig.OutputSchema

dlp.proto:979

Predefined schemas for storing findings.

Used in: OutputStorageConfig

message PartitionId

storage.proto:261

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.

Used in: DatastoreOptions, Key

message PrimitiveTransformation

dlp.proto:1660

A rule for transforming a value.

Used in: FieldTransformation, InfoTypeTransformations.InfoTypeTransformation, TransformationSummary

message PrivacyMetric

dlp.proto:1172

Privacy metric to compute for reidentification risk analysis.

Used in: AnalyzeDataSourceRiskDetails, RiskAnalysisJobConfig

message PrivacyMetric.CategoricalStatsConfig

dlp.proto:1183

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

Used in: PrivacyMetric

message PrivacyMetric.DeltaPresenceEstimationConfig

dlp.proto:1305

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

Used in: PrivacyMetric

message PrivacyMetric.KAnonymityConfig

dlp.proto:1192

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

Used in: PrivacyMetric

message PrivacyMetric.KMapEstimationConfig

dlp.proto:1231

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. A column with a semantic tag attached.

Used in: PrivacyMetric

message PrivacyMetric.KMapEstimationConfig.AuxiliaryTable

dlp.proto:1265

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

Used in: KMapEstimationConfig

message PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField

dlp.proto:1268

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

Used in: AuxiliaryTable

message PrivacyMetric.KMapEstimationConfig.TaggedField

dlp.proto:1232

Used in: KMapEstimationConfig

message PrivacyMetric.LDiversityConfig

dlp.proto:1214

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

Used in: PrivacyMetric

message PrivacyMetric.NumericalStatsConfig

dlp.proto:1175

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

Used in: PrivacyMetric

message QuasiId

dlp.proto:1117

A column with a semantic tag attached.

Used in: PrivacyMetric.DeltaPresenceEstimationConfig

message QuoteInfo

dlp.proto:1617

Message for infoType-dependent details parsed from quote.

Used in: Finding

message Range

dlp.proto:766

Generic half-open interval [start, end)

Used in: Location

message RecordCondition

dlp.proto:2183

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

Used in: FieldTransformation, RecordSuppression

message RecordCondition.Condition

dlp.proto:2203

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.

Used in: Conditions

message RecordCondition.Conditions

dlp.proto:2215

A collection of conditions.

Used in: Expressions

message RecordCondition.Expressions

dlp.proto:2220

An expression, consisting or an operator and conditions.

Used in: RecordCondition

enum RecordCondition.Expressions.LogicalOperator

dlp.proto:2221

Used in: Expressions

message RecordKey

storage.proto:597

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

Used in: RecordLocation

message RecordLocation

dlp.proto:748

Location of a finding within a row or record.

Used in: ContentLocation

message RecordSuppression

dlp.proto:2175

Configuration to suppress records whose suppression conditions evaluate to true.

Used in: RecordTransformations, TransformationSummary

message RecordTransformations

dlp.proto:2164

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

Used in: DeidentifyConfig

message RedactConfig

dlp.proto:1797

Redact a given value. For example, if used with an `InfoTypeTransformation` transforming PHONE_NUMBER, and input 'My phone number is 206-555-0123', the output would be 'My phone number is '.

Used in: PrimitiveTransformation

(message has no fields)

message RedactImageRequest.ImageRedactionConfig

dlp.proto:799

Configuration for determining how redaction of images should occur.

Used in: RedactImageRequest

enum RelationalOperator

dlp.proto:2816

Operators available for comparing the value of fields.

Used in: RecordCondition.Condition

message ReplaceValueConfig

dlp.proto:1784

Replace each input value with a given `Value`.

Used in: PrimitiveTransformation

message ReplaceWithInfoTypeConfig

dlp.proto:1790

Replace each matching finding with the name of the info_type.

Used in: PrimitiveTransformation

(message has no fields)

message RiskAnalysisJobConfig

dlp.proto:1104

Configuration for a risk analysis job. See https://cloud.google.com/dlp/docs/concepts-risk-analysis to learn more.

Used in: CreateDlpJobRequest

message Schedule

dlp.proto:2298

Schedule for triggeredJobs.

Used in: JobTrigger.Trigger

message StatisticalTable

dlp.proto:1150

An auxiliary table containing 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).

Used in: PrivacyMetric.DeltaPresenceEstimationConfig

message StatisticalTable.QuasiIdentifierField

dlp.proto:1153

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

Used in: StatisticalTable

message StorageConfig

storage.proto:463

Shared message indicating Cloud storage type.

Used in: InspectJobConfig

message StorageConfig.TimespanConfig

storage.proto:466

Configuration of the timespan of the items to include in scanning. Currently only supported when inspecting Google Cloud Storage and BigQuery.

Used in: StorageConfig

message StoredInfoType

dlp.proto:3098

StoredInfoType resource message that contains information about the current version and any pending updates.

Used as response type in: DlpService.CreateStoredInfoType, DlpService.GetStoredInfoType, DlpService.UpdateStoredInfoType

Used as field type in: ListStoredInfoTypesResponse

message StoredInfoTypeConfig

dlp.proto:3044

Configuration for a StoredInfoType.

Used in: CreateStoredInfoTypeRequest, StoredInfoTypeVersion, UpdateStoredInfoTypeRequest

enum StoredInfoTypeState

dlp.proto:3211

State of a StoredInfoType version.

Used in: StoredInfoTypeVersion

message StoredInfoTypeStats

dlp.proto:3058

Statistics for a StoredInfoType.

Used in: StoredInfoTypeVersion

message StoredInfoTypeVersion

dlp.proto:3067

Version of a StoredInfoType, including the configuration used to build it, create timestamp, and current state.

Used in: StoredInfoType

message StoredType

storage.proto:41

A reference to a StoredInfoType to use with scanning.

Used in: CustomInfoType

message Table

dlp.proto:603

Structured content to inspect. Up to 50,000 `Value`s per request allowed. See https://cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to learn more.

Used in: ContentItem

message Table.Row

dlp.proto:604

Used in: Table

message TableLocation

dlp.proto:760

Location of a finding within a table.

Used in: RecordLocation

message TimePartConfig

dlp.proto:1688

For use with `Date`, `Timestamp`, and `TimeOfDay`, extract or preserve a portion of the value.

Used in: PrimitiveTransformation

enum TimePartConfig.TimePart

dlp.proto:1689

Used in: TimePartConfig

message TransformationOverview

dlp.proto:2241

Overview of the modifications that occurred.

Used in: DeidentifyContentResponse, ReidentifyContentResponse

message TransformationSummary

dlp.proto:2252

Summary of a single transformation. Only one of 'transformation', 'field_transformation', or 'record_suppress' will be set.

Used in: TransformationOverview

message TransformationSummary.SummaryResult

dlp.proto:2255

A collection that informs the user the number of times a particular `TransformationResultCode` and error details occurred.

Used in: TransformationSummary

enum TransformationSummary.TransformationResultCode

dlp.proto:2266

Possible outcomes of transformations.

Used in: SummaryResult

message TransientCryptoKey

dlp.proto:2042

Use this to have a random data crypto key generated. It will be discarded after the request finishes.

Used in: CryptoKey

message UnwrappedCryptoKey

dlp.proto:2065

Using raw keys is prone to security risks due to accidentally leaking the key. Choose another type of key if possible.

Used in: CryptoKey

message Value

dlp.proto:1596

Set of primitive values supported by the system. Note that for the purposes of inspection or transformation, the number of bytes considered to comprise a 'Value' is based on its representation as a UTF-8 encoded string. For example, if 'integer_value' is set to 123456789, the number of bytes would be counted as 9, even though an int64 only holds up to 8 bytes of data.

Used in: AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues, AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass, AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues, AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass, AnalyzeDataSourceRiskDetails.NumericalStatsResult, BucketingConfig.Bucket, FixedSizeBucketingConfig, RecordCondition.Condition, ReplaceValueConfig, Table.Row, ValueFrequency

message ValueFrequency

dlp.proto:1582

A value of a field, including its frequency.

Used in: AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket, AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass