Class: Google::Apis::BigqueryV2::QueryParameterType
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::BigqueryV2::QueryParameterType
 
- 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
Defined Under Namespace
Classes: StructType
Instance Attribute Summary collapse
- 
  
    
      #array_type  ⇒ Google::Apis::BigqueryV2::QueryParameterType 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    [Optional] The type of the array's elements, if this is an array. 
- 
  
    
      #struct_types  ⇒ Array<Google::Apis::BigqueryV2::QueryParameterType::StructType> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    [Optional] The types of the fields of this struct, in order, if this is a struct. 
- 
  
    
      #type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    [Required] The top level type of this field. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ QueryParameterType 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of QueryParameterType. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ QueryParameterType
Returns a new instance of QueryParameterType
| 2463 2464 2465 | # File 'generated/google/apis/bigquery_v2/classes.rb', line 2463 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#array_type ⇒ Google::Apis::BigqueryV2::QueryParameterType
[Optional] The type of the array's elements, if this is an array.
Corresponds to the JSON property arrayType
| 2450 2451 2452 | # File 'generated/google/apis/bigquery_v2/classes.rb', line 2450 def array_type @array_type end | 
#struct_types ⇒ Array<Google::Apis::BigqueryV2::QueryParameterType::StructType>
[Optional] The types of the fields of this struct, in order, if this is a
struct.
Corresponds to the JSON property structTypes
| 2456 2457 2458 | # File 'generated/google/apis/bigquery_v2/classes.rb', line 2456 def struct_types @struct_types end | 
#type ⇒ String
[Required] The top level type of this field.
Corresponds to the JSON property type
| 2461 2462 2463 | # File 'generated/google/apis/bigquery_v2/classes.rb', line 2461 def type @type end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 2468 2469 2470 2471 2472 | # File 'generated/google/apis/bigquery_v2/classes.rb', line 2468 def update!(**args) @array_type = args[:array_type] if args.key?(:array_type) @struct_types = args[:struct_types] if args.key?(:struct_types) @type = args[:type] if args.key?(:type) end |