com.pulumi.gcp.storage.kotlin.outputs.TransferJobTransferSpecGcsDataSource.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.storage.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property bucketName Google Cloud Storage bucket name.
* @property path Root path to transfer objects. Must be an empty string or full path name that ends with a '/'. This field is treated as an object prefix. As such, it should generally not begin with a '/'.
*/
public data class TransferJobTransferSpecGcsDataSource(
public val bucketName: String,
public val path: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.storage.outputs.TransferJobTransferSpecGcsDataSource): TransferJobTransferSpecGcsDataSource = TransferJobTransferSpecGcsDataSource(
bucketName = javaType.bucketName(),
path = javaType.path().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy