com.pulumi.googlenative.bigtableadmin.v2.kotlin.enums.TableGranularity.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.bigtableadmin.v2.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* Immutable. The granularity (i.e. `MILLIS`) at which timestamps are stored in this table. Timestamps not matching the granularity will be rejected. If unspecified at creation time, the value will be set to `MILLIS`. Views: `SCHEMA_VIEW`, `FULL`.
*/
public enum class TableGranularity(
public val javaValue: com.pulumi.googlenative.bigtableadmin.v2.enums.TableGranularity,
) : ConvertibleToJava {
/**
* The user did not specify a granularity. Should not be returned. When specified during table creation, MILLIS will be used.
*/
TimestampGranularityUnspecified(com.pulumi.googlenative.bigtableadmin.v2.enums.TableGranularity.TimestampGranularityUnspecified),
/**
* The table keeps data versioned at a granularity of 1ms.
*/
Millis(com.pulumi.googlenative.bigtableadmin.v2.enums.TableGranularity.Millis),
;
override fun toJava(): com.pulumi.googlenative.bigtableadmin.v2.enums.TableGranularity = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.googlenative.bigtableadmin.v2.enums.TableGranularity): TableGranularity = TableGranularity.values().first { it.javaValue == javaType }
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy