com.pulumi.gcp.projects.kotlin.inputs.AccessApprovalSettingsEnrolledServiceArgs.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.projects.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.projects.inputs.AccessApprovalSettingsEnrolledServiceArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property cloudProduct The product for which Access Approval will be enrolled. Allowed values are listed (case-sensitive):
* all
* appengine.googleapis.com
* bigquery.googleapis.com
* bigtable.googleapis.com
* cloudkms.googleapis.com
* compute.googleapis.com
* dataflow.googleapis.com
* iam.googleapis.com
* pubsub.googleapis.com
* storage.googleapis.com
* @property enrollmentLevel The enrollment level of the service.
* Default value is `BLOCK_ALL`.
* Possible values are: `BLOCK_ALL`.
* - - -
*/
public data class AccessApprovalSettingsEnrolledServiceArgs(
public val cloudProduct: Output,
public val enrollmentLevel: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.projects.inputs.AccessApprovalSettingsEnrolledServiceArgs =
com.pulumi.gcp.projects.inputs.AccessApprovalSettingsEnrolledServiceArgs.builder()
.cloudProduct(cloudProduct.applyValue({ args0 -> args0 }))
.enrollmentLevel(enrollmentLevel?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AccessApprovalSettingsEnrolledServiceArgs].
*/
@PulumiTagMarker
public class AccessApprovalSettingsEnrolledServiceArgsBuilder internal constructor() {
private var cloudProduct: Output? = null
private var enrollmentLevel: Output? = null
/**
* @param value The product for which Access Approval will be enrolled. Allowed values are listed (case-sensitive):
* all
* appengine.googleapis.com
* bigquery.googleapis.com
* bigtable.googleapis.com
* cloudkms.googleapis.com
* compute.googleapis.com
* dataflow.googleapis.com
* iam.googleapis.com
* pubsub.googleapis.com
* storage.googleapis.com
*/
@JvmName("mhkixphucxishwxb")
public suspend fun cloudProduct(`value`: Output) {
this.cloudProduct = value
}
/**
* @param value The enrollment level of the service.
* Default value is `BLOCK_ALL`.
* Possible values are: `BLOCK_ALL`.
* - - -
*/
@JvmName("ngjbfkrbmcfcibje")
public suspend fun enrollmentLevel(`value`: Output) {
this.enrollmentLevel = value
}
/**
* @param value The product for which Access Approval will be enrolled. Allowed values are listed (case-sensitive):
* all
* appengine.googleapis.com
* bigquery.googleapis.com
* bigtable.googleapis.com
* cloudkms.googleapis.com
* compute.googleapis.com
* dataflow.googleapis.com
* iam.googleapis.com
* pubsub.googleapis.com
* storage.googleapis.com
*/
@JvmName("rjdlnndgsxcqvskm")
public suspend fun cloudProduct(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.cloudProduct = mapped
}
/**
* @param value The enrollment level of the service.
* Default value is `BLOCK_ALL`.
* Possible values are: `BLOCK_ALL`.
* - - -
*/
@JvmName("kmjnnnmyacbhusym")
public suspend fun enrollmentLevel(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.enrollmentLevel = mapped
}
internal fun build(): AccessApprovalSettingsEnrolledServiceArgs =
AccessApprovalSettingsEnrolledServiceArgs(
cloudProduct = cloudProduct ?: throw PulumiNullFieldException("cloudProduct"),
enrollmentLevel = enrollmentLevel,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy