dlp library

Classes

DeidentifyTemplate
Creates a DeidentifyTemplate for reusing frequently used configuration for de-identifying content, images, and storage. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more. Auto-naming is currently not supported for this resource.
DeidentifyTemplateArgs
The set of arguments for DeidentifyTemplate. The set of arguments for DeidentifyTemplate.
DiscoveryConfig
Creates a config for discovery to scan and profile storage.
DiscoveryConfigArgs
The set of arguments for DiscoveryConfig. The set of arguments for DiscoveryConfig.
DlpJob
Creates a new job to inspect storage or calculate risk metrics. See https://cloud.google.com/dlp/docs/inspecting-storage and https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more. When no InfoTypes or CustomInfoTypes are specified in inspect jobs, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated. Auto-naming is currently not supported for this resource.
DlpJobArgs
The set of arguments for DlpJob. The set of arguments for DlpJob.
GetDeidentifyTemplateArgs
Arguments for getDeidentifyTemplate. Arguments for getDeidentifyTemplate.
GetDeidentifyTemplateResult
Result data returned by getDeidentifyTemplate.
GetDiscoveryConfigArgs
Arguments for getDiscoveryConfig. Arguments for getDiscoveryConfig.
GetDiscoveryConfigResult
Result data returned by getDiscoveryConfig.
GetDlpJobArgs
Arguments for getDlpJob. Arguments for getDlpJob.
GetDlpJobResult
Result data returned by getDlpJob.
GetInspectTemplateArgs
Arguments for getInspectTemplate. Arguments for getInspectTemplate.
GetInspectTemplateResult
Result data returned by getInspectTemplate.
GetJobTriggerArgs
Arguments for getJobTrigger. Arguments for getJobTrigger.
GetJobTriggerResult
Result data returned by getJobTrigger.
GetOrganizationDiscoveryConfigArgs
Arguments for getOrganizationDiscoveryConfig. Arguments for getOrganizationDiscoveryConfig.
GetOrganizationDiscoveryConfigResult
Result data returned by getOrganizationDiscoveryConfig.
GetOrganizationInspectTemplateArgs
Arguments for getOrganizationInspectTemplate. Arguments for getOrganizationInspectTemplate.
GetOrganizationInspectTemplateResult
Result data returned by getOrganizationInspectTemplate.
GetOrganizationJobTriggerArgs
Arguments for getOrganizationJobTrigger. Arguments for getOrganizationJobTrigger.
GetOrganizationJobTriggerResult
Result data returned by getOrganizationJobTrigger.
GetOrganizationsDeidentifyTemplateArgs
Arguments for getOrganizationsDeidentifyTemplate. Arguments for getOrganizationsDeidentifyTemplate.
GetOrganizationsDeidentifyTemplateResult
Result data returned by getOrganizationsDeidentifyTemplate.
GetStoredInfoTypeArgs
Arguments for getStoredInfoType. Arguments for getStoredInfoType.
GetStoredInfoTypeResult
Result data returned by getStoredInfoType.
GooglePrivacyDlpV2Action
A task to execute on the completion of a job. See https://cloud.google.com/dlp/docs/concepts-actions to learn more.
GooglePrivacyDlpV2ActionDetailsResponse
The results of an Action.
GooglePrivacyDlpV2ActionResponse
A task to execute on the completion of a job. See https://cloud.google.com/dlp/docs/concepts-actions to learn more.
GooglePrivacyDlpV2AnalyzeDataSourceRiskDetailsResponse
Result of a risk analysis operation request.
GooglePrivacyDlpV2AuxiliaryTable
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).
GooglePrivacyDlpV2AuxiliaryTableResponse
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).
GooglePrivacyDlpV2BigQueryDiscoveryTarget
Target used to match against for discovery with BigQuery tables
GooglePrivacyDlpV2BigQueryDiscoveryTargetResponse
Target used to match against for discovery with BigQuery tables
GooglePrivacyDlpV2BigQueryField
Message defining a field of a BigQuery table.
GooglePrivacyDlpV2BigQueryFieldResponse
Message defining a field of a BigQuery table.
GooglePrivacyDlpV2BigQueryOptions
Options defining BigQuery table and row identifiers.
GooglePrivacyDlpV2BigQueryOptionsResponse
Options defining BigQuery table and row identifiers.
GooglePrivacyDlpV2BigQueryRegex
A pattern to match against one or more tables, datasets, or projects that contain BigQuery tables. At least one pattern must be specified. Regular expressions use RE2 syntax; a guide can be found under the google/re2 repository on GitHub.
GooglePrivacyDlpV2BigQueryRegexes
A collection of regular expressions to determine what tables to match against.
GooglePrivacyDlpV2BigQueryRegexesResponse
A collection of regular expressions to determine what tables to match against.
GooglePrivacyDlpV2BigQueryRegexResponse
A pattern to match against one or more tables, datasets, or projects that contain BigQuery tables. At least one pattern must be specified. Regular expressions use RE2 syntax; a guide can be found under the google/re2 repository on GitHub.
GooglePrivacyDlpV2BigQueryTable
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: :. or ...
GooglePrivacyDlpV2BigQueryTableCollection
Specifies a collection of BigQuery tables. Used for Discovery.
GooglePrivacyDlpV2BigQueryTableCollectionResponse
Specifies a collection of BigQuery tables. Used for Discovery.
GooglePrivacyDlpV2BigQueryTableResponse
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: :. or ...
GooglePrivacyDlpV2BigQueryTableTypes
The types of BigQuery tables supported by Cloud DLP.
GooglePrivacyDlpV2BigQueryTableTypesResponse
The types of BigQuery tables supported by Cloud DLP.
GooglePrivacyDlpV2Bucket
Bucket is represented as a range, along with replacement values.
GooglePrivacyDlpV2BucketingConfig
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.
GooglePrivacyDlpV2BucketingConfigResponse
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.
GooglePrivacyDlpV2BucketResponse
Bucket is represented as a range, along with replacement values.
GooglePrivacyDlpV2CategoricalStatsConfig
Compute numerical stats over an individual column, including number of distinct values and value count distribution.
GooglePrivacyDlpV2CategoricalStatsConfigResponse
Compute numerical stats over an individual column, including number of distinct values and value count distribution.
GooglePrivacyDlpV2CategoricalStatsHistogramBucketResponse
Histogram of value frequencies in the column.
GooglePrivacyDlpV2CategoricalStatsResultResponse
Result of the categorical stats computation.
GooglePrivacyDlpV2CharacterMaskConfig
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.
GooglePrivacyDlpV2CharacterMaskConfigResponse
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.
GooglePrivacyDlpV2CharsToIgnore
Characters to skip when doing deidentification of a value. These will be left alone and skipped.
GooglePrivacyDlpV2CharsToIgnoreResponse
Characters to skip when doing deidentification of a value. These will be left alone and skipped.
GooglePrivacyDlpV2CloudStorageFileSet
Message representing a set of files in Cloud Storage.
GooglePrivacyDlpV2CloudStorageFileSetResponse
Message representing a set of files in Cloud Storage.
GooglePrivacyDlpV2CloudStorageOptions
Options defining a file or a set of files within a Cloud Storage bucket.
GooglePrivacyDlpV2CloudStorageOptionsResponse
Options defining a file or a set of files within a Cloud Storage bucket.
GooglePrivacyDlpV2CloudStoragePath
Message representing a single file or path in Cloud Storage.
GooglePrivacyDlpV2CloudStoragePathResponse
Message representing a single file or path in Cloud Storage.
GooglePrivacyDlpV2CloudStorageRegexFileSet
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 /
GooglePrivacyDlpV2CloudStorageRegexFileSetResponse
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 /
GooglePrivacyDlpV2Color
Represents a color in the RGB color space.
GooglePrivacyDlpV2ColorResponse
Represents a color in the RGB color space.
GooglePrivacyDlpV2Condition
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.
GooglePrivacyDlpV2ConditionResponse
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.
GooglePrivacyDlpV2Conditions
A collection of conditions.
GooglePrivacyDlpV2ConditionsResponse
A collection of conditions.
GooglePrivacyDlpV2CryptoDeterministicConfig
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.
GooglePrivacyDlpV2CryptoDeterministicConfigResponse
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.
GooglePrivacyDlpV2CryptoHashConfig
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.
GooglePrivacyDlpV2CryptoHashConfigResponse
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.
GooglePrivacyDlpV2CryptoKey
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.
GooglePrivacyDlpV2CryptoKeyResponse
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.
GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig
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.
GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigResponse
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.
GooglePrivacyDlpV2CustomInfoType
Custom information type provided by the user. Used to find domain-specific sensitive information configurable to the data in question.
GooglePrivacyDlpV2CustomInfoTypeResponse
Custom information type provided by the user. Used to find domain-specific sensitive information configurable to the data in question.
GooglePrivacyDlpV2DataProfileAction
A task to execute when a data profile has been generated.
GooglePrivacyDlpV2DataProfileActionResponse
A task to execute when a data profile has been generated.
GooglePrivacyDlpV2DataProfilePubSubCondition
A condition for determining whether a Pub/Sub should be triggered.
GooglePrivacyDlpV2DataProfilePubSubConditionResponse
A condition for determining whether a Pub/Sub should be triggered.
GooglePrivacyDlpV2DatastoreOptions
Options defining a data set within Google Cloud Datastore.
GooglePrivacyDlpV2DatastoreOptionsResponse
Options defining a data set within Google Cloud Datastore.
GooglePrivacyDlpV2DateShiftConfig
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.
GooglePrivacyDlpV2DateShiftConfigResponse
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.
GooglePrivacyDlpV2Deidentify
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
GooglePrivacyDlpV2DeidentifyConfig
The configuration that controls how the data will change.
GooglePrivacyDlpV2DeidentifyConfigResponse
The configuration that controls how the data will change.
GooglePrivacyDlpV2DeidentifyDataSourceDetailsResponse
The results of a Deidentify action from an inspect job.
GooglePrivacyDlpV2DeidentifyDataSourceStatsResponse
Summary of what was modified during a transformation.
GooglePrivacyDlpV2DeidentifyResponse
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
GooglePrivacyDlpV2DeidentifyTemplateResponse
DeidentifyTemplates contains instructions on how to de-identify content. See https://cloud.google.com/dlp/docs/concepts-templates to learn more.
GooglePrivacyDlpV2DeltaPresenceEstimationConfig
δ-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.
GooglePrivacyDlpV2DeltaPresenceEstimationConfigResponse
δ-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.
GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucketResponse
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.
GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValuesResponse
A tuple of values for the quasi-identifier columns.
GooglePrivacyDlpV2DeltaPresenceEstimationResultResponse
Result of the δ-presence computation. Note that these results are an estimation, not exact values.
GooglePrivacyDlpV2DetectionRule
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.
GooglePrivacyDlpV2DetectionRuleResponse
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.
GooglePrivacyDlpV2Dictionary
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.
GooglePrivacyDlpV2DictionaryResponse
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.
GooglePrivacyDlpV2DiscoveryBigQueryConditions
Requirements that must be true before a table is scanned in discovery for the first time. There is an AND relationship between the top-level attributes. Additionally, minimum conditions with an OR relationship that must be met before Cloud DLP scans a table can be set (like a minimum row count or a minimum table age).
GooglePrivacyDlpV2DiscoveryBigQueryConditionsResponse
Requirements that must be true before a table is scanned in discovery for the first time. There is an AND relationship between the top-level attributes. Additionally, minimum conditions with an OR relationship that must be met before Cloud DLP scans a table can be set (like a minimum row count or a minimum table age).
GooglePrivacyDlpV2DiscoveryBigQueryFilter
Determines what tables will have profiles generated within an organization or project. Includes the ability to filter by regular expression patterns on project ID, dataset ID, and table ID.
GooglePrivacyDlpV2DiscoveryBigQueryFilterResponse
Determines what tables will have profiles generated within an organization or project. Includes the ability to filter by regular expression patterns on project ID, dataset ID, and table ID.
GooglePrivacyDlpV2DiscoveryGenerationCadence
What must take place for a profile to be updated and how frequently it should occur. New tables are scanned as quickly as possible depending on system capacity.
GooglePrivacyDlpV2DiscoveryGenerationCadenceResponse
What must take place for a profile to be updated and how frequently it should occur. New tables are scanned as quickly as possible depending on system capacity.
GooglePrivacyDlpV2DiscoverySchemaModifiedCadence
The cadence at which to update data profiles when a schema is modified.
GooglePrivacyDlpV2DiscoverySchemaModifiedCadenceResponse
The cadence at which to update data profiles when a schema is modified.
GooglePrivacyDlpV2DiscoveryStartingLocation
The location to begin a discovery scan. Denotes an organization ID or folder ID within an organization.
GooglePrivacyDlpV2DiscoveryStartingLocationResponse
The location to begin a discovery scan. Denotes an organization ID or folder ID within an organization.
GooglePrivacyDlpV2DiscoveryTableModifiedCadence
The cadence at which to update data profiles when a table is modified.
GooglePrivacyDlpV2DiscoveryTableModifiedCadenceResponse
The cadence at which to update data profiles when a table is modified.
GooglePrivacyDlpV2DiscoveryTarget
Target used to match against for Discovery.
GooglePrivacyDlpV2DiscoveryTargetResponse
Target used to match against for Discovery.
GooglePrivacyDlpV2EntityId
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.
GooglePrivacyDlpV2EntityIdResponse
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.
GooglePrivacyDlpV2ErrorResponse
Details information about an error encountered during job execution or the results of an unsuccessful activation of the JobTrigger.
GooglePrivacyDlpV2ExcludeByHotword
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 it belongs to a BigQuery column that matches a specific pattern.
GooglePrivacyDlpV2ExcludeByHotwordResponse
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 it belongs to a BigQuery column that matches a specific pattern.
GooglePrivacyDlpV2ExcludeInfoTypes
List of excluded infoTypes.
GooglePrivacyDlpV2ExcludeInfoTypesResponse
List of excluded infoTypes.
GooglePrivacyDlpV2ExclusionRule
The rule that specifies conditions when findings of infoTypes specified in InspectionRuleSet are removed from results.
GooglePrivacyDlpV2ExclusionRuleResponse
The rule that specifies conditions when findings of infoTypes specified in InspectionRuleSet are removed from results.
GooglePrivacyDlpV2Export
If set, the detailed data profiles will be persisted to the location of your choice whenever updated.
GooglePrivacyDlpV2ExportResponse
If set, the detailed data profiles will be persisted to the location of your choice whenever updated.
GooglePrivacyDlpV2Expressions
An expression, consisting of an operator and conditions.
GooglePrivacyDlpV2ExpressionsResponse
An expression, consisting of an operator and conditions.
GooglePrivacyDlpV2FieldId
General identifier of a data field in a storage service.
GooglePrivacyDlpV2FieldIdResponse
General identifier of a data field in a storage service.
GooglePrivacyDlpV2FieldTransformation
The transformation to apply to the field.
GooglePrivacyDlpV2FieldTransformationResponse
The transformation to apply to the field.
GooglePrivacyDlpV2FileSet
Set of files to scan.
GooglePrivacyDlpV2FileSetResponse
Set of files to scan.
GooglePrivacyDlpV2FindingLimits
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.
GooglePrivacyDlpV2FindingLimitsResponse
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.
GooglePrivacyDlpV2FixedSizeBucketingConfig
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.
GooglePrivacyDlpV2FixedSizeBucketingConfigResponse
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.
GooglePrivacyDlpV2HotwordRule
The rule that adjusts the likelihood of findings within a certain proximity of hotwords.
GooglePrivacyDlpV2HotwordRuleResponse
The rule that adjusts the likelihood of findings within a certain proximity of hotwords.
GooglePrivacyDlpV2HybridInspectStatisticsResponse
Statistics related to processing hybrid inspect requests.
GooglePrivacyDlpV2HybridOptions
Configuration to control jobs where the content being inspected is outside of Google Cloud Platform.
GooglePrivacyDlpV2HybridOptionsResponse
Configuration to control jobs where the content being inspected is outside of Google Cloud Platform.
GooglePrivacyDlpV2ImageTransformation
Configuration for determining how redaction of images should occur.
GooglePrivacyDlpV2ImageTransformationResponse
Configuration for determining how redaction of images should occur.
GooglePrivacyDlpV2ImageTransformations
A type of transformation that is applied over images.
GooglePrivacyDlpV2ImageTransformationsResponse
A type of transformation that is applied over images.
GooglePrivacyDlpV2InfoType
Type of information detected by the API.
GooglePrivacyDlpV2InfoTypeLikelihood
Configuration for setting a minimum likelihood per infotype. Used to customize the minimum likelihood level for specific infotypes in the request. For example, use this if you want to lower the precision for PERSON_NAME without lowering the precision for the other infotypes in the request.
GooglePrivacyDlpV2InfoTypeLikelihoodResponse
Configuration for setting a minimum likelihood per infotype. Used to customize the minimum likelihood level for specific infotypes in the request. For example, use this if you want to lower the precision for PERSON_NAME without lowering the precision for the other infotypes in the request.
GooglePrivacyDlpV2InfoTypeLimit
Max findings configuration per infoType, per content item or long running DlpJob.
GooglePrivacyDlpV2InfoTypeLimitResponse
Max findings configuration per infoType, per content item or long running DlpJob.
GooglePrivacyDlpV2InfoTypeResponse
Type of information detected by the API.
GooglePrivacyDlpV2InfoTypeStatsResponse
Statistics regarding a specific InfoType.
GooglePrivacyDlpV2InfoTypeTransformation
A transformation to apply to text that is identified as a specific info_type.
GooglePrivacyDlpV2InfoTypeTransformationResponse
A transformation to apply to text that is identified as a specific info_type.
GooglePrivacyDlpV2InfoTypeTransformations
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.
GooglePrivacyDlpV2InfoTypeTransformationsResponse
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.
GooglePrivacyDlpV2InspectConfig
Configuration description of the scanning process. When used with redactContent only info_types and min_likelihood are currently used.
GooglePrivacyDlpV2InspectConfigResponse
Configuration description of the scanning process. When used with redactContent only info_types and min_likelihood are currently used.
GooglePrivacyDlpV2InspectDataSourceDetailsResponse
The results of an inspect DataSource job.
GooglePrivacyDlpV2InspectionRule
A single inspection rule to be applied to infoTypes, specified in InspectionRuleSet.
GooglePrivacyDlpV2InspectionRuleResponse
A single inspection rule to be applied to infoTypes, specified in InspectionRuleSet.
GooglePrivacyDlpV2InspectionRuleSet
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.
GooglePrivacyDlpV2InspectionRuleSetResponse
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.
GooglePrivacyDlpV2InspectJobConfig
Controls what and how to inspect for findings.
GooglePrivacyDlpV2InspectJobConfigResponse
Controls what and how to inspect for findings.
GooglePrivacyDlpV2InspectTemplateResponse
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.
GooglePrivacyDlpV2KAnonymityConfig
k-anonymity metric, used for analysis of reidentification risk.
GooglePrivacyDlpV2KAnonymityConfigResponse
k-anonymity metric, used for analysis of reidentification risk.
GooglePrivacyDlpV2KAnonymityEquivalenceClassResponse
The set of columns' values that share the same ldiversity value
GooglePrivacyDlpV2KAnonymityHistogramBucketResponse
Histogram of k-anonymity equivalence classes.
GooglePrivacyDlpV2KAnonymityResultResponse
Result of the k-anonymity computation.
GooglePrivacyDlpV2KindExpression
A representation of a Datastore kind.
GooglePrivacyDlpV2KindExpressionResponse
A representation of a Datastore kind.
GooglePrivacyDlpV2KMapEstimationConfig
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.
GooglePrivacyDlpV2KMapEstimationConfigResponse
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.
GooglePrivacyDlpV2KMapEstimationHistogramBucketResponse
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.
GooglePrivacyDlpV2KMapEstimationQuasiIdValuesResponse
A tuple of values for the quasi-identifier columns.
GooglePrivacyDlpV2KMapEstimationResultResponse
Result of the reidentifiability analysis. Note that these results are an estimation, not exact values.
GooglePrivacyDlpV2KmsWrappedCryptoKey
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 (https://cloud.google.com/dlp/docs/create-wrapped-key). Note: When you use Cloud KMS for cryptographic operations, charges apply.
GooglePrivacyDlpV2KmsWrappedCryptoKeyResponse
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 (https://cloud.google.com/dlp/docs/create-wrapped-key). Note: When you use Cloud KMS for cryptographic operations, charges apply.
GooglePrivacyDlpV2LargeCustomDictionaryConfig
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.
GooglePrivacyDlpV2LargeCustomDictionaryConfigResponse
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.
GooglePrivacyDlpV2LargeCustomDictionaryStatsResponse
Summary statistics of a custom dictionary.
GooglePrivacyDlpV2LDiversityConfig
l-diversity metric, used for analysis of reidentification risk.
GooglePrivacyDlpV2LDiversityConfigResponse
l-diversity metric, used for analysis of reidentification risk.
GooglePrivacyDlpV2LDiversityEquivalenceClassResponse
The set of columns' values that share the same ldiversity value.
GooglePrivacyDlpV2LDiversityHistogramBucketResponse
Histogram of l-diversity equivalence class sensitive value frequencies.
GooglePrivacyDlpV2LDiversityResultResponse
Result of the l-diversity computation.
GooglePrivacyDlpV2LikelihoodAdjustment
Message for specifying an adjustment to the likelihood of a finding as part of a detection rule.
GooglePrivacyDlpV2LikelihoodAdjustmentResponse
Message for specifying an adjustment to the likelihood of a finding as part of a detection rule.
GooglePrivacyDlpV2NumericalStatsConfig
Compute numerical stats over an individual column, including min, max, and quantiles.
GooglePrivacyDlpV2NumericalStatsConfigResponse
Compute numerical stats over an individual column, including min, max, and quantiles.
GooglePrivacyDlpV2NumericalStatsResultResponse
Result of the numerical stats computation.
GooglePrivacyDlpV2OrConditions
There is an OR relationship between these attributes. They are used to determine if a table should be scanned or not in Discovery.
GooglePrivacyDlpV2OrConditionsResponse
There is an OR relationship between these attributes. They are used to determine if a table should be scanned or not in Discovery.
GooglePrivacyDlpV2OrgConfig
Project and scan location information. Only set when the parent is an org.
GooglePrivacyDlpV2OrgConfigResponse
Project and scan location information. Only set when the parent is an org.
GooglePrivacyDlpV2OutputStorageConfig
Cloud repository for storing output.
GooglePrivacyDlpV2OutputStorageConfigResponse
Cloud repository for storing output.
GooglePrivacyDlpV2PartitionId
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.
GooglePrivacyDlpV2PartitionIdResponse
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.
GooglePrivacyDlpV2PrimitiveTransformation
A rule for transforming a value.
GooglePrivacyDlpV2PrimitiveTransformationResponse
A rule for transforming a value.
GooglePrivacyDlpV2PrivacyMetric
Privacy metric to compute for reidentification risk analysis.
GooglePrivacyDlpV2PrivacyMetricResponse
Privacy metric to compute for reidentification risk analysis.
GooglePrivacyDlpV2Proximity
Message for specifying a window around a finding to apply a detection rule.
GooglePrivacyDlpV2ProximityResponse
Message for specifying a window around a finding to apply a detection rule.
GooglePrivacyDlpV2PublishToPubSub
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
GooglePrivacyDlpV2PublishToPubSubResponse
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
GooglePrivacyDlpV2PubSubCondition
A condition consisting of a value.
GooglePrivacyDlpV2PubSubConditionResponse
A condition consisting of a value.
GooglePrivacyDlpV2PubSubExpressions
An expression, consisting of an operator and conditions.
GooglePrivacyDlpV2PubSubExpressionsResponse
An expression, consisting of an operator and conditions.
GooglePrivacyDlpV2PubSubNotification
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.
GooglePrivacyDlpV2PubSubNotificationResponse
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.
GooglePrivacyDlpV2QuasiId
A column with a semantic tag attached.
GooglePrivacyDlpV2QuasiIdentifierField
A quasi-identifier column has a custom_tag, used to know which column in the data corresponds to which column in the statistical model.
GooglePrivacyDlpV2QuasiIdentifierFieldResponse
A quasi-identifier column has a custom_tag, used to know which column in the data corresponds to which column in the statistical model.
GooglePrivacyDlpV2QuasiIdField
A quasi-identifier column has a custom_tag, used to know which column in the data corresponds to which column in the statistical model.
GooglePrivacyDlpV2QuasiIdFieldResponse
A quasi-identifier column has a custom_tag, used to know which column in the data corresponds to which column in the statistical model.
GooglePrivacyDlpV2QuasiIdResponse
A column with a semantic tag attached.
GooglePrivacyDlpV2RecordCondition
A condition for determining whether a transformation should be applied to a field.
GooglePrivacyDlpV2RecordConditionResponse
A condition for determining whether a transformation should be applied to a field.
GooglePrivacyDlpV2RecordSuppression
Configuration to suppress records whose suppression conditions evaluate to true.
GooglePrivacyDlpV2RecordSuppressionResponse
Configuration to suppress records whose suppression conditions evaluate to true.
GooglePrivacyDlpV2RecordTransformations
A type of transformation that is applied over structured data such as a table.
GooglePrivacyDlpV2RecordTransformationsResponse
A type of transformation that is applied over structured data such as a table.
GooglePrivacyDlpV2Regex
Message defining a custom regular expression.
GooglePrivacyDlpV2RegexResponse
Message defining a custom regular expression.
GooglePrivacyDlpV2ReplaceDictionaryConfig
Replace each input value with a value randomly selected from the dictionary.
GooglePrivacyDlpV2ReplaceDictionaryConfigResponse
Replace each input value with a value randomly selected from the dictionary.
GooglePrivacyDlpV2ReplaceValueConfig
Replace each input value with a given Value.
GooglePrivacyDlpV2ReplaceValueConfigResponse
Replace each input value with a given Value.
GooglePrivacyDlpV2RequestedDeidentifyOptionsResponse
De-identification options.
GooglePrivacyDlpV2RequestedOptionsResponse
Snapshot of the inspection configuration.
GooglePrivacyDlpV2RequestedRiskAnalysisOptionsResponse
Risk analysis options.
GooglePrivacyDlpV2ResultResponse
All result fields mentioned below are updated while the job is processing.
GooglePrivacyDlpV2RiskAnalysisJobConfig
Configuration for a risk analysis job. See https://cloud.google.com/dlp/docs/concepts-risk-analysis to learn more.
GooglePrivacyDlpV2RiskAnalysisJobConfigResponse
Configuration for a risk analysis job. See https://cloud.google.com/dlp/docs/concepts-risk-analysis to learn more.
GooglePrivacyDlpV2SaveFindings
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
GooglePrivacyDlpV2SaveFindingsResponse
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
GooglePrivacyDlpV2Schedule
Schedule for inspect job triggers.
GooglePrivacyDlpV2ScheduleResponse
Schedule for inspect job triggers.
GooglePrivacyDlpV2SelectedInfoTypes
Apply transformation to the selected info_types.
GooglePrivacyDlpV2SelectedInfoTypesResponse
Apply transformation to the selected info_types.
GooglePrivacyDlpV2SensitivityScore
Score is calculated from of all elements in the data profile. A higher level means the data is more sensitive.
GooglePrivacyDlpV2SensitivityScoreResponse
Score is calculated from of all elements in the data profile. A higher level means the data is more sensitive.
GooglePrivacyDlpV2StatisticalTable
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).
GooglePrivacyDlpV2StatisticalTableResponse
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).
GooglePrivacyDlpV2StorageConfig
Shared message indicating Cloud storage type.
GooglePrivacyDlpV2StorageConfigResponse
Shared message indicating Cloud storage type.
GooglePrivacyDlpV2StoredInfoTypeConfig
Configuration for stored infoTypes. All fields and subfield are provided by the user. For more information, see https://cloud.google.com/dlp/docs/creating-custom-infotypes.
GooglePrivacyDlpV2StoredInfoTypeConfigResponse
Configuration for stored infoTypes. All fields and subfield are provided by the user. For more information, see https://cloud.google.com/dlp/docs/creating-custom-infotypes.
GooglePrivacyDlpV2StoredInfoTypeStatsResponse
Statistics for a StoredInfoType.
GooglePrivacyDlpV2StoredInfoTypeVersionResponse
Version of a StoredInfoType, including the configuration used to build it, create timestamp, and current state.
GooglePrivacyDlpV2StoredType
A reference to a StoredInfoType to use with scanning.
GooglePrivacyDlpV2StoredTypeResponse
A reference to a StoredInfoType to use with scanning.
GooglePrivacyDlpV2TableOptions
Instructions regarding the table content being inspected.
GooglePrivacyDlpV2TableOptionsResponse
Instructions regarding the table content being inspected.
GooglePrivacyDlpV2TaggedField
A column with a semantic tag attached.
GooglePrivacyDlpV2TaggedFieldResponse
A column with a semantic tag attached.
GooglePrivacyDlpV2TimePartConfig
For use with Date, Timestamp, and TimeOfDay, extract or preserve a portion of the value.
GooglePrivacyDlpV2TimePartConfigResponse
For use with Date, Timestamp, and TimeOfDay, extract or preserve a portion of the value.
GooglePrivacyDlpV2TimespanConfig
Configuration of the timespan of the items to include in scanning. Currently only supported when inspecting Cloud Storage and BigQuery.
GooglePrivacyDlpV2TimespanConfigResponse
Configuration of the timespan of the items to include in scanning. Currently only supported when inspecting Cloud Storage and BigQuery.
GooglePrivacyDlpV2TransformationConfig
User specified templates and configs for how to deidentify structured, unstructures, and image files. User must provide either a unstructured deidentify template or at least one redact image config.
GooglePrivacyDlpV2TransformationConfigResponse
User specified templates and configs for how to deidentify structured, unstructures, and image files. User must provide either a unstructured deidentify template or at least one redact image config.
GooglePrivacyDlpV2TransformationDetailsStorageConfig
Config for storing transformation details.
GooglePrivacyDlpV2TransformationDetailsStorageConfigResponse
Config for storing transformation details.
GooglePrivacyDlpV2TransformationErrorHandling
How to handle transformation errors during de-identification. A transformation error occurs when the requested transformation is incompatible with the data. For example, trying to de-identify an IP address using a DateShift transformation would result in a transformation error, since date info cannot be extracted from an IP address. Information about any incompatible transformations, and how they were handled, is returned in the response as part of the TransformationOverviews.
GooglePrivacyDlpV2TransformationErrorHandlingResponse
How to handle transformation errors during de-identification. A transformation error occurs when the requested transformation is incompatible with the data. For example, trying to de-identify an IP address using a DateShift transformation would result in a transformation error, since date info cannot be extracted from an IP address. Information about any incompatible transformations, and how they were handled, is returned in the response as part of the TransformationOverviews.
GooglePrivacyDlpV2TransientCryptoKey
Use this to have a random data crypto key generated. It will be discarded after the request finishes.
GooglePrivacyDlpV2TransientCryptoKeyResponse
Use this to have a random data crypto key generated. It will be discarded after the request finishes.
GooglePrivacyDlpV2Trigger
What event needs to occur for a new job to be started.
GooglePrivacyDlpV2TriggerResponse
What event needs to occur for a new job to be started.
GooglePrivacyDlpV2UnwrappedCryptoKey
Using raw keys is prone to security risks due to accidentally leaking the key. Choose another type of key if possible.
GooglePrivacyDlpV2UnwrappedCryptoKeyResponse
Using raw keys is prone to security risks due to accidentally leaking the key. Choose another type of key if possible.
GooglePrivacyDlpV2Value
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.
GooglePrivacyDlpV2ValueFrequencyResponse
A value of a field, including its frequency.
GooglePrivacyDlpV2ValueResponse
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.
GooglePrivacyDlpV2WordList
Message defining a list of words or phrases to search for in the data.
GooglePrivacyDlpV2WordListResponse
Message defining a list of words or phrases to search for in the data.
GoogleRpcStatusResponse
The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. Each Status message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide.
GoogleTypeDate
Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
GoogleTypeDateResponse
Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
GoogleTypeTimeOfDay
Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and google.protobuf.Timestamp.
GoogleTypeTimeOfDayResponse
Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and google.protobuf.Timestamp.
InspectTemplate
Creates an InspectTemplate for reusing frequently used configuration for inspecting content, images, and storage. See https://cloud.google.com/dlp/docs/creating-templates to learn more. Auto-naming is currently not supported for this resource.
InspectTemplateArgs
The set of arguments for InspectTemplate. The set of arguments for InspectTemplate.
JobTrigger
Creates a job trigger to run DLP actions such as scanning storage for sensitive information on a set schedule. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
JobTriggerArgs
The set of arguments for JobTrigger. The set of arguments for JobTrigger.
OrganizationDiscoveryConfig
Creates a config for discovery to scan and profile storage. Auto-naming is currently not supported for this resource.
OrganizationDiscoveryConfigArgs
The set of arguments for OrganizationDiscoveryConfig. The set of arguments for OrganizationDiscoveryConfig.
OrganizationInspectTemplate
Creates an InspectTemplate for reusing frequently used configuration for inspecting content, images, and storage. See https://cloud.google.com/dlp/docs/creating-templates to learn more. Auto-naming is currently not supported for this resource.
OrganizationInspectTemplateArgs
The set of arguments for OrganizationInspectTemplate. The set of arguments for OrganizationInspectTemplate.
OrganizationJobTrigger
Creates a job trigger to run DLP actions such as scanning storage for sensitive information on a set schedule. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more. Auto-naming is currently not supported for this resource.
OrganizationJobTriggerArgs
The set of arguments for OrganizationJobTrigger. The set of arguments for OrganizationJobTrigger.
OrganizationsDeidentifyTemplate
Creates a DeidentifyTemplate for reusing frequently used configuration for de-identifying content, images, and storage. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more. Auto-naming is currently not supported for this resource.
OrganizationsDeidentifyTemplateArgs
The set of arguments for OrganizationsDeidentifyTemplate. The set of arguments for OrganizationsDeidentifyTemplate.
StoredInfoType
Creates a pre-built stored infoType to be used for inspection. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more. Auto-naming is currently not supported for this resource.
StoredInfoTypeArgs
The set of arguments for StoredInfoType. The set of arguments for StoredInfoType.

Enums

DiscoveryConfigStatus
Required. A status for this configuration.
GooglePrivacyDlpV2BigQueryOptionsSampleMethod
GooglePrivacyDlpV2BigQueryTableTypesTypesItem
GooglePrivacyDlpV2CharsToIgnoreCommonCharactersToIgnore
Common characters to not transform when masking. Useful to avoid removing punctuation.
GooglePrivacyDlpV2CloudStorageOptionsFileTypesItem
GooglePrivacyDlpV2CloudStorageOptionsSampleMethod
GooglePrivacyDlpV2ConditionOperator
Required. Operator used to compare the field or infoType to the value.
GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigCommonAlphabet
Common alphabets.
GooglePrivacyDlpV2CustomInfoTypeExclusionType
If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding to be returned. It still can be used for rules matching.
GooglePrivacyDlpV2CustomInfoTypeLikelihood
Likelihood to return for this CustomInfoType. This base value can be altered by a detection rule if the finding meets the criteria specified by the rule. Defaults to VERY_LIKELY if not specified.
GooglePrivacyDlpV2DeidentifyFileTypesToTransformItem
GooglePrivacyDlpV2DiscoveryBigQueryConditionsTypeCollection
Restrict discovery to categories of table types.
GooglePrivacyDlpV2DiscoverySchemaModifiedCadenceFrequency
How frequently profiles may be updated when schemas are modified. Defaults to monthly.
GooglePrivacyDlpV2DiscoverySchemaModifiedCadenceTypesItem
GooglePrivacyDlpV2DiscoveryTableModifiedCadenceFrequency
How frequently data profiles can be updated when tables are modified. Defaults to never.
GooglePrivacyDlpV2DiscoveryTableModifiedCadenceTypesItem
GooglePrivacyDlpV2ExclusionRuleMatchingType
How the rule is applied, see MatchingType documentation for details.
GooglePrivacyDlpV2ExpressionsLogicalOperator
The operator to apply to the result of conditions. Default and currently only supported value is AND.
GooglePrivacyDlpV2InfoTypeLikelihoodMinLikelihood
Only returns findings equal to or above this threshold. This field is required or else the configuration fails.
GooglePrivacyDlpV2InspectConfigContentOptionsItem
GooglePrivacyDlpV2InspectConfigMinLikelihood
Only returns findings equal to or above this threshold. The default is POSSIBLE. In general, the highest likelihood setting yields the fewest findings in results and the lowest chance of a false positive. For more information, see Match likelihood.
GooglePrivacyDlpV2LikelihoodAdjustmentFixedLikelihood
Set the likelihood of a finding to a fixed value.
GooglePrivacyDlpV2OutputStorageConfigOutputSchema
Schema used for writing the findings for Inspect jobs. This field is only used for Inspect and must be unspecified for Risk jobs. Columns are derived from the Finding object. If appending to an existing table, any columns from the predefined schema that are missing will be added. No columns in the existing table will be deleted. If unspecified, then all available columns will be used for a new table or an (existing) table with no schema, and no changes will be made to an existing table that has a schema. Only for use with external storage.
GooglePrivacyDlpV2PubSubConditionMinimumRiskScore
The minimum data risk score that triggers the condition.
GooglePrivacyDlpV2PubSubConditionMinimumSensitivityScore
The minimum sensitivity level that triggers the condition.
GooglePrivacyDlpV2PubSubExpressionsLogicalOperator
The operator to apply to the collection of conditions.
GooglePrivacyDlpV2PubSubNotificationDetailOfMessage
How much data to include in the Pub/Sub message. If the user wishes to limit the size of the message, they can use resource_name and fetch the profile fields they wish to. Per table profile (not per column).
GooglePrivacyDlpV2PubSubNotificationEvent
The type of event that triggers a Pub/Sub. At most one PubSubNotification per EventType is permitted.
GooglePrivacyDlpV2SensitivityScoreScore
The sensitivity score applied to the resource.
GooglePrivacyDlpV2TimePartConfigPartToExtract
The part of the time to keep.
GooglePrivacyDlpV2ValueDayOfWeekValue
day of week
JobTriggerStatus
Required. A status for this trigger.
OrganizationDiscoveryConfigStatus
Required. A status for this configuration.
OrganizationJobTriggerStatus
Required. A status for this trigger.

