Google Cloud Security Center Management V1 Client - Class ModuleSettings (1.1.1)

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.

Parameter
Name Description
var int
Returns
Type Description
$this