San Francisco Giants will play 31 games in the Cactus League, including three contests against the Oakland A's.