package google.privacy.dlp.v2

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

service DlpService

dlp.proto:44

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.

message Action

dlp.proto:1945

A task to execute on the completion of a job.

Used in: InspectJobConfig, RiskAnalysisJobConfig

message Action.PublishSummaryToCscc

dlp.proto:1974

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

Publish the results of a DlpJob to a pub sub channel. Compatible with: Inspect, Risk

Used in: Action

message Action.SaveFindings

dlp.proto:1950

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

Used in: Action

message AnalyzeDataSourceRiskDetails

dlp.proto:982

Result of a risk analysis operation request.

Used in: DlpJob

message AnalyzeDataSourceRiskDetails.CategoricalStatsResult

dlp.proto:997

Result of the categorical stats computation.

Used in: AnalyzeDataSourceRiskDetails

message AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket

dlp.proto:998

Used in: CategoricalStatsResult

message AnalyzeDataSourceRiskDetails.KAnonymityResult

dlp.proto:1021

Result of the k-anonymity computation.

Used in: AnalyzeDataSourceRiskDetails

message AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass

dlp.proto:1023

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

Used in: KAnonymityHistogramBucket

message AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket

dlp.proto:1034

Used in: KAnonymityResult

message AnalyzeDataSourceRiskDetails.KMapEstimationResult

dlp.proto:1100

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

Used in: AnalyzeDataSourceRiskDetails

message AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket

dlp.proto:1118

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

A tuple of values for the quasi-identifier columns.

Used in: KMapEstimationHistogramBucket

message AnalyzeDataSourceRiskDetails.LDiversityResult

dlp.proto:1057

Result of the l-diversity computation.

Used in: AnalyzeDataSourceRiskDetails

message AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass

dlp.proto:1059

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

Used in: LDiversityHistogramBucket

message AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket

dlp.proto:1074

Used in: LDiversityResult

message AnalyzeDataSourceRiskDetails.NumericalStatsResult

dlp.proto:984

Result of the numerical stats computation.

Used in: AnalyzeDataSourceRiskDetails

message BigQueryKey

storage.proto:339

Row key for identifying a record in BigQuery table.

Used in: RecordKey

message BigQueryOptions

storage.proto:267

Options defining BigQuery table and row identifiers.

Used in: StorageConfig

enum BigQueryOptions.SampleMethod

storage.proto:271

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

Used in: BigQueryOptions

message BigQueryTable

storage.proto:416

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, BigQueryKey, BigQueryOptions, OutputStorageConfig, PrivacyMetric.KMapEstimationConfig.AuxiliaryTable, RiskAnalysisJobConfig

message BoundingBox

dlp.proto:526

Bounding box encompassing detected text within an image.

Used in: ImageLocation

message BucketingConfig

dlp.proto:1425

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.

Used in: PrimitiveTransformation

message BucketingConfig.Bucket

dlp.proto:1427

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

Used in: BucketingConfig

message ByteContentItem

dlp.proto:343

Container for bytes to inspect or redact.

Used in: ContentItem, RedactImageRequest

enum ByteContentItem.BytesType

dlp.proto:344

Used in: ByteContentItem

message CharacterMaskConfig

dlp.proto:1360

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

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

Used in: CharacterMaskConfig

enum CharsToIgnore.CommonCharsToIgnore

dlp.proto:1328

Used in: CharsToIgnore

message CloudStorageOptions

storage.proto:218

Options defining a file or a set of files (path ending with *) within a Google Cloud Storage bucket.

Used in: StorageConfig

message CloudStorageOptions.FileSet

storage.proto:220

Set of files to scan.

Used in: CloudStorageOptions

enum CloudStorageOptions.SampleMethod

storage.proto:229

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

Message representing a single file or path in Cloud Storage.

Used in: CustomInfoType.Dictionary

message Color

dlp.proto:577

Represents a color in the RGB color space.

Used in: RedactImageRequest.ImageRedactionConfig

message ContentItem

dlp.proto:368

Container structure for the content to inspect.

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

message ContentLocation

dlp.proto:455

Findings container location data.

Used in: Location

enum ContentOption

dlp.proto:2375

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

Used in: InspectConfig

message CryptoHashConfig

dlp.proto:1302

Pseudonymization method that generates surrogates via cryptographic hashing. Uses SHA-256. The key size must be either 32 or 64 bytes. Outputs a 32 byte digest as an uppercase hex string (for example, 41D1567F7F99F1DC2A5FAB886DEE5BEE). Currently, only string and integer values can be hashed.

Used in: PrimitiveTransformation

message CryptoKey

dlp.proto:1548

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: CryptoHashConfig, CryptoReplaceFfxFpeConfig, DateShiftConfig

message CryptoReplaceFfxFpeConfig

dlp.proto:1454

Replaces an identifier with a surrogate using 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 [Pseudonymization](/dlp/docs/pseudonymization) for example usage.

Used in: PrimitiveTransformation

enum CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet

dlp.proto:1458

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

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