Functions

getDeidentifyTemplate(GetDeidentifyTemplateArgs args, {InvokeOptions? options}) → Future<GetDeidentifyTemplateResult>
Gets a DeidentifyTemplate. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more. args Arguments passed to this invoke. Arguments for getDeidentifyTemplate. options Invoke options controlling this call.
getDiscoveryConfig(GetDiscoveryConfigArgs args, {InvokeOptions? options}) → Future<GetDiscoveryConfigResult>
Gets a discovery configuration. args Arguments passed to this invoke. Arguments for getDiscoveryConfig. options Invoke options controlling this call.
getDlpJob(GetDlpJobArgs args, {InvokeOptions? options}) → Future<GetDlpJobResult>
Gets the latest state of a long-running DlpJob. See https://cloud.google.com/dlp/docs/inspecting-storage and https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more. args Arguments passed to this invoke. Arguments for getDlpJob. options Invoke options controlling this call.
getInspectTemplate(GetInspectTemplateArgs args, {InvokeOptions? options}) → Future<GetInspectTemplateResult>
Gets an InspectTemplate. See https://cloud.google.com/dlp/docs/creating-templates to learn more. args Arguments passed to this invoke. Arguments for getInspectTemplate. options Invoke options controlling this call.
getJobTrigger(GetJobTriggerArgs args, {InvokeOptions? options}) → Future<GetJobTriggerResult>
Gets a job trigger. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more. args Arguments passed to this invoke. Arguments for getJobTrigger. options Invoke options controlling this call.
getOrganizationDiscoveryConfig(GetOrganizationDiscoveryConfigArgs args, {InvokeOptions? options}) → Future<GetOrganizationDiscoveryConfigResult>
Gets a discovery configuration. args Arguments passed to this invoke. Arguments for getOrganizationDiscoveryConfig. options Invoke options controlling this call.
getOrganizationInspectTemplate(GetOrganizationInspectTemplateArgs args, {InvokeOptions? options}) → Future<GetOrganizationInspectTemplateResult>
Gets an InspectTemplate. See https://cloud.google.com/dlp/docs/creating-templates to learn more. args Arguments passed to this invoke. Arguments for getOrganizationInspectTemplate. options Invoke options controlling this call.
getOrganizationJobTrigger(GetOrganizationJobTriggerArgs args, {InvokeOptions? options}) → Future<GetOrganizationJobTriggerResult>
Gets a job trigger. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more. args Arguments passed to this invoke. Arguments for getOrganizationJobTrigger. options Invoke options controlling this call.
getOrganizationsDeidentifyTemplate(GetOrganizationsDeidentifyTemplateArgs args, {InvokeOptions? options}) → Future<GetOrganizationsDeidentifyTemplateResult>
Gets a DeidentifyTemplate. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more. args Arguments passed to this invoke. Arguments for getOrganizationsDeidentifyTemplate. options Invoke options controlling this call.
getStoredInfoType(GetStoredInfoTypeArgs args, {InvokeOptions? options}) → Future<GetStoredInfoTypeResult>
Gets a stored infoType. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more. args Arguments passed to this invoke. Arguments for getStoredInfoType. options Invoke options controlling this call.