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

com.pulumi.gcp.bigquery.kotlin.outputs.AppProfileSingleClusterRouting.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.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.bigquery.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property allowTransactionalWrites If true, CheckAndMutateRow and ReadModifyWriteRow requests are allowed by this app profile.
 * It is unsafe to send these requests to the same table/row/column in multiple clusters.
 * @property clusterId The cluster to which read/write requests should be routed.
 */
public data class AppProfileSingleClusterRouting(
    public val allowTransactionalWrites: Boolean? = null,
    public val clusterId: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.bigquery.outputs.AppProfileSingleClusterRouting): AppProfileSingleClusterRouting = AppProfileSingleClusterRouting(
            allowTransactionalWrites = javaType.allowTransactionalWrites().map({ args0 -> args0 }).orElse(null),
            clusterId = javaType.clusterId(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy