public sealed class BigQueryOptions : IMessage<BigQueryOptions>, IEquatable<BigQueryOptions>, IDeepCloneable<BigQueryOptions>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Logging v2 API class BigQueryOptions.
Options that change functionality of a sink exporting data to BigQuery.
Optional. Whether to use BigQuery's partition
tables. By
default, Cloud Logging creates dated tables based on the log entries'
timestamps, e.g. syslog_20170523. With partitioned tables the date suffix
is no longer present and special query
syntax
has to be used instead. In both cases, tables are sharded based on UTC
timezone.
public bool UsesTimestampColumnPartitioning { get; set; }
Output only. True if new timestamp column based partitioning is in use,
false if legacy ingestion-time partitioning is in use.
All new sinks will have this field set true and will use timestamp column
based partitioning. If use_partitioned_tables is false, this value has no
meaning and will be false. Legacy sinks using partitioned tables will have
this field set to false.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["The latest version of the `BigQueryOptions` class in the Google Cloud Logging v2 API is 4.4.0, and documentation is available for versions ranging from 3.3.0 to 4.4.0."],["`BigQueryOptions` is a class that provides options to customize the behavior of sinks exporting data to BigQuery, and it implements multiple interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The `BigQueryOptions` class includes two constructors, one default constructor and another that accepts another `BigQueryOptions` object for cloning."],["The `UsePartitionedTables` property allows you to specify whether to utilize BigQuery's partitioned tables, affecting how log entries are stored and queried, with default table creation being based on log entry timestamps."],["The `UsesTimestampColumnPartitioning` property indicates if new timestamp-based partitioning is used, with legacy sinks having this value set to false, and is only relevant when `UsePartitionedTables` is set to true."]]],[]]