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-08-07 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eBigQueryOptions\u003c/code\u003e 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.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eBigQueryOptions\u003c/code\u003e is a class that provides options to customize the behavior of sinks exporting data to BigQuery, and it implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBigQueryOptions\u003c/code\u003e class includes two constructors, one default constructor and another that accepts another \u003ccode\u003eBigQueryOptions\u003c/code\u003e object for cloning.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUsePartitionedTables\u003c/code\u003e 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.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUsesTimestampColumnPartitioning\u003c/code\u003e property indicates if new timestamp-based partitioning is used, with legacy sinks having this value set to false, and is only relevant when \u003ccode\u003eUsePartitionedTables\u003c/code\u003e is set to true.\u003c/p\u003e\n"]]],[],null,[]]