# BigQueryLoggerConfig

> **Class** in `langchain_google_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-google-community/callbacks/bigquery_callback/BigQueryLoggerConfig)

## Signature

```python
BigQueryLoggerConfig(
    self,
    enabled: bool = True,
    event_allowlist: list[str] | None = None,
    event_denylist: list[str] | None = None,
    max_content_length: int = 500 * 1024,
    table_id: str = 'agent_events',
    clustering_fields: list[str] = (lambda: ['event_type', 'agent', 'user_id'])(),
    log_multi_modal_content: bool = True,
    retry_config: RetryConfig = RetryConfig(),
    batch_size: int = 1,
    batch_flush_interval: float = 1.0,
    shutdown_timeout: float = 10.0,
    queue_max_size: int = 10000,
    gcs_bucket_name: str | None = None,
    connection_id: str | None = None,
    skip_internal_chain_events: bool = False,
    custom_tags: dict[str, Any] = dict(),
    log_session_metadata: bool = True,
    content_formatter: Optional[Callable[[Any, str], Any]] = None,
    auto_schema_upgrade: bool = True,
    create_views: bool = True,
    view_prefix: str = 'v',
)
```

## Constructors

```python
__init__(
    self,
    enabled: bool = True,
    event_allowlist: list[str] | None = None,
    event_denylist: list[str] | None = None,
    max_content_length: int = 500 * 1024,
    table_id: str = 'agent_events',
    clustering_fields: list[str] = (lambda: ['event_type', 'agent', 'user_id'])(),
    log_multi_modal_content: bool = True,
    retry_config: RetryConfig = RetryConfig(),
    batch_size: int = 1,
    batch_flush_interval: float = 1.0,
    shutdown_timeout: float = 10.0,
    queue_max_size: int = 10000,
    gcs_bucket_name: str | None = None,
    connection_id: str | None = None,
    skip_internal_chain_events: bool = False,
    custom_tags: dict[str, Any] = dict(),
    log_session_metadata: bool = True,
    content_formatter: Optional[Callable[[Any, str], Any]] = None,
    auto_schema_upgrade: bool = True,
    create_views: bool = True,
    view_prefix: str = 'v',
) -> None
```

| Name | Type |
|------|------|
| `enabled` | `bool` |
| `event_allowlist` | `list[str] \| None` |
| `event_denylist` | `list[str] \| None` |
| `max_content_length` | `int` |
| `table_id` | `str` |
| `clustering_fields` | `list[str]` |
| `log_multi_modal_content` | `bool` |
| `retry_config` | `RetryConfig` |
| `batch_size` | `int` |
| `batch_flush_interval` | `float` |
| `shutdown_timeout` | `float` |
| `queue_max_size` | `int` |
| `gcs_bucket_name` | `str \| None` |
| `connection_id` | `str \| None` |
| `skip_internal_chain_events` | `bool` |
| `custom_tags` | `dict[str, Any]` |
| `log_session_metadata` | `bool` |
| `content_formatter` | `Optional[Callable[[Any, str], Any]]` |
| `auto_schema_upgrade` | `bool` |
| `create_views` | `bool` |
| `view_prefix` | `str` |


## Properties

- `enabled`
- `event_allowlist`
- `event_denylist`
- `max_content_length`
- `table_id`
- `clustering_fields`
- `log_multi_modal_content`
- `retry_config`
- `batch_size`
- `batch_flush_interval`
- `shutdown_timeout`
- `queue_max_size`
- `gcs_bucket_name`
- `connection_id`
- `skip_internal_chain_events`
- `custom_tags`
- `log_session_metadata`
- `content_formatter`
- `auto_schema_upgrade`
- `create_views`
- `view_prefix`

---

[View source on GitHub](https://github.com/langchain-ai/langchain-google/blob/515c1ee9ffe9a0c9533d03a9def7f74f8c3455e4/libs/community/langchain_google_community/callbacks/bigquery_callback.py#L670)