def graph_drive_protection_unit(self) -> GraphDriveProtectionUnitRequestBuilder:
        """
        Casts the previous resource to driveProtectionUnit.
        """
        from .graph_drive_protection_unit.graph_drive_protection_unit_request_builder import GraphDriveProtectionUnitRequestBuilder

        return GraphDriveProtectionUnitRequestBuilder(self.request_adapter, self.path_parameters)

        Casts the previous resource to driveProtectionUnit.
        
msgraph/generated/solutions/backup_restore/protection_units/protection_units_request_builder.py