feat: Refactor and Rename BigQuery Agent Analytics Plugin

This change updates the `BigQueryAgentAnalyticsPlugin` (formerly in `bigquery_logging_plugin.py`) to perform BigQuery writes asynchronously in background tasks, preventing blocking of the main agent execution flow. Initialization of BigQuery clients and table creation is also made asynchronous. The content logged in various callbacks has been streamlined and simplified. The plugin file has been renamed to `bigquery_agent_analytics_plugin.py` to match the class name.

PiperOrigin-RevId: 829603260
This commit is contained in:
Google Team Member
2025-11-07 15:44:03 -08:00
committed by Copybara-Service
parent 42d4c4ed5f
commit 6b14f88726
2 changed files with 449 additions and 448 deletions