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
Instance Attribute Summary collapse
-
#array_values ⇒ Array<Google::Apis::BigqueryV2::QueryParameterValue>
[Optional] The array values, if this is an array type.
-
#struct_values ⇒ Hash<String,Google::Apis::BigqueryV2::QueryParameterValue>
[Optional] The struct field values, in order of the struct type's declaration.
-
#value ⇒ String
[Optional] The value of this value, if a simple scalar type.
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.
4906 4907 4908 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 4906 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
4894 4895 4896 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 4894 def array_values @array_values end |
#struct_values ⇒ Hash<String,Google::Apis::BigqueryV2::QueryParameterValue>
[Optional] The struct field values, in order of the struct type's declaration.
Corresponds to the JSON property structValues
4899 4900 4901 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 4899 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
4904 4905 4906 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 4904 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4911 4912 4913 4914 4915 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 4911 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 |