Class: Google::Cloud::Logging::V2::BigQueryOptions

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/logging/v2/logging_config.rb

Overview

Options that change functionality of a sink exporting data to BigQuery.

Instance Attribute Summary collapse

Instance Attribute Details

#use_partitioned_tables::Boolean

Returns 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.

Returns:

  • (::Boolean)

    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.



354
355
356
357
# File 'proto_docs/google/logging/v2/logging_config.rb', line 354

class BigQueryOptions
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#uses_timestamp_column_partitioning::Boolean (readonly)

Returns 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.

Returns:

  • (::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.



354
355
356
357
# File 'proto_docs/google/logging/v2/logging_config.rb', line 354

class BigQueryOptions
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end