Class: Google::Apis::BigqueryV2::ForeignViewDefinition
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::ForeignViewDefinition
- 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
A view can be represented in multiple ways. Each representation has its own dialect. This message stores the metadata required for these representations.
Instance Attribute Summary collapse
-
#dialect ⇒ String
Optional.
-
#query ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ForeignViewDefinition
constructor
A new instance of ForeignViewDefinition.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ForeignViewDefinition
Returns a new instance of ForeignViewDefinition.
3420 3421 3422 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 3420 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dialect ⇒ String
Optional. Represents the dialect of the query.
Corresponds to the JSON property dialect
3413 3414 3415 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 3413 def dialect @dialect end |
#query ⇒ String
Required. The query that defines the view.
Corresponds to the JSON property query
3418 3419 3420 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 3418 def query @query end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3425 3426 3427 3428 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 3425 def update!(**args) @dialect = args[:dialect] if args.key?(:dialect) @query = args[:query] if args.key?(:query) end |