Class: Google::Apis::BigqueryV2::QueryParameterValue
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::QueryParameterValue
- 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
The value of a query parameter.
Instance Attribute Summary collapse
-
#array_values ⇒ Array<Google::Apis::BigqueryV2::QueryParameterValue>
Optional.
-
#range_value ⇒ Google::Apis::BigqueryV2::RangeValue
Represents the value of a range.
-
#struct_values ⇒ Hash<String,Google::Apis::BigqueryV2::QueryParameterValue>
The struct field values.
-
#value ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ QueryParameterValue
constructor
A new instance of QueryParameterValue.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ QueryParameterValue
Returns a new instance of QueryParameterValue.
7456 7457 7458 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7456 def initialize(**args) update!(**args) end |
Instance Attribute Details
#array_values ⇒ Array<Google::Apis::BigqueryV2::QueryParameterValue>
Optional. The array values, if this is an array type.
Corresponds to the JSON property arrayValues
7439 7440 7441 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7439 def array_values @array_values end |
#range_value ⇒ Google::Apis::BigqueryV2::RangeValue
Represents the value of a range.
Corresponds to the JSON property rangeValue
7444 7445 7446 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7444 def range_value @range_value end |
#struct_values ⇒ Hash<String,Google::Apis::BigqueryV2::QueryParameterValue>
The struct field values.
Corresponds to the JSON property structValues
7449 7450 7451 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7449 def struct_values @struct_values end |
#value ⇒ String
Optional. The value of this value, if a simple scalar type.
Corresponds to the JSON property value
7454 7455 7456 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7454 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7461 7462 7463 7464 7465 7466 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7461 def update!(**args) @array_values = args[:array_values] if args.key?(:array_values) @range_value = args[:range_value] if args.key?(:range_value) @struct_values = args[:struct_values] if args.key?(:struct_values) @value = args[:value] if args.key?(:value) end |