[][src]Struct google_bigquerydatatransfer1::DataSourceParameter

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

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

description: Option<String>

Parameter description.

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.

max_value: Option<f64>

For integer and double values specifies maxminum allowed value.

allowed_values: Option<Vec<String>>

All possible values for the parameter.

repeated: Option<bool>

Deprecated. This field has no effect.

min_value: Option<f64>

For integer and double values specifies minimum allowed value.

display_name: Option<String>

Parameter display name in the user interface.

deprecated: Option<bool>

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

required: Option<bool>

Is parameter required.

recurse: Option<bool>

Deprecated. This field has no effect.

fields: Option<Vec<DataSourceParameter>>

Deprecated. This field has no effect.

validation_regex: Option<String>

Regular expression which can be used for parameter validation.

validation_help_url: Option<String>

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

param_id: Option<String>

Parameter identifier.

type_: Option<String>

Parameter type.

immutable: Option<bool>

Cannot be changed after initial creation.

Trait Implementations

impl Part for DataSourceParameter[src]

impl Default for DataSourceParameter[src]

impl Clone for DataSourceParameter[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for DataSourceParameter[src]

impl Serialize for DataSourceParameter[src]

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

Auto Trait Implementations

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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.

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

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

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

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

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