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

com.pulumi.googlenative.cloudiot.v1.kotlin.enums.GatewayConfigGatewayAuthMethod.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

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

/**
 * Indicates how to authorize and/or authenticate devices to access the gateway.
 */
public enum class GatewayConfigGatewayAuthMethod(
    public val javaValue: com.pulumi.googlenative.cloudiot.v1.enums.GatewayConfigGatewayAuthMethod,
) : ConvertibleToJava {
    /**
     * No authentication/authorization method specified. No devices are allowed to access the gateway.
     */
    GatewayAuthMethodUnspecified(com.pulumi.googlenative.cloudiot.v1.enums.GatewayConfigGatewayAuthMethod.GatewayAuthMethodUnspecified),

    /**
     * The device is authenticated through the gateway association only. Device credentials are ignored even if provided.
     */
    AssociationOnly(com.pulumi.googlenative.cloudiot.v1.enums.GatewayConfigGatewayAuthMethod.AssociationOnly),

    /**
     * The device is authenticated through its own credentials. Gateway association is not checked.
     */
    DeviceAuthTokenOnly(com.pulumi.googlenative.cloudiot.v1.enums.GatewayConfigGatewayAuthMethod.DeviceAuthTokenOnly),

    /**
     * The device is authenticated through both device credentials and gateway association. The device must be bound to the gateway and must provide its own credentials.
     */
    AssociationAndDeviceAuthToken(com.pulumi.googlenative.cloudiot.v1.enums.GatewayConfigGatewayAuthMethod.AssociationAndDeviceAuthToken),
    ;

    override fun toJava(): com.pulumi.googlenative.cloudiot.v1.enums.GatewayConfigGatewayAuthMethod =
        javaValue

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy