argumentKind = $argumentKind; } /** * @return self::ARGUMENT_KIND_* */ public function getArgumentKind() { return $this->argumentKind; } /** * Set if argument_kind == FIXED_TYPE. * * @param StandardSqlDataType $dataType */ public function setDataType(StandardSqlDataType $dataType) { $this->dataType = $dataType; } /** * @return StandardSqlDataType */ public function getDataType() { return $this->dataType; } /** * 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. * * @param bool $isAggregate */ public function setIsAggregate($isAggregate) { $this->isAggregate = $isAggregate; } /** * @return bool */ public function getIsAggregate() { return $this->isAggregate; } /** * Optional. Specifies whether the argument is input or output. Can be set for * procedures only. * * Accepted values: MODE_UNSPECIFIED, IN, OUT, INOUT * * @param self::MODE_* $mode */ public function setMode($mode) { $this->mode = $mode; } /** * @return self::MODE_* */ public function getMode() { return $this->mode; } /** * Optional. The name of this argument. Can be absent for function return * argument. * * @param string $name */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Argument::class, 'Google_Service_Bigquery_Argument');