Reference documentation and code samples for the Data Loss Prevention V2 Client class LabelField.
The field values of the Google Drive label to match.
Generated from protobuf message google.privacy.dlp.v2.CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField
Namespace
Google \ Cloud \ Dlp \ V2 \ CustomInfoType \ FileLabelInfoType \ GoogleDriveLabelMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ id |
string
The identifier of the Label Field. |
↳ value |
string
The value of the Label Field to match. |
getId
The identifier of the Label Field.
| Returns | |
|---|---|
| Type | Description |
string |
|
setId
The identifier of the Label Field.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getValue
The value of the Label Field to match.
| Returns | |
|---|---|
| Type | Description |
string |
|
setValue
The value of the Label Field to match.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|