After testing last year, the Google app on Android will now let you set a custom Shortcut in the Search widget.
Click on the “Security” tab and scroll down to the “Signing in to Google” section. Make sure that the “Two-Step Verification” option is enabled. If it’s not, enable it and follow the prompts to set it ...