Class: Google::Apis::BigqueryV2::SystemVariables

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SystemVariables

Returns a new instance of SystemVariables.



9245
9246
9247
# File 'lib/google/apis/bigquery_v2/classes.rb', line 9245

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

Instance Attribute Details

#typesHash<String,Google::Apis::BigqueryV2::StandardSqlDataType>

Output only. Data type for each system variable. Corresponds to the JSON property types



9238
9239
9240
# File 'lib/google/apis/bigquery_v2/classes.rb', line 9238

def types
  @types
end

#valuesHash<String,Object>

Output only. Value for each system variable. Corresponds to the JSON property values

Returns:

  • (Hash<String,Object>)


9243
9244
9245
# File 'lib/google/apis/bigquery_v2/classes.rb', line 9243

def values
  @values
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9250
9251
9252
9253
# File 'lib/google/apis/bigquery_v2/classes.rb', line 9250

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