recommendLabelAction 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 a label that should be recommended to the user for application to the file based on discovered sensitive information types. The evaluateClassificationResults may return a recommendLabelAction if the Microsoft Purview Information Protection labeling policy is set to recommend and label rather than enforce a label. The user or appliation may choose to ignore or accept the recommendation.

Properties

Property Type Description
actionSource String Possible values are: manual, automatic, recommended, default.
actions informationProtectionAction collection Actions to take if the label is accepted by the user.
label labelDetails The label that is being recommended.
responsibleSensitiveTypeIds Guid collection The sensitive information type GUIDs that caused the recommendation to be given.

JSON representation

The following is a JSON representation of the resource.

{
  "actionSource": "String",
  "actions": [{"@odata.type": "microsoft.graph.informationProtectionAction"}],
  "label": {"@odata.type": "microsoft.graph.labelDetails"},
  "responsibleSensitiveTypeIds": ["Guid"]
}