Table

class Table : KotlinCustomResource

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

Properties

Link copied to clipboard

Clone definition.

Link copied to clipboard

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 creationTime: Output<String>

The time when this table was created, in milliseconds since the epoch.

Link copied to clipboard
val datasetId: Output<String>
Link copied to clipboard

The default collation of the table.

Link copied to clipboard

The default rounding mode of the table.

Link copied to clipboard
val description: Output<String>

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 etag: Output<String>

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.

Link copied to clipboard
val expirationTime: Output<String>

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>

Optional A descriptive name for this table.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val kind: Output<String>

The type of the resource.

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

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

The time when this table was last modified, in milliseconds since the epoch.

Link copied to clipboard
val location: Output<String>

The geographic location where the table resides. This value is inherited from the dataset.

Link copied to clipboard

Optional Materialized view definition.

Link copied to clipboard
val maxStaleness: Output<String>

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

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

Number of logical bytes that are less than 90 days old.

Link copied to clipboard

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.

Link copied to clipboard
val numBytes: Output<String>

The size of this table in bytes, excluding any data in the streaming buffer.

Link copied to clipboard

The number of bytes in the table that are considered "long-term storage".

Link copied to clipboard

Number of logical bytes that are more than 90 days old.

Link copied to clipboard

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.

Link copied to clipboard
val numPartitions: Output<String>

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.

Link copied to clipboard

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.

Link copied to clipboard
val numRows: Output<String>

The number of rows of data in this table, excluding any data in the streaming buffer.

Link copied to clipboard

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.

Link copied to clipboard

Total number of logical bytes in the table or materialized view.

Link copied to clipboard

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.

Link copied to clipboard
val project: Output<String>
Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

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

Link copied to clipboard

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

Optional Describes the schema of this table.

Link copied to clipboard
val selfLink: Output<String>

A URL that can be used to access this resource again.

Link copied to clipboard

Snapshot definition.

Link copied to clipboard

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.

Link copied to clipboard

Optional The table constraints on the table.

Link copied to clipboard

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 type: Output<String>

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.

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard

Optional The view definition.