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

com.pulumi.gcp.vertex.kotlin.inputs.AiIndexEndpointDeployedIndexDeployedIndexAuthConfigAuthProviderArgs.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.13.1.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.vertex.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.vertex.inputs.AiIndexEndpointDeployedIndexDeployedIndexAuthConfigAuthProviderArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property allowedIssuers A list of allowed JWT issuers. Each entry must be a valid Google service account, in the following format: [email protected]
 * @property audiences The list of JWT audiences. that are allowed to access. A JWT containing any of these audiences will be accepted.
 */
public data class AiIndexEndpointDeployedIndexDeployedIndexAuthConfigAuthProviderArgs(
    public val allowedIssuers: Output>? = null,
    public val audiences: Output>? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.vertex.inputs.AiIndexEndpointDeployedIndexDeployedIndexAuthConfigAuthProviderArgs =
        com.pulumi.gcp.vertex.inputs.AiIndexEndpointDeployedIndexDeployedIndexAuthConfigAuthProviderArgs.builder()
            .allowedIssuers(allowedIssuers?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .audiences(audiences?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

/**
 * Builder for [AiIndexEndpointDeployedIndexDeployedIndexAuthConfigAuthProviderArgs].
 */
@PulumiTagMarker
public class AiIndexEndpointDeployedIndexDeployedIndexAuthConfigAuthProviderArgsBuilder internal constructor() {
    private var allowedIssuers: Output>? = null

    private var audiences: Output>? = null

    /**
     * @param value A list of allowed JWT issuers. Each entry must be a valid Google service account, in the following format: [email protected]
     */
    @JvmName("fjxtwbwevdqgfnus")
    public suspend fun allowedIssuers(`value`: Output>) {
        this.allowedIssuers = value
    }

    @JvmName("xtkyqhgioodaxiqk")
    public suspend fun allowedIssuers(vararg values: Output) {
        this.allowedIssuers = Output.all(values.asList())
    }

    /**
     * @param values A list of allowed JWT issuers. Each entry must be a valid Google service account, in the following format: [email protected]
     */
    @JvmName("pmbcemnifkprejpb")
    public suspend fun allowedIssuers(values: List>) {
        this.allowedIssuers = Output.all(values)
    }

    /**
     * @param value The list of JWT audiences. that are allowed to access. A JWT containing any of these audiences will be accepted.
     */
    @JvmName("qiigwaapnwubfwjg")
    public suspend fun audiences(`value`: Output>) {
        this.audiences = value
    }

    @JvmName("jaahedabpkoxlabj")
    public suspend fun audiences(vararg values: Output) {
        this.audiences = Output.all(values.asList())
    }

    /**
     * @param values The list of JWT audiences. that are allowed to access. A JWT containing any of these audiences will be accepted.
     */
    @JvmName("ofctsnnwesdhfods")
    public suspend fun audiences(values: List>) {
        this.audiences = Output.all(values)
    }

    /**
     * @param value A list of allowed JWT issuers. Each entry must be a valid Google service account, in the following format: [email protected]
     */
    @JvmName("badliljchgltqfvn")
    public suspend fun allowedIssuers(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.allowedIssuers = mapped
    }

    /**
     * @param values A list of allowed JWT issuers. Each entry must be a valid Google service account, in the following format: [email protected]
     */
    @JvmName("oeivwheaxhvwvcqk")
    public suspend fun allowedIssuers(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.allowedIssuers = mapped
    }

    /**
     * @param value The list of JWT audiences. that are allowed to access. A JWT containing any of these audiences will be accepted.
     */
    @JvmName("iepwhiqjnchohrti")
    public suspend fun audiences(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.audiences = mapped
    }

    /**
     * @param values The list of JWT audiences. that are allowed to access. A JWT containing any of these audiences will be accepted.
     */
    @JvmName("lexrrpnxtlkybbke")
    public suspend fun audiences(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.audiences = mapped
    }

    internal fun build(): AiIndexEndpointDeployedIndexDeployedIndexAuthConfigAuthProviderArgs =
        AiIndexEndpointDeployedIndexDeployedIndexAuthConfigAuthProviderArgs(
            allowedIssuers = allowedIssuers,
            audiences = audiences,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy