Class SubscriptionBigqueryConfigArgs.Builder

    • 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