![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.gcp.organizations.kotlin.outputs.GetProjectResult.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.organizations.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
/**
* A collection of values returned by getProject.
* @property autoCreateNetwork
* @property billingAccount
* @property deletionPolicy
* @property effectiveLabels
* @property folderId
* @property id The provider-assigned unique ID for this managed resource.
* @property labels
* @property name
* @property number The numeric identifier of the project.
* @property orgId
* @property projectId
* @property pulumiLabels
* @property skipDelete
*/
public data class GetProjectResult(
public val autoCreateNetwork: Boolean? = null,
public val billingAccount: String,
public val deletionPolicy: String,
public val effectiveLabels: Map,
public val folderId: String,
public val id: String,
public val labels: Map,
public val name: String,
public val number: String,
public val orgId: String,
public val projectId: String? = null,
public val pulumiLabels: Map,
public val skipDelete: Boolean? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.organizations.outputs.GetProjectResult): GetProjectResult = GetProjectResult(
autoCreateNetwork = javaType.autoCreateNetwork(),
billingAccount = javaType.billingAccount(),
deletionPolicy = javaType.deletionPolicy(),
effectiveLabels = javaType.effectiveLabels().map({ args0 -> args0.key.to(args0.value) }).toMap(),
folderId = javaType.folderId(),
id = javaType.id(),
labels = javaType.labels().map({ args0 -> args0.key.to(args0.value) }).toMap(),
name = javaType.name(),
number = javaType.number(),
orgId = javaType.orgId(),
projectId = javaType.projectId().map({ args0 -> args0 }).orElse(null),
pulumiLabels = javaType.pulumiLabels().map({ args0 -> args0.key.to(args0.value) }).toMap(),
skipDelete = javaType.skipDelete(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy