com.pulumi.gcp.bigquery.kotlin.outputs.GetDatasetResult.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.bigquery.kotlin.outputs
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map
/**
* A collection of values returned by getDataset.
* @property accesses
* @property creationTime
* @property datasetId
* @property defaultCollation
* @property defaultEncryptionConfigurations
* @property defaultPartitionExpirationMs
* @property defaultTableExpirationMs
* @property deleteContentsOnDestroy
* @property description
* @property effectiveLabels
* @property etag
* @property externalDatasetReferences
* @property friendlyName
* @property id The provider-assigned unique ID for this managed resource.
* @property isCaseInsensitive
* @property labels
* @property lastModifiedTime
* @property location
* @property maxTimeTravelHours
* @property project
* @property pulumiLabels
* @property selfLink
* @property storageBillingModel
*/
public data class GetDatasetResult(
public val accesses: List,
public val creationTime: Int,
public val datasetId: String,
public val defaultCollation: String,
public val defaultEncryptionConfigurations: List,
public val defaultPartitionExpirationMs: Int,
public val defaultTableExpirationMs: Int,
public val deleteContentsOnDestroy: Boolean,
public val description: String,
public val effectiveLabels: Map,
public val etag: String,
public val externalDatasetReferences: List,
public val friendlyName: String,
public val id: String,
public val isCaseInsensitive: Boolean,
public val labels: Map,
public val lastModifiedTime: Int,
public val location: String,
public val maxTimeTravelHours: String,
public val project: String? = null,
public val pulumiLabels: Map,
public val selfLink: String,
public val storageBillingModel: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.bigquery.outputs.GetDatasetResult): GetDatasetResult = GetDatasetResult(
accesses = javaType.accesses().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.bigquery.kotlin.outputs.GetDatasetAccess.Companion.toKotlin(args0)
})
}),
creationTime = javaType.creationTime(),
datasetId = javaType.datasetId(),
defaultCollation = javaType.defaultCollation(),
defaultEncryptionConfigurations = javaType.defaultEncryptionConfigurations().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.bigquery.kotlin.outputs.GetDatasetDefaultEncryptionConfiguration.Companion.toKotlin(args0)
})
}),
defaultPartitionExpirationMs = javaType.defaultPartitionExpirationMs(),
defaultTableExpirationMs = javaType.defaultTableExpirationMs(),
deleteContentsOnDestroy = javaType.deleteContentsOnDestroy(),
description = javaType.description(),
effectiveLabels = javaType.effectiveLabels().map({ args0 -> args0.key.to(args0.value) }).toMap(),
etag = javaType.etag(),
externalDatasetReferences = javaType.externalDatasetReferences().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.bigquery.kotlin.outputs.GetDatasetExternalDatasetReference.Companion.toKotlin(args0)
})
}),
friendlyName = javaType.friendlyName(),
id = javaType.id(),
isCaseInsensitive = javaType.isCaseInsensitive(),
labels = javaType.labels().map({ args0 -> args0.key.to(args0.value) }).toMap(),
lastModifiedTime = javaType.lastModifiedTime(),
location = javaType.location(),
maxTimeTravelHours = javaType.maxTimeTravelHours(),
project = javaType.project().map({ args0 -> args0 }).orElse(null),
pulumiLabels = javaType.pulumiLabels().map({ args0 -> args0.key.to(args0.value) }).toMap(),
selfLink = javaType.selfLink(),
storageBillingModel = javaType.storageBillingModel(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy