All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.projects.kotlin.outputs.GetProjectProject.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.projects.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map

/**
 *
 * @property createTime Creation time in RFC3339 UTC "Zulu" format.
 * @property labels A set of key/value label pairs assigned on a project.
 * @property lifecycleState The Project lifecycle state.
 * @property name The optional user-assigned display name of the project.
 * @property number The numeric identifier of the project.
 * @property parent An optional reference to a parent resource.
 * @property projectId The project id of the project.
 */
public data class GetProjectProject(
    public val createTime: String,
    public val labels: Map,
    public val lifecycleState: String,
    public val name: String,
    public val number: String,
    public val parent: Map,
    public val projectId: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.projects.outputs.GetProjectProject): GetProjectProject = GetProjectProject(
            createTime = javaType.createTime(),
            labels = javaType.labels().map({ args0 -> args0.key.to(args0.value) }).toMap(),
            lifecycleState = javaType.lifecycleState(),
            name = javaType.name(),
            number = javaType.number(),
            parent = javaType.parent().map({ args0 -> args0.key.to(args0.value) }).toMap(),
            projectId = javaType.projectId(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy