Reference documentation and code samples for the Data Loss Prevention V2 Client class StoredInfoTypeVersion.
Version of a StoredInfoType, including the configuration used to build it, create timestamp, and current state.
Generated from protobuf message google.privacy.dlp.v2.StoredInfoTypeVersion
Namespace
Google \ Cloud \ Dlp \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ config
↳ create_time
Google\Protobuf\Timestamp
Create timestamp of the version. Read-only, determined by the system when the version is created.
↳ state
int
Stored info type version state. Read-only, updated by the system during dictionary creation.
↳ errors
array< Google\Cloud\Dlp\V2\Error
>
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 UpdateStoredInfoType API method to create another version of the storedInfoType to continue using it, reusing the same config
if it was not the source of the error.
↳ stats
getConfig
StoredInfoType configuration.
hasConfig
clearConfig
setConfig
StoredInfoType configuration.
$this
getCreateTime
Create timestamp of the version. Read-only, determined by the system when the version is created.
hasCreateTime
clearCreateTime
setCreateTime
Create timestamp of the version. Read-only, determined by the system when the version is created.
$this
getState
Stored info type version state. Read-only, updated by the system during dictionary creation.
int
setState
Stored info type version state. Read-only, updated by the system during dictionary creation.
var
int
$this
getErrors
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 UpdateStoredInfoType API method to create another version of the
storedInfoType to continue using it, reusing the same config
if it was
not the source of the error.
setErrors
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 UpdateStoredInfoType API method to create another version of the
storedInfoType to continue using it, reusing the same config
if it was
not the source of the error.
$this
getStats
Statistics about this storedInfoType version.
hasStats
clearStats
setStats
Statistics about this storedInfoType version.
$this