public sealed class SecurityCenterService.Types.ModuleSettings : IMessage<SecurityCenterService.Types.ModuleSettings>, IEquatable<SecurityCenterService.Types.ModuleSettings>, IDeepCloneable<SecurityCenterService.Types.ModuleSettings>, IBufferMessage, IMessage
Reference documentation and code samples for the Security Center Management v1 API class SecurityCenterService.Types.ModuleSettings.
public SecurityCenterService.Types.EnablementState EffectiveEnablementState { get; set; }
Output only. The effective enablement state for the module at its level
of the resource hierarchy. If the intended state is set to INHERITED,
the effective state will be inherited from the enablement state of an
ancestor. This state may differ from the intended enablement state due to
billing eligibility or onboarding status.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eSecurityCenterService.Types.ModuleSettings\u003c/code\u003e class within the Google Cloud Security Center Management v1 API, specifically for .NET.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eModuleSettings\u003c/code\u003e class represents settings for individual modules and includes information about the effective and intended enablement states of modules within the resource hierarchy.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, inheriting members and methods from the \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors for \u003ccode\u003eModuleSettings\u003c/code\u003e, one being a default constructor and the other takes another \u003ccode\u003eModuleSettings\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two properties: \u003ccode\u003eEffectiveEnablementState\u003c/code\u003e that displays the current enablement state of a module, and \u003ccode\u003eIntendedEnablementState\u003c/code\u003e to set the desired enablement state.\u003c/p\u003e\n"]]],[],null,["# Security Center Management v1 API - Class SecurityCenterService.Types.ModuleSettings (1.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.0 (latest)](/dotnet/docs/reference/Google.Cloud.SecurityCenterManagement.V1/latest/Google.Cloud.SecurityCenterManagement.V1.SecurityCenterService.Types.ModuleSettings)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.SecurityCenterManagement.V1/1.1.0/Google.Cloud.SecurityCenterManagement.V1.SecurityCenterService.Types.ModuleSettings)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.SecurityCenterManagement.V1/1.0.0/Google.Cloud.SecurityCenterManagement.V1.SecurityCenterService.Types.ModuleSettings) \n\n public sealed class SecurityCenterService.Types.ModuleSettings : IMessage\u003cSecurityCenterService.Types.ModuleSettings\u003e, IEquatable\u003cSecurityCenterService.Types.ModuleSettings\u003e, IDeepCloneable\u003cSecurityCenterService.Types.ModuleSettings\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Security Center Management v1 API class SecurityCenterService.Types.ModuleSettings.\n\nThe settings for individual modules. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e SecurityCenterService.Types.ModuleSettings \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[SecurityCenterService](/dotnet/docs/reference/Google.Cloud.SecurityCenterManagement.V1/latest/Google.Cloud.SecurityCenterManagement.V1.SecurityCenterService)[Types](/dotnet/docs/reference/Google.Cloud.SecurityCenterManagement.V1/latest/Google.Cloud.SecurityCenterManagement.V1.SecurityCenterService.Types)[ModuleSettings](/dotnet/docs/reference/Google.Cloud.SecurityCenterManagement.V1/latest/Google.Cloud.SecurityCenterManagement.V1.SecurityCenterService.Types.ModuleSettings), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[SecurityCenterService](/dotnet/docs/reference/Google.Cloud.SecurityCenterManagement.V1/latest/Google.Cloud.SecurityCenterManagement.V1.SecurityCenterService)[Types](/dotnet/docs/reference/Google.Cloud.SecurityCenterManagement.V1/latest/Google.Cloud.SecurityCenterManagement.V1.SecurityCenterService.Types)[ModuleSettings](/dotnet/docs/reference/Google.Cloud.SecurityCenterManagement.V1/latest/Google.Cloud.SecurityCenterManagement.V1.SecurityCenterService.Types.ModuleSettings), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[SecurityCenterService](/dotnet/docs/reference/Google.Cloud.SecurityCenterManagement.V1/latest/Google.Cloud.SecurityCenterManagement.V1.SecurityCenterService)[Types](/dotnet/docs/reference/Google.Cloud.SecurityCenterManagement.V1/latest/Google.Cloud.SecurityCenterManagement.V1.SecurityCenterService.Types)[ModuleSettings](/dotnet/docs/reference/Google.Cloud.SecurityCenterManagement.V1/latest/Google.Cloud.SecurityCenterManagement.V1.SecurityCenterService.Types.ModuleSettings), [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.SecurityCenterManagement.V1](/dotnet/docs/reference/Google.Cloud.SecurityCenterManagement.V1/latest/Google.Cloud.SecurityCenterManagement.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.SecurityCenterManagement.V1.dll\n\nConstructors\n------------\n\n### ModuleSettings()\n\n public ModuleSettings()\n\n### ModuleSettings(ModuleSettings)\n\n public ModuleSettings(SecurityCenterService.Types.ModuleSettings other)\n\nProperties\n----------\n\n### EffectiveEnablementState\n\n public SecurityCenterService.Types.EnablementState EffectiveEnablementState { get; set; }\n\nOutput only. The effective enablement state for the module at its level\nof the resource hierarchy. If the intended state is set to `INHERITED`,\nthe effective state will be inherited from the enablement state of an\nancestor. This state may differ from the intended enablement state due to\nbilling eligibility or onboarding status.\n\n### IntendedEnablementState\n\n public SecurityCenterService.Types.EnablementState IntendedEnablementState { get; set; }\n\nOptional. The intended enablement state for the module at its level of\nthe resource hierarchy."]]