team-specific object spawning?

Is there a way to have a structural object only spawn when a specific team is in the match. I have a need to block off a set of teleporters, but only when the green team is in the match. I could’ve sworn there was a way to do this, but I can’t figure it out.