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

com.pulumi.gcp.accesscontextmanager.kotlin.outputs.AccessLevelBasicConditionDevicePolicyOsConstraint.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.Boolean
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`.
 * @property requireVerifiedChromeOs If you specify DESKTOP_CHROME_OS for osType, you can optionally include requireVerifiedChromeOs to require Chrome Verified Access.
 */
public data class AccessLevelBasicConditionDevicePolicyOsConstraint(
    public val minimumVersion: String? = null,
    public val osType: String,
    public val requireVerifiedChromeOs: Boolean? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.accesscontextmanager.outputs.AccessLevelBasicConditionDevicePolicyOsConstraint): AccessLevelBasicConditionDevicePolicyOsConstraint =
            AccessLevelBasicConditionDevicePolicyOsConstraint(
                minimumVersion = javaType.minimumVersion().map({ args0 -> args0 }).orElse(null),
                osType = javaType.osType(),
                requireVerifiedChromeOs = javaType.requireVerifiedChromeOs().map({ args0 -> args0 }).orElse(null),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy