Class Table
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.Bigquery.v2.Data
Assembly: Google.Apis.Bigquery.v2.dll
Syntax
public class Table : IDirectResponseSchema
Properties
CloneDefinition
[Output-only] Clone definition.
Declaration
[JsonProperty("cloneDefinition")]
public virtual CloneDefinition CloneDefinition { get; set; }
Property Value
Type | Description |
---|---|
CloneDefinition |
Clustering
[Beta] Clustering specification for the table. Must be specified with partitioning, data in the table will be first partitioned and subsequently clustered.
Declaration
[JsonProperty("clustering")]
public virtual Clustering Clustering { get; set; }
Property Value
Type | Description |
---|---|
Clustering |
CreationTime
[Output-only] The time when this table was created, in milliseconds since the epoch.
Declaration
[JsonProperty("creationTime")]
public virtual long? CreationTime { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
DefaultCollation
[Output-only] The default collation of the table.
Declaration
[JsonProperty("defaultCollation")]
public virtual string DefaultCollation { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Description
[Optional] A user-friendly description of this table.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type | Description |
---|---|
System.String |
EncryptionConfiguration
Custom encryption configuration (e.g., Cloud KMS keys).
Declaration
[JsonProperty("encryptionConfiguration")]
public virtual EncryptionConfiguration EncryptionConfiguration { get; set; }
Property Value
Type | Description |
---|---|
EncryptionConfiguration |
ETag
[Output-only] 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.
Declaration
[JsonProperty("etag")]
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
System.String |
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.
Declaration
[JsonProperty("expirationTime")]
public virtual long? ExpirationTime { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
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.
Declaration
[JsonProperty("externalDataConfiguration")]
public virtual ExternalDataConfiguration ExternalDataConfiguration { get; set; }
Property Value
Type | Description |
---|---|
ExternalDataConfiguration |
FriendlyName
[Optional] A descriptive name for this table.
Declaration
[JsonProperty("friendlyName")]
public virtual string FriendlyName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Id
[Output-only] An opaque ID uniquely identifying the table.
Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Kind
[Output-only] The type of the resource.
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type | Description |
---|---|
System.String |
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.
Declaration
[JsonProperty("labels")]
public virtual IDictionary<string, string> Labels { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.String, System.String> |
LastModifiedTime
[Output-only] The time when this table was last modified, in milliseconds since the epoch.
Declaration
[JsonProperty("lastModifiedTime")]
public virtual ulong? LastModifiedTime { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.UInt64> |
Location
[Output-only] The geographic location where the table resides. This value is inherited from the dataset.
Declaration
[JsonProperty("location")]
public virtual string Location { get; set; }
Property Value
Type | Description |
---|---|
System.String |
MaterializedView
[Optional] Materialized view definition.
Declaration
[JsonProperty("materializedView")]
public virtual MaterializedViewDefinition MaterializedView { get; set; }
Property Value
Type | Description |
---|---|
MaterializedViewDefinition |
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.
Declaration
[JsonProperty("model")]
public virtual ModelDefinition Model { get; set; }
Property Value
Type | Description |
---|---|
ModelDefinition |
NumBytes
[Output-only] The size of this table in bytes, excluding any data in the streaming buffer.
Declaration
[JsonProperty("numBytes")]
public virtual long? NumBytes { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
NumLongTermBytes
[Output-only] The number of bytes in the table that are considered "long-term storage".
Declaration
[JsonProperty("numLongTermBytes")]
public virtual long? NumLongTermBytes { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
NumPhysicalBytes
[Output-only] [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.
Declaration
[JsonProperty("numPhysicalBytes")]
public virtual long? NumPhysicalBytes { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
NumRows
[Output-only] The number of rows of data in this table, excluding any data in the streaming buffer.
Declaration
[JsonProperty("numRows")]
public virtual ulong? NumRows { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.UInt64> |
RangePartitioning
[TrustedTester] Range partitioning specification for this table. Only one of timePartitioning and rangePartitioning should be specified.
Declaration
[JsonProperty("rangePartitioning")]
public virtual RangePartitioning RangePartitioning { get; set; }
Property Value
Type | Description |
---|---|
RangePartitioning |
RequirePartitionFilter
[Optional] If set to true, queries over this table require a partition filter that can be used for partition elimination to be specified.
Declaration
[JsonProperty("requirePartitionFilter")]
public virtual bool? RequirePartitionFilter { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
Schema
[Optional] Describes the schema of this table.
Declaration
[JsonProperty("schema")]
public virtual TableSchema Schema { get; set; }
Property Value
Type | Description |
---|---|
TableSchema |
SelfLink
[Output-only] A URL that can be used to access this resource again.
Declaration
[JsonProperty("selfLink")]
public virtual string SelfLink { get; set; }
Property Value
Type | Description |
---|---|
System.String |
SnapshotDefinition
[Output-only] Snapshot definition.
Declaration
[JsonProperty("snapshotDefinition")]
public virtual SnapshotDefinition SnapshotDefinition { get; set; }
Property Value
Type | Description |
---|---|
SnapshotDefinition |
StreamingBuffer
[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.
Declaration
[JsonProperty("streamingBuffer")]
public virtual Streamingbuffer StreamingBuffer { get; set; }
Property Value
Type | Description |
---|---|
Streamingbuffer |
TableReference
[Required] Reference describing the ID of this table.
Declaration
[JsonProperty("tableReference")]
public virtual TableReference TableReference { get; set; }
Property Value
Type | Description |
---|---|
TableReference |
TimePartitioning
Time-based partitioning specification for this table. Only one of timePartitioning and rangePartitioning should be specified.
Declaration
[JsonProperty("timePartitioning")]
public virtual TimePartitioning TimePartitioning { get; set; }
Property Value
Type | Description |
---|---|
TimePartitioning |
Type
[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. 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.
Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
Type | Description |
---|---|
System.String |
View
[Optional] The view definition.
Declaration
[JsonProperty("view")]
public virtual ViewDefinition View { get; set; }
Property Value
Type | Description |
---|---|
ViewDefinition |