# Class DataSourceParameter (3.23.0)

3.23.0 (latest) 3.22.0 3.21.0 3.20.0 3.19.2 3.18.0 3.17.1 3.16.0 3.15.7 3.14.1 3.13.0 3.12.1 3.11.2 3.10.1 3.9.0 3.8.0 3.7.3 3.6.2 3.5.0 3.4.1 3.3.4 3.2.0 3.1.1 3.0.1 2.1.2 2.0.0 1.1.3 1.0.0 0.4.1

    DataSourceParameter(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A parameter used to define custom fields in a data source
definition.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `param_id` | `str` Parameter identifier. |
| `display_name` | `str` Parameter display name in the user interface. |
| `description` | `str` Parameter description. |
| `type_` | `https://docs.cloud.google.com/python/docs/reference/bigquerydatatransfer/latest/google.cloud.bigquery_datatransfer_v1.types.DataSourceParameter.Type` Parameter type. |
| `required` | `bool` Is parameter required. |
| `repeated` | `bool` Deprecated. This field has no effect. |
| `validation_regex` | `str` Regular expression which can be used for parameter validation. |
| `allowed_values` | `MutableSequence[str]` All possible values for the parameter. |
| `min_value` | `google.protobuf.wrappers_pb2.DoubleValue` For integer and double values specifies minimum allowed value. |
| `max_value` | `google.protobuf.wrappers_pb2.DoubleValue` For integer and double values specifies maximum allowed value. |
| `fields` | `MutableSequence[google.cloud.bigquery_datatransfer_v1.types.DataSourceParameter]` Deprecated. This field has no effect. |
| `validation_description` | `str` Description of the requirements for this field, in case the user input does not fulfill the regex pattern or min/max values. |
| `validation_help_url` | `str` URL to a help document to further explain the naming requirements. |
| `immutable` | `bool` Cannot be changed after initial creation. |
| `recurse` | `bool` Deprecated. This field has no effect. |
| `deprecated` | `bool` If true, it should not be used in new transfers, and it should not be visible to users. |

## Classes

### Type

    Type(value)

Parameter type.