Class: Google::Cloud::Bigquery::Datatransfer::V1::DataSourceParameter
- Inherits:
-
Object
- Object
- Google::Cloud::Bigquery::Datatransfer::V1::DataSourceParameter
- Defined in:
- lib/google/cloud/bigquery/data_transfer/v1/doc/google/cloud/bigquery/datatransfer/v1/datatransfer.rb
Overview
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.
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
-
#allowed_values ⇒ Array<String>
All possible values for the parameter.
-
#description ⇒ String
Parameter description.
-
#display_name ⇒ String
Parameter display name in the user interface.
-
#fields ⇒ Array<Google::Cloud::Bigquery::Datatransfer::V1::DataSourceParameter>
When parameter is a record, describes child fields.
-
#immutable ⇒ true, false
Cannot be changed after initial creation.
-
#max_value ⇒ Google::Protobuf::DoubleValue
For integer and double values specifies maxminum allowed value.
-
#min_value ⇒ Google::Protobuf::DoubleValue
For integer and double values specifies minimum allowed value.
-
#param_id ⇒ String
Parameter identifier.
-
#recurse ⇒ true, false
If set to true, schema should be taken from the parent with the same parameter_id.
-
#repeated ⇒ true, false
Can parameter have multiple values.
-
#required ⇒ true, false
Is parameter required.
-
#type ⇒ Google::Cloud::Bigquery::Datatransfer::V1::DataSourceParameter::Type
Parameter type.
-
#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.
-
#validation_regex ⇒ String
Regular expression which can be used for parameter validation.
Instance Attribute Details
#allowed_values ⇒ Array<String>
Returns All possible values for the parameter.
73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 |
# File 'lib/google/cloud/bigquery/data_transfer/v1/doc/google/cloud/bigquery/datatransfer/v1/datatransfer.rb', line 73 class DataSourceParameter # Parameter type. module Type # Type unspecified. TYPE_UNSPECIFIED = 0 # String parameter. STRING = 1 # Integer parameter (64-bits). # Will be serialized to json as string. INTEGER = 2 # Double precision floating point parameter. DOUBLE = 3 # Boolean parameter. BOOLEAN = 4 # Record parameter. RECORD = 5 # Page ID for a Google+ Page. PLUS_PAGE = 6 end end |
#description ⇒ String
Returns Parameter description.
73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 |
# File 'lib/google/cloud/bigquery/data_transfer/v1/doc/google/cloud/bigquery/datatransfer/v1/datatransfer.rb', line 73 class DataSourceParameter # Parameter type. module Type # Type unspecified. TYPE_UNSPECIFIED = 0 # String parameter. STRING = 1 # Integer parameter (64-bits). # Will be serialized to json as string. INTEGER = 2 # Double precision floating point parameter. DOUBLE = 3 # Boolean parameter. BOOLEAN = 4 # Record parameter. RECORD = 5 # Page ID for a Google+ Page. PLUS_PAGE = 6 end end |
#display_name ⇒ String
Returns Parameter display name in the user interface.
73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 |
# File 'lib/google/cloud/bigquery/data_transfer/v1/doc/google/cloud/bigquery/datatransfer/v1/datatransfer.rb', line 73 class DataSourceParameter # Parameter type. module Type # Type unspecified. TYPE_UNSPECIFIED = 0 # String parameter. STRING = 1 # Integer parameter (64-bits). # Will be serialized to json as string. INTEGER = 2 # Double precision floating point parameter. DOUBLE = 3 # Boolean parameter. BOOLEAN = 4 # Record parameter. RECORD = 5 # Page ID for a Google+ Page. PLUS_PAGE = 6 end end |
#fields ⇒ Array<Google::Cloud::Bigquery::Datatransfer::V1::DataSourceParameter>
Returns When parameter is a record, describes child fields.
73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 |
# File 'lib/google/cloud/bigquery/data_transfer/v1/doc/google/cloud/bigquery/datatransfer/v1/datatransfer.rb', line 73 class DataSourceParameter # Parameter type. module Type # Type unspecified. TYPE_UNSPECIFIED = 0 # String parameter. STRING = 1 # Integer parameter (64-bits). # Will be serialized to json as string. INTEGER = 2 # Double precision floating point parameter. DOUBLE = 3 # Boolean parameter. BOOLEAN = 4 # Record parameter. RECORD = 5 # Page ID for a Google+ Page. PLUS_PAGE = 6 end end |
#immutable ⇒ true, false
Returns Cannot be changed after initial creation.
73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 |
# File 'lib/google/cloud/bigquery/data_transfer/v1/doc/google/cloud/bigquery/datatransfer/v1/datatransfer.rb', line 73 class DataSourceParameter # Parameter type. module Type # Type unspecified. TYPE_UNSPECIFIED = 0 # String parameter. STRING = 1 # Integer parameter (64-bits). # Will be serialized to json as string. INTEGER = 2 # Double precision floating point parameter. DOUBLE = 3 # Boolean parameter. BOOLEAN = 4 # Record parameter. RECORD = 5 # Page ID for a Google+ Page. PLUS_PAGE = 6 end end |
#max_value ⇒ Google::Protobuf::DoubleValue
Returns For integer and double values specifies maxminum allowed value.
73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 |
# File 'lib/google/cloud/bigquery/data_transfer/v1/doc/google/cloud/bigquery/datatransfer/v1/datatransfer.rb', line 73 class DataSourceParameter # Parameter type. module Type # Type unspecified. TYPE_UNSPECIFIED = 0 # String parameter. STRING = 1 # Integer parameter (64-bits). # Will be serialized to json as string. INTEGER = 2 # Double precision floating point parameter. DOUBLE = 3 # Boolean parameter. BOOLEAN = 4 # Record parameter. RECORD = 5 # Page ID for a Google+ Page. PLUS_PAGE = 6 end end |
#min_value ⇒ Google::Protobuf::DoubleValue
Returns For integer and double values specifies minimum allowed value.
73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 |
# File 'lib/google/cloud/bigquery/data_transfer/v1/doc/google/cloud/bigquery/datatransfer/v1/datatransfer.rb', line 73 class DataSourceParameter # Parameter type. module Type # Type unspecified. TYPE_UNSPECIFIED = 0 # String parameter. STRING = 1 # Integer parameter (64-bits). # Will be serialized to json as string. INTEGER = 2 # Double precision floating point parameter. DOUBLE = 3 # Boolean parameter. BOOLEAN = 4 # Record parameter. RECORD = 5 # Page ID for a Google+ Page. PLUS_PAGE = 6 end end |
#param_id ⇒ String
Returns Parameter identifier.
73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 |
# File 'lib/google/cloud/bigquery/data_transfer/v1/doc/google/cloud/bigquery/datatransfer/v1/datatransfer.rb', line 73 class DataSourceParameter # Parameter type. module Type # Type unspecified. TYPE_UNSPECIFIED = 0 # String parameter. STRING = 1 # Integer parameter (64-bits). # Will be serialized to json as string. INTEGER = 2 # Double precision floating point parameter. DOUBLE = 3 # Boolean parameter. BOOLEAN = 4 # Record parameter. RECORD = 5 # Page ID for a Google+ Page. PLUS_PAGE = 6 end end |
#recurse ⇒ true, false
Returns If set to true, schema should be taken from the parent with the same parameter_id. Only applicable when parameter type is RECORD.
73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 |
# File 'lib/google/cloud/bigquery/data_transfer/v1/doc/google/cloud/bigquery/datatransfer/v1/datatransfer.rb', line 73 class DataSourceParameter # Parameter type. module Type # Type unspecified. TYPE_UNSPECIFIED = 0 # String parameter. STRING = 1 # Integer parameter (64-bits). # Will be serialized to json as string. INTEGER = 2 # Double precision floating point parameter. DOUBLE = 3 # Boolean parameter. BOOLEAN = 4 # Record parameter. RECORD = 5 # Page ID for a Google+ Page. PLUS_PAGE = 6 end end |
#repeated ⇒ true, false
Returns Can parameter have multiple values.
73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 |
# File 'lib/google/cloud/bigquery/data_transfer/v1/doc/google/cloud/bigquery/datatransfer/v1/datatransfer.rb', line 73 class DataSourceParameter # Parameter type. module Type # Type unspecified. TYPE_UNSPECIFIED = 0 # String parameter. STRING = 1 # Integer parameter (64-bits). # Will be serialized to json as string. INTEGER = 2 # Double precision floating point parameter. DOUBLE = 3 # Boolean parameter. BOOLEAN = 4 # Record parameter. RECORD = 5 # Page ID for a Google+ Page. PLUS_PAGE = 6 end end |
#required ⇒ true, false
Returns Is parameter required.
73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 |
# File 'lib/google/cloud/bigquery/data_transfer/v1/doc/google/cloud/bigquery/datatransfer/v1/datatransfer.rb', line 73 class DataSourceParameter # Parameter type. module Type # Type unspecified. TYPE_UNSPECIFIED = 0 # String parameter. STRING = 1 # Integer parameter (64-bits). # Will be serialized to json as string. INTEGER = 2 # Double precision floating point parameter. DOUBLE = 3 # Boolean parameter. BOOLEAN = 4 # Record parameter. RECORD = 5 # Page ID for a Google+ Page. PLUS_PAGE = 6 end end |
#type ⇒ Google::Cloud::Bigquery::Datatransfer::V1::DataSourceParameter::Type
Returns Parameter type.
73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 |
# File 'lib/google/cloud/bigquery/data_transfer/v1/doc/google/cloud/bigquery/datatransfer/v1/datatransfer.rb', line 73 class DataSourceParameter # Parameter type. module Type # Type unspecified. TYPE_UNSPECIFIED = 0 # String parameter. STRING = 1 # Integer parameter (64-bits). # Will be serialized to json as string. INTEGER = 2 # Double precision floating point parameter. DOUBLE = 3 # Boolean parameter. BOOLEAN = 4 # Record parameter. RECORD = 5 # Page ID for a Google+ Page. PLUS_PAGE = 6 end end |
#validation_description ⇒ String
Returns Description of the requirements for this field, in case the user input does not fulfill the regex pattern or min/max values.
73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 |
# File 'lib/google/cloud/bigquery/data_transfer/v1/doc/google/cloud/bigquery/datatransfer/v1/datatransfer.rb', line 73 class DataSourceParameter # Parameter type. module Type # Type unspecified. TYPE_UNSPECIFIED = 0 # String parameter. STRING = 1 # Integer parameter (64-bits). # Will be serialized to json as string. INTEGER = 2 # Double precision floating point parameter. DOUBLE = 3 # Boolean parameter. BOOLEAN = 4 # Record parameter. RECORD = 5 # Page ID for a Google+ Page. PLUS_PAGE = 6 end end |
#validation_help_url ⇒ String
Returns URL to a help document to further explain the naming requirements.
73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 |
# File 'lib/google/cloud/bigquery/data_transfer/v1/doc/google/cloud/bigquery/datatransfer/v1/datatransfer.rb', line 73 class DataSourceParameter # Parameter type. module Type # Type unspecified. TYPE_UNSPECIFIED = 0 # String parameter. STRING = 1 # Integer parameter (64-bits). # Will be serialized to json as string. INTEGER = 2 # Double precision floating point parameter. DOUBLE = 3 # Boolean parameter. BOOLEAN = 4 # Record parameter. RECORD = 5 # Page ID for a Google+ Page. PLUS_PAGE = 6 end end |
#validation_regex ⇒ String
Returns Regular expression which can be used for parameter validation.
73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 |
# File 'lib/google/cloud/bigquery/data_transfer/v1/doc/google/cloud/bigquery/datatransfer/v1/datatransfer.rb', line 73 class DataSourceParameter # Parameter type. module Type # Type unspecified. TYPE_UNSPECIFIED = 0 # String parameter. STRING = 1 # Integer parameter (64-bits). # Will be serialized to json as string. INTEGER = 2 # Double precision floating point parameter. DOUBLE = 3 # Boolean parameter. BOOLEAN = 4 # Record parameter. RECORD = 5 # Page ID for a Google+ Page. PLUS_PAGE = 6 end end |