BigQuery Data Transfer V1 Client - Class DataSourceParameter (1.3.8)

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

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.

Generated from protobuf field string param_id = 1;

Returns
TypeDescription
string

setParamId

Parameter identifier.

Generated from protobuf field string param_id = 1;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDisplayName

Parameter display name in the user interface.

Generated from protobuf field string display_name = 2;

Returns
TypeDescription
string

setDisplayName

Parameter display name in the user interface.

Generated from protobuf field string display_name = 2;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDescription

Parameter description.

Generated from protobuf field string description = 3;

Returns
TypeDescription
string

setDescription

Parameter description.

Generated from protobuf field string description = 3;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getType

Parameter type.

Generated from protobuf field .google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type type = 4;

Returns
TypeDescription
int

setType

Parameter type.

Generated from protobuf field .google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type type = 4;

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getRequired

Is parameter required.

Generated from protobuf field bool required = 5;

Returns
TypeDescription
bool

setRequired

Is parameter required.

Generated from protobuf field bool required = 5;

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getRepeated

Deprecated. This field has no effect.

Generated from protobuf field bool repeated = 6;

Returns
TypeDescription
bool

setRepeated

Deprecated. This field has no effect.

Generated from protobuf field bool repeated = 6;

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getValidationRegex

Regular expression which can be used for parameter validation.

Generated from protobuf field string validation_regex = 7;

Returns
TypeDescription
string

setValidationRegex

Regular expression which can be used for parameter validation.

Generated from protobuf field string validation_regex = 7;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getAllowedValues

All possible values for the parameter.

Generated from protobuf field repeated string allowed_values = 8;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setAllowedValues

All possible values for the parameter.

Generated from protobuf field repeated string allowed_values = 8;

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getMinValue

For integer and double values specifies minimum allowed value.

Generated from protobuf field .google.protobuf.DoubleValue min_value = 9;

Returns
TypeDescription
Google\Protobuf\DoubleValue|null

hasMinValue

clearMinValue

getMinValueValue

Returns the unboxed value from getMinValue()

For integer and double values specifies minimum allowed value.

Generated from protobuf field .google.protobuf.DoubleValue min_value = 9;

Returns
TypeDescription
float|null

setMinValue

For integer and double values specifies minimum allowed value.

Generated from protobuf field .google.protobuf.DoubleValue min_value = 9;

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.

Generated from protobuf field .google.protobuf.DoubleValue min_value = 9;

Parameter
NameDescription
var float|null
Returns
TypeDescription
$this

getMaxValue

For integer and double values specifies maximum allowed value.

Generated from protobuf field .google.protobuf.DoubleValue max_value = 10;

Returns
TypeDescription
Google\Protobuf\DoubleValue|null

hasMaxValue

clearMaxValue

getMaxValueValue

Returns the unboxed value from getMaxValue()

For integer and double values specifies maximum allowed value.

Generated from protobuf field .google.protobuf.DoubleValue max_value = 10;

Returns
TypeDescription
float|null

setMaxValue

For integer and double values specifies maximum allowed value.

Generated from protobuf field .google.protobuf.DoubleValue max_value = 10;

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.

Generated from protobuf field .google.protobuf.DoubleValue max_value = 10;

Parameter
NameDescription
var float|null
Returns
TypeDescription
$this

getFields

Deprecated. This field has no effect.

Generated from protobuf field repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter fields = 11;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setFields

Deprecated. This field has no effect.

Generated from protobuf field repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter fields = 11;

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.

Generated from protobuf field string validation_description = 12;

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.

Generated from protobuf field string validation_description = 12;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getValidationHelpUrl

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

Generated from protobuf field string validation_help_url = 13;

Returns
TypeDescription
string

setValidationHelpUrl

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

Generated from protobuf field string validation_help_url = 13;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getImmutable

Cannot be changed after initial creation.

Generated from protobuf field bool immutable = 14;

Returns
TypeDescription
bool

setImmutable

Cannot be changed after initial creation.

Generated from protobuf field bool immutable = 14;

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getRecurse

Deprecated. This field has no effect.

Generated from protobuf field bool recurse = 15;

Returns
TypeDescription
bool

setRecurse

Deprecated. This field has no effect.

Generated from protobuf field bool recurse = 15;

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.

Generated from protobuf field bool deprecated = 20;

Returns
TypeDescription
bool

setDeprecated

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

Generated from protobuf field bool deprecated = 20;

Parameter
NameDescription
var bool
Returns
TypeDescription
$this