SubscriptionBigqueryConfig constructor
const
SubscriptionBigqueryConfig({})
Creates a new SubscriptionBigqueryConfig.
dropUnknownFields When true and useTopicSchema or useTableSchema is true, any fields that are a part of the topic schema or message schema that
serviceAccountEmail The service account to use to write to BigQuery. If not specified, the Pub/Sub
table The name of the table to which to write data, of the form {projectId}.{datasetId}.{tableId}
useTableSchema When true, use the BigQuery table's schema as the columns to write to in BigQuery. Messages
useTopicSchema When true, use the topic's schema as the columns to write to in BigQuery, if it exists.
writeMetadata When true, write the subscription name, messageId, publishTime, attributes, and orderingKey to additional columns in the table.
Implementation
const SubscriptionBigqueryConfig({
this.dropUnknownFields,
this.serviceAccountEmail,
required this.table,
this.useTableSchema,
this.useTopicSchema,
this.writeMetadata,
});