com.pulumi.gcp.storage.kotlin.outputs.GetBucketObjectsResult.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.List
/**
* A collection of values returned by getBucketObjects.
* @property bucket
* @property bucketObjects A list of retrieved objects contained in the provided GCS bucket. Structure is defined below.
* @property id The provider-assigned unique ID for this managed resource.
* @property matchGlob
* @property prefix
*/
public data class GetBucketObjectsResult(
public val bucket: String,
public val bucketObjects: List,
public val id: String,
public val matchGlob: String? = null,
public val prefix: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.storage.outputs.GetBucketObjectsResult): GetBucketObjectsResult = GetBucketObjectsResult(
bucket = javaType.bucket(),
bucketObjects = javaType.bucketObjects().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.storage.kotlin.outputs.GetBucketObjectsBucketObject.Companion.toKotlin(args0)
})
}),
id = javaType.id(),
matchGlob = javaType.matchGlob().map({ args0 -> args0 }).orElse(null),
prefix = javaType.prefix().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy