GetTableResult

data class GetTableResult(val cloneDefinition: CloneDefinitionResponse, val clustering: ClusteringResponse, val creationTime: String, val defaultCollation: String, val defaultRoundingMode: String, val description: String, val encryptionConfiguration: EncryptionConfigurationResponse, val etag: String, val expirationTime: String, val externalDataConfiguration: ExternalDataConfigurationResponse, val friendlyName: String, val kind: String, val labels: Map<String, String>, val lastModifiedTime: String, val location: String, val materializedView: MaterializedViewDefinitionResponse, val maxStaleness: String, val model: ModelDefinitionResponse, val numActiveLogicalBytes: String, val numActivePhysicalBytes: String, val numBytes: String, val numLongTermBytes: String, val numLongTermLogicalBytes: String, val numLongTermPhysicalBytes: String, val numPartitions: String, val numPhysicalBytes: String, val numRows: String, val numTimeTravelPhysicalBytes: String, val numTotalLogicalBytes: String, val numTotalPhysicalBytes: String, val rangePartitioning: RangePartitioningResponse, val requirePartitionFilter: Boolean, val schema: TableSchemaResponse, val selfLink: String, val snapshotDefinition: SnapshotDefinitionResponse, val streamingBuffer: StreamingbufferResponse, val tableConstraints: TableConstraintsResponse, val tableReference: TableReferenceResponse, val timePartitioning: TimePartitioningResponse, val type: String, val view: ViewDefinitionResponse)

Constructors

Link copied to clipboard
fun GetTableResult(cloneDefinition: CloneDefinitionResponse, clustering: ClusteringResponse, creationTime: String, defaultCollation: String, defaultRoundingMode: String, description: String, encryptionConfiguration: EncryptionConfigurationResponse, etag: String, expirationTime: String, externalDataConfiguration: ExternalDataConfigurationResponse, friendlyName: String, kind: String, labels: Map<String, String>, lastModifiedTime: String, location: String, materializedView: MaterializedViewDefinitionResponse, maxStaleness: String, model: ModelDefinitionResponse, numActiveLogicalBytes: String, numActivePhysicalBytes: String, numBytes: String, numLongTermBytes: String, numLongTermLogicalBytes: String, numLongTermPhysicalBytes: String, numPartitions: String, numPhysicalBytes: String, numRows: String, numTimeTravelPhysicalBytes: String, numTotalLogicalBytes: String, numTotalPhysicalBytes: String, rangePartitioning: RangePartitioningResponse, requirePartitionFilter: Boolean, schema: TableSchemaResponse, selfLink: String, snapshotDefinition: SnapshotDefinitionResponse, streamingBuffer: StreamingbufferResponse, tableConstraints: TableConstraintsResponse, tableReference: TableReferenceResponse, timePartitioning: TimePartitioningResponse, type: String, view: ViewDefinitionResponse)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
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

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

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

Optional A user-friendly description of this table.

Link copied to clipboard

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

Link copied to clipboard

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

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

Optional A descriptive name for this table.

Link copied to clipboard

The type of the resource.

Link copied to clipboard

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

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

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

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

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

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

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

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

Link copied to clipboard
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

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

Optional The view definition.