BigQueryConfig class

Configuration for a BigQuery subscription.

Constructors

BigQueryConfig({Input<bool>? dropUnknownFields, Input<String>? table, Input<bool>? useTopicSchema, Input<bool>? writeMetadata})
Creates a new BigQueryConfig. dropUnknownFields Optional. When true and use_topic_schema is true, any fields that are a part of the topic schema that are not part of the BigQuery table schema are dropped when writing to BigQuery. Otherwise, the schemas must be kept in sync and any messages with extra fields are not written and remain in the subscription's backlog. table Optional. The name of the table to which to write data, of the form {projectId}.{datasetId}.{tableId} useTopicSchema Optional. When true, use the topic's schema as the columns to write to in BigQuery, if it exists. writeMetadata Optional. When true, write the subscription name, message_id, publish_time, attributes, and ordering_key to additional columns in the table. The subscription name, message_id, and publish_time fields are put in their own columns while all other message properties (other than data) are written to a JSON object in the attributes column.
const
BigQueryConfig.fromMap(Map<String, dynamic> map)
factory

Properties

dropUnknownFields → Input<bool>?
Optional. When true and use_topic_schema is true, any fields that are a part of the topic schema that are not part of the BigQuery table schema are dropped when writing to BigQuery. Otherwise, the schemas must be kept in sync and any messages with extra fields are not written and remain in the subscription's backlog.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
table → Input<String>?
Optional. The name of the table to which to write data, of the form {projectId}.{datasetId}.{tableId}
final
useTopicSchema → Input<bool>?
Optional. When true, use the topic's schema as the columns to write to in BigQuery, if it exists.
final
writeMetadata → Input<bool>?
Optional. When true, write the subscription name, message_id, publish_time, attributes, and ordering_key to additional columns in the table. The subscription name, message_id, and publish_time fields are put in their own columns while all other message properties (other than data) are written to a JSON object in the attributes column.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited