google_api_big_query v0.6.0 GoogleApi.BigQuery.V2.Model.Table View Source

Attributes

  • clustering (Clustering): [Beta] Clustering specification for the table. Must be specified with partitioning, data in the table will be first partitioned and subsequently clustered. Defaults to: null.
  • creationTime (String.t): [Output-only] The time when this table was created, in milliseconds since the epoch. Defaults to: null.
  • description (String.t): [Optional] A user-friendly description of this table. Defaults to: null.
  • encryptionConfiguration (EncryptionConfiguration): Custom encryption configuration (e.g., Cloud KMS keys). Defaults to: null.
  • etag (String.t): [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. Defaults to: null.
  • expirationTime (String.t): [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. Defaults to: null.
  • externalDataConfiguration (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. Defaults to: null.
  • friendlyName (String.t): [Optional] A descriptive name for this table. Defaults to: null.
  • id (String.t): [Output-only] An opaque ID uniquely identifying the table. Defaults to: null.
  • kind (String.t): [Output-only] The type of the resource. Defaults to: null.
  • labels (%{optional(String.t) => String.t}): 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. Defaults to: null.
  • lastModifiedTime (String.t): [Output-only] The time when this table was last modified, in milliseconds since the epoch. Defaults to: null.
  • location (String.t): [Output-only] The geographic location where the table resides. This value is inherited from the dataset. Defaults to: null.
  • materializedView (MaterializedViewDefinition): [Optional] Materialized view definition. Defaults to: null.
  • model (ModelDefinition): [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. Defaults to: null.
  • numBytes (String.t): [Output-only] The size of this table in bytes, excluding any data in the streaming buffer. Defaults to: null.
  • numLongTermBytes (String.t): [Output-only] The number of bytes in the table that are considered "long-term storage". Defaults to: null.
  • numPhysicalBytes (String.t): [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. Defaults to: null.
  • numRows (String.t): [Output-only] The number of rows of data in this table, excluding any data in the streaming buffer. Defaults to: null.
  • rangePartitioning (RangePartitioning): [TrustedTester] Range partitioning specification for this table. Only one of timePartitioning and rangePartitioning should be specified. Defaults to: null.
  • requirePartitionFilter (boolean()): [Beta] [Optional] If set to true, queries over this table require a partition filter that can be used for partition elimination to be specified. Defaults to: null.
  • schema (TableSchema): [Optional] Describes the schema of this table. Defaults to: null.
  • selfLink (String.t): [Output-only] A URL that can be used to access this resource again. Defaults to: null.
  • streamingBuffer (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. Defaults to: null.
  • tableReference (TableReference): [Required] Reference describing the ID of this table. Defaults to: null.
  • timePartitioning (TimePartitioning): Time-based partitioning specification for this table. Only one of timePartitioning and rangePartitioning should be specified. Defaults to: null.
  • type (String.t): [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. [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. Defaults to: null.
  • view (ViewDefinition): [Optional] The view definition. Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.BigQuery.V2.Model.Table{
  clustering: GoogleApi.BigQuery.V2.Model.Clustering.t(),
  creationTime: any(),
  description: any(),
  encryptionConfiguration:
    GoogleApi.BigQuery.V2.Model.EncryptionConfiguration.t(),
  etag: any(),
  expirationTime: any(),
  externalDataConfiguration:
    GoogleApi.BigQuery.V2.Model.ExternalDataConfiguration.t(),
  friendlyName: any(),
  id: any(),
  kind: any(),
  labels: map(),
  lastModifiedTime: any(),
  location: any(),
  materializedView: GoogleApi.BigQuery.V2.Model.MaterializedViewDefinition.t(),
  model: GoogleApi.BigQuery.V2.Model.ModelDefinition.t(),
  numBytes: any(),
  numLongTermBytes: any(),
  numPhysicalBytes: any(),
  numRows: any(),
  rangePartitioning: GoogleApi.BigQuery.V2.Model.RangePartitioning.t(),
  requirePartitionFilter: any(),
  schema: GoogleApi.BigQuery.V2.Model.TableSchema.t(),
  selfLink: any(),
  streamingBuffer: GoogleApi.BigQuery.V2.Model.Streamingbuffer.t(),
  tableReference: GoogleApi.BigQuery.V2.Model.TableReference.t(),
  timePartitioning: GoogleApi.BigQuery.V2.Model.TimePartitioning.t(),
  type: any(),
  view: GoogleApi.BigQuery.V2.Model.ViewDefinition.t()
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.