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

com.pulumi.gcp.apphub.kotlin.outputs.ServiceServiceProperty.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.apphub.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property gcpProject (Output)
 * Output only. The service project identifier that the underlying cloud resource resides in.
 * @property location Part of `parent`.  Full resource name of a parent Application. Example: projects/{HOST_PROJECT_ID}/locations/{LOCATION}/applications/{APPLICATION_ID}
 * @property zone (Output)
 * Output only. The location that the underlying resource resides in if it is zonal, for example, us-west1-a).
 */
public data class ServiceServiceProperty(
    public val gcpProject: String? = null,
    public val location: String? = null,
    public val zone: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.apphub.outputs.ServiceServiceProperty): ServiceServiceProperty = ServiceServiceProperty(
            gcpProject = javaType.gcpProject().map({ args0 -> args0 }).orElse(null),
            location = javaType.location().map({ args0 -> args0 }).orElse(null),
            zone = javaType.zone().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy