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

com.pulumi.googlenative.gameservices.v1.kotlin.enums.RuleAction.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.

The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.googlenative.gameservices.v1.kotlin.enums

import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress

/**
 * Required
 */
public enum class RuleAction(
    public val javaValue: com.pulumi.googlenative.gameservices.v1.enums.RuleAction,
) : ConvertibleToJava {
    /**
     * Default no action.
     */
    NoAction(com.pulumi.googlenative.gameservices.v1.enums.RuleAction.NoAction),

    /**
     * Matching 'Entries' grant access.
     */
    Allow(com.pulumi.googlenative.gameservices.v1.enums.RuleAction.Allow),

    /**
     * Matching 'Entries' grant access and the caller promises to log the request per the returned log_configs.
     */
    AllowWithLog(com.pulumi.googlenative.gameservices.v1.enums.RuleAction.AllowWithLog),

    /**
     * Matching 'Entries' deny access.
     */
    Deny(com.pulumi.googlenative.gameservices.v1.enums.RuleAction.Deny),

    /**
     * Matching 'Entries' deny access and the caller promises to log the request per the returned log_configs.
     */
    DenyWithLog(com.pulumi.googlenative.gameservices.v1.enums.RuleAction.DenyWithLog),

    /**
     * Matching 'Entries' tell IAM.Check callers to generate logs.
     */
    Log(com.pulumi.googlenative.gameservices.v1.enums.RuleAction.Log),
    ;

    override fun toJava(): com.pulumi.googlenative.gameservices.v1.enums.RuleAction = javaValue

    public companion object {
        public fun toKotlin(javaType: com.pulumi.googlenative.gameservices.v1.enums.RuleAction): RuleAction = RuleAction.values().first { it.javaValue == javaType }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy