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.
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;
string
setParamId
Parameter identifier.
Generated from protobuf field string param_id = 1;
var
string
$this
getDisplayName
Parameter display name in the user interface.
Generated from protobuf field string display_name = 2;
string
setDisplayName
Parameter display name in the user interface.
Generated from protobuf field string display_name = 2;
var
string
$this
getDescription
Parameter description.
Generated from protobuf field string description = 3;
string
setDescription
Parameter description.
Generated from protobuf field string description = 3;
var
string
$this
getType
Parameter type.
Generated from protobuf field .google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type type = 4;
int
setType
Parameter type.
Generated from protobuf field .google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type type = 4;
var
int
$this
getRequired
Is parameter required.
Generated from protobuf field bool required = 5;
bool
setRequired
Is parameter required.
Generated from protobuf field bool required = 5;
var
bool
$this
getRepeated
Deprecated. This field has no effect.
Generated from protobuf field bool repeated = 6;
bool
setRepeated
Deprecated. This field has no effect.
Generated from protobuf field bool repeated = 6;
var
bool
$this
getValidationRegex
Regular expression which can be used for parameter validation.
Generated from protobuf field string validation_regex = 7;
string
setValidationRegex
Regular expression which can be used for parameter validation.
Generated from protobuf field string validation_regex = 7;
var
string
$this
getAllowedValues
All possible values for the parameter.
Generated from protobuf field repeated string allowed_values = 8;
Google\Protobuf\Internal\RepeatedField
setAllowedValues
All possible values for the parameter.
Generated from protobuf field repeated string allowed_values = 8;
var
string[]
$this
getMinValue
For integer and double values specifies minimum allowed value.
Generated from protobuf field .google.protobuf.DoubleValue min_value = 9;
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;
float|null
setMinValue
For integer and double values specifies minimum allowed value.
Generated from protobuf field .google.protobuf.DoubleValue min_value = 9;
var
Google\Protobuf\DoubleValue
$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;
var
float|null
$this
getMaxValue
For integer and double values specifies maximum allowed value.
Generated from protobuf field .google.protobuf.DoubleValue max_value = 10;
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;
float|null
setMaxValue
For integer and double values specifies maximum allowed value.
Generated from protobuf field .google.protobuf.DoubleValue max_value = 10;
var
Google\Protobuf\DoubleValue
$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;
var
float|null
$this
getFields
Deprecated. This field has no effect.
Generated from protobuf field repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter fields = 11;
Google\Protobuf\Internal\RepeatedField
setFields
Deprecated. This field has no effect.
Generated from protobuf field repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter fields = 11;
$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;
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;
var
string
$this
getValidationHelpUrl
URL to a help document to further explain the naming requirements.
Generated from protobuf field string validation_help_url = 13;
string
setValidationHelpUrl
URL to a help document to further explain the naming requirements.
Generated from protobuf field string validation_help_url = 13;
var
string
$this
getImmutable
Cannot be changed after initial creation.
Generated from protobuf field bool immutable = 14;
bool
setImmutable
Cannot be changed after initial creation.
Generated from protobuf field bool immutable = 14;
var
bool
$this
getRecurse
Deprecated. This field has no effect.
Generated from protobuf field bool recurse = 15;
bool
setRecurse
Deprecated. This field has no effect.
Generated from protobuf field bool recurse = 15;
var
bool
$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;
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;
var
bool
$this