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

com.pulumi.gcp.folder.kotlin.outputs.GetOrganizationPolicyResult.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.folder.kotlin.outputs

import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 * A collection of values returned by getOrganizationPolicy.
 * @property booleanPolicies
 * @property constraint
 * @property etag
 * @property folder
 * @property id The provider-assigned unique ID for this managed resource.
 * @property listPolicies
 * @property restorePolicies
 * @property updateTime
 * @property version
 */
public data class GetOrganizationPolicyResult(
    public val booleanPolicies: List,
    public val constraint: String,
    public val etag: String,
    public val folder: String,
    public val id: String,
    public val listPolicies: List,
    public val restorePolicies: List,
    public val updateTime: String,
    public val version: Int,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.folder.outputs.GetOrganizationPolicyResult): GetOrganizationPolicyResult = GetOrganizationPolicyResult(
            booleanPolicies = javaType.booleanPolicies().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.folder.kotlin.outputs.GetOrganizationPolicyBooleanPolicy.Companion.toKotlin(args0)
                })
            }),
            constraint = javaType.constraint(),
            etag = javaType.etag(),
            folder = javaType.folder(),
            id = javaType.id(),
            listPolicies = javaType.listPolicies().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.folder.kotlin.outputs.GetOrganizationPolicyListPolicy.Companion.toKotlin(args0)
                })
            }),
            restorePolicies = javaType.restorePolicies().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.folder.kotlin.outputs.GetOrganizationPolicyRestorePolicy.Companion.toKotlin(args0)
                })
            }),
            updateTime = javaType.updateTime(),
            version = javaType.version(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy