com.pulumi.gcp.compute.kotlin.outputs.GetBackendBucketResult.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.compute.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* A collection of values returned by getBackendBucket.
* @property bucketName
* @property cdnPolicies
* @property compressionMode
* @property creationTimestamp
* @property customResponseHeaders
* @property description
* @property edgeSecurityPolicy
* @property enableCdn
* @property id The provider-assigned unique ID for this managed resource.
* @property name
* @property project
* @property selfLink
*/
public data class GetBackendBucketResult(
public val bucketName: String,
public val cdnPolicies: List,
public val compressionMode: String,
public val creationTimestamp: String,
public val customResponseHeaders: List,
public val description: String,
public val edgeSecurityPolicy: String,
public val enableCdn: Boolean,
public val id: String,
public val name: String,
public val project: String? = null,
public val selfLink: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.compute.outputs.GetBackendBucketResult): GetBackendBucketResult = GetBackendBucketResult(
bucketName = javaType.bucketName(),
cdnPolicies = javaType.cdnPolicies().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.compute.kotlin.outputs.GetBackendBucketCdnPolicy.Companion.toKotlin(args0)
})
}),
compressionMode = javaType.compressionMode(),
creationTimestamp = javaType.creationTimestamp(),
customResponseHeaders = javaType.customResponseHeaders().map({ args0 -> args0 }),
description = javaType.description(),
edgeSecurityPolicy = javaType.edgeSecurityPolicy(),
enableCdn = javaType.enableCdn(),
id = javaType.id(),
name = javaType.name(),
project = javaType.project().map({ args0 -> args0 }).orElse(null),
selfLink = javaType.selfLink(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy