Change Cinemachine Axis Controller Gain in C#

I want to change gain value by code.
I am using Free Look Cam in CM3.
Look around internet and discussions.unity but couldn’t find an answer.
Can anyone help?

Thanx

This might help:

(instead of LegacyGain, use Gain)