View Source GoogleApi.BigQuery.V2.Model.Table (google_api_big_query v0.77.0)
Attributes
-
numLongTermLogicalBytes
(type:String.t
, default:nil
) - Output only. Number of logical bytes that are more than 90 days old. -
etag
(type:String.t
, default:nil
) - Output only. A hash of this resource. -
numTotalPhysicalBytes
(type:String.t
, default:nil
) - Output only. 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. -
numLongTermBytes
(type:String.t
, default:nil
) - Output only. The number of logical bytes in the table that are considered "long-term storage". -
partitionDefinition
(type:GoogleApi.BigQuery.V2.Model.PartitioningDefinition.t
, default:nil
) - Output only. The partition information for all table formats, including managed partitioned tables, hive partitioned tables, and iceberg partitioned tables. -
requirePartitionFilter
(type:boolean()
, default:false
) - Optional. If set to true, queries over this table require a partition filter that can be used for partition elimination to be specified. -
description
(type:String.t
, default:nil
) - Optional. A user-friendly description of this table. -
numActivePhysicalBytes
(type:String.t
, default:nil
) - Output only. 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. -
snapshotDefinition
(type:GoogleApi.BigQuery.V2.Model.SnapshotDefinition.t
, default:nil
) - Output only. Contains information about the snapshot. This value is set via snapshot creation. -
kind
(type:String.t
, default:bigquery#table
) - The type of resource ID. -
cloneDefinition
(type:GoogleApi.BigQuery.V2.Model.CloneDefinition.t
, default:nil
) - Output only. Contains information about the clone. This value is set via the clone operation. -
tableConstraints
(type:GoogleApi.BigQuery.V2.Model.TableConstraints.t
, default:nil
) - Optional. Tables Primary Key and Foreign Key information -
numPhysicalBytes
(type:String.t
, default:nil
) - Output only. The physical size of this table in bytes. This includes storage used for time travel. -
numBytes
(type:String.t
, default:nil
) - Output only. The size of this table in logical bytes, excluding any data in the streaming buffer. -
numLongTermPhysicalBytes
(type:String.t
, default:nil
) - Output only. 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. -
lastModifiedTime
(type:String.t
, default:nil
) - Output only. The time when this table was last modified, in milliseconds since the epoch. -
clustering
(type:GoogleApi.BigQuery.V2.Model.Clustering.t
, default:nil
) - Clustering specification for the table. Must be specified with time-based partitioning, data in the table will be first partitioned and subsequently clustered. -
location
(type:String.t
, default:nil
) - Output only. The geographic location where the table resides. This value is inherited from the dataset. -
friendlyName
(type:String.t
, default:nil
) - Optional. A descriptive name for this table. -
expirationTime
(type:String.t
, default:nil
) - 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. -
timePartitioning
(type:GoogleApi.BigQuery.V2.Model.TimePartitioning.t
, default:nil
) - If specified, configures time-based partitioning for this table. -
maxStaleness
(type:String.t
, default:nil
) - Optional. The maximum staleness of data that could be returned when the table (or stale MV) is queried. Staleness encoded as a string encoding of sql IntervalValue type. -
model
(type:GoogleApi.BigQuery.V2.Model.ModelDefinition.t
, default:nil
) - Deprecated. -
creationTime
(type:String.t
, default:nil
) - Output only. The time when this table was created, in milliseconds since the epoch. -
tableReplicationInfo
(type:GoogleApi.BigQuery.V2.Model.TableReplicationInfo.t
, default:nil
) - Optional. Table replication info for table createdAS REPLICA
DDL like:CREATE MATERIALIZED VIEW mv1 AS REPLICA OF src_mv
-
view
(type:GoogleApi.BigQuery.V2.Model.ViewDefinition.t
, default:nil
) - Optional. The view definition. -
defaultRoundingMode
(type:String.t
, default:nil
) - Optional. Defines the default rounding mode specification of new decimal fields (NUMERIC OR BIGNUMERIC) in the table. During table creation or update, if a decimal field is added to this table without an explicit rounding mode specified, then the field inherits the table default rounding mode. Changing this field doesn't affect existing fields. -
defaultCollation
(type:String.t
, default:nil
) - Optional. Defines the default collation specification of new STRING fields in the table. During table creation or update, if a STRING field is added to this table without explicit collation specified, then the table inherits the table default collation. A change to this field affects only fields added afterwards, and does not alter the existing fields. The following values are supported: 'und:ci': undetermined locale, case insensitive. '': empty string. Default to case-sensitive behavior. -
tableReference
(type:GoogleApi.BigQuery.V2.Model.TableReference.t
, default:nil
) - Required. Reference describing the ID of this table. -
numTimeTravelPhysicalBytes
(type:String.t
, default:nil
) - Output only. 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. -
externalDataConfiguration
(type:GoogleApi.BigQuery.V2.Model.ExternalDataConfiguration.t
, default:nil
) - 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. -
type
(type:String.t
, default:nil
) - Output only. Describes the table type. The following values are supported:TABLE
: A normal BigQuery table.VIEW
: A virtual table defined by a SQL query.EXTERNAL
: A table that references data stored in an external storage system, such as Google Cloud Storage.MATERIALIZED_VIEW
: A precomputed view defined by a SQL query. *SNAPSHOT
: An immutable BigQuery table that preserves the contents of a base table at a particular time. See additional information on table snapshots. The default value isTABLE
. -
resourceTags
(type:map()
, default:nil
) - [Optional] The tags associated with this table. Tag keys are globally unique. See additional information on tags. An object containing a list of "key": value pairs. The key is the namespaced friendly name of the tag key, e.g. "12345/environment" where 12345 is parent id. The value is the friendly short name of the tag value, e.g. "production". -
numRows
(type:String.t
, default:nil
) - Output only. The number of rows of data in this table, excluding any data in the streaming buffer. -
numTotalLogicalBytes
(type:String.t
, default:nil
) - Output only. Total number of logical bytes in the table or materialized view. -
id
(type:String.t
, default:nil
) - Output only. An opaque ID uniquely identifying the table. -
replicas
(type:list(GoogleApi.BigQuery.V2.Model.TableReference.t)
, default:nil
) - Optional. Output only. Table references of all replicas currently active on the table. -
rangePartitioning
(type:GoogleApi.BigQuery.V2.Model.RangePartitioning.t
, default:nil
) - If specified, configures range partitioning for this table. -
materializedView
(type:GoogleApi.BigQuery.V2.Model.MaterializedViewDefinition.t
, default:nil
) - Optional. The materialized view definition. -
materializedViewStatus
(type:GoogleApi.BigQuery.V2.Model.MaterializedViewStatus.t
, default:nil
) - Output only. The materialized view status. -
labels
(type:map()
, default:nil
) - 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. -
selfLink
(type:String.t
, default:nil
) - Output only. A URL that can be used to access this resource again. -
numPartitions
(type:String.t
, default:nil
) - Output only. 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. -
encryptionConfiguration
(type:GoogleApi.BigQuery.V2.Model.EncryptionConfiguration.t
, default:nil
) - Custom encryption configuration (e.g., Cloud KMS keys). -
schema
(type:GoogleApi.BigQuery.V2.Model.TableSchema.t
, default:nil
) - Optional. Describes the schema of this table. -
numActiveLogicalBytes
(type:String.t
, default:nil
) - Output only. Number of logical bytes that are less than 90 days old. -
biglakeConfiguration
(type:GoogleApi.BigQuery.V2.Model.BigLakeConfiguration.t
, default:nil
) - Optional. Specifies the configuration of a BigLake managed table. -
streamingBuffer
(type:GoogleApi.BigQuery.V2.Model.Streamingbuffer.t
, default:nil
) - Output only. 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.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.BigQuery.V2.Model.Table{ biglakeConfiguration: GoogleApi.BigQuery.V2.Model.BigLakeConfiguration.t() | nil, cloneDefinition: GoogleApi.BigQuery.V2.Model.CloneDefinition.t() | nil, clustering: GoogleApi.BigQuery.V2.Model.Clustering.t() | nil, creationTime: String.t() | nil, defaultCollation: String.t() | nil, defaultRoundingMode: String.t() | nil, description: String.t() | nil, encryptionConfiguration: GoogleApi.BigQuery.V2.Model.EncryptionConfiguration.t() | nil, etag: String.t() | nil, expirationTime: String.t() | nil, externalDataConfiguration: GoogleApi.BigQuery.V2.Model.ExternalDataConfiguration.t() | nil, friendlyName: String.t() | nil, id: String.t() | nil, kind: String.t() | nil, labels: map() | nil, lastModifiedTime: String.t() | nil, location: String.t() | nil, materializedView: GoogleApi.BigQuery.V2.Model.MaterializedViewDefinition.t() | nil, materializedViewStatus: GoogleApi.BigQuery.V2.Model.MaterializedViewStatus.t() | nil, maxStaleness: String.t() | nil, model: GoogleApi.BigQuery.V2.Model.ModelDefinition.t() | nil, numActiveLogicalBytes: String.t() | nil, numActivePhysicalBytes: String.t() | nil, numBytes: String.t() | nil, numLongTermBytes: String.t() | nil, numLongTermLogicalBytes: String.t() | nil, numLongTermPhysicalBytes: String.t() | nil, numPartitions: String.t() | nil, numPhysicalBytes: String.t() | nil, numRows: String.t() | nil, numTimeTravelPhysicalBytes: String.t() | nil, numTotalLogicalBytes: String.t() | nil, numTotalPhysicalBytes: String.t() | nil, partitionDefinition: GoogleApi.BigQuery.V2.Model.PartitioningDefinition.t() | nil, rangePartitioning: GoogleApi.BigQuery.V2.Model.RangePartitioning.t() | nil, replicas: [GoogleApi.BigQuery.V2.Model.TableReference.t()] | nil, requirePartitionFilter: boolean() | nil, resourceTags: map() | nil, schema: GoogleApi.BigQuery.V2.Model.TableSchema.t() | nil, selfLink: String.t() | nil, snapshotDefinition: GoogleApi.BigQuery.V2.Model.SnapshotDefinition.t() | nil, streamingBuffer: GoogleApi.BigQuery.V2.Model.Streamingbuffer.t() | nil, tableConstraints: GoogleApi.BigQuery.V2.Model.TableConstraints.t() | nil, tableReference: GoogleApi.BigQuery.V2.Model.TableReference.t() | nil, tableReplicationInfo: GoogleApi.BigQuery.V2.Model.TableReplicationInfo.t() | nil, timePartitioning: GoogleApi.BigQuery.V2.Model.TimePartitioning.t() | nil, type: String.t() | nil, view: GoogleApi.BigQuery.V2.Model.ViewDefinition.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.