com.pulumi.googlenative.bigquerydatatransfer.v1.kotlin.Bigquerydatatransfer_v1Functions.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.bigquerydatatransfer.v1.kotlin
import com.pulumi.googlenative.bigquerydatatransfer.v1.Bigquerydatatransfer_v1Functions.getTransferConfigPlain
import com.pulumi.googlenative.bigquerydatatransfer.v1.kotlin.inputs.GetTransferConfigPlainArgs
import com.pulumi.googlenative.bigquerydatatransfer.v1.kotlin.inputs.GetTransferConfigPlainArgsBuilder
import com.pulumi.googlenative.bigquerydatatransfer.v1.kotlin.outputs.GetTransferConfigResult
import com.pulumi.googlenative.bigquerydatatransfer.v1.kotlin.outputs.GetTransferConfigResult.Companion.toKotlin
import kotlinx.coroutines.future.await
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
public object Bigquerydatatransfer_v1Functions {
/**
* Returns information about a data transfer config.
* @param argument null
* @return null
*/
public suspend fun getTransferConfig(argument: GetTransferConfigPlainArgs): GetTransferConfigResult = toKotlin(getTransferConfigPlain(argument.toJava()).await())
/**
* @see [getTransferConfig].
* @param location
* @param project
* @param transferConfigId
* @return null
*/
public suspend fun getTransferConfig(
location: String,
project: String? = null,
transferConfigId: String,
): GetTransferConfigResult {
val argument = GetTransferConfigPlainArgs(
location = location,
project = project,
transferConfigId = transferConfigId,
)
return toKotlin(getTransferConfigPlain(argument.toJava()).await())
}
/**
* @see [getTransferConfig].
* @param argument Builder for [com.pulumi.googlenative.bigquerydatatransfer.v1.kotlin.inputs.GetTransferConfigPlainArgs].
* @return null
*/
public suspend fun getTransferConfig(argument: suspend GetTransferConfigPlainArgsBuilder.() -> Unit): GetTransferConfigResult {
val builder = GetTransferConfigPlainArgsBuilder()
builder.argument()
val builtArgument = builder.build()
return toKotlin(getTransferConfigPlain(builtArgument.toJava()).await())
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy