Class: Google::Apis::BigqueryV2::QueryParameterValue
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::BigqueryV2::QueryParameterValue
 
 
- 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
- 
  
    
      #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.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ QueryParameterValue
Returns a new instance of QueryParameterValue
      2747 2748 2749  | 
    
      # File 'generated/google/apis/bigquery_v2/classes.rb', line 2747 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
      2735 2736 2737  | 
    
      # File 'generated/google/apis/bigquery_v2/classes.rb', line 2735 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
      2740 2741 2742  | 
    
      # File 'generated/google/apis/bigquery_v2/classes.rb', line 2740 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
      2745 2746 2747  | 
    
      # File 'generated/google/apis/bigquery_v2/classes.rb', line 2745 def value @value end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      2752 2753 2754 2755 2756  | 
    
      # File 'generated/google/apis/bigquery_v2/classes.rb', line 2752 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  |