Struct google_api_proto::google::cloud::bigquery::datatransfer::v1::DataSourceParameter
source · pub struct DataSourceParameter {Show 16 fields
pub param_id: String,
pub display_name: String,
pub description: String,
pub type: i32,
pub required: bool,
pub repeated: bool,
pub validation_regex: String,
pub allowed_values: Vec<String>,
pub min_value: Option<f64>,
pub max_value: Option<f64>,
pub fields: Vec<DataSourceParameter>,
pub validation_description: String,
pub validation_help_url: String,
pub immutable: bool,
pub recurse: bool,
pub deprecated: bool,
}
Expand description
A parameter used to define custom fields in a data source definition.
Fields§
§param_id: String
Parameter identifier.
display_name: String
Parameter display name in the user interface.
description: String
Parameter description.
type: i32
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: Vec<String>
All possible values for the parameter.
min_value: Option<f64>
For integer and double values specifies minimum allowed value.
max_value: Option<f64>
For integer and double values specifies maximum allowed value.
fields: Vec<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.
Implementations§
Trait Implementations§
source§impl Clone for DataSourceParameter
impl Clone for DataSourceParameter
source§fn clone(&self) -> DataSourceParameter
fn clone(&self) -> DataSourceParameter
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DataSourceParameter
impl Debug for DataSourceParameter
source§impl Default for DataSourceParameter
impl Default for DataSourceParameter
source§impl Message for DataSourceParameter
impl Message for DataSourceParameter
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for DataSourceParameter
impl PartialEq for DataSourceParameter
source§fn eq(&self, other: &DataSourceParameter) -> bool
fn eq(&self, other: &DataSourceParameter) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DataSourceParameter
Auto Trait Implementations§
impl Freeze for DataSourceParameter
impl RefUnwindSafe for DataSourceParameter
impl Send for DataSourceParameter
impl Sync for DataSourceParameter
impl Unpin for DataSourceParameter
impl UnwindSafe for DataSourceParameter
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request