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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ QueryParameterValue

Returns a new instance of QueryParameterValue.



4776
4777
4778
# File 'generated/google/apis/bigquery_v2/classes.rb', line 4776

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



4764
4765
4766
# File 'generated/google/apis/bigquery_v2/classes.rb', line 4764

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



4769
4770
4771
# File 'generated/google/apis/bigquery_v2/classes.rb', line 4769

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)


4774
4775
4776
# File 'generated/google/apis/bigquery_v2/classes.rb', line 4774

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4781
4782
4783
4784
4785
# File 'generated/google/apis/bigquery_v2/classes.rb', line 4781

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