class ComputeEngine

Summary

Members Descriptions
public const std::vector<std::shared_ptr<Label>> ListSensitivityLabels(const std::vector<std::string>& contentFormats) Not yet documented.
public std::shared_ptr<ContentLabel> GetSensitivityLabel(ComputeEngineContext& context, const DocumentState& state) Not yet documented.
public std::vector<std::shared_ptr<Action>> ComputeActions(ComputeEngineContext& context, const DocumentState& documentState, const ApplicationActionState& actionState) Not yet documented.
public std::pair<std::vector<std::shared_ptr<Action>>, bool> ComputeActionsWithRemoteState(ComputeEngineContext& context, const DocumentState& localDocumentState, const DocumentState& remoteDocumentState, const ApplicationActionState& actionState) Computes actions while choosing between remote and local state.
public void NotifyCommittedActions(ComputeEngineContext& context, const DocumentState& documentState, const ApplicationActionState& actionState) Not yet documented.
public const std::shared_ptr<Label> GetDefaultLabel(const std::string& contentFormat) const Not yet documented.
public const std::string& GetMoreInfoUrl() const Not yet documented.
public const std::string& GetUpn() const Not yet documented.
public bool IsLabelingRequired(const std::string& contentFormat) const Not yet documented.
public bool IsDowngradeJustificationRequired() const Not yet documented.
public const std::string& GetFileId() const Not yet documented.
public bool HasClassificationRules(const std::vector<std::string>& contentFormats) const Not yet documented.
public bool IsEnhancedClassificationEnabled() const Not yet documented.
public std::shared_ptr<Label> GetLabelById(const std::string& id) const Not yet documented.
public const std::string& GetTenantId() const Not yet documented.
public void SetSensitivityTypesRulePackages(std::vector<std::shared_ptr<SensitivityTypesRulePackage>> && custom) Not yet documented.
public const std::vector<std::shared_ptr<SensitivityTypesRulePackage>>& GetSensitivityTypesRulePackages() const Not yet documented.
public const std::vector<std::pair<std::string, std::string>>& GetCustomSettings() const Not yet documented.
public uint32_t GetOpcMetadataVersion() const Not yet documented.
public const std::string& GetUserObjectId() const Not yet documented.
public bool HasWorkloadConsent(Workload workload) const Not yet documented.
public virtual ~ComputeEngine() Not yet documented.

Members

ListSensitivityLabels function

Not documented yet.

GetSensitivityLabel function

Not documented yet.

ComputeActions function

Not documented yet.

ComputeActionsWithRemoteState function

Computes actions while choosing between remote and local state. State is selected using this priority. Unknown protection types, (template or ad-hoc not in the policy). Protection state is always preferable to unprotected state. Document state with label is preferred above one without. Label order, higher is preferred. Label timestamp, prefer newest labelled document. DocumentState LastModifiedTime optionally implemented, prefer newly modified file.

Parameters:

  • context: Comput engine context.

  • localDocumentState: Local document state.

  • remoteDocumentState: Remote document state.

  • actionState: The application's action state.

Returns: Methods return a pair. first contains a list of the action the second is whether it should be applied on the local, if false actions should be applied on the remote document and that document state should be used.

NotifyCommittedActions function

Not documented yet.

GetDefaultLabel function

Not documented yet.

GetMoreInfoUrl function

Not documented yet.

GetUpn function

Not documented yet.

IsLabelingRequired function

Not documented yet.

IsDowngradeJustificationRequired function

Not documented yet.

GetFileId function

Not documented yet.

HasClassificationRules function

Not documented yet.

IsEnhancedClassificationEnabled function

Not documented yet.

GetLabelById function

Not documented yet.

GetTenantId function

Not documented yet.

SetSensitivityTypesRulePackages function

Not documented yet.

GetSensitivityTypesRulePackages function

Not documented yet.

GetCustomSettings function

Not documented yet.

GetOpcMetadataVersion function

Not documented yet.

GetUserObjectId function

Not documented yet.

HasWorkloadConsent function

Not documented yet.

~ComputeEngine function

Not documented yet.