Class DataSourceParameter (3.13.0)

DataSourceParameter(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

Attributes

NameDescription
param_id str
Parameter identifier.
display_name str
Parameter display name in the user interface.
description str
Parameter description.
type_ google.cloud.bigquery_datatransfer_v1.types.DataSourceParameter.Type
Parameter type.
required bool
Is parameter required.
repeated bool
Deprecated. This field has no effect.
validation_regex str
Regular expression which can be used for parameter validation.
allowed_values MutableSequence[str]
All possible values for the parameter.
min_value google.protobuf.wrappers_pb2.DoubleValue
For integer and double values specifies minimum allowed value.
max_value google.protobuf.wrappers_pb2.DoubleValue
For integer and double values specifies maximum allowed value.
fields MutableSequence[google.cloud.bigquery_datatransfer_v1.types.DataSourceParameter]
Deprecated. This field has no effect.
validation_description str
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 str
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.

Classes

Type

Type(value)

Parameter type.

Values: TYPE_UNSPECIFIED (0): Type unspecified. STRING (1): String parameter. INTEGER (2): Integer parameter (64-bits). Will be serialized to json as string. DOUBLE (3): Double precision floating point parameter. BOOLEAN (4): Boolean parameter. RECORD (5): Deprecated. This field has no effect. PLUS_PAGE (6): Page ID for a Google+ Page. LIST (7): List of strings parameter.