Class: Google::Apis::BigqueryV2::QueryParameterType

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
more...

Defined Under Namespace

Classes: StructType

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ QueryParameterType

Returns a new instance of QueryParameterType

[View source]

2814
2815
2816
# File 'generated/google/apis/bigquery_v2/classes.rb', line 2814

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#array_typeGoogle::Apis::BigqueryV2::QueryParameterType

[Optional] The type of the array's elements, if this is an array. Corresponds to the JSON property arrayType


2801
2802
2803
# File 'generated/google/apis/bigquery_v2/classes.rb', line 2801

def array_type
  @array_type
end

#struct_typesArray<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


2807
2808
2809
# File 'generated/google/apis/bigquery_v2/classes.rb', line 2807

def struct_types
  @struct_types
end

#typeString

[Required] The top level type of this field. Corresponds to the JSON property type

Returns:

  • (String)

2812
2813
2814
# File 'generated/google/apis/bigquery_v2/classes.rb', line 2812

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object

[View source]

2819
2820
2821
2822
2823
# File 'generated/google/apis/bigquery_v2/classes.rb', line 2819

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
x

Warning: This is not the latest release.



Privacy · Terms