Struct google_connectors1::api::AuthConfig
source · pub struct AuthConfig {
pub additional_variables: Option<Vec<ConfigVariable>>,
pub auth_key: Option<String>,
pub auth_type: Option<String>,
pub oauth2_auth_code_flow: Option<Oauth2AuthCodeFlow>,
pub oauth2_client_credentials: Option<Oauth2ClientCredentials>,
pub oauth2_jwt_bearer: Option<Oauth2JwtBearer>,
pub ssh_public_key: Option<SshPublicKey>,
pub user_password: Option<UserPassword>,
}
Expand description
AuthConfig defines details of a authentication type.
This type is not used in any activity, and only used as part of another schema.
Fields§
§additional_variables: Option<Vec<ConfigVariable>>
List containing additional auth configs.
auth_key: Option<String>
Identifier key for auth config
auth_type: Option<String>
The type of authentication configured.
oauth2_auth_code_flow: Option<Oauth2AuthCodeFlow>
Oauth2AuthCodeFlow.
oauth2_client_credentials: Option<Oauth2ClientCredentials>
Oauth2ClientCredentials.
oauth2_jwt_bearer: Option<Oauth2JwtBearer>
Oauth2JwtBearer.
ssh_public_key: Option<SshPublicKey>
SSH Public Key.
user_password: Option<UserPassword>
UserPassword.
Trait Implementations§
source§impl Clone for AuthConfig
impl Clone for AuthConfig
source§fn clone(&self) -> AuthConfig
fn clone(&self) -> AuthConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AuthConfig
impl Debug for AuthConfig
source§impl Default for AuthConfig
impl Default for AuthConfig
source§fn default() -> AuthConfig
fn default() -> AuthConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AuthConfig
impl<'de> Deserialize<'de> for AuthConfig
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>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for AuthConfig
impl Serialize for AuthConfig
impl Part for AuthConfig
Auto Trait Implementations§
impl RefUnwindSafe for AuthConfig
impl Send for AuthConfig
impl Sync for AuthConfig
impl Unpin for AuthConfig
impl UnwindSafe for AuthConfig
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
Mutably borrows from an owned value. Read more