ArgumentResponse class

Input/output argument of a function or a stored procedure.

Constructors

ArgumentResponse({required Input<String> argumentKind, required Input<StandardSqlDataTypeResponse> dataType, required Input<bool> isAggregate, required Input<String> mode, required Input<String> name})
Creates a new ArgumentResponse. argumentKind Optional. Defaults to FIXED_TYPE. dataType Required unless argument_kind = ANY_TYPE. isAggregate Optional. Whether the argument is an aggregate function parameter. Must be Unset for routine types other than AGGREGATE_FUNCTION. For AGGREGATE_FUNCTION, if set to false, it is equivalent to adding "NOT AGGREGATE" clause in DDL; Otherwise, it is equivalent to omitting "NOT AGGREGATE" clause in DDL. mode Optional. Specifies whether the argument is input or output. Can be set for procedures only. name Optional. The name of this argument. Can be absent for function return argument.
const
ArgumentResponse.fromMap(Map<String, dynamic> map)
factory

Properties

argumentKind → Input<String>
Optional. Defaults to FIXED_TYPE.
final
dataType → Input<StandardSqlDataTypeResponse>
Required unless argument_kind = ANY_TYPE.
final
hashCode → int
The hash code for this object.
no setterinherited
isAggregate → Input<bool>
Optional. Whether the argument is an aggregate function parameter. Must be Unset for routine types other than AGGREGATE_FUNCTION. For AGGREGATE_FUNCTION, if set to false, it is equivalent to adding "NOT AGGREGATE" clause in DDL; Otherwise, it is equivalent to omitting "NOT AGGREGATE" clause in DDL.
final
mode → Input<String>
Optional. Specifies whether the argument is input or output. Can be set for procedures only.
final
name → Input<String>
Optional. The name of this argument. Can be absent for function return argument.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited