TableArgs

data class TableArgs(val clustering: Output<ClusteringArgs>? = null, val datasetId: Output<String>? = null, val description: Output<String>? = null, val encryptionConfiguration: Output<EncryptionConfigurationArgs>? = null, val expirationTime: Output<String>? = null, val externalDataConfiguration: Output<ExternalDataConfigurationArgs>? = null, val friendlyName: Output<String>? = null, val labels: Output<Map<String, String>>? = null, val materializedView: Output<MaterializedViewDefinitionArgs>? = null, val maxStaleness: Output<String>? = null, val model: Output<ModelDefinitionArgs>? = null, val project: Output<String>? = null, val rangePartitioning: Output<RangePartitioningArgs>? = null, val requirePartitionFilter: Output<Boolean>? = null, val schema: Output<TableSchemaArgs>? = null, val tableConstraints: Output<TableConstraintsArgs>? = null, val tableReference: Output<TableReferenceArgs>? = null, val timePartitioning: Output<TimePartitioningArgs>? = null, val view: Output<ViewDefinitionArgs>? = null) : ConvertibleToJava<TableArgs>

Creates a new, empty table in the dataset. Auto-naming is currently not supported for this resource.

Constructors

Link copied to clipboard
fun TableArgs(clustering: Output<ClusteringArgs>? = null, datasetId: Output<String>? = null, description: Output<String>? = null, encryptionConfiguration: Output<EncryptionConfigurationArgs>? = null, expirationTime: Output<String>? = null, externalDataConfiguration: Output<ExternalDataConfigurationArgs>? = null, friendlyName: Output<String>? = null, labels: Output<Map<String, String>>? = null, materializedView: Output<MaterializedViewDefinitionArgs>? = null, maxStaleness: Output<String>? = null, model: Output<ModelDefinitionArgs>? = null, project: Output<String>? = null, rangePartitioning: Output<RangePartitioningArgs>? = null, requirePartitionFilter: Output<Boolean>? = null, schema: Output<TableSchemaArgs>? = null, tableConstraints: Output<TableConstraintsArgs>? = null, tableReference: Output<TableReferenceArgs>? = null, timePartitioning: Output<TimePartitioningArgs>? = null, view: Output<ViewDefinitionArgs>? = null)

Functions

Link copied to clipboard
open override fun toJava(): TableArgs

Properties

Link copied to clipboard
val clustering: Output<ClusteringArgs>? = null

Beta Clustering specification for the table. Must be specified with partitioning, data in the table will be first partitioned and subsequently clustered.

Link copied to clipboard
val datasetId: Output<String>? = null
Link copied to clipboard
val description: Output<String>? = null

Optional A user-friendly description of this table.

Link copied to clipboard

Custom encryption configuration (e.g., Cloud KMS keys).

Link copied to clipboard
val expirationTime: Output<String>? = null

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.

Link copied to clipboard

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.

Link copied to clipboard
val friendlyName: Output<String>? = null

Optional A descriptive name for this table.

Link copied to clipboard
val labels: Output<Map<String, String>>? = null

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.

Link copied to clipboard

Optional Materialized view definition.

Link copied to clipboard
val maxStaleness: Output<String>? = null

Optional Max staleness of data that could be returned when table or materialized view is queried (formatted as Google SQL Interval type).

Link copied to clipboard
val model: Output<ModelDefinitionArgs>? = null

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.

Link copied to clipboard
val project: Output<String>? = null
Link copied to clipboard

TrustedTester Range partitioning specification for this table. Only one of timePartitioning and rangePartitioning should be specified.

Link copied to clipboard
val requirePartitionFilter: Output<Boolean>? = null

Optional If set to true, queries over this table require a partition filter that can be used for partition elimination to be specified.

Link copied to clipboard
val schema: Output<TableSchemaArgs>? = null

Optional Describes the schema of this table.

Link copied to clipboard

Optional The table constraints on the table.

Link copied to clipboard
val tableReference: Output<TableReferenceArgs>? = null

Required Reference describing the ID of this table.

Link copied to clipboard

Time-based partitioning specification for this table. Only one of timePartitioning and rangePartitioning should be specified.

Link copied to clipboard
val view: Output<ViewDefinitionArgs>? = null

Optional The view definition.