Class DataSourceParameter (3.1.0)

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

Represents a data source parameter with validation rules, so that parameters can be rendered in the UI. These parameters are given to us by supported data sources, and include all needed information for rendering and validation. Thus, whoever uses this api can decide to generate either generic ui, or custom data source specific forms.

Inheritance

Object > DataSourceParameter

Namespace

Google.Cloud.BigQuery.DataTransfer.V1

Assembly

Google.Cloud.BigQuery.DataTransfer.V1.dll

Constructors

DataSourceParameter()

public DataSourceParameter()

DataSourceParameter(DataSourceParameter)

public DataSourceParameter(DataSourceParameter other)
Parameter
NameDescription
otherDataSourceParameter

Properties

AllowedValues

public RepeatedField<string> AllowedValues { get; }

All possible values for the parameter.

Property Value
TypeDescription
RepeatedField<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
TypeDescription
Boolean

Description

public string Description { get; set; }

Parameter description.

Property Value
TypeDescription
String

DisplayName

public string DisplayName { get; set; }

Parameter display name in the user interface.

Property Value
TypeDescription
String

Fields

public RepeatedField<DataSourceParameter> Fields { get; }

Deprecated. This field has no effect.

Property Value
TypeDescription
RepeatedField<DataSourceParameter>

Immutable

public bool Immutable { get; set; }

Cannot be changed after initial creation.

Property Value
TypeDescription
Boolean

MaxValue

public double? MaxValue { get; set; }

For integer and double values specifies maxminum allowed value.

Property Value
TypeDescription
Nullable<Double>

MinValue

public double? MinValue { get; set; }

For integer and double values specifies minimum allowed value.

Property Value
TypeDescription
Nullable<Double>

ParamId

public string ParamId { get; set; }

Parameter identifier.

Property Value
TypeDescription
String

Recurse

public bool Recurse { get; set; }

Deprecated. This field has no effect.

Property Value
TypeDescription
Boolean

Repeated

public bool Repeated { get; set; }

Deprecated. This field has no effect.

Property Value
TypeDescription
Boolean

Required

public bool Required { get; set; }

Is parameter required.

Property Value
TypeDescription
Boolean

Type

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

Parameter type.

Property Value
TypeDescription
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
TypeDescription
String

ValidationHelpUrl

public string ValidationHelpUrl { get; set; }

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

Property Value
TypeDescription
String

ValidationRegex

public string ValidationRegex { get; set; }

Regular expression which can be used for parameter validation.

Property Value
TypeDescription
String