Class: Google::Apis::BigqueryV2::TableList::Table::View
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::TableList::Table::View
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/bigquery_v2/classes.rb,
lib/google/apis/bigquery_v2/representations.rb,
lib/google/apis/bigquery_v2/representations.rb
Overview
Information about a logical view.
Instance Attribute Summary collapse
-
#privacy_policy ⇒ Google::Apis::BigqueryV2::PrivacyPolicy
Represents privacy policy that contains the privacy requirements specified by the data owner.
-
#use_legacy_sql ⇒ Boolean
(also: #use_legacy_sql?)
True if view is defined in legacy SQL dialect, false if in GoogleSQL.
Instance Method Summary collapse
-
#initialize(**args) ⇒ View
constructor
A new instance of View.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ View
Returns a new instance of View.
10273 10274 10275 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 10273 def initialize(**args) update!(**args) end |
Instance Attribute Details
#privacy_policy ⇒ Google::Apis::BigqueryV2::PrivacyPolicy
Represents privacy policy that contains the privacy requirements specified by
the data owner. Currently, this is only supported on views.
Corresponds to the JSON property privacyPolicy
10265 10266 10267 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 10265 def privacy_policy @privacy_policy end |
#use_legacy_sql ⇒ Boolean Also known as: use_legacy_sql?
True if view is defined in legacy SQL dialect, false if in GoogleSQL.
Corresponds to the JSON property useLegacySql
10270 10271 10272 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 10270 def use_legacy_sql @use_legacy_sql end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10278 10279 10280 10281 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 10278 def update!(**args) @privacy_policy = args[:privacy_policy] if args.key?(:privacy_policy) @use_legacy_sql = args[:use_legacy_sql] if args.key?(:use_legacy_sql) end |