Google Cloud Logging v2 API - Class BigQueryOptions (4.1.0)

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.

Inheritance

object > BigQueryOptions

Namespace

Google.Cloud.Logging.V2

Assembly

Google.Cloud.Logging.V2.dll

Constructors

BigQueryOptions()

public BigQueryOptions()

BigQueryOptions(BigQueryOptions)

public BigQueryOptions(BigQueryOptions other)
Parameter
NameDescription
otherBigQueryOptions

Properties

UsePartitionedTables

public bool UsePartitionedTables { get; set; }

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.

Property Value
TypeDescription
bool

UsesTimestampColumnPartitioning

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.

Property Value
TypeDescription
bool