async def async_sample_func(
        param1: str, credentials: Credentials = None
    ) -> dict:
      """Async sample function that uses Google API credentials."""
      if credentials:
        return {"result": f"Async success with {param1}", "authenticated": True}
      else:
        return {
            "result": f"Async success with {param1}",
            "authenticated": False,
        }
Async sample function that uses Google API credentials.
tests/unittests/tools/bigquery/test_bigquery_tool.py