Struct google_connectors1::api::ConfigVariableTemplate
source · pub struct ConfigVariableTemplate {Show 15 fields
pub authorization_code_link: Option<AuthorizationCodeLink>,
pub description: Option<String>,
pub display_name: Option<String>,
pub enum_options: Option<Vec<EnumOption>>,
pub enum_source: Option<String>,
pub is_advanced: Option<bool>,
pub key: Option<String>,
pub location_type: Option<String>,
pub multiple_select_config: Option<MultipleSelectConfig>,
pub required: Option<bool>,
pub required_condition: Option<LogicalExpression>,
pub role_grant: Option<RoleGrant>,
pub state: Option<String>,
pub validation_regex: Option<String>,
pub value_type: Option<String>,
}
Expand description
ConfigVariableTemplate provides metadata about a ConfigVariable
that is used in a Connection.
This type is not used in any activity, and only used as part of another schema.
Fields§
Authorization code link options. To be populated if ValueType
is AUTHORIZATION_CODE
description: Option<String>
Description.
display_name: Option<String>
Display name of the parameter.
enum_options: Option<Vec<EnumOption>>
Enum options. To be populated if ValueType
is ENUM
enum_source: Option<String>
Optional. enum source denotes the source of api to fill the enum options
is_advanced: Option<bool>
Indicates if current template is part of advanced settings
key: Option<String>
Key of the config variable.
location_type: Option<String>
Optional. Location Tyep denotes where this value should be sent in BYOC connections.
multiple_select_config: Option<MultipleSelectConfig>
Optional. MultipleSelectConfig represents the multiple options for a config variable.
required: Option<bool>
Flag represents that this ConfigVariable
must be provided for a connection.
required_condition: Option<LogicalExpression>
Condition under which a field would be required. The condition can be represented in the form of a logical expression.
role_grant: Option<RoleGrant>
Role grant configuration for the config variable.
state: Option<String>
State of the config variable.
validation_regex: Option<String>
Regular expression in RE2 syntax used for validating the value
of a ConfigVariable
.
value_type: Option<String>
Type of the parameter: string, int, bool etc. consider custom type for the benefit for the validation.
Trait Implementations§
source§impl Clone for ConfigVariableTemplate
impl Clone for ConfigVariableTemplate
source§fn clone(&self) -> ConfigVariableTemplate
fn clone(&self) -> ConfigVariableTemplate
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ConfigVariableTemplate
impl Debug for ConfigVariableTemplate
source§impl Default for ConfigVariableTemplate
impl Default for ConfigVariableTemplate
source§fn default() -> ConfigVariableTemplate
fn default() -> ConfigVariableTemplate
source§impl<'de> Deserialize<'de> for ConfigVariableTemplate
impl<'de> Deserialize<'de> for ConfigVariableTemplate
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
source§impl Serialize for ConfigVariableTemplate
impl Serialize for ConfigVariableTemplate
impl Part for ConfigVariableTemplate
Auto Trait Implementations§
impl Freeze for ConfigVariableTemplate
impl RefUnwindSafe for ConfigVariableTemplate
impl Send for ConfigVariableTemplate
impl Sync for ConfigVariableTemplate
impl Unpin for ConfigVariableTemplate
impl UnwindSafe for ConfigVariableTemplate
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more