A party to a civil suit in a court of this state brought by or against a state agency in which the agency asserts a cause of action against the party, either originally or as a counterclaim or cross claim, is entitled to recover, in addition to all other costs allowed by law or rule, a total amount not to exceed $1 million for fees, expenses, and reasonable attorney's fees incurred by the party in defending the agency's action if:
Tex. Civ. Prac. and Rem. Code § 105.002