All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.pubsub.kotlin.outputs.SubscriptionCloudStorageConfigAvroConfig.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.13.1.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.pubsub.kotlin.outputs

import kotlin.Boolean
import kotlin.Suppress

/**
 *
 * @property useTopicSchema When true, the output Cloud Storage file will be serialized using the topic schema, if it exists.
 * @property writeMetadata When true, write the subscription name, messageId, publishTime, attributes, and orderingKey as additional fields in the output.
 */
public data class SubscriptionCloudStorageConfigAvroConfig(
    public val useTopicSchema: Boolean? = null,
    public val writeMetadata: Boolean? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.pubsub.outputs.SubscriptionCloudStorageConfigAvroConfig): SubscriptionCloudStorageConfigAvroConfig = SubscriptionCloudStorageConfigAvroConfig(
            useTopicSchema = javaType.useTopicSchema().map({ args0 -> args0 }).orElse(null),
            writeMetadata = javaType.writeMetadata().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy