com.pulumi.gcp.storage.kotlin.inputs.GetProjectServiceAccountPlainArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.storage.kotlin.inputs
import com.pulumi.gcp.storage.inputs.GetProjectServiceAccountPlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* A collection of arguments for invoking getProjectServiceAccount.
* @property project The project the unique service account was created for. If it is not provided, the provider project is used.
* @property userProject The project the lookup originates from. This field is used if you are making the request
* from a different account than the one you are finding the service account for.
*/
public data class GetProjectServiceAccountPlainArgs(
public val project: String? = null,
public val userProject: String? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.storage.inputs.GetProjectServiceAccountPlainArgs =
com.pulumi.gcp.storage.inputs.GetProjectServiceAccountPlainArgs.builder()
.project(project?.let({ args0 -> args0 }))
.userProject(userProject?.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetProjectServiceAccountPlainArgs].
*/
@PulumiTagMarker
public class GetProjectServiceAccountPlainArgsBuilder internal constructor() {
private var project: String? = null
private var userProject: String? = null
/**
* @param value The project the unique service account was created for. If it is not provided, the provider project is used.
*/
@JvmName("qtplvplkejmghcbt")
public suspend fun project(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.project = mapped
}
/**
* @param value The project the lookup originates from. This field is used if you are making the request
* from a different account than the one you are finding the service account for.
*/
@JvmName("hmvmeckyoixmhhnh")
public suspend fun userProject(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.userProject = mapped
}
internal fun build(): GetProjectServiceAccountPlainArgs = GetProjectServiceAccountPlainArgs(
project = project,
userProject = userProject,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy