
com.pulumi.gcp.dataplex.kotlin.outputs.ZoneDiscoverySpecJsonOptions.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.dataplex.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
/**
*
* @property disableTypeInference Optional. Whether to disable the inference of data type for Json data. If true, all columns will be registered as their primitive types (strings, number or boolean).
* @property encoding Optional. The character encoding of the data. The default is UTF-8.
*/
public data class ZoneDiscoverySpecJsonOptions(
public val disableTypeInference: Boolean? = null,
public val encoding: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.dataplex.outputs.ZoneDiscoverySpecJsonOptions): ZoneDiscoverySpecJsonOptions = ZoneDiscoverySpecJsonOptions(
disableTypeInference = javaType.disableTypeInference().map({ args0 -> args0 }).orElse(null),
encoding = javaType.encoding().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy