Data Loss Prevention V2 Client - Class VersionDescription (1.15.1)

Reference documentation and code samples for the Data Loss Prevention V2 Client class VersionDescription.

Details about each available version for an infotype.

Generated from protobuf message google.privacy.dlp.v2.VersionDescription

Namespace

Google \ Cloud \ Dlp \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ version string

Name of the version

↳ description string

Description of the version.

getVersion

Name of the version

Returns
Type Description
string

setVersion

Name of the version

Parameter
Name Description
var string
Returns
Type Description
$this

getDescription

Description of the version.

Returns
Type Description
string

setDescription

Description of the version.

Parameter
Name Description
var string
Returns
Type Description
$this