Struct google_bigquerydatatransfer1::api::DataSourceParameter[][src]

pub struct DataSourceParameter {
    pub allowed_values: Option<Vec<String>>,
    pub deprecated: Option<bool>,
    pub description: Option<String>,
    pub display_name: Option<String>,
    pub fields: Option<Vec<DataSourceParameter>>,
    pub immutable: Option<bool>,
    pub max_value: Option<f64>,
    pub min_value: Option<f64>,
    pub param_id: Option<String>,
    pub recurse: Option<bool>,
    pub repeated: Option<bool>,
    pub required: Option<bool>,
    pub type_: Option<String>,
    pub validation_description: Option<String>,
    pub validation_help_url: Option<String>,
    pub validation_regex: Option<String>,
}

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.

This type is not used in any activity, and only used as part of another schema.

Fields

allowed_values: Option<Vec<String>>

All possible values for the parameter.

deprecated: Option<bool>

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

description: Option<String>

Parameter description.

display_name: Option<String>

Parameter display name in the user interface.

fields: Option<Vec<DataSourceParameter>>

Deprecated. This field has no effect.

immutable: Option<bool>

Cannot be changed after initial creation.

max_value: Option<f64>

For integer and double values specifies maxminum allowed value.

min_value: Option<f64>

For integer and double values specifies minimum allowed value.

param_id: Option<String>

Parameter identifier.

recurse: Option<bool>

Deprecated. This field has no effect.

repeated: Option<bool>

Deprecated. This field has no effect.

required: Option<bool>

Is parameter required.

type_: Option<String>

Parameter type.

validation_description: Option<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: Option<String>

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

validation_regex: Option<String>

Regular expression which can be used for parameter validation.

Trait Implementations

impl Clone for DataSourceParameter[src]

impl Debug for DataSourceParameter[src]

impl Default for DataSourceParameter[src]

impl<'de> Deserialize<'de> for DataSourceParameter[src]

impl Part for DataSourceParameter[src]

impl Serialize for DataSourceParameter[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.