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

com.pulumi.gcp.accesscontextmanager.kotlin.outputs.ServicePerimeterStatusIngressPolicyIngressFromSource.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.

There is a newer version: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.accesscontextmanager.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property accessLevel An AccessLevel resource name that allows resources outside the ServicePerimeter to be accessed from the inside.
 * @property resource A Google Cloud resource that is allowed to ingress the perimeter.
 * Requests from these resources will be allowed to access perimeter data.
 * Currently only projects are allowed. Format `projects/{project_number}`
 * The project may be in any Google Cloud organization, not just the
 * organization that the perimeter is defined in. `*` is not allowed, the case
 * of allowing all Google Cloud resources only is not supported.
 */
public data class ServicePerimeterStatusIngressPolicyIngressFromSource(
    public val accessLevel: String? = null,
    public val resource: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.accesscontextmanager.outputs.ServicePerimeterStatusIngressPolicyIngressFromSource): ServicePerimeterStatusIngressPolicyIngressFromSource =
            ServicePerimeterStatusIngressPolicyIngressFromSource(
                accessLevel = javaType.accessLevel().map({ args0 -> args0 }).orElse(null),
                resource = javaType.resource().map({ args0 -> args0 }).orElse(null),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy