Class: Google::Apis::BigqueryV2::SystemVariables
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::SystemVariables
- 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
System variables given to a query.
Instance Attribute Summary collapse
-
#types ⇒ Hash<String,Google::Apis::BigqueryV2::StandardSqlDataType>
Output only.
-
#values ⇒ Hash<String,Object>
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SystemVariables
constructor
A new instance of SystemVariables.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SystemVariables
Returns a new instance of SystemVariables.
9193 9194 9195 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 9193 def initialize(**args) update!(**args) end |
Instance Attribute Details
#types ⇒ Hash<String,Google::Apis::BigqueryV2::StandardSqlDataType>
Output only. Data type for each system variable.
Corresponds to the JSON property types
9186 9187 9188 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 9186 def types @types end |
#values ⇒ Hash<String,Object>
Output only. Value for each system variable.
Corresponds to the JSON property values
9191 9192 9193 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 9191 def values @values end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9198 9199 9200 9201 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 9198 def update!(**args) @types = args[:types] if args.key?(:types) @values = args[:values] if args.key?(:values) end |