Enum google_api_proto::google::cloud::securitycenter::settings::v1beta1::settings::OnboardingState
source · #[repr(i32)]pub enum OnboardingState {
Unspecified = 0,
Enabled = 1,
Disabled = 2,
BillingSelected = 3,
ProvidersSelected = 4,
ResourcesSelected = 5,
OrgServiceAccountCreated = 6,
}
Expand description
Defines the onboarding states for SCC
Potentially is just an indicator that a user has reviewed some subset of our configuration surface, even if it’s still currently set to its API-default state.
Variants§
Unspecified = 0
No onboarding state has been set. Should not be seen in practice, but should be functionally equivalent to DISABLED.
Enabled = 1
SCC is fully on boarded
Disabled = 2
SCC has been disabled after being on boarded
BillingSelected = 3
SCC’s onboarding tier has been explicitly set
ProvidersSelected = 4
SCC’s CTD FindingsProviders have been chosen
ResourcesSelected = 5
SCC’s Service-Resource mappings have been set
OrgServiceAccountCreated = 6
SCC’s core Service Account was created
Implementations§
source§impl OnboardingState
impl OnboardingState
sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
source§impl Clone for OnboardingState
impl Clone for OnboardingState
source§fn clone(&self) -> OnboardingState
fn clone(&self) -> OnboardingState
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for OnboardingState
impl Debug for OnboardingState
source§impl Default for OnboardingState
impl Default for OnboardingState
source§fn default() -> OnboardingState
fn default() -> OnboardingState
source§impl From<OnboardingState> for i32
impl From<OnboardingState> for i32
source§fn from(value: OnboardingState) -> i32
fn from(value: OnboardingState) -> i32
source§impl Hash for OnboardingState
impl Hash for OnboardingState
source§impl Ord for OnboardingState
impl Ord for OnboardingState
source§fn cmp(&self, other: &OnboardingState) -> Ordering
fn cmp(&self, other: &OnboardingState) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for OnboardingState
impl PartialEq for OnboardingState
source§fn eq(&self, other: &OnboardingState) -> bool
fn eq(&self, other: &OnboardingState) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for OnboardingState
impl PartialOrd for OnboardingState
source§fn partial_cmp(&self, other: &OnboardingState) -> Option<Ordering>
fn partial_cmp(&self, other: &OnboardingState) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<i32> for OnboardingState
impl TryFrom<i32> for OnboardingState
§type Error = UnknownEnumValue
type Error = UnknownEnumValue
source§fn try_from(value: i32) -> Result<OnboardingState, UnknownEnumValue>
fn try_from(value: i32) -> Result<OnboardingState, UnknownEnumValue>
impl Copy for OnboardingState
impl Eq for OnboardingState
impl StructuralPartialEq for OnboardingState
Auto Trait Implementations§
impl Freeze for OnboardingState
impl RefUnwindSafe for OnboardingState
impl Send for OnboardingState
impl Sync for OnboardingState
impl Unpin for OnboardingState
impl UnwindSafe for OnboardingState
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§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