Rule for modifying a custom info type to alter behavior under certain circumstances, depending on the specific details of the rule. Not supported for the `surrogate_type` custom info type.

Used in: CustomInfoType

message CustomInfoType.DetectionRule.HotwordRule

storage.proto:130

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

Used in: DetectionRule

message CustomInfoType.DetectionRule.LikelihoodAdjustment

storage.proto:111

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

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

Used in: HotwordRule

message CustomInfoType.Dictionary

storage.proto:58

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.

Used in: CustomInfoType

message CustomInfoType.Dictionary.WordList

storage.proto:60

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

Used in: Dictionary

message CustomInfoType.Regex

storage.proto:78

Message defining a custom regular expression.

Used in: CustomInfoType, DetectionRule.HotwordRule

message CustomInfoType.SurrogateType

storage.proto:91

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 custom info type does not support the use of `detection_rules`.

Used in: CustomInfoType

(message has no fields)

message DatastoreKey

storage.proto:349

Record key for a finding in Cloud Datastore.

Used in: RecordKey

message DatastoreOptions

storage.proto:207

Options defining a data set within Google Cloud Datastore.

Used in: StorageConfig

message DateShiftConfig

dlp.proto:1591

Shifts dates by random number of days, with option to be consistent for the same context.

Used in: PrimitiveTransformation

message DateTime

dlp.proto:1211

Message for a date time object.

Used in: QuoteInfo

message DateTime.TimeZone

dlp.proto:1212

Used in: DateTime

message DeidentifyConfig

dlp.proto:1230

The configuration that controls how the data will change.

Used in: DeidentifyContentRequest, DeidentifyTemplate, ReidentifyContentRequest

message DeidentifyTemplate

dlp.proto:1843

The DeidentifyTemplates contains instructions on how to deidentify content.

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

Used as field type in: CreateDeidentifyTemplateRequest, ListDeidentifyTemplatesResponse, UpdateDeidentifyTemplateRequest

message DlpJob

dlp.proto:2181

Combines all of the information about a DLP job.

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

Used as field type in: ListDlpJobsResponse

enum DlpJob.JobState

dlp.proto:2182

Used in: DlpJob

enum DlpJobType

dlp.proto:2424

An enum to represent the various type of DLP jobs.

Used in: DlpJob, ListDlpJobsRequest

message DocumentLocation

dlp.proto:486

Location of a finding within a document.

Used in: ContentLocation

message EntityId

storage.proto:433

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

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

message FieldId

storage.proto:181

General identifier of a data field in a storage service.

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

message FieldTransformation

dlp.proto:1640

The transformation to apply to the field.

Used in: RecordTransformations, TransformationSummary

enum FileType

storage.proto:459

Definitions of file type groups to scan.

Used in: CloudStorageOptions

message Finding

dlp.proto:408

Represents a piece of potentially sensitive content.

Used in: InspectResult

message FixedSizeBucketingConfig

dlp.proto:1398

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.

Used in: PrimitiveTransformation

message ImageLocation

dlp.proto:520

Location of the finding within an image.

Used in: ContentLocation

message InfoType

storage.proto:31

Type of information detected by the API.

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

message InfoTypeDescription

dlp.proto:796

InfoType description.

Used in: ListInfoTypesResponse

message InfoTypeStats

dlp.proto:758

Statistics regarding a specific InfoType.

Used in: InspectDataSourceDetails.Result

enum InfoTypeSupportedBy

dlp.proto:2387

Parts of the APIs which use certain infoTypes.

Used in: InfoTypeDescription

message InfoTypeTransformations

dlp.proto:1622

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

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

Used in: InfoTypeTransformations

message InspectConfig

dlp.proto:287

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

Used in: InspectConfig

message InspectConfig.FindingLimits.InfoTypeLimit

dlp.proto:291

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

Used in: FindingLimits

message InspectDataSourceDetails

dlp.proto:767

The results of an inspect DataSource job.

Used in: DlpJob

message InspectDataSourceDetails.RequestedOptions

dlp.proto:768

Used in: InspectDataSourceDetails

message InspectDataSourceDetails.Result

dlp.proto:776

Used in: InspectDataSourceDetails

message InspectJobConfig

dlp.proto:2163

Used in: CreateDlpJobRequest, InspectDataSourceDetails.RequestedOptions, JobTrigger

message InspectResult

dlp.proto:394

All the findings for a single scanned item.

Used in: InspectContentResponse

message InspectTemplate

dlp.proto:1818

The inspectTemplate contains a configuration (set of types of sensitive data to be detected) to be used anywhere you otherwise would normally specify InspectConfig.

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

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

message JobTrigger

dlp.proto:1878

Contains a configuration to make dlp api calls on a repeating basis.

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

Used as field type in: CreateJobTriggerRequest, ListJobTriggersResponse, UpdateJobTriggerRequest

enum JobTrigger.Status

dlp.proto:1891

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

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

Used in: JobTrigger

message Key

storage.proto:358

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

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

A representation of a Datastore kind.

Used in: DatastoreOptions

message KmsWrappedCryptoKey

dlp.proto:1581

Include to use an existing data crypto key wrapped by KMS. 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

enum Likelihood

storage.proto:440

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

Specifies the location of the finding.

Used in: Finding

message OutputStorageConfig

dlp.proto:715

Cloud repository for storing output.

Used in: Action.SaveFindings

enum OutputStorageConfig.OutputSchema

dlp.proto:717

Predefined schemas for storing findings.

Used in: OutputStorageConfig

message PartitionId

storage.proto:192

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

A rule for transforming a value.

Used in: FieldTransformation, InfoTypeTransformations.InfoTypeTransformation, TransformationSummary

message PrivacyMetric

dlp.proto:839

Privacy metric to compute for reidentification risk analysis.

Used in: AnalyzeDataSourceRiskDetails, RiskAnalysisJobConfig

message PrivacyMetric.CategoricalStatsConfig

dlp.proto:850

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

Used in: PrivacyMetric

message PrivacyMetric.KAnonymityConfig

dlp.proto:859

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

Used in: PrivacyMetric

message PrivacyMetric.KMapEstimationConfig

dlp.proto:898

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

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

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

Used in: KMapEstimationConfig

message PrivacyMetric.LDiversityConfig

dlp.proto:881

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

Used in: PrivacyMetric

message PrivacyMetric.NumericalStatsConfig

dlp.proto:842

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

Used in: PrivacyMetric

message QuoteInfo

dlp.proto:1203

Message for infoType-dependent details parsed from quote.

Used in: Finding

message Range

dlp.proto:511

Generic half-open interval [start, end)

Used in: Location

message RecordCondition

dlp.proto:1687

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

Used in: FieldTransformation, RecordSuppression

message RecordCondition.Condition

dlp.proto:1706

The field type of `value` and `field` do not need to match to be considered equal, but not all comparisons are possible. 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:1718

A collection of conditions.

Used in: Expressions

message RecordCondition.Expressions

dlp.proto:1723

An expression, consisting or an operator and conditions.

Used in: RecordCondition

enum RecordCondition.Expressions.LogicalOperator

dlp.proto:1724

Used in: Expressions

message RecordKey

storage.proto:403

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

Used in: RecordLocation

message RecordLocation

dlp.proto:493

Location of a finding within a row or record.

Used in: ContentLocation

message RecordSuppression

dlp.proto:1679

Configuration to suppress records whose suppression conditions evaluate to true.

Used in: RecordTransformations, TransformationSummary

message RecordTransformations

dlp.proto:1668

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

Used in: DeidentifyConfig

message RedactConfig

dlp.proto:1321

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

Configuration for determining how redaction of images should occur.

Used in: RedactImageRequest

enum RelationalOperator

dlp.proto:2398

Operators available for comparing the value of fields.

Used in: RecordCondition.Condition

message ReplaceValueConfig

dlp.proto:1308

Replace each input value with a given `Value`.

Used in: PrimitiveTransformation

message ReplaceWithInfoTypeConfig

dlp.proto:1314

Replace each matching finding with the name of the info_type.

Used in: PrimitiveTransformation

(message has no fields)

message RiskAnalysisJobConfig

dlp.proto:826

Configuration for a risk analysis job.

Used in: CreateDlpJobRequest

message Schedule

dlp.proto:1801

Schedule for triggeredJobs.

Used in: JobTrigger.Trigger

message StorageConfig

storage.proto:297

Shared message indicating Cloud storage type.

Used in: InspectJobConfig

message StorageConfig.TimespanConfig

storage.proto:300

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 Table

dlp.proto:383

Structured content to inspect. Up to 50,000 `Value`s per request allowed.

Used in: ContentItem

message Table.Row

dlp.proto:384

Used in: Table

message TableLocation

dlp.proto:505

Location of a finding within a table.

Used in: RecordLocation

message TimePartConfig

dlp.proto:1270

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

Used in: PrimitiveTransformation

enum TimePartConfig.TimePart

dlp.proto:1271

Used in: TimePartConfig

message TransformationOverview

dlp.proto:1744

Overview of the modifications that occurred.

Used in: DeidentifyContentResponse, ReidentifyContentResponse

message TransformationSummary

dlp.proto:1755

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

Used in: TransformationOverview

message TransformationSummary.SummaryResult

dlp.proto:1758

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

Possible outcomes of transformations.

Used in: SummaryResult

message TransientCryptoKey

dlp.proto:1560

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

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

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.KAnonymityResult.KAnonymityEquivalenceClass, AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues, AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass, AnalyzeDataSourceRiskDetails.NumericalStatsResult, BucketingConfig.Bucket, FixedSizeBucketingConfig, RecordCondition.Condition, ReplaceValueConfig, Table.Row, ValueFrequency

message ValueFrequency

dlp.proto:1168

A value of a field, including its frequency.

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