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

com.pulumi.gcp.applicationintegration.kotlin.inputs.AuthConfigDecryptedCredentialServiceAccountCredentialsArgs.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.applicationintegration.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.applicationintegration.inputs.AuthConfigDecryptedCredentialServiceAccountCredentialsArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property scope A space-delimited list of requested scope permissions.
 * @property serviceAccount Name of the service account that has the permission to make the request.
 */
public data class AuthConfigDecryptedCredentialServiceAccountCredentialsArgs(
    public val scope: Output? = null,
    public val serviceAccount: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.applicationintegration.inputs.AuthConfigDecryptedCredentialServiceAccountCredentialsArgs =
        com.pulumi.gcp.applicationintegration.inputs.AuthConfigDecryptedCredentialServiceAccountCredentialsArgs.builder()
            .scope(scope?.applyValue({ args0 -> args0 }))
            .serviceAccount(serviceAccount?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [AuthConfigDecryptedCredentialServiceAccountCredentialsArgs].
 */
@PulumiTagMarker
public class AuthConfigDecryptedCredentialServiceAccountCredentialsArgsBuilder internal constructor() {
    private var scope: Output? = null

    private var serviceAccount: Output? = null

    /**
     * @param value A space-delimited list of requested scope permissions.
     */
    @JvmName("irxtbbcrixtpnbmg")
    public suspend fun scope(`value`: Output) {
        this.scope = value
    }

    /**
     * @param value Name of the service account that has the permission to make the request.
     */
    @JvmName("ahfgemiehsngdkvk")
    public suspend fun serviceAccount(`value`: Output) {
        this.serviceAccount = value
    }

    /**
     * @param value A space-delimited list of requested scope permissions.
     */
    @JvmName("vvqbsrondeifbxev")
    public suspend fun scope(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.scope = mapped
    }

    /**
     * @param value Name of the service account that has the permission to make the request.
     */
    @JvmName("lwalxytdyrlfyidc")
    public suspend fun serviceAccount(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.serviceAccount = mapped
    }

    internal fun build(): AuthConfigDecryptedCredentialServiceAccountCredentialsArgs =
        AuthConfigDecryptedCredentialServiceAccountCredentialsArgs(
            scope = scope,
            serviceAccount = serviceAccount,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy