The past tense of gain confidence of is gained confidence of.
The third-person singular simple present indicative form of gain confidence of is gains confidence of.
The present participle of gain confidence of is gaining confidence of.
The past participle of gain confidence of is gained confidence of.