com.pulumi.googlenative.bigquery.v2.kotlin.outputs.GetTableResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.bigquery.v2.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
/**
*
* @property cloneDefinition Clone definition.
* @property clustering [Beta] Clustering specification for the table. Must be specified with partitioning, data in the table will be first partitioned and subsequently clustered.
* @property creationTime The time when this table was created, in milliseconds since the epoch.
* @property defaultCollation The default collation of the table.
* @property defaultRoundingMode The default rounding mode of the table.
* @property description [Optional] A user-friendly description of this table.
* @property encryptionConfiguration Custom encryption configuration (e.g., Cloud KMS keys).
* @property etag A hash of the table metadata. Used to ensure there were no concurrent modifications to the resource when attempting an update. Not guaranteed to change when the table contents or the fields numRows, numBytes, numLongTermBytes or lastModifiedTime change.
* @property expirationTime [Optional] The time when this table expires, in milliseconds since the epoch. If not present, the table will persist indefinitely. Expired tables will be deleted and their storage reclaimed. The defaultTableExpirationMs property of the encapsulating dataset can be used to set a default expirationTime on newly created tables.
* @property externalDataConfiguration [Optional] Describes the data format, location, and other properties of a table stored outside of BigQuery. By defining these properties, the data source can then be queried as if it were a standard BigQuery table.
* @property friendlyName [Optional] A descriptive name for this table.
* @property kind The type of the resource.
* @property labels The labels associated with this table. You can use these to organize and group your tables. Label keys and values can be no longer than 63 characters, can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter and each label in the list must have a different key.
* @property lastModifiedTime The time when this table was last modified, in milliseconds since the epoch.
* @property location The geographic location where the table resides. This value is inherited from the dataset.
* @property materializedView [Optional] Materialized view definition.
* @property maxStaleness [Optional] Max staleness of data that could be returned when table or materialized view is queried (formatted as Google SQL Interval type).
* @property model [Output-only, Beta] Present iff this table represents a ML model. Describes the training information for the model, and it is required to run 'PREDICT' queries.
* @property numActiveLogicalBytes Number of logical bytes that are less than 90 days old.
* @property numActivePhysicalBytes Number of physical bytes less than 90 days old. This data is not kept in real time, and might be delayed by a few seconds to a few minutes.
* @property numBytes The size of this table in bytes, excluding any data in the streaming buffer.
* @property numLongTermBytes The number of bytes in the table that are considered "long-term storage".
* @property numLongTermLogicalBytes Number of logical bytes that are more than 90 days old.
* @property numLongTermPhysicalBytes Number of physical bytes more than 90 days old. This data is not kept in real time, and might be delayed by a few seconds to a few minutes.
* @property numPartitions The number of partitions present in the table or materialized view. This data is not kept in real time, and might be delayed by a few seconds to a few minutes.
* @property numPhysicalBytes [TrustedTester] The physical size of this table in bytes, excluding any data in the streaming buffer. This includes compression and storage used for time travel.
* @property numRows The number of rows of data in this table, excluding any data in the streaming buffer.
* @property numTimeTravelPhysicalBytes Number of physical bytes used by time travel storage (deleted or changed data). This data is not kept in real time, and might be delayed by a few seconds to a few minutes.
* @property numTotalLogicalBytes Total number of logical bytes in the table or materialized view.
* @property numTotalPhysicalBytes The physical size of this table in bytes. This also includes storage used for time travel. This data is not kept in real time, and might be delayed by a few seconds to a few minutes.
* @property rangePartitioning [TrustedTester] Range partitioning specification for this table. Only one of timePartitioning and rangePartitioning should be specified.
* @property requirePartitionFilter [Optional] If set to true, queries over this table require a partition filter that can be used for partition elimination to be specified.
* @property schema [Optional] Describes the schema of this table.
* @property selfLink A URL that can be used to access this resource again.
* @property snapshotDefinition Snapshot definition.
* @property streamingBuffer Contains information regarding this table's streaming buffer, if one is present. This field will be absent if the table is not being streamed to or if there is no data in the streaming buffer.
* @property tableConstraints [Optional] The table constraints on the table.
* @property tableReference [Required] Reference describing the ID of this table.
* @property timePartitioning Time-based partitioning specification for this table. Only one of timePartitioning and rangePartitioning should be specified.
* @property type Describes the table type. The following values are supported: TABLE: A normal BigQuery table. VIEW: A virtual table defined by a SQL query. SNAPSHOT: An immutable, read-only table that is a copy of another table. [TrustedTester] MATERIALIZED_VIEW: SQL query whose result is persisted. EXTERNAL: A table that references data stored in an external storage system, such as Google Cloud Storage. The default value is TABLE.
* @property view [Optional] The view definition.
*/
public data class GetTableResult(
public val cloneDefinition: CloneDefinitionResponse,
public val clustering: ClusteringResponse,
public val creationTime: String,
public val defaultCollation: String,
public val defaultRoundingMode: String,
public val description: String,
public val encryptionConfiguration: EncryptionConfigurationResponse,
public val etag: String,
public val expirationTime: String,
public val externalDataConfiguration: ExternalDataConfigurationResponse,
public val friendlyName: String,
public val kind: String,
public val labels: Map,
public val lastModifiedTime: String,
public val location: String,
public val materializedView: MaterializedViewDefinitionResponse,
public val maxStaleness: String,
public val model: ModelDefinitionResponse,
public val numActiveLogicalBytes: String,
public val numActivePhysicalBytes: String,
public val numBytes: String,
public val numLongTermBytes: String,
public val numLongTermLogicalBytes: String,
public val numLongTermPhysicalBytes: String,
public val numPartitions: String,
public val numPhysicalBytes: String,
public val numRows: String,
public val numTimeTravelPhysicalBytes: String,
public val numTotalLogicalBytes: String,
public val numTotalPhysicalBytes: String,
public val rangePartitioning: RangePartitioningResponse,
public val requirePartitionFilter: Boolean,
public val schema: TableSchemaResponse,
public val selfLink: String,
public val snapshotDefinition: SnapshotDefinitionResponse,
public val streamingBuffer: StreamingbufferResponse,
public val tableConstraints: TableConstraintsResponse,
public val tableReference: TableReferenceResponse,
public val timePartitioning: TimePartitioningResponse,
public val type: String,
public val view: ViewDefinitionResponse,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.googlenative.bigquery.v2.outputs.GetTableResult): GetTableResult = GetTableResult(
cloneDefinition = javaType.cloneDefinition().let({ args0 ->
com.pulumi.googlenative.bigquery.v2.kotlin.outputs.CloneDefinitionResponse.Companion.toKotlin(args0)
}),
clustering = javaType.clustering().let({ args0 ->
com.pulumi.googlenative.bigquery.v2.kotlin.outputs.ClusteringResponse.Companion.toKotlin(args0)
}),
creationTime = javaType.creationTime(),
defaultCollation = javaType.defaultCollation(),
defaultRoundingMode = javaType.defaultRoundingMode(),
description = javaType.description(),
encryptionConfiguration = javaType.encryptionConfiguration().let({ args0 ->
com.pulumi.googlenative.bigquery.v2.kotlin.outputs.EncryptionConfigurationResponse.Companion.toKotlin(args0)
}),
etag = javaType.etag(),
expirationTime = javaType.expirationTime(),
externalDataConfiguration = javaType.externalDataConfiguration().let({ args0 ->
com.pulumi.googlenative.bigquery.v2.kotlin.outputs.ExternalDataConfigurationResponse.Companion.toKotlin(args0)
}),
friendlyName = javaType.friendlyName(),
kind = javaType.kind(),
labels = javaType.labels().map({ args0 -> args0.key.to(args0.value) }).toMap(),
lastModifiedTime = javaType.lastModifiedTime(),
location = javaType.location(),
materializedView = javaType.materializedView().let({ args0 ->
com.pulumi.googlenative.bigquery.v2.kotlin.outputs.MaterializedViewDefinitionResponse.Companion.toKotlin(args0)
}),
maxStaleness = javaType.maxStaleness(),
model = javaType.model().let({ args0 ->
com.pulumi.googlenative.bigquery.v2.kotlin.outputs.ModelDefinitionResponse.Companion.toKotlin(args0)
}),
numActiveLogicalBytes = javaType.numActiveLogicalBytes(),
numActivePhysicalBytes = javaType.numActivePhysicalBytes(),
numBytes = javaType.numBytes(),
numLongTermBytes = javaType.numLongTermBytes(),
numLongTermLogicalBytes = javaType.numLongTermLogicalBytes(),
numLongTermPhysicalBytes = javaType.numLongTermPhysicalBytes(),
numPartitions = javaType.numPartitions(),
numPhysicalBytes = javaType.numPhysicalBytes(),
numRows = javaType.numRows(),
numTimeTravelPhysicalBytes = javaType.numTimeTravelPhysicalBytes(),
numTotalLogicalBytes = javaType.numTotalLogicalBytes(),
numTotalPhysicalBytes = javaType.numTotalPhysicalBytes(),
rangePartitioning = javaType.rangePartitioning().let({ args0 ->
com.pulumi.googlenative.bigquery.v2.kotlin.outputs.RangePartitioningResponse.Companion.toKotlin(args0)
}),
requirePartitionFilter = javaType.requirePartitionFilter(),
schema = javaType.schema().let({ args0 ->
com.pulumi.googlenative.bigquery.v2.kotlin.outputs.TableSchemaResponse.Companion.toKotlin(args0)
}),
selfLink = javaType.selfLink(),
snapshotDefinition = javaType.snapshotDefinition().let({ args0 ->
com.pulumi.googlenative.bigquery.v2.kotlin.outputs.SnapshotDefinitionResponse.Companion.toKotlin(args0)
}),
streamingBuffer = javaType.streamingBuffer().let({ args0 ->
com.pulumi.googlenative.bigquery.v2.kotlin.outputs.StreamingbufferResponse.Companion.toKotlin(args0)
}),
tableConstraints = javaType.tableConstraints().let({ args0 ->
com.pulumi.googlenative.bigquery.v2.kotlin.outputs.TableConstraintsResponse.Companion.toKotlin(args0)
}),
tableReference = javaType.tableReference().let({ args0 ->
com.pulumi.googlenative.bigquery.v2.kotlin.outputs.TableReferenceResponse.Companion.toKotlin(args0)
}),
timePartitioning = javaType.timePartitioning().let({ args0 ->
com.pulumi.googlenative.bigquery.v2.kotlin.outputs.TimePartitioningResponse.Companion.toKotlin(args0)
}),
type = javaType.type(),
view = javaType.view().let({ args0 ->
com.pulumi.googlenative.bigquery.v2.kotlin.outputs.ViewDefinitionResponse.Companion.toKotlin(args0)
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy