ViewDefinitionResponse

data class ViewDefinitionResponse(val query: String, val useExplicitColumnNames: Boolean, val useLegacySql: Boolean, val userDefinedFunctionResources: List<UserDefinedFunctionResourceResponse>)

Constructors

Link copied to clipboard
fun ViewDefinitionResponse(query: String, useExplicitColumnNames: Boolean, useLegacySql: Boolean, userDefinedFunctionResources: List<UserDefinedFunctionResourceResponse>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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

Link copied to clipboard

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

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.