Google Cloud Security Center Management V1 Client - Class EffectiveSecurityHealthAnalyticsCustomModule (0.1.0)

Reference documentation and code samples for the Google Cloud Security Center Management V1 Client class EffectiveSecurityHealthAnalyticsCustomModule.

An EffectiveSecurityHealthAnalyticsCustomModule is the representation of a Security Health Analytics custom module at a specified level of the resource hierarchy: organization, folder, or project. If a custom module is inherited from a parent organization or folder, the value of the enablementState property in EffectiveSecurityHealthAnalyticsCustomModule is set to the value that is effective in the parent, instead of INHERITED.

For example, if the module is enabled in a parent organization or folder, the effective enablement_state for the module in all child folders or projects is also enabled. EffectiveSecurityHealthAnalyticsCustomModule is read-only.

Generated from protobuf message google.cloud.securitycentermanagement.v1.EffectiveSecurityHealthAnalyticsCustomModule

Namespace

Google \ Cloud \ SecurityCenterManagement \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Output only. The resource name of the custom module. Its format is "organizations/{organization}/locations/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}", or "folders/{folder}/locations/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}", or "projects/{project}/locations/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}"

↳ custom_config Google\Cloud\SecurityCenterManagement\V1\CustomConfig

Output only. The user-specified configuration for the module.

↳ enablement_state int

Output only. The effective state of enablement for the module at the given level of the hierarchy.

↳ display_name string

Output only. The display name for the custom module. The name must be between 1 and 128 characters, start with a lowercase letter, and contain alphanumeric characters or underscores only.

getName

Output only. The resource name of the custom module.

Its format is "organizations/{organization}/locations/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}", or "folders/{folder}/locations/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}", or "projects/{project}/locations/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}"

Returns
TypeDescription
string

setName

Output only. The resource name of the custom module.

Its format is "organizations/{organization}/locations/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}", or "folders/{folder}/locations/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}", or "projects/{project}/locations/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}"

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCustomConfig

Output only. The user-specified configuration for the module.

Returns
TypeDescription
Google\Cloud\SecurityCenterManagement\V1\CustomConfig|null

hasCustomConfig

clearCustomConfig

setCustomConfig

Output only. The user-specified configuration for the module.

Parameter
NameDescription
var Google\Cloud\SecurityCenterManagement\V1\CustomConfig
Returns
TypeDescription
$this

getEnablementState

Output only. The effective state of enablement for the module at the given level of the hierarchy.

Returns
TypeDescription
int

setEnablementState

Output only. The effective state of enablement for the module at the given level of the hierarchy.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getDisplayName

Output only. The display name for the custom module. The name must be between 1 and 128 characters, start with a lowercase letter, and contain alphanumeric characters or underscores only.

Returns
TypeDescription
string

setDisplayName

Output only. The display name for the custom module. The name must be between 1 and 128 characters, start with a lowercase letter, and contain alphanumeric characters or underscores only.

Parameter
NameDescription
var string
Returns
TypeDescription
$this