Data Loss Prevention V2 Client - Class StoredInfoTypeVersion (1.8.6)

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

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ config
Google\Cloud\Dlp\V2\StoredInfoTypeConfig

StoredInfoType configuration.

↳ 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
Google\Cloud\Dlp\V2\StoredInfoTypeStats

Statistics about this storedInfoType version.

getConfig

StoredInfoType configuration.

Returns
Type
Description

hasConfig

clearConfig

setConfig

StoredInfoType configuration.

Parameter
Name
Description
Returns
Type
Description
$this

getCreateTime

Create timestamp of the version. Read-only, determined by the system when the version is created.

Returns
Type
Description

hasCreateTime

clearCreateTime

setCreateTime

Create timestamp of the version. Read-only, determined by the system when the version is created.

Parameter
Name
Description
Returns
Type
Description
$this

getState

Stored info type version state. Read-only, updated by the system during dictionary creation.

Returns
Type
Description
int

setState

Stored info type version state. Read-only, updated by the system during dictionary creation.

Parameter
Name
Description
var
int
Returns
Type
Description
$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.

Returns
Type
Description

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.

Parameter
Name
Description
Returns
Type
Description
$this

getStats

Statistics about this storedInfoType version.

Returns
Type
Description

hasStats

clearStats

setStats

Statistics about this storedInfoType version.

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: