| title | metadataAction resource type (deprecated) |
|---|---|
| description | Represents the metadata to be written or removed from a file. Deprecated. |
| ms.localizationpriority | medium |
| author | tommoser |
| ms.subservice | security |
| doc_type | resourcePageType |
| ms.date | 07/22/2024 |
Namespace: microsoft.graph
[!INCLUDE beta-disclaimer]
[!INCLUDE informationprotection-deprecate]
Represents the metadata to be written or removed from a file. metadataAction may be returned by the evaluateRemoval, evaluateApplication, and evaluateClassificationResults APIs. The action informs the consuming application of the specific key/value pairs that should be added to the file or the specific metadata keys that should be removed from the file. This metadata is what describes the file or information as being labeled.
| Property | Type | Description |
|---|---|---|
| metadataToAdd | keyValuePair collection | A collection of key value pairs that should be added to the file. |
| metadataToRemove | String collection | A collection of strings that indicate which keys to remove from the file metadata. |
The following JSON representation shows the resource type.
{
"metadataToAdd": [{"@odata.type": "microsoft.graph.keyValuePair"}],
"metadataToRemove": ["String"]
}