Package com.pulumi.gcp.pubsub.inputs
Class SubscriptionBigqueryConfigArgs.Builder
- java.lang.Object
-
- com.pulumi.gcp.pubsub.inputs.SubscriptionBigqueryConfigArgs.Builder
-
- Enclosing class:
- SubscriptionBigqueryConfigArgs
public static final class SubscriptionBigqueryConfigArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(SubscriptionBigqueryConfigArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SubscriptionBigqueryConfigArgs
build()
SubscriptionBigqueryConfigArgs.Builder
dropUnknownFields(com.pulumi.core.Output<java.lang.Boolean> dropUnknownFields)
SubscriptionBigqueryConfigArgs.Builder
dropUnknownFields(java.lang.Boolean dropUnknownFields)
SubscriptionBigqueryConfigArgs.Builder
table(com.pulumi.core.Output<java.lang.String> table)
SubscriptionBigqueryConfigArgs.Builder
table(java.lang.String table)
SubscriptionBigqueryConfigArgs.Builder
useTopicSchema(com.pulumi.core.Output<java.lang.Boolean> useTopicSchema)
SubscriptionBigqueryConfigArgs.Builder
useTopicSchema(java.lang.Boolean useTopicSchema)
SubscriptionBigqueryConfigArgs.Builder
writeMetadata(com.pulumi.core.Output<java.lang.Boolean> writeMetadata)
SubscriptionBigqueryConfigArgs.Builder
writeMetadata(java.lang.Boolean writeMetadata)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(SubscriptionBigqueryConfigArgs defaults)
-
-
Method Detail
-
dropUnknownFields
public SubscriptionBigqueryConfigArgs.Builder dropUnknownFields(@Nullable com.pulumi.core.Output<java.lang.Boolean> dropUnknownFields)
- Parameters:
dropUnknownFields
- 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.- Returns:
- builder
-
dropUnknownFields
public SubscriptionBigqueryConfigArgs.Builder dropUnknownFields(java.lang.Boolean dropUnknownFields)
- Parameters:
dropUnknownFields
- 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.- Returns:
- builder
-
table
public SubscriptionBigqueryConfigArgs.Builder table(com.pulumi.core.Output<java.lang.String> table)
- Parameters:
table
- The name of the table to which to write data, of the form {projectId}:{datasetId}.{tableId}- Returns:
- builder
-
table
public SubscriptionBigqueryConfigArgs.Builder table(java.lang.String table)
- Parameters:
table
- The name of the table to which to write data, of the form {projectId}:{datasetId}.{tableId}- Returns:
- builder
-
useTopicSchema
public SubscriptionBigqueryConfigArgs.Builder useTopicSchema(@Nullable com.pulumi.core.Output<java.lang.Boolean> useTopicSchema)
- Parameters:
useTopicSchema
- When true, use the topic's schema as the columns to write to in BigQuery, if it exists.- Returns:
- builder
-
useTopicSchema
public SubscriptionBigqueryConfigArgs.Builder useTopicSchema(java.lang.Boolean useTopicSchema)
- Parameters:
useTopicSchema
- When true, use the topic's schema as the columns to write to in BigQuery, if it exists.- Returns:
- builder
-
writeMetadata
public SubscriptionBigqueryConfigArgs.Builder writeMetadata(@Nullable com.pulumi.core.Output<java.lang.Boolean> writeMetadata)
- Parameters:
writeMetadata
- 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.- Returns:
- builder
-
writeMetadata
public SubscriptionBigqueryConfigArgs.Builder writeMetadata(java.lang.Boolean writeMetadata)
- Parameters:
writeMetadata
- 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.- Returns:
- builder
-
build
public SubscriptionBigqueryConfigArgs build()
-
-