All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.bigquery.kotlin.outputs.JobLoadTimePartitioning.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.bigquery.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property expirationMs Number of milliseconds for which to keep the storage for a partition. A wrapper is used here because 0 is an invalid value.
 * @property field If not set, the table is partitioned by pseudo column '_PARTITIONTIME'; if set, the table is partitioned by this field.
 * The field must be a top-level TIMESTAMP or DATE field. Its mode must be NULLABLE or REQUIRED.
 * A wrapper is used here because an empty string is an invalid value.
 * @property type The only type supported is DAY, which will generate one partition per day. Providing an empty string used to cause an error,
 * but in OnePlatform the field will be treated as unset.
 */
public data class JobLoadTimePartitioning(
    public val expirationMs: String? = null,
    public val `field`: String? = null,
    public val type: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.bigquery.outputs.JobLoadTimePartitioning): JobLoadTimePartitioning = JobLoadTimePartitioning(
            expirationMs = javaType.expirationMs().map({ args0 -> args0 }).orElse(null),
            `field` = javaType.`field`().map({ args0 -> args0 }).orElse(null),
            type = javaType.type(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy