class Google::Apis::BigqueryV2::QueryParameter
Attributes
name[RW]
- Optional
-
If unset, this is a positional parameter. Otherwise, should be
unique within a query. Corresponds to the JSON property `name` @return [String]
parameter_type[RW]
- Required
-
The type of this parameter.
Corresponds to the JSON property `parameterType` @return [Google::Apis::BigqueryV2::QueryParameterType]
parameter_value[RW]
- Required
-
The value of this parameter.
Corresponds to the JSON property `parameterValue` @return [Google::Apis::BigqueryV2::QueryParameterValue]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/bigquery_v2/classes.rb, line 4997 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/bigquery_v2/classes.rb, line 5002 def update!(**args) @name = args[:name] if args.key?(:name) @parameter_type = args[:parameter_type] if args.key?(:parameter_type) @parameter_value = args[:parameter_value] if args.key?(:parameter_value) end