![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.gcp.alloydb.kotlin.outputs.GetLocationsLocation.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.alloydb.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
/**
*
* @property displayName The friendly name for this location, typically a nearby city name. For example, "Tokyo".
* @property labels Cross-service attributes for the location. For example `{"cloud.googleapis.com/region": "us-east1"}`.
* @property locationId The canonical id for this location. For example: "us-east1"..
* @property metadata Service-specific metadata. For example the available capacity at the given location.
* @property name Resource name for the location, which may vary between implementations. For example: "projects/example-project/locations/us-east1".
*/
public data class GetLocationsLocation(
public val displayName: String,
public val labels: Map,
public val locationId: String,
public val metadata: Map,
public val name: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.alloydb.outputs.GetLocationsLocation): GetLocationsLocation = GetLocationsLocation(
displayName = javaType.displayName(),
labels = javaType.labels().map({ args0 -> args0.key.to(args0.value) }).toMap(),
locationId = javaType.locationId(),
metadata = javaType.metadata().map({ args0 -> args0.key.to(args0.value) }).toMap(),
name = javaType.name(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy