com.pulumi.gcp.pubsub.kotlin.outputs.TopicSchemaSettings.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.pubsub.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property encoding The encoding of messages validated against schema.
* Default value is `ENCODING_UNSPECIFIED`.
* Possible values are: `ENCODING_UNSPECIFIED`, `JSON`, `BINARY`.
* @property schema The name of the schema that messages published should be
* validated against. Format is projects/{project}/schemas/{schema}.
* The value of this field will be _deleted-schema_
* if the schema has been deleted.
*/
public data class TopicSchemaSettings(
public val encoding: String? = null,
public val schema: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.pubsub.outputs.TopicSchemaSettings): TopicSchemaSettings = TopicSchemaSettings(
encoding = javaType.encoding().map({ args0 -> args0 }).orElse(null),
schema = javaType.schema(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy