Show / Hide Table of Contents

Class ViewDefinition

Describes the definition of a logical view.

Inheritance
object
ViewDefinition
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Bigquery.v2.Data
Assembly: Google.Apis.Bigquery.v2.dll
Syntax
public class ViewDefinition : IDirectResponseSchema

Properties

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

PrivacyPolicy

Optional. Specifices the privacy policy for the view.

Declaration
[JsonProperty("privacyPolicy")]
public virtual PrivacyPolicy PrivacyPolicy { get; set; }
Property Value
Type Description
PrivacyPolicy

Query

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

Declaration
[JsonProperty("query")]
public virtual string Query { get; set; }
Property Value
Type Description
string

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 for GoogleSQL views.

Declaration
[JsonProperty("useExplicitColumnNames")]
public virtual bool? UseExplicitColumnNames { get; set; }
Property Value
Type Description
bool?

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 GoogleSQL: https://cloud.google.com/bigquery/sql-reference/ Queries and views that reference this view must use the same flag value. A wrapper is used here because the default value is True.

Declaration
[JsonProperty("useLegacySql")]
public virtual bool? UseLegacySql { get; set; }
Property Value
Type Description
bool?

UserDefinedFunctionResources

Describes user-defined function resources used in the query.

Declaration
[JsonProperty("userDefinedFunctionResources")]
public virtual IList<UserDefinedFunctionResource> UserDefinedFunctionResources { get; set; }
Property Value
Type Description
IList<UserDefinedFunctionResource>

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX