ViewDefinition constructor

const ViewDefinition({
  1. Input<String>? query,
  2. Input<bool>? useExplicitColumnNames,
  3. Input<bool>? useLegacySql,
  4. Input<List<UserDefinedFunctionResource>>? userDefinedFunctionResources,
})

Creates a new ViewDefinition. query Required A query that BigQuery executes when the view is referenced. useExplicitColumnNames 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 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 Describes user-defined function resources used in the query.

Implementation

const ViewDefinition({
  this.query,
  this.useExplicitColumnNames,
  this.useLegacySql,
  this.userDefinedFunctionResources,
});