# Google BigQuery Data Transfer v1 API - Class DataSourceParameter (4.11.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [4.11.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.DataTransfer.V1/latest/Google.Cloud.BigQuery.DataTransfer.V1.DataSourceParameter)
- [4.10.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.DataTransfer.V1/4.10.0/Google.Cloud.BigQuery.DataTransfer.V1.DataSourceParameter)
- [4.9.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.DataTransfer.V1/4.9.0/Google.Cloud.BigQuery.DataTransfer.V1.DataSourceParameter)
- [4.8.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.DataTransfer.V1/4.8.0/Google.Cloud.BigQuery.DataTransfer.V1.DataSourceParameter)
- [4.7.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.DataTransfer.V1/4.7.0/Google.Cloud.BigQuery.DataTransfer.V1.DataSourceParameter)
- [4.6.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.DataTransfer.V1/4.6.0/Google.Cloud.BigQuery.DataTransfer.V1.DataSourceParameter)
- [4.5.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.DataTransfer.V1/4.5.0/Google.Cloud.BigQuery.DataTransfer.V1.DataSourceParameter)
- [4.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.DataTransfer.V1/4.4.0/Google.Cloud.BigQuery.DataTransfer.V1.DataSourceParameter)
- [4.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.DataTransfer.V1/4.3.0/Google.Cloud.BigQuery.DataTransfer.V1.DataSourceParameter)
- [4.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.DataTransfer.V1/4.2.0/Google.Cloud.BigQuery.DataTransfer.V1.DataSourceParameter)
- [4.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.DataTransfer.V1/4.1.0/Google.Cloud.BigQuery.DataTransfer.V1.DataSourceParameter)
- [4.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.DataTransfer.V1/4.0.0/Google.Cloud.BigQuery.DataTransfer.V1.DataSourceParameter)
- [3.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.DataTransfer.V1/3.4.0/Google.Cloud.BigQuery.DataTransfer.V1.DataSourceParameter)
- [3.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.DataTransfer.V1/3.3.0/Google.Cloud.BigQuery.DataTransfer.V1.DataSourceParameter)
- [3.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.DataTransfer.V1/3.2.0/Google.Cloud.BigQuery.DataTransfer.V1.DataSourceParameter)
- [3.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.DataTransfer.V1/3.1.0/Google.Cloud.BigQuery.DataTransfer.V1.DataSourceParameter)

    public sealed class DataSourceParameter : IMessage<DataSourceParameter>, IEquatable<DataSourceParameter>, IDeepCloneable<DataSourceParameter>, IBufferMessage, IMessage

Reference documentation and code samples for the Google BigQuery Data Transfer v1 API class DataSourceParameter.

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

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> DataSourceParameter

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[DataSourceParameter](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.DataTransfer.V1/latest/Google.Cloud.BigQuery.DataTransfer.V1.DataSourceParameter), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DataSourceParameter](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.DataTransfer.V1/latest/Google.Cloud.BigQuery.DataTransfer.V1.DataSourceParameter), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[DataSourceParameter](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.DataTransfer.V1/latest/Google.Cloud.BigQuery.DataTransfer.V1.DataSourceParameter), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.BigQuery.DataTransfer.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.DataTransfer.V1/latest/Google.Cloud.BigQuery.DataTransfer.V1)

## Assembly

Google.Cloud.BigQuery.DataTransfer.V1.dll

## Constructors

### DataSourceParameter()

    public DataSourceParameter()

### DataSourceParameter(DataSourceParameter)

    public DataSourceParameter(DataSourceParameter other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.DataTransfer.V1/latest/Google.Cloud.BigQuery.DataTransfer.V1.DataSourceParameter` |

## Properties

### AllowedValues

    public RepeatedField<string> AllowedValues { get; }

All possible values for the parameter.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://learn.microsoft.com/dotnet/api/system.string` |   |

### Deprecated

    public bool Deprecated { get; set; }

If true, it should not be used in new transfers, and it should not be
visible to users.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### Description

    public string Description { get; set; }

Parameter description.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### DisplayName

    public string DisplayName { get; set; }

Parameter display name in the user interface.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### Fields

    public RepeatedField<DataSourceParameter> Fields { get; }

Deprecated. This field has no effect.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.DataTransfer.V1/latest/Google.Cloud.BigQuery.DataTransfer.V1.DataSourceParameter` |   |

### Immutable

    public bool Immutable { get; set; }

Cannot be changed after initial creation.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### MaxValue

    public double? MaxValue { get; set; }

For integer and double values specifies maximum allowed value.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `System.Double` |   |

### MinValue

    public double? MinValue { get; set; }

For integer and double values specifies minimum allowed value.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `System.Double` |   |

### ParamId

    public string ParamId { get; set; }

Parameter identifier.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### Recurse

    public bool Recurse { get; set; }

Deprecated. This field has no effect.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### Repeated

    public bool Repeated { get; set; }

Deprecated. This field has no effect.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### Required

    public bool Required { get; set; }

Is parameter required.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### Type

    public DataSourceParameter.Types.Type Type { get; set; }

Parameter type.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.DataTransfer.V1/latest/Google.Cloud.BigQuery.DataTransfer.V1.DataSourceParameterhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.DataTransfer.V1/latest/Google.Cloud.BigQuery.DataTransfer.V1.DataSourceParameter.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.DataTransfer.V1/latest/Google.Cloud.BigQuery.DataTransfer.V1.DataSourceParameter.Types.Type` |   |

### ValidationDescription

    public string ValidationDescription { get; set; }

Description of the requirements for this field, in case the user input does
not fulfill the regex pattern or min/max values.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### ValidationHelpUrl

    public string ValidationHelpUrl { get; set; }

URL to a help document to further explain the naming requirements.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### ValidationRegex

    public string ValidationRegex { get; set; }

Regular expression which can be used for parameter validation.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |