class Google::Apis::BigqueryV2::Argument
Input/output argument of a function or a stored procedure.
Attributes
Optional. Defaults to FIXED_TYPE. Corresponds to the JSON property `argumentKind` @return [String]
The type of a variable, e.g., a function argument. Examples: INT64: `type_kind= “INT64”` ARRAY: `type_kind=“ARRAY”, array_element_type=“STRING”` STRUCT>: ` type_kind=“STRUCT”, struct_type=`fields=[ `name=“x”, type=`type_kind=“STRING”“ , `name=“y”, type=`type_kind=“ARRAY”, array_element_type=“DATE”“ ]“ Corresponds to the JSON property `dataType` @return [Google::Apis::BigqueryV2::StandardSqlDataType]
Optional. Specifies whether the argument is input or output. Can be set for procedures only. Corresponds to the JSON property `mode` @return [String]
Optional. The name of this argument. Can be absent for function return argument. Corresponds to the JSON property `name` @return [String]
Public Class Methods
# File lib/google/apis/bigquery_v2/classes.rb, line 120 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/bigquery_v2/classes.rb, line 125 def update!(**args) @argument_kind = args[:argument_kind] if args.key?(:argument_kind) @data_type = args[:data_type] if args.key?(:data_type) @mode = args[:mode] if args.key?(:mode) @name = args[:name] if args.key?(:name) end