Class: Google::Apis::BigqueryV2::QueryParameterValue

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ QueryParameterValue

Returns a new instance of QueryParameterValue.



5091
5092
5093
# File 'lib/google/apis/bigquery_v2/classes.rb', line 5091

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

Instance Attribute Details

#array_valuesArray<Google::Apis::BigqueryV2::QueryParameterValue>

[Optional] The array values, if this is an array type. Corresponds to the JSON property arrayValues



5079
5080
5081
# File 'lib/google/apis/bigquery_v2/classes.rb', line 5079

def array_values
  @array_values
end

#struct_valuesHash<String,Google::Apis::BigqueryV2::QueryParameterValue>

[Optional] The struct field values, in order of the struct type's declaration. Corresponds to the JSON property structValues



5084
5085
5086
# File 'lib/google/apis/bigquery_v2/classes.rb', line 5084

def struct_values
  @struct_values
end

#valueString

[Optional] The value of this value, if a simple scalar type. Corresponds to the JSON property value

Returns:

  • (String)


5089
5090
5091
# File 'lib/google/apis/bigquery_v2/classes.rb', line 5089

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5096
5097
5098
5099
5100
# File 'lib/google/apis/bigquery_v2/classes.rb', line 5096

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