Data Loss Prevention V2 Client - Class MetadataLocation (2.2.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 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
StorageMetadataLabel|null

hasStorageLabel

setStorageLabel

Storage metadata.

Parameter
Name Description
var StorageMetadataLabel
Returns
Type Description
$this

getLabel

Returns
Type Description
string