[][src]Struct gcp_client::google::cloud::securitycenter::settings::v1beta1::Settings

pub struct Settings {
    pub name: String,
    pub billing_settings: Option<BillingSettings>,
    pub state: i32,
    pub org_service_account: String,
    pub sink_settings: Option<SinkSettings>,
    pub component_settings: HashMap<String, ComponentSettings>,
    pub detector_group_settings: HashMap<String, DetectorGroupSettings>,
    pub etag: String,
    pub update_time: Option<Timestamp>,
}

Common configuration settings for all of Security Center.

Fields

name: String

The relative resource name of the settings resource. Formats:

  • organizations/{organization}/settings
  • folders/{folder}/settings
  • projects/{project}/settings
  • projects/{project}/locations/{location}/clusters/{cluster}/settings
  • projects/{project}/regions/{region}/clusters/{cluster}/settings
  • projects/{project}/zones/{zone}/clusters/{cluster}/settings
billing_settings: Option<BillingSettings>

Billing settings

state: i32

An enum representing the current on boarding state of SCC.

org_service_account: String

Output only. The organization-level service account to be used for security center components. The component must have permission to "act as" the service account.

sink_settings: Option<SinkSettings>

Sink settings.

component_settings: HashMap<String, ComponentSettings>

The settings for detectors and/or scanners.

detector_group_settings: HashMap<String, DetectorGroupSettings>

Detector group settings for all Security Center components. The key is the name of the detector group and the value is the settings for that group.

etag: String

A fingerprint used for optimistic concurrency. If none is provided on updates then the existing metadata will be blindly overwritten.

update_time: Option<Timestamp>

Output only. The time these settings were last updated.

Implementations

impl Settings[src]

pub fn state(&self) -> OnboardingState[src]

Returns the enum value of state, or the default if the field is set to an invalid enum value.

pub fn set_state(&mut self, value: OnboardingState)[src]

Sets state to the provided enum value.

Trait Implementations

impl Clone for Settings[src]

impl Debug for Settings[src]

impl Default for Settings[src]

impl Message for Settings[src]

impl PartialEq<Settings> for Settings[src]

impl StructuralPartialEq for Settings[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]