Class BigQueryLoggerConfig
java.lang.Object
com.google.adk.plugins.agentanalytics.BigQueryLoggerConfig
Configuration for the BigQueryAgentAnalyticsPlugin.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder forBigQueryLoggerConfig.static classRetry configuration for BigQuery writes. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract booleanabstract Durationabstract intstatic BigQueryLoggerConfig.Builderbuilder()abstract com.google.common.collect.ImmutableList<String> abstract @Nullable BiFunction<Object, String, Object> Optional custom formatter for content.abstract booleanabstract @Nullable com.google.auth.Credentialsabstract Stringabstract booleanenabled()abstract com.google.common.collect.ImmutableList<String> abstract com.google.common.collect.ImmutableList<String> abstract Stringabstract Stringlocation()abstract booleanabstract booleanabstract intabstract Stringabstract intabstract BigQueryLoggerConfig.RetryConfigabstract Durationabstract Stringabstract BigQueryLoggerConfig.Builderabstract String
-
Constructor Details
-
BigQueryLoggerConfig
public BigQueryLoggerConfig()
-
-
Method Details
-
enabled
public abstract boolean enabled() -
eventAllowlist
-
eventDenylist
-
maxContentLength
public abstract int maxContentLength() -
location
-
projectId
-
datasetId
-
tableName
-
clusteringFields
-
logMultiModalContent
public abstract boolean logMultiModalContent() -
retryConfig
-
batchSize
public abstract int batchSize() -
batchFlushInterval
-
shutdownTimeout
-
queueMaxSize
public abstract int queueMaxSize() -
contentFormatter
Optional custom formatter for content.Allow plugins to modify the content before logging. This is useful for masking sensitive data, formatting content, etc.
The contentFormatter must be thread-safe as it may be called concurrently across different agent invocations and fast/non-blocking to avoid adding latency to the agent's event processing pipeline.
Important: To avoid corruption of the logs, the incoming content object should not be mutated. Modifying code should return a new copy of the object with desired changes.
-
gcsBucketName
-
connectionId
-
logSessionMetadata
public abstract boolean logSessionMetadata() -
customTags
-
autoSchemaUpgrade
public abstract boolean autoSchemaUpgrade() -
createViews
public abstract boolean createViews() -
viewPrefix
-
credentials
public abstract @Nullable com.google.auth.Credentials credentials() -
toBuilder
-
builder
-