Reference documentation and code samples for the Data Loss Prevention V2 Client class KeyValueMetadataProperty.
A key-value pair in the Metadata.
Generated from protobuf message google.privacy.dlp.v2.KeyValueMetadataProperty
Namespace
Google \ Cloud \ Dlp \ V2Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ key |
string
The key of the property. |
↳ value |
string
The value of the property. |
getKey
The key of the property.
| Returns | |
|---|---|
| Type | Description |
string |
|
setKey
The key of the property.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getValue
The value of the property.
| Returns | |
|---|---|
| Type | Description |
string |
|
setValue
The value of the property.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|