BigQueryLoggerConfig
Configuration for the BigQueryAgentAnalyticsPlugin.
Constructors
Types
Fluent builder for BigQueryLoggerConfig, provided primarily for Java callers. Any property left unset falls back to the same default as the constructor.
Properties
Whether to add missing columns to an existing table, which needs the bigquery.tables.update permission; rows are dropped until the upgrade succeeds. When off, the table must already have every column.
Longest the background writer waits for a batch to fill once it has a row; must be positive.
Clustering columns for a newly created table.
BigQuery connection, such as us.my-connection, recorded as the authorizer of each uploaded part's object_ref.
Called with each event's content and type; its result is logged in place of the content. If it throws, [FORMATTER_FAILED] is logged instead.
Whether to create or replace one view per event type when the first event is logged.
Credentials of the BigQuery client the plugin creates if no client is passed in; null uses Application Default Credentials.
Tags logged with every event under attributes.custom_tags.
Event types to log, such as LLM_REQUEST; empty logs every type.
Event types never to log, even when allowlisted.
Whether a run waits, before it completes, for every row logged so far by any run to be written or dropped. As in Python ADK, the wait has no time limit.
Cloud Storage bucket that binary parts, and text parts over 32 KiB or maxContentLength, are uploaded to with the BigQuery client's credentials, so that content_parts references them. Needs logMultiModalContent; when null, binary parts are logged as a placeholder and long text is truncated.
Whether to fill the content_parts column.
Whether to log the session ids and state under attributes.session_metadata.
Budget for each logged string in UTF-8 bytes, including the ...[TRUNCATED] marker; -1 is unlimited.
Maximum rows queued in memory, at least 1; rows logged while it is full are dropped. About 1% of the slots, at least 2 but never all of them, are kept for INVOCATION_COMPLETED and INVOCATION_ERROR rows.
How a batch of rows that fails to write is retried.
How long BigQueryAgentAnalyticsPlugin.close waits for queued rows to be written; must be positive. Rows still queued after it are dropped.
Prefix of the view names, so v gives v_llm_request. Views are skipped if this prefix or the table's project, dataset or name has characters other than letters, digits, _ and -.
Functions
Returns a Builder initialized with this instance's properties, primarily for Java callers. Prefer it over copy from Java: copy takes every property positionally, so its signature changes whenever a property is added.