pub struct ViewDefinition {
pub foreign_definitions: Option<Vec<ForeignViewDefinition>>,
pub privacy_policy: Option<PrivacyPolicy>,
pub query: Option<String>,
pub use_explicit_column_names: Option<bool>,
pub use_legacy_sql: Option<bool>,
pub user_defined_function_resources: Option<Vec<UserDefinedFunctionResource>>,
}Expand description
Describes the definition of a logical view.
This type is not used in any activity, and only used as part of another schema.
Fields§
§foreign_definitions: Option<Vec<ForeignViewDefinition>>Optional. Foreign view representations.
privacy_policy: Option<PrivacyPolicy>Optional. Specifies the privacy policy for the view.
query: Option<String>Required. A query that BigQuery executes when the view is referenced.
use_explicit_column_names: Option<bool>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.
use_legacy_sql: Option<bool>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.
user_defined_function_resources: Option<Vec<UserDefinedFunctionResource>>Describes user-defined function resources used in the query.
Trait Implementations§
Source§impl Clone for ViewDefinition
impl Clone for ViewDefinition
Source§fn clone(&self) -> ViewDefinition
fn clone(&self) -> ViewDefinition
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more