- Resource: StoredInfoType
- Methods
Resource: StoredInfoType
StoredInfoType resource message that contains information about the current version and any pending updates.
JSON representation |
---|
{ "name": string, "currentVersion": { object ( |
Fields | |
---|---|
name |
Resource name. |
current |
Current version of the stored info type. |
pending |
Pending versions of the stored info type. Empty if no versions are pending. |
StoredInfoTypeVersion
Version of a StoredInfoType, including the configuration used to build it, create timestamp, and current state.
JSON representation |
---|
{ "config": { object ( |
Fields | |
---|---|
config |
StoredInfoType configuration. |
create |
Create timestamp of the version. Read-only, determined by the system when the version is created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
state |
Stored info type version state. Read-only, updated by the system during dictionary creation. |
errors[] |
Errors that occurred when creating this storedInfoType version, or anomalies detected in the storedInfoType data that render it unusable. Only the five most recent errors will be displayed, with the most recent error appearing first. For example, some of the data for stored custom dictionaries is put in the user's Cloud Storage bucket, and if this data is modified or deleted by the user or another system, the dictionary becomes invalid. If any errors occur, fix the problem indicated by the error message and use the storedInfoTypes.patch API method to create another version of the storedInfoType to continue using it, reusing the same |
stats |
Statistics about this storedInfoType version. |
StoredInfoTypeConfig
Configuration for stored infoTypes. All fields and subfield are provided by the user. For more information, see https://cloud.google.com/sensitive-data-protection/docs/creating-custom-infotypes.
JSON representation |
---|
{ "displayName": string, "description": string, // Union field |
Fields | |
---|---|
display |
Display name of the StoredInfoType (max 256 characters). |
description |
Description of the StoredInfoType (max 256 characters). |
Union field type . Stored infotype types. type can be only one of the following: |
|
large |
StoredInfoType where findings are defined by a dictionary of phrases. |
dictionary |
Store dictionary-based CustomInfoType. |
regex |
Store regular expression-based StoredInfoType. |
LargeCustomDictionaryConfig
Configuration for a custom dictionary created from a data source of any size up to the maximum size defined in the limits page. The artifacts of dictionary creation are stored in the specified Cloud Storage location. Consider using CustomInfoType.Dictionary
for smaller dictionaries that satisfy the size requirements.
JSON representation |
---|
{ "outputPath": { object ( |
Fields | |
---|---|
output |
Location to store dictionary artifacts in Cloud Storage. These files will only be accessible by project owners and the DLP API. If any of these artifacts are modified, the dictionary is considered invalid and can no longer be used. |
Union field source . Source of the dictionary. source can be only one of the following: |
|
cloud |
Set of files containing newline-delimited lists of dictionary phrases. |
big |
Field in a BigQuery table where each cell represents a dictionary phrase. |
CloudStorageFileSet
Message representing a set of files in Cloud Storage.
JSON representation |
---|
{ "url": string } |
Fields | |
---|---|
url |
The url, in the format |
BigQueryField
Message defining a field of a BigQuery table.
JSON representation |
---|
{ "table": { object ( |
Fields | |
---|---|
table |
Source table of the field. |
field |
Designated field in the BigQuery table. |
StoredInfoTypeState
State of a StoredInfoType version.
Enums | |
---|---|
STORED_INFO_TYPE_STATE_UNSPECIFIED |
Unused |
PENDING |
StoredInfoType version is being created. |
READY |
StoredInfoType version is ready for use. |
FAILED |
StoredInfoType creation failed. All relevant error messages are returned in the StoredInfoTypeVersion message. |
INVALID |
StoredInfoType is no longer valid because artifacts stored in user-controlled storage were modified. To fix an invalid StoredInfoType, use the storedInfoTypes.patch method to create a new version. |
StoredInfoTypeStats
Statistics for a StoredInfoType.
JSON representation |
---|
{ // Union field |
Fields | |
---|---|
Union field type . Stat types type can be only one of the following: |
|
large |
StoredInfoType where findings are defined by a dictionary of phrases. |
LargeCustomDictionaryStats
Summary statistics of a custom dictionary.
JSON representation |
---|
{ "approxNumPhrases": string } |
Fields | |
---|---|
approx |
Approximate number of distinct phrases in the dictionary. |
Methods |
|
---|---|
|
Creates a pre-built stored infoType to be used for inspection. |
|
Deletes a stored infoType. |
|
Gets a stored infoType. |
|
Lists stored infoTypes. |
|
Updates the stored infoType by creating a new version. |