GoogleApi.BigQuery.V2.Model.ViewDefinition (google_api_big_query v0.70.1) View Source

Attributes

  • query (type: String.t, default: nil) - [Required] A query that BigQuery executes when the view is referenced.
  • useExplicitColumnNames (type: boolean(), default: nil) - True if the column names are explicitly specified. For example by using the 'CREATE VIEW v(c1, c2) AS ...' syntax. Can only be set using BigQuery's standard SQL: https://cloud.google.com/bigquery/sql-reference/
  • useLegacySql (type: boolean(), default: nil) - Specifies whether to use BigQuery's legacy SQL for this view. The default value is true. If set to false, the view will use BigQuery's standard SQL: https://cloud.google.com/bigquery/sql-reference/ Queries and views that reference this view must use the same flag value.
  • userDefinedFunctionResources (type: list(GoogleApi.BigQuery.V2.Model.UserDefinedFunctionResource.t), default: nil) - Describes user-defined function resources used in the query.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.BigQuery.V2.Model.ViewDefinition{
  query: String.t() | nil,
  useExplicitColumnNames: boolean() | nil,
  useLegacySql: boolean() | nil,
  userDefinedFunctionResources:
    [GoogleApi.BigQuery.V2.Model.UserDefinedFunctionResource.t()] | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.