Reference documentation and code samples for the Google Cloud Security Center Management V1 Client class EnablementState.
The enablement state of the module.
Protobuf type google.cloud.securitycentermanagement.v1.EventThreatDetectionCustomModule.EnablementState
Namespace
Google \ Cloud \ SecurityCenterManagement \ V1 \ EventThreatDetectionCustomModule
Methods
static::name
Parameter
Name
Description
value
mixed
static::value
Parameter
Name
Description
name
mixed
Constants
ENABLEMENT_STATE_UNSPECIFIED
Value: 0
Unspecified enablement state.
Generated from protobuf enum ENABLEMENT_STATE_UNSPECIFIED = 0;
ENABLED
Value: 1
The module is enabled at the given level.
Generated from protobuf enum ENABLED = 1;
DISABLED
Value: 2
The module is disabled at the given level.
Generated from protobuf enum DISABLED = 2;
INHERITED
Value: 3
State is inherited from an ancestor module. The module will either be
effectively ENABLED or DISABLED based on its closest non-inherited
ancestor module in the CRM hierarchy. If you try to set a top-level
module (a module with no parent) to the INHERITED state, you receive an
INVALID_ARGUMENT error.
[[["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 EnablementState (1.2.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.1 (latest)](/php/docs/reference/cloud-securitycentermanagement/latest/V1.EventThreatDetectionCustomModule.EnablementState)\n- [1.2.0](/php/docs/reference/cloud-securitycentermanagement/1.2.0/V1.EventThreatDetectionCustomModule.EnablementState)\n- [1.1.3](/php/docs/reference/cloud-securitycentermanagement/1.1.3/V1.EventThreatDetectionCustomModule.EnablementState)\n- [1.0.0](/php/docs/reference/cloud-securitycentermanagement/1.0.0/V1.EventThreatDetectionCustomModule.EnablementState)\n- [0.3.2](/php/docs/reference/cloud-securitycentermanagement/0.3.2/V1.EventThreatDetectionCustomModule.EnablementState)\n- [0.2.7](/php/docs/reference/cloud-securitycentermanagement/0.2.7/V1.EventThreatDetectionCustomModule.EnablementState)\n- [0.1.0](/php/docs/reference/cloud-securitycentermanagement/0.1.0/V1.EventThreatDetectionCustomModule.EnablementState) \nReference documentation and code samples for the Google Cloud Security Center Management V1 Client class EnablementState.\n\nThe enablement state of the module.\n\nProtobuf type `google.cloud.securitycentermanagement.v1.EventThreatDetectionCustomModule.EnablementState`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ SecurityCenterManagement \\\\ V1 \\\\ EventThreatDetectionCustomModule\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### ENABLEMENT_STATE_UNSPECIFIED\n\n Value: 0\n\nUnspecified enablement state.\n\nGenerated from protobuf enum `ENABLEMENT_STATE_UNSPECIFIED = 0;`\n\n### ENABLED\n\n Value: 1\n\nThe module is enabled at the given level.\n\nGenerated from protobuf enum `ENABLED = 1;`\n\n### DISABLED\n\n Value: 2\n\nThe module is disabled at the given level.\n\nGenerated from protobuf enum `DISABLED = 2;`\n\n### INHERITED\n\n Value: 3\n\nState is inherited from an ancestor module. The module will either be\neffectively `ENABLED` or `DISABLED` based on its closest non-inherited\nancestor module in the CRM hierarchy. If you try to set a top-level\nmodule (a module with no parent) to the `INHERITED` state, you receive an\n`INVALID_ARGUMENT` error.\n\nGenerated from protobuf enum `INHERITED = 3;`"]]