Class ViewDefinition
Describes the definition of a logical view.
Implements
Inherited Members
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 |
ForeignDefinitions
Optional. Foreign view representations.
Declaration
[JsonProperty("foreignDefinitions")]
public virtual IList<ForeignViewDefinition> ForeignDefinitions { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<ForeignViewDefinition> |
PrivacyPolicy
Optional. Specifies 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 uses BigQuery's GoogleSQL. 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> |