class Google::Apis::LoggingV2::BigQueryOptions
Options that change functionality of a sink exporting data to BigQuery.
Attributes
Optional. Whether to use BigQuery's partition tables (cloud.google.com/ bigquery/docs/partitioned-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 (cloud.google.com/bigquery/docs/querying-partitioned-tables) has to be used instead. In both cases, tables are sharded based on UTC timezone. Corresponds to the JSON property `usePartitionedTables` @return [Boolean]
Optional. Whether to use BigQuery's partition tables (cloud.google.com/ bigquery/docs/partitioned-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 (cloud.google.com/bigquery/docs/querying-partitioned-tables) has to be used instead. In both cases, tables are sharded based on UTC timezone. Corresponds to the JSON property `usePartitionedTables` @return [Boolean]
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. Corresponds to the JSON property `usesTimestampColumnPartitioning` @return [Boolean]
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. Corresponds to the JSON property `usesTimestampColumnPartitioning` @return [Boolean]
Public Class Methods
# File lib/google/apis/logging_v2/classes.rb, line 51 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/logging_v2/classes.rb, line 56 def update!(**args) @use_partitioned_tables = args[:use_partitioned_tables] if args.key?(:use_partitioned_tables) @uses_timestamp_column_partitioning = args[:uses_timestamp_column_partitioning] if args.key?(:uses_timestamp_column_partitioning) end