com.pulumi.gcp.dataloss.kotlin.outputs.PreventionDiscoveryConfigOrgConfig.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.dataloss.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property location The data to scan folder org or project
* Structure is documented below.
* @property projectId The project that will run the scan. The DLP service account that exists within this project must have access to all resources that are profiled, and the cloud DLP API must be enabled.
*/
public data class PreventionDiscoveryConfigOrgConfig(
public val location: PreventionDiscoveryConfigOrgConfigLocation? = null,
public val projectId: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.dataloss.outputs.PreventionDiscoveryConfigOrgConfig): PreventionDiscoveryConfigOrgConfig = PreventionDiscoveryConfigOrgConfig(
location = javaType.location().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.dataloss.kotlin.outputs.PreventionDiscoveryConfigOrgConfigLocation.Companion.toKotlin(args0)
})
}).orElse(null),
projectId = javaType.projectId().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy