ViewDefinitionArgs

data class ViewDefinitionArgs(val query: Output<String>? = null, val useExplicitColumnNames: Output<Boolean>? = null, val useLegacySql: Output<Boolean>? = null, val userDefinedFunctionResources: Output<List<UserDefinedFunctionResourceArgs>>? = null) : ConvertibleToJava<ViewDefinitionArgs>

Constructors

Link copied to clipboard
fun ViewDefinitionArgs(query: Output<String>? = null, useExplicitColumnNames: Output<Boolean>? = null, useLegacySql: Output<Boolean>? = null, userDefinedFunctionResources: Output<List<UserDefinedFunctionResourceArgs>>? = null)

Functions

Link copied to clipboard
open override fun toJava(): ViewDefinitionArgs

Properties

Link copied to clipboard
val query: Output<String>? = null

Required A query that BigQuery executes when the view is referenced.

Link copied to clipboard
val useExplicitColumnNames: Output<Boolean>? = null

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/

Link copied to clipboard
val useLegacySql: Output<Boolean>? = null

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.

Link copied to clipboard

Describes user-defined function resources used in the query.