com.pulumi.gcp.storage.kotlin.outputs.GetBucketsBucket.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.storage.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
/**
*
* @property labels User-provided bucket labels, in key/value pairs.
* @property location The location of the bucket.
* @property name The name of the bucket.
* @property selfLink A url reference to the bucket.
* @property storageClass The [StorageClass](https://cloud.google.com/storage/docs/storage-classes) of the bucket.
*/
public data class GetBucketsBucket(
public val labels: Map,
public val location: String,
public val name: String,
public val selfLink: String,
public val storageClass: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.storage.outputs.GetBucketsBucket): GetBucketsBucket = GetBucketsBucket(
labels = javaType.labels().map({ args0 -> args0.key.to(args0.value) }).toMap(),
location = javaType.location(),
name = javaType.name(),
selfLink = javaType.selfLink(),
storageClass = javaType.storageClass(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy