Google contact sync and iCloud contact sync cannot run together on the iPhone. This is the only way one could achieve classic contact sync between Gmail Contacts and iCloud Contacts.
I would export all my Gmail contacts to a vCard file from Gmail > Contacts > More > Export > All contacts.
Next import them to your iphone via this program and enable iCloud Contacts sync.
You can also download the iCloud Desktop tool as already mentioned and import the exported Google Contacts vCard file directly. Then, once you have your contacts loaded to iCloud, enable iCloud contact sync on your iPhone.
I would export all my Gmail contacts to a vCard file from Gmail > Contacts > More > Export > All contacts.
Next import them to your iphone via this program and enable iCloud Contacts sync.
You can also download the iCloud Desktop tool as already mentioned and import the exported Google Contacts vCard file directly. Then, once you have your contacts loaded to iCloud, enable iCloud contact sync on your iPhone.