allowedValues = $allowedValues; } /** * @return string[] */ public function getAllowedValues() { return $this->allowedValues; } /** * If true, it should not be used in new transfers, and it should not be * visible to users. * * @param bool $deprecated */ public function setDeprecated($deprecated) { $this->deprecated = $deprecated; } /** * @return bool */ public function getDeprecated() { return $this->deprecated; } /** * Parameter description. * * @param string $description */ public function setDescription($description) { $this->description = $description; } /** * @return string */ public function getDescription() { return $this->description; } /** * Parameter display name in the user interface. * * @param string $displayName */ public function setDisplayName($displayName) { $this->displayName = $displayName; } /** * @return string */ public function getDisplayName() { return $this->displayName; } /** * Deprecated. This field has no effect. * * @param DataSourceParameter[] $fields */ public function setFields($fields) { $this->fields = $fields; } /** * @return DataSourceParameter[] */ public function getFields() { return $this->fields; } /** * Cannot be changed after initial creation. * * @param bool $immutable */ public function setImmutable($immutable) { $this->immutable = $immutable; } /** * @return bool */ public function getImmutable() { return $this->immutable; } /** * For list parameters, the max size of the list. * * @param string $maxListSize */ public function setMaxListSize($maxListSize) { $this->maxListSize = $maxListSize; } /** * @return string */ public function getMaxListSize() { return $this->maxListSize; } public function setMaxValue($maxValue) { $this->maxValue = $maxValue; } public function getMaxValue() { return $this->maxValue; } public function setMinValue($minValue) { $this->minValue = $minValue; } public function getMinValue() { return $this->minValue; } /** * Parameter identifier. * * @param string $paramId */ public function setParamId($paramId) { $this->paramId = $paramId; } /** * @return string */ public function getParamId() { return $this->paramId; } /** * Deprecated. This field has no effect. * * @param bool $recurse */ public function setRecurse($recurse) { $this->recurse = $recurse; } /** * @return bool */ public function getRecurse() { return $this->recurse; } /** * Deprecated. This field has no effect. * * @param bool $repeated */ public function setRepeated($repeated) { $this->repeated = $repeated; } /** * @return bool */ public function getRepeated() { return $this->repeated; } /** * Is parameter required. * * @param bool $required */ public function setRequired($required) { $this->required = $required; } /** * @return bool */ public function getRequired() { return $this->required; } /** * Parameter type. * * Accepted values: TYPE_UNSPECIFIED, STRING, INTEGER, DOUBLE, BOOLEAN, * RECORD, PLUS_PAGE, LIST * * @param self::TYPE_* $type */ public function setType($type) { $this->type = $type; } /** * @return self::TYPE_* */ public function getType() { return $this->type; } /** * Description of the requirements for this field, in case the user input does * not fulfill the regex pattern or min/max values. * * @param string $validationDescription */ public function setValidationDescription($validationDescription) { $this->validationDescription = $validationDescription; } /** * @return string */ public function getValidationDescription() { return $this->validationDescription; } /** * URL to a help document to further explain the naming requirements. * * @param string $validationHelpUrl */ public function setValidationHelpUrl($validationHelpUrl) { $this->validationHelpUrl = $validationHelpUrl; } /** * @return string */ public function getValidationHelpUrl() { return $this->validationHelpUrl; } /** * Regular expression which can be used for parameter validation. * * @param string $validationRegex */ public function setValidationRegex($validationRegex) { $this->validationRegex = $validationRegex; } /** * @return string */ public function getValidationRegex() { return $this->validationRegex; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(DataSourceParameter::class, 'Google_Service_BigQueryDataTransfer_DataSourceParameter');