metadataAction 资源类型metadataAction resource type

命名空间: microsoft. graphNamespace: microsoft.graph

重要

/betaMicrosoft Graph 中的版本下的 api 可能会发生更改。APIs under the /beta version in Microsoft Graph are subject to change. 不支持在生产应用程序中使用这些 API。Use of these APIs in production applications is not supported.

表示要写入或从文件中移除的元数据。Represents the metadata to be written or removed from a file. metadataAction可能由evaluateRemovalevaluateApplicationevaluateClassificationResults api 返回。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
metadataToAddmetadataToAdd keyValuePair 集合keyValuePair collection 应添加到文件中的键值对的集合。A collection of key value pairs that should be added to the file.
metadataToRemovemetadataToRemove String 集合String collection 字符串的集合,用于指示要从文件元数据中删除的键。A collection of strings that indicate which keys to remove from the file metadata.

JSON 表示形式JSON representation

下面是资源的 JSON 表示形式。The following is a JSON representation of the resource.

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