#[non_exhaustive]pub struct AccessSettings {
pub gcip_settings: Option<GcipSettings>,
pub cors_settings: Option<CorsSettings>,
pub oauth_settings: Option<OAuthSettings>,
pub reauth_settings: Option<ReauthSettings>,
pub allowed_domains_settings: Option<AllowedDomainsSettings>,
pub workforce_identity_settings: Option<WorkforceIdentitySettings>,
pub identity_sources: Vec<IdentitySource>,
/* private fields */
}Expand description
Access related settings for IAP protected apps.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.gcip_settings: Option<GcipSettings>Optional. GCIP claims and endpoint configurations for 3p identity providers.
cors_settings: Option<CorsSettings>Optional. Configuration to allow cross-origin requests via IAP.
oauth_settings: Option<OAuthSettings>Optional. Settings to configure IAP’s OAuth behavior.
reauth_settings: Option<ReauthSettings>Optional. Settings to configure reauthentication policies in IAP.
allowed_domains_settings: Option<AllowedDomainsSettings>Optional. Settings to configure and enable allowed domains.
workforce_identity_settings: Option<WorkforceIdentitySettings>Optional. Settings to configure the workforce identity federation, including workforce pools and OAuth 2.0 settings.
identity_sources: Vec<IdentitySource>Optional. Identity sources that IAP can use to authenticate the end user. Only one identity source can be configured.
Implementations§
Source§impl AccessSettings
impl AccessSettings
pub fn new() -> Self
Sourcepub fn set_gcip_settings<T>(self, v: T) -> Selfwhere
T: Into<GcipSettings>,
pub fn set_gcip_settings<T>(self, v: T) -> Selfwhere
T: Into<GcipSettings>,
Sets the value of gcip_settings.
Sourcepub fn set_or_clear_gcip_settings<T>(self, v: Option<T>) -> Selfwhere
T: Into<GcipSettings>,
pub fn set_or_clear_gcip_settings<T>(self, v: Option<T>) -> Selfwhere
T: Into<GcipSettings>,
Sets or clears the value of gcip_settings.
Sourcepub fn set_cors_settings<T>(self, v: T) -> Selfwhere
T: Into<CorsSettings>,
pub fn set_cors_settings<T>(self, v: T) -> Selfwhere
T: Into<CorsSettings>,
Sets the value of cors_settings.
Sourcepub fn set_or_clear_cors_settings<T>(self, v: Option<T>) -> Selfwhere
T: Into<CorsSettings>,
pub fn set_or_clear_cors_settings<T>(self, v: Option<T>) -> Selfwhere
T: Into<CorsSettings>,
Sets or clears the value of cors_settings.
Sourcepub fn set_oauth_settings<T>(self, v: T) -> Selfwhere
T: Into<OAuthSettings>,
pub fn set_oauth_settings<T>(self, v: T) -> Selfwhere
T: Into<OAuthSettings>,
Sets the value of oauth_settings.
Sourcepub fn set_or_clear_oauth_settings<T>(self, v: Option<T>) -> Selfwhere
T: Into<OAuthSettings>,
pub fn set_or_clear_oauth_settings<T>(self, v: Option<T>) -> Selfwhere
T: Into<OAuthSettings>,
Sets or clears the value of oauth_settings.
Sourcepub fn set_reauth_settings<T>(self, v: T) -> Selfwhere
T: Into<ReauthSettings>,
pub fn set_reauth_settings<T>(self, v: T) -> Selfwhere
T: Into<ReauthSettings>,
Sets the value of reauth_settings.
Sourcepub fn set_or_clear_reauth_settings<T>(self, v: Option<T>) -> Selfwhere
T: Into<ReauthSettings>,
pub fn set_or_clear_reauth_settings<T>(self, v: Option<T>) -> Selfwhere
T: Into<ReauthSettings>,
Sets or clears the value of reauth_settings.
Sourcepub fn set_allowed_domains_settings<T>(self, v: T) -> Selfwhere
T: Into<AllowedDomainsSettings>,
pub fn set_allowed_domains_settings<T>(self, v: T) -> Selfwhere
T: Into<AllowedDomainsSettings>,
Sets the value of allowed_domains_settings.
Sourcepub fn set_or_clear_allowed_domains_settings<T>(self, v: Option<T>) -> Selfwhere
T: Into<AllowedDomainsSettings>,
pub fn set_or_clear_allowed_domains_settings<T>(self, v: Option<T>) -> Selfwhere
T: Into<AllowedDomainsSettings>,
Sets or clears the value of allowed_domains_settings.
Sourcepub fn set_workforce_identity_settings<T>(self, v: T) -> Selfwhere
T: Into<WorkforceIdentitySettings>,
pub fn set_workforce_identity_settings<T>(self, v: T) -> Selfwhere
T: Into<WorkforceIdentitySettings>,
Sets the value of workforce_identity_settings.
Sourcepub fn set_or_clear_workforce_identity_settings<T>(self, v: Option<T>) -> Selfwhere
T: Into<WorkforceIdentitySettings>,
pub fn set_or_clear_workforce_identity_settings<T>(self, v: Option<T>) -> Selfwhere
T: Into<WorkforceIdentitySettings>,
Sets or clears the value of workforce_identity_settings.
Sourcepub fn set_identity_sources<T, V>(self, v: T) -> Self
pub fn set_identity_sources<T, V>(self, v: T) -> Self
Sets the value of identity_sources.
Trait Implementations§
Source§impl Clone for AccessSettings
impl Clone for AccessSettings
Source§fn clone(&self) -> AccessSettings
fn clone(&self) -> AccessSettings
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more