def retention_labels(self) -> RetentionLabelsRequestBuilder:
        """
        Provides operations to manage the retentionLabels property of the microsoft.graph.security.labelsRoot entity.
        """
        from .retention_labels.retention_labels_request_builder import RetentionLabelsRequestBuilder

        return RetentionLabelsRequestBuilder(self.request_adapter, self.path_parameters)

        Provides operations to manage the retentionLabels property of the microsoft.graph.security.labelsRoot entity.
        
msgraph/generated/security/labels/labels_request_builder.py