In Advanced mode, launching Google Assistant is assigned to the squeeze and hold gesture by default. See Enabling Advanced mode. While you're not in the Camera app or the onscreen keyboard is not showing, squeeze and hold the lower sides of your phone to launch Google Assistant. You can then use your voice to do a web search, ask questions such as about the weather, and more.