Class: Google::Apis::BigqueryV2::TableList::Table::View

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/bigquery_v2/classes.rb,
generated/google/apis/bigquery_v2/representations.rb,
generated/google/apis/bigquery_v2/representations.rb

Overview

Additional details for a view.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ View

Returns a new instance of View.


6241
6242
6243
# File 'generated/google/apis/bigquery_v2/classes.rb', line 6241

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#use_legacy_sqlBoolean Also known as: use_legacy_sql?

True if view is defined in legacy SQL dialect, false if in standard SQL. Corresponds to the JSON property useLegacySql

Returns:

  • (Boolean)

6238
6239
6240
# File 'generated/google/apis/bigquery_v2/classes.rb', line 6238

def use_legacy_sql
  @use_legacy_sql
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


6246
6247
6248
# File 'generated/google/apis/bigquery_v2/classes.rb', line 6246

def update!(**args)
  @use_legacy_sql = args[:use_legacy_sql] if args.key?(:use_legacy_sql)
end