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

com.pulumi.gcp.accesscontextmanager.kotlin.outputs.AccessLevelConditionDevicePolicyOsConstraint.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.accesscontextmanager.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property minimumVersion The minimum allowed OS version. If not set, any version
 * of this OS satisfies the constraint.
 * Format: "major.minor.patch" such as "10.5.301", "9.2.1".
 * @property osType The operating system type of the device.
 * Possible values are: `OS_UNSPECIFIED`, `DESKTOP_MAC`, `DESKTOP_WINDOWS`, `DESKTOP_LINUX`, `DESKTOP_CHROME_OS`, `ANDROID`, `IOS`.
 */
public data class AccessLevelConditionDevicePolicyOsConstraint(
    public val minimumVersion: String? = null,
    public val osType: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.accesscontextmanager.outputs.AccessLevelConditionDevicePolicyOsConstraint): AccessLevelConditionDevicePolicyOsConstraint = AccessLevelConditionDevicePolicyOsConstraint(
            minimumVersion = javaType.minimumVersion().map({ args0 -> args0 }).orElse(null),
            osType = javaType.osType(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy