BigQuery Data Transfer V1 Client - Class DataSourceParameter (1.6.2)

Reference documentation and code samples for the BigQuery Data Transfer V1 Client class DataSourceParameter.

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

Generated from protobuf message google.cloud.bigquery.datatransfer.v1.DataSourceParameter

Namespace

Google \ Cloud \ BigQuery \ DataTransfer \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ param_id string

Parameter identifier.

↳ display_name string

Parameter display name in the user interface.

↳ description string

Parameter description.

↳ type int

Parameter type.

↳ required bool

Is parameter required.

↳ repeated bool

Deprecated. This field has no effect.

↳ validation_regex string

Regular expression which can be used for parameter validation.

↳ allowed_values array

All possible values for the parameter.

↳ min_value Google\Protobuf\DoubleValue

For integer and double values specifies minimum allowed value.

↳ max_value Google\Protobuf\DoubleValue

For integer and double values specifies maximum allowed value.

↳ fields array<Google\Cloud\BigQuery\DataTransfer\V1\DataSourceParameter>

Deprecated. This field has no effect.

↳ validation_description string

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 string

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.

getParamId

Parameter identifier.

Returns
TypeDescription
string

setParamId

Parameter identifier.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDisplayName

Parameter display name in the user interface.

Returns
TypeDescription
string

setDisplayName

Parameter display name in the user interface.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDescription

Parameter description.

Returns
TypeDescription
string

setDescription

Parameter description.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getType

Parameter type.

Returns
TypeDescription
int

setType

Parameter type.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getRequired

Is parameter required.

Returns
TypeDescription
bool

setRequired

Is parameter required.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getRepeated

Deprecated. This field has no effect.

Returns
TypeDescription
bool

setRepeated

Deprecated. This field has no effect.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getValidationRegex

Regular expression which can be used for parameter validation.

Returns
TypeDescription
string

setValidationRegex

Regular expression which can be used for parameter validation.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getAllowedValues

All possible values for the parameter.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setAllowedValues

All possible values for the parameter.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getMinValue

For integer and double values specifies minimum allowed value.

Returns
TypeDescription
Google\Protobuf\DoubleValue|null

hasMinValue

clearMinValue

getMinValueValue

Returns the unboxed value from getMinValue()

For integer and double values specifies minimum allowed value.

Returns
TypeDescription
float|null

setMinValue

For integer and double values specifies minimum allowed value.

Parameter
NameDescription
var Google\Protobuf\DoubleValue
Returns
TypeDescription
$this

setMinValueValue

Sets the field by wrapping a primitive type in a Google\Protobuf\DoubleValue object.

For integer and double values specifies minimum allowed value.

Parameter
NameDescription
var float|null
Returns
TypeDescription
$this

getMaxValue

For integer and double values specifies maximum allowed value.

Returns
TypeDescription
Google\Protobuf\DoubleValue|null

hasMaxValue

clearMaxValue

getMaxValueValue

Returns the unboxed value from getMaxValue()

For integer and double values specifies maximum allowed value.

Returns
TypeDescription
float|null

setMaxValue

For integer and double values specifies maximum allowed value.

Parameter
NameDescription
var Google\Protobuf\DoubleValue
Returns
TypeDescription
$this

setMaxValueValue

Sets the field by wrapping a primitive type in a Google\Protobuf\DoubleValue object.

For integer and double values specifies maximum allowed value.

Parameter
NameDescription
var float|null
Returns
TypeDescription
$this

getFields

Deprecated. This field has no effect.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setFields

Deprecated. This field has no effect.

Parameter
NameDescription
var array<Google\Cloud\BigQuery\DataTransfer\V1\DataSourceParameter>
Returns
TypeDescription
$this

getValidationDescription

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

Returns
TypeDescription
string

setValidationDescription

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getValidationHelpUrl

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

Returns
TypeDescription
string

setValidationHelpUrl

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getImmutable

Cannot be changed after initial creation.

Returns
TypeDescription
bool

setImmutable

Cannot be changed after initial creation.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getRecurse

Deprecated. This field has no effect.

Returns
TypeDescription
bool

setRecurse

Deprecated. This field has no effect.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getDeprecated

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

Returns
TypeDescription
bool

setDeprecated

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

Parameter
NameDescription
var bool
Returns
TypeDescription
$this