com.pulumi.gcp.iam.kotlin.outputs.GetRuleResult.kt Maven / Gradle / Ivy
@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 getRule.
* @property id The provider-assigned unique ID for this managed resource.
* @property includedPermissions specifies the list of one or more permissions to include in the custom role, such as - `iam.roles.get`
* @property name
* @property stage indicates the stage of a role in the launch lifecycle, such as `GA`, `BETA` or `ALPHA`.
* @property title is a friendly title for the role, such as "Role Viewer"
*/
public data class GetRuleResult(
public val id: String,
public val includedPermissions: List,
public val name: String,
public val stage: String,
public val title: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.iam.outputs.GetRuleResult): GetRuleResult =
GetRuleResult(
id = javaType.id(),
includedPermissions = javaType.includedPermissions().map({ args0 -> args0 }),
name = javaType.name(),
stage = javaType.stage(),
title = javaType.title(),
)
}
}