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

com.pulumi.gcp.iam.kotlin.outputs.GetTestablePermissionsResult.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.12.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.iam.kotlin.outputs

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

/**
 * A collection of values returned by getTestablePermissions.
 * @property customSupportLevel The the support level of this permission for custom roles.
 * @property fullResourceName
 * @property id The provider-assigned unique ID for this managed resource.
 * @property permissions A list of permissions matching the provided input. Structure is defined below.
 * @property stages
 */
public data class GetTestablePermissionsResult(
    public val customSupportLevel: String? = null,
    public val fullResourceName: String,
    public val id: String,
    public val permissions: List,
    public val stages: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.iam.outputs.GetTestablePermissionsResult): GetTestablePermissionsResult = GetTestablePermissionsResult(
            customSupportLevel = javaType.customSupportLevel().map({ args0 -> args0 }).orElse(null),
            fullResourceName = javaType.fullResourceName(),
            id = javaType.id(),
            permissions = javaType.permissions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.iam.kotlin.outputs.GetTestablePermissionsPermission.Companion.toKotlin(args0)
                })
            }),
            stages = javaType.stages().map({ args0 -> args0 }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy