processFileMetadata 资源类型

命名空间:microsoft.graph

重要

Microsoft Graph /beta 版本下的 API 可能会发生更改。 不支持在生产应用程序中使用这些 API。 若要确定 API 是否在 v1.0 中可用,请使用 版本 选择器。

表示作为文件的内容项的元数据。

属性

属性 类型 说明
content contentBase 表示实际内容,可以是文本 () textContent 或二进制数据 (binaryContent) 。 如果仅元数据足以用于策略评估,则为可选。 不用于 contentActivities 继承自 processContentMetadataBase
correlationId String 用于对多个相关内容条目进行分组的 GUID 标识符 (例如,同一文件上传的不同部分、聊天中的消息) 。 继承自 processContentMetadataBase
createdDateTime DateTimeOffset 必需。 指示创建原始内容的时间戳 (例如文件创建时间、消息发送时间) 。 继承自 processContentMetadataBase
customProperties customMetadataDictionary 一个字典,其中包含与文件关联的自定义元数据,可能由调用应用程序提取。
标识符 String 必填。 调用应用程序或强制平面上下文中此特定内容条目的唯一标识符 (例如消息 ID、文件路径/URL) 。 继承自 processContentMetadataBase
isTruncated 布尔值 必填。 指示是否 content 由于) 的大小限制 (从其原始形式截断。 继承自 processContentMetadataBase
长度 Int64 原始内容的长度(以字节为单位)。 继承自 processContentMetadataBase
modifiedDateTime DateTimeOffset 必需。 指示上次修改原始内容的时间戳。 对于消息等临时内容,这可能与 相同 createdDateTime。 继承自 processContentMetadataBase
ownerId String 唯一标识符 (例如,文件所有者的对象 ID 或 UPN) 。
name String 必填。 内容的描述性名称 (例如文件名、网页标题、“聊天消息”) 。 继承自 processContentMetadataBase
sequenceNumber Int64 一个序列号,指示内容的生成或处理顺序,在使用 时 correlationId 是必需的。 继承自 processContentMetadataBase

关系

无。

JSON 表示形式

以下 JSON 表示形式显示了资源类型。

{
  "@odata.type": "#microsoft.graph.processFileMetadata",
  "identifier": "String", 
  "content": { "@odata.type": "microsoft.graph.binaryContent" }, 
  "name": "String", 
  "correlationId": "String",
  "sequenceNumber": "Int64",
  "length": "Int64",
  "isTruncated": "Boolean",
  "createdDateTime": "String (timestamp)",
  "modifiedDateTime": "String (timestamp)",
  "customProperties": { "@odata.type": "microsoft.graph.customMetadataDictionary" },
  "ownerId": "String"
}