Google Cloud Security Command Center V1 Client - Class CreateSecurityHealthAnalyticsCustomModuleRequest (2.0.1)

Reference documentation and code samples for the Google Cloud Security Command Center V1 Client class CreateSecurityHealthAnalyticsCustomModuleRequest.

Request message for creating Security Health Analytics custom modules.

Generated from protobuf message google.cloud.securitycenter.v1.CreateSecurityHealthAnalyticsCustomModuleRequest

Namespace

Google \ Cloud \ SecurityCenter \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. Resource name of the new custom module's parent. Its format is organizations/{organization}/securityHealthAnalyticsSettings, folders/{folder}/securityHealthAnalyticsSettings, or projects/{project}/securityHealthAnalyticsSettings

↳ security_health_analytics_custom_module Google\Cloud\SecurityCenter\V1\SecurityHealthAnalyticsCustomModule

Required. SecurityHealthAnalytics custom module to create. The provided name is ignored and reset with provided parent information and server-generated ID.

getParent

Required. Resource name of the new custom module's parent. Its format is organizations/{organization}/securityHealthAnalyticsSettings, folders/{folder}/securityHealthAnalyticsSettings, or projects/{project}/securityHealthAnalyticsSettings

Returns
Type Description
string

setParent

Required. Resource name of the new custom module's parent. Its format is organizations/{organization}/securityHealthAnalyticsSettings, folders/{folder}/securityHealthAnalyticsSettings, or projects/{project}/securityHealthAnalyticsSettings

Parameter
Name Description
var string
Returns
Type Description
$this

getSecurityHealthAnalyticsCustomModule

Required. SecurityHealthAnalytics custom module to create. The provided name is ignored and reset with provided parent information and server-generated ID.

Returns
Type Description
Google\Cloud\SecurityCenter\V1\SecurityHealthAnalyticsCustomModule|null

hasSecurityHealthAnalyticsCustomModule

clearSecurityHealthAnalyticsCustomModule

setSecurityHealthAnalyticsCustomModule

Required. SecurityHealthAnalytics custom module to create. The provided name is ignored and reset with provided parent information and server-generated ID.

Parameter
Name Description
var Google\Cloud\SecurityCenter\V1\SecurityHealthAnalyticsCustomModule
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. Resource name of the new custom module's parent. Its format is organizations/{organization}/securityHealthAnalyticsSettings, folders/{folder}/securityHealthAnalyticsSettings, or projects/{project}/securityHealthAnalyticsSettings Please see Google\Cloud\SecurityCenter\V1\SecurityCenterClient::securityHealthAnalyticsSettingsName() for help formatting this field.

securityHealthAnalyticsCustomModule Google\Cloud\SecurityCenter\V1\SecurityHealthAnalyticsCustomModule

Required. SecurityHealthAnalytics custom module to create. The provided name is ignored and reset with provided parent information and server-generated ID.

Returns
Type Description
Google\Cloud\SecurityCenter\V1\CreateSecurityHealthAnalyticsCustomModuleRequest