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

com.pulumi.googlenative.iap.v1beta1.kotlin.Iap_v1beta1Functions.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.

The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.googlenative.iap.v1beta1.kotlin

import com.pulumi.googlenative.iap.v1beta1.Iap_v1beta1Functions.getV1beta1IamPolicyPlain
import com.pulumi.googlenative.iap.v1beta1.kotlin.inputs.GetV1beta1IamPolicyPlainArgs
import com.pulumi.googlenative.iap.v1beta1.kotlin.inputs.GetV1beta1IamPolicyPlainArgsBuilder
import com.pulumi.googlenative.iap.v1beta1.kotlin.outputs.GetV1beta1IamPolicyResult
import com.pulumi.googlenative.iap.v1beta1.kotlin.outputs.GetV1beta1IamPolicyResult.Companion.toKotlin
import kotlinx.coroutines.future.await
import kotlin.String
import kotlin.Suppress
import kotlin.Unit

public object Iap_v1beta1Functions {
    /**
     * Gets the access control policy for an Identity-Aware Proxy protected resource. More information about managing access via IAP can be found at: https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
     * @param argument null
     * @return null
     */
    public suspend fun getV1beta1IamPolicy(argument: GetV1beta1IamPolicyPlainArgs): GetV1beta1IamPolicyResult = toKotlin(getV1beta1IamPolicyPlain(argument.toJava()).await())

    /**
     * @see [getV1beta1IamPolicy].
     * @param v1beta1Id
     * @return null
     */
    public suspend fun getV1beta1IamPolicy(v1beta1Id: String): GetV1beta1IamPolicyResult {
        val argument = GetV1beta1IamPolicyPlainArgs(
            v1beta1Id = v1beta1Id,
        )
        return toKotlin(getV1beta1IamPolicyPlain(argument.toJava()).await())
    }

    /**
     * @see [getV1beta1IamPolicy].
     * @param argument Builder for [com.pulumi.googlenative.iap.v1beta1.kotlin.inputs.GetV1beta1IamPolicyPlainArgs].
     * @return null
     */
    public suspend fun getV1beta1IamPolicy(argument: suspend GetV1beta1IamPolicyPlainArgsBuilder.() -> Unit): GetV1beta1IamPolicyResult {
        val builder = GetV1beta1IamPolicyPlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return toKotlin(getV1beta1IamPolicyPlain(builtArgument.toJava()).await())
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy