Characterizations of conditional expectation-type operators