Skip to content

Latest commit

 

History

History
57 lines (43 loc) · 2.31 KB

File metadata and controls

57 lines (43 loc) · 2.31 KB
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

metadataAction resource type (deprecated)

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.

Properties

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.

JSON representation

The following JSON representation shows the resource type.

{
  "metadataToAdd": [{"@odata.type": "microsoft.graph.keyValuePair"}],
  "metadataToRemove": ["String"]
}