public sealed class ComponentSettings : IMessage<ComponentSettings>, IEquatable<ComponentSettings>, IDeepCloneable<ComponentSettings>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Security Command Center Settings v1beta1 API class ComponentSettings.
public MapField<string, ComponentSettings.Types.DetectorSettings> DetectorSettings { get; }
Settings for detectors. Not all detectors must have settings present at
each and every level in the hierarchy. If it is not present the setting
will be inherited from its ancestors folders, organizations or the
defaults.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis documentation details the \u003ccode\u003eComponentSettings\u003c/code\u003e class within the Google Cloud Security Command Center Settings v1beta1 API, providing comprehensive information on managing component settings.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eComponentSettings\u003c/code\u003e class is a sealed class that allows for the configuration of various security settings, including those for Container Threat Detection, Event Threat Detection, Security Health Analytics, and Web Security Scanner.\u003c/p\u003e\n"],["\u003cp\u003eUsers can access specific settings through properties like \u003ccode\u003eContainerThreatDetectionSettings\u003c/code\u003e, \u003ccode\u003eEventThreatDetectionSettings\u003c/code\u003e, \u003ccode\u003eSecurityHealthAnalyticsSettings\u003c/code\u003e, and \u003ccode\u003eWebSecurityScannerSettings\u003c/code\u003e, while also managing detector-specific settings via \u003ccode\u003eDetectorSettings\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class also provides properties to manage the state of components, the service account in use, and the resource name of the component, alongside properties for concurrency control and update timestamps.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple version releases of \u003ccode\u003eComponentSettings\u003c/code\u003e available, with \u003ccode\u003e2.0.0-beta04\u003c/code\u003e being the latest version.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Security Command Center Settings v1beta1 API - Class ComponentSettings (2.0.0-beta04)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.0-beta04 (latest)](/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.ComponentSettings)\n- [2.0.0-beta03](/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/2.0.0-beta03/Google.Cloud.SecurityCenter.Settings.V1Beta1.ComponentSettings)\n- [1.0.0-beta04](/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/1.0.0-beta04/Google.Cloud.SecurityCenter.Settings.V1Beta1.ComponentSettings) \n\n public sealed class ComponentSettings : IMessage\u003cComponentSettings\u003e, IEquatable\u003cComponentSettings\u003e, IDeepCloneable\u003cComponentSettings\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Security Command Center Settings v1beta1 API class ComponentSettings.\n\nComponent Settings for Security Command Center \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ComponentSettings \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ComponentSettings](/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.ComponentSettings), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ComponentSettings](/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.ComponentSettings), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ComponentSettings](/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.ComponentSettings), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.SecurityCenter.Settings.V1Beta1](/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1)\n\nAssembly\n--------\n\nGoogle.Cloud.SecurityCenter.Settings.V1Beta1.dll\n\nConstructors\n------------\n\n### ComponentSettings()\n\n public ComponentSettings()\n\n### ComponentSettings(ComponentSettings)\n\n public ComponentSettings(ComponentSettings other)\n\nProperties\n----------\n\n### ComponentSettingsName\n\n public ComponentSettingsName ComponentSettingsName { get; set; }\n\n[ComponentSettingsName](/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.ComponentSettingsName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.ComponentSettings#Google_Cloud_SecurityCenter_Settings_V1Beta1_ComponentSettings_Name) resource name property.\n\n### ContainerThreatDetectionSettings\n\n public ContainerThreatDetectionSettings ContainerThreatDetectionSettings { get; set; }\n\nContainer Threate Detection specific settings\nFor component, expect CONTAINER_THREAT_DETECTION\n\n### DetectorSettings\n\n public MapField\u003cstring, ComponentSettings.Types.DetectorSettings\u003e DetectorSettings { get; }\n\nSettings for detectors. Not all detectors must have settings present at\neach and every level in the hierarchy. If it is not present the setting\nwill be inherited from its ancestors folders, organizations or the\ndefaults.\n\n### Etag\n\n public string Etag { get; set; }\n\nOutput only. An fingerprint used for optimistic concurrency. If none is provided\non updates then the existing metadata will be blindly overwritten.\n\n### EventThreatDetectionSettings\n\n public EventThreatDetectionSettings EventThreatDetectionSettings { get; set; }\n\nEvent Threat Detection specific settings\nFor component, expect EVENT_THREAT_DETECTION\n\n### Name\n\n public string Name { get; set; }\n\nThe relative resource name of the component settings.\nFormats:\n\n- `organizations/{organization}/components/{component}/settings`\n- `folders/{folder}/components/{component}/settings`\n- `projects/{project}/components/{component}/settings`\n- `projects/{project}/locations/{location}/clusters/{cluster}/components/{component}/settings`\n- `projects/{project}/regions/{region}/clusters/{cluster}/components/{component}/settings`\n- `projects/{project}/zones/{zone}/clusters/{cluster}/components/{component}/settings`\n\n### ProjectServiceAccount\n\n public string ProjectServiceAccount { get; set; }\n\nOutput only. The service account to be used for security center component.\nThe component must have permission to \"act as\" the service account.\n\n### SecurityHealthAnalyticsSettings\n\n public SecurityHealthAnalyticsSettings SecurityHealthAnalyticsSettings { get; set; }\n\nSecurity Health Analytics specific settings\nFor component, expect SECURITY_HEALTH_ANALYTICS\n\n### SpecificSettingsCase\n\n public ComponentSettings.SpecificSettingsOneofCase SpecificSettingsCase { get; }\n\n### State\n\n public ComponentEnablementState State { get; set; }\n\nENABLE to enable component, DISABLE to disable and INHERIT to inherit\nsetting from ancestors.\n\n### UpdateTime\n\n public Timestamp UpdateTime { get; set; }\n\nOutput only. The time these settings were last updated.\n\n### WebSecurityScannerSettings\n\n public WebSecurityScanner WebSecurityScannerSettings { get; set; }\n\nWeb Security Scanner specific settings\nFor component, expect WEB_SECURITY_SCANNER"]]