Data Loss Prevention V2 Client - Class StorageMetadataLabel (1.11.0)

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

Storage metadata label to indicate which metadata entry contains findings.

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

Namespace

Google \ Cloud \ Dlp \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ key string

getKey

Generated from protobuf field string key = 1;

Returns
TypeDescription
string

setKey

Generated from protobuf field string key = 1;

Parameter
NameDescription
var string
Returns
TypeDescription
$this