
com.pulumi.gcp.iap.kotlin.outputs.SettingsAccessSettingsReauthSettings.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.iap.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property maxAge Reauth session lifetime, how long before a user has to reauthenticate again.
* A duration in seconds with up to nine fractional digits, ending with 's'.
* Example: "3.5s".
* @property method Reauth method requested. The possible values are:
* * `LOGIN`: Prompts the user to log in again.
* * `SECURE_KEY`: User must use their secure key 2nd factor device.
* * `ENROLLED_SECOND_FACTORS`: User can use any enabled 2nd factor.
* Possible values are: `LOGIN`, `SECURE_KEY`, `ENROLLED_SECOND_FACTORS`.
* @property policyType How IAP determines the effective policy in cases of hierarchical policies.
* Policies are merged from higher in the hierarchy to lower in the hierarchy.
* The possible values are:
* * `MINIMUM`: This policy acts as a minimum to other policies, lower in the hierarchy.
* Effective policy may only be the same or stricter.
* * `DEFAULT`: This policy acts as a default if no other reauth policy is set.
* Possible values are: `MINIMUM`, `DEFAULT`.
*/
public data class SettingsAccessSettingsReauthSettings(
public val maxAge: String,
public val method: String,
public val policyType: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.iap.outputs.SettingsAccessSettingsReauthSettings): SettingsAccessSettingsReauthSettings = SettingsAccessSettingsReauthSettings(
maxAge = javaType.maxAge(),
method = javaType.method(),
policyType = javaType.policyType(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy