com.pulumi.gcp.bigquery.kotlin.outputs.IamBindingCondition.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.bigquery.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property description An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
* > **Warning:** This provider considers the `role` and condition contents (`title`+`description`+`expression`) as the
* identifier for the binding. This means that if any part of the condition is changed out-of-band, this provider will
* consider it to be an entirely different resource and will treat it as such.
* @property expression Textual representation of an expression in Common Expression Language syntax.
* @property title A title for the expression, i.e. a short string describing its purpose.
*/
public data class IamBindingCondition(
public val description: String? = null,
public val expression: String,
public val title: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.bigquery.outputs.IamBindingCondition): IamBindingCondition = IamBindingCondition(
description = javaType.description().map({ args0 -> args0 }).orElse(null),
expression = javaType.expression(),
title = javaType.title(),
)
}
}