Reference documentation and code samples for the Google Cloud Security Center Management V1 Client class ModuleSettings.
The settings for individual modules.
Generated from protobuf message google.cloud.securitycentermanagement.v1.SecurityCenterService.ModuleSettings
Namespace
Google \ Cloud \ SecurityCenterManagement \ V1 \ SecurityCenterService
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ intended_enablement_state
int
Optional. The intended enablement state for the module at its level of the resource hierarchy.
↳ effective_enablement_state
int
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.
getIntendedEnablementState
Optional. The intended enablement state for the module at its level of
the resource hierarchy.
Returns
Type
Description
int
setIntendedEnablementState
Optional. The intended enablement state for the module at its level of
the resource hierarchy.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getEffectiveEnablementState
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.
Returns
Type
Description
int
setEffectiveEnablementState
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-09-04 UTC."],[],[],null,["# Google Cloud Security Center Management V1 Client - Class ModuleSettings (1.2.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.1 (latest)](/php/docs/reference/cloud-securitycentermanagement/latest/V1.SecurityCenterService.ModuleSettings)\n- [1.2.0](/php/docs/reference/cloud-securitycentermanagement/1.2.0/V1.SecurityCenterService.ModuleSettings)\n- [1.1.3](/php/docs/reference/cloud-securitycentermanagement/1.1.3/V1.SecurityCenterService.ModuleSettings)\n- [1.0.0](/php/docs/reference/cloud-securitycentermanagement/1.0.0/V1.SecurityCenterService.ModuleSettings)\n- [0.3.2](/php/docs/reference/cloud-securitycentermanagement/0.3.2/V1.SecurityCenterService.ModuleSettings)\n- [0.2.7](/php/docs/reference/cloud-securitycentermanagement/0.2.7/V1.SecurityCenterService.ModuleSettings)\n- [0.1.0](/php/docs/reference/cloud-securitycentermanagement/0.1.0/V1.SecurityCenterService.ModuleSettings) \nReference documentation and code samples for the Google Cloud Security Center Management V1 Client class ModuleSettings.\n\nThe settings for individual modules.\n\nGenerated from protobuf message `google.cloud.securitycentermanagement.v1.SecurityCenterService.ModuleSettings`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ SecurityCenterManagement \\\\ V1 \\\\ SecurityCenterService\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getIntendedEnablementState\n\nOptional. The intended enablement state for the module at its level of\nthe resource hierarchy.\n\n### setIntendedEnablementState\n\nOptional. The intended enablement state for the module at its level of\nthe resource hierarchy.\n\n### getEffectiveEnablementState\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### setEffectiveEnablementState\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."]]