Access Physics manager settings through script


I'm currently trying to dynamically change the gravity in my scene. I noticed the gravity xyz settings in the physics manager, I can access it ingame through the inspector, but is there a way to access the variables via script?

Sure, Physics.Gravity(X, Y, Z).