com.pulumi.googlenative.integrations.v1alpha.kotlin.inputs.GoogleCloudIntegrationsV1alphaServiceAccountCredentialsArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.integrations.v1alpha.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.googlenative.integrations.v1alpha.inputs.GoogleCloudIntegrationsV1alphaServiceAccountCredentialsArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Represents the service account which can be used to generate access token for authenticating the service call.
* @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 GoogleCloudIntegrationsV1alphaServiceAccountCredentialsArgs(
public val scope: Output? = null,
public val serviceAccount: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.googlenative.integrations.v1alpha.inputs.GoogleCloudIntegrationsV1alphaServiceAccountCredentialsArgs =
com.pulumi.googlenative.integrations.v1alpha.inputs.GoogleCloudIntegrationsV1alphaServiceAccountCredentialsArgs.builder()
.scope(scope?.applyValue({ args0 -> args0 }))
.serviceAccount(serviceAccount?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [GoogleCloudIntegrationsV1alphaServiceAccountCredentialsArgs].
*/
@PulumiTagMarker
public class GoogleCloudIntegrationsV1alphaServiceAccountCredentialsArgsBuilder internal constructor() {
private var scope: Output? = null
private var serviceAccount: Output? = null
/**
* @param value A space-delimited list of requested scope permissions.
*/
@JvmName("ueiuyqjmhysivslt")
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("foweygvvddaicyeb")
public suspend fun serviceAccount(`value`: Output) {
this.serviceAccount = value
}
/**
* @param value A space-delimited list of requested scope permissions.
*/
@JvmName("pjooejeyfkivlioq")
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("nmiinppylxavebjk")
public suspend fun serviceAccount(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.serviceAccount = mapped
}
internal fun build(): GoogleCloudIntegrationsV1alphaServiceAccountCredentialsArgs =
GoogleCloudIntegrationsV1alphaServiceAccountCredentialsArgs(
scope = scope,
serviceAccount = serviceAccount,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy