Package com.pulumi.gcp.pubsub.outputs
Class SubscriptionBigqueryConfig
- java.lang.Object
-
- com.pulumi.gcp.pubsub.outputs.SubscriptionBigqueryConfig
-
public final class SubscriptionBigqueryConfig extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SubscriptionBigqueryConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SubscriptionBigqueryConfig.Builder
builder()
static SubscriptionBigqueryConfig.Builder
builder(SubscriptionBigqueryConfig defaults)
java.util.Optional<java.lang.Boolean>
dropUnknownFields()
java.lang.String
table()
java.util.Optional<java.lang.Boolean>
useTopicSchema()
java.util.Optional<java.lang.Boolean>
writeMetadata()
-
-
-
Method Detail
-
dropUnknownFields
public java.util.Optional<java.lang.Boolean> dropUnknownFields()
- Returns:
- When true and useTopicSchema 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
public java.lang.String table()
- Returns:
- The name of the table to which to write data, of the form {projectId}:{datasetId}.{tableId}
-
useTopicSchema
public java.util.Optional<java.lang.Boolean> useTopicSchema()
- Returns:
- When true, use the topic's schema as the columns to write to in BigQuery, if it exists.
-
writeMetadata
public java.util.Optional<java.lang.Boolean> writeMetadata()
- Returns:
- When true, write the subscription name, messageId, publishTime, attributes, and orderingKey to additional columns in the table. The subscription name, messageId, and publishTime 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.
-
builder
public static SubscriptionBigqueryConfig.Builder builder()
-
builder
public static SubscriptionBigqueryConfig.Builder builder(SubscriptionBigqueryConfig defaults)
-
-