From 7557a929398ec2a1f946500d906cef5a4f86b5d1 Mon Sep 17 00:00:00 2001 From: Haiyuan Cao Date: Sat, 21 Feb 2026 19:04:06 -0800 Subject: [PATCH] feat: change default BigQuery table ID and update docstring The default table ID for the BigQueryAgentAnalyticsPlugin is changed from "agent_events_v2" to "agent_events". The class docstring is also updated to remove the "v2.0" reference. Co-authored-by: Haiyuan Cao PiperOrigin-RevId: 873485931 --- src/google/adk/plugins/bigquery_agent_analytics_plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/google/adk/plugins/bigquery_agent_analytics_plugin.py b/src/google/adk/plugins/bigquery_agent_analytics_plugin.py index 97a25496..70a17f40 100644 --- a/src/google/adk/plugins/bigquery_agent_analytics_plugin.py +++ b/src/google/adk/plugins/bigquery_agent_analytics_plugin.py @@ -470,7 +470,7 @@ class BigQueryLoggerConfig: event_allowlist: list[str] | None = None event_denylist: list[str] | None = None max_content_length: int = 500 * 1024 # Defaults to 500KB per text block - table_id: str = "agent_events_v2" + table_id: str = "agent_events" # V2 Configuration clustering_fields: list[str] = field( @@ -1609,7 +1609,7 @@ class EventData: class BigQueryAgentAnalyticsPlugin(BasePlugin): - """BigQuery Agent Analytics Plugin (v2.0 using Write API). + """BigQuery Agent Analytics Plugin using Write API. Logs agent events (LLM requests, tool calls, etc.) to BigQuery for analytics. Uses the BigQuery Write API for efficient, asynchronous, and reliable logging.