com.pulumi.gcp.organizations.kotlin.outputs.GetBillingAccountResult.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.List
/**
* A collection of values returned by getBillingAccount.
* @property billingAccount
* @property displayName
* @property id The provider-assigned unique ID for this managed resource.
* @property lookupProjects
* @property name The resource name of the billing account in the form `billingAccounts/{billing_account_id}`.
* @property open
* @property projectIds The IDs of any projects associated with the billing account. `lookup_projects` must not be false
* for this to be populated.
*/
public data class GetBillingAccountResult(
public val billingAccount: String? = null,
public val displayName: String,
public val id: String,
public val lookupProjects: Boolean? = null,
public val name: String,
public val `open`: Boolean,
public val projectIds: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.organizations.outputs.GetBillingAccountResult): GetBillingAccountResult = GetBillingAccountResult(
billingAccount = javaType.billingAccount().map({ args0 -> args0 }).orElse(null),
displayName = javaType.displayName(),
id = javaType.id(),
lookupProjects = javaType.lookupProjects().map({ args0 -> args0 }).orElse(null),
name = javaType.name(),
`open` = javaType.`open`(),
projectIds = javaType.projectIds().map({ args0 -> args0 }),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy