Click the 'Check' box to save your settings. For the 'Contacts server (CardDAV)' enter ''. If you will be using IMAP to sync with iCloud email, make sure 'Outgoing server requires authentication' is checked, if not skip this step. If you intend to export iPhone contacts to Gmail without iCloud, the Settings app could be your choice. How to transfer iPhone contacts to Gmail via Settings.
iCloud is one common solution to import iPhone contacts to Gmail, and with the iCloud Keychain technique, the exported contacts are 100% secure.