Data Loss Prevention V2 Client - Class MetadataLocation (1.13.2)

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

Metadata Location

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

Namespace

Google \ Cloud \ Dlp \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ type int

Type of metadata containing the finding.

↳ storage_label Google\Cloud\Dlp\V2\StorageMetadataLabel

Storage metadata.

getType

Type of metadata containing the finding.

Returns
Type Description
int

setType

Type of metadata containing the finding.

Parameter
Name Description
var int
Returns
Type Description
$this

getStorageLabel

Storage metadata.

Returns
Type Description
Google\Cloud\Dlp\V2\StorageMetadataLabel|null

hasStorageLabel

setStorageLabel

Storage metadata.

Parameter
Name Description
var Google\Cloud\Dlp\V2\StorageMetadataLabel
Returns
Type Description
$this

getLabel

Returns
Type Description
string