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

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
NameDescription
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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getSecurityHealthAnalyticsCustomModule

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

Returns
TypeDescription
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
NameDescription
var Google\Cloud\SecurityCenter\V1\SecurityHealthAnalyticsCustomModule
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
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
TypeDescription
Google\Cloud\SecurityCenter\V1\CreateSecurityHealthAnalyticsCustomModuleRequest