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

com.pulumi.gcp.cloudfunctionsv2.kotlin.outputs.GetFunctionIamPolicyResult.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.cloudfunctionsv2.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 * A collection of values returned by getFunctionIamPolicy.
 * @property cloudFunction
 * @property etag (Computed) The etag of the IAM policy.
 * @property id The provider-assigned unique ID for this managed resource.
 * @property location
 * @property policyData (Required only by `gcp.cloudfunctionsv2.FunctionIamPolicy`) The policy data generated by
 * a `gcp.organizations.getIAMPolicy` data source.
 * @property project
 */
public data class GetFunctionIamPolicyResult(
    public val cloudFunction: String,
    public val etag: String,
    public val id: String,
    public val location: String,
    public val policyData: String,
    public val project: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.cloudfunctionsv2.outputs.GetFunctionIamPolicyResult): GetFunctionIamPolicyResult = GetFunctionIamPolicyResult(
            cloudFunction = javaType.cloudFunction(),
            etag = javaType.etag(),
            id = javaType.id(),
            location = javaType.location(),
            policyData = javaType.policyData(),
            project = javaType.project(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy