I still use the first style with google, it works just fine. Even your example, the first result (after the AI response) is the official docs with examples.