N.Y. Public Authorities Law § 1147-G
The authority, the county and the other municipalities, in carrying out their respective powers and duties under this title, shall be deemed to be acting in a governmental capacity and in the performance of an essential governmental function.