com.pulumi.gcp.organizations.kotlin.outputs.GetOrganizationResult.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.String
import kotlin.Suppress
/**
* A collection of values returned by getOrganization.
* @property createTime Timestamp when the Organization was created. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".
* @property directoryCustomerId The Google for Work customer ID of the Organization.
* @property domain
* @property id The provider-assigned unique ID for this managed resource.
* @property lifecycleState The Organization's current lifecycle state.
* @property name The resource name of the Organization in the form `organizations/{organization_id}`.
* @property orgId The Organization ID.
* @property organization
*/
public data class GetOrganizationResult(
public val createTime: String,
public val directoryCustomerId: String,
public val domain: String,
public val id: String,
public val lifecycleState: String,
public val name: String,
public val orgId: String,
public val organization: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.organizations.outputs.GetOrganizationResult): GetOrganizationResult = GetOrganizationResult(
createTime = javaType.createTime(),
directoryCustomerId = javaType.directoryCustomerId(),
domain = javaType.domain(),
id = javaType.id(),
lifecycleState = javaType.lifecycleState(),
name = javaType.name(),
orgId = javaType.orgId(),
organization = javaType.organization().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy