Edit

Share via


processFileMetadata resource type

Namespace: microsoft.graph

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

Represents metadata for a content entry that is a file.

Properties

Property Type Description
content contentBase Represents the actual content, either as text (textContent) or binary data (binaryContent). Optional if metadata alone is sufficient for policy evaluation. Do not use for contentActivities Inherited from processContentMetadataBase.
correlationId String An GUID identifier used to group multiple related content entries (for example, different parts of the same file upload, messages in a conversation). Inherited from processContentMetadataBase.
createdDateTime DateTimeOffset Required. Timestamp indicating when the original content was created (for example, file creation time, message sent time). Inherited from processContentMetadataBase.
customProperties customMetadataDictionary A dictionary containing custom metadata associated with the file, potentially extracted by the calling application.
identifier String Required. A unique identifier for this specific content entry within the context of the calling application or enforcement plane (for example, message ID, file path/URL). Inherited from processContentMetadataBase.
isTruncated Boolean Required. Indicates if the provided content has been truncated from its original form (for example, due to size limits). Inherited from processContentMetadataBase.
length Int64 The length of the original content in bytes. Inherited from processContentMetadataBase.
modifiedDateTime DateTimeOffset Required. Timestamp indicating when the original content was last modified. For ephemeral content like messages, this might be the same as createdDateTime. Inherited from processContentMetadataBase.
ownerId String The unique identifier (for example, Object ID or UPN) of the owner of the file.
name String Required. A descriptive name for the content (for example, file name, web page title, "Chat Message"). Inherited from processContentMetadataBase.
sequenceNumber Int64 A sequence number indicating the order in which content was generated or should be processed, required when correlationId is used. Inherited from processContentMetadataBase.

Relationships

None.

JSON representation

The following JSON representation shows the resource type.

{
  "@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"
}