I understand - Oakdale and Tracy are not that far apart.
I think if you can protect it from the prevailing wind, it would do great. I think the wind is from the west, mostly. Maybe a little from the north.
Just remember how big a Bougainvilla will get. Luckily, they take well to pruning.