Google Cloud Security Center Management V1 Client - Class UpdateSecurityHealthAnalyticsCustomModuleRequest (0.3.2)

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

Message for updating a SecurityHealthAnalyticsCustomModule

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

Namespace

Google \ Cloud \ SecurityCenterManagement \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ update_mask Google\Protobuf\FieldMask

Required. The list of fields to be updated. The only fields that can be updated are enablement_state and custom_config. If empty or set to the wildcard value *, both enablement_state and custom_config are updated.

↳ security_health_analytics_custom_module Google\Cloud\SecurityCenterManagement\V1\SecurityHealthAnalyticsCustomModule

Required. The resource being updated

↳ validate_only bool

Optional. When set to true, only validations (including IAM checks) will done for the request (module will not be updated). An OK response indicates the request is valid while an error response indicates the request is invalid. Note that a subsequent request to actually update the module could still fail because 1. the state could have changed (e.g. IAM permission lost) or 2. A failure occurred while trying to update the module.

getUpdateMask

Required. The list of fields to be updated. The only fields that can be updated are enablement_state and custom_config. If empty or set to the wildcard value *, both enablement_state and custom_config are updated.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. The list of fields to be updated. The only fields that can be updated are enablement_state and custom_config. If empty or set to the wildcard value *, both enablement_state and custom_config are updated.

Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

getSecurityHealthAnalyticsCustomModule

Required. The resource being updated

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

hasSecurityHealthAnalyticsCustomModule

clearSecurityHealthAnalyticsCustomModule

setSecurityHealthAnalyticsCustomModule

Required. The resource being updated

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

getValidateOnly

Optional. When set to true, only validations (including IAM checks) will done for the request (module will not be updated). An OK response indicates the request is valid while an error response indicates the request is invalid. Note that a subsequent request to actually update the module could still fail because 1. the state could have changed (e.g. IAM permission lost) or

  1. A failure occurred while trying to update the module.
Returns
Type Description
bool

setValidateOnly

Optional. When set to true, only validations (including IAM checks) will done for the request (module will not be updated). An OK response indicates the request is valid while an error response indicates the request is invalid. Note that a subsequent request to actually update the module could still fail because 1. the state could have changed (e.g. IAM permission lost) or

  1. A failure occurred while trying to update the module.
Parameter
Name Description
var bool
Returns
Type Description
$this

static::build

Parameters
Name Description
securityHealthAnalyticsCustomModule Google\Cloud\SecurityCenterManagement\V1\SecurityHealthAnalyticsCustomModule

Required. The resource being updated

updateMask Google\Protobuf\FieldMask

Required. The list of fields to be updated. The only fields that can be updated are enablement_state and custom_config. If empty or set to the wildcard value *, both enablement_state and custom_config are updated.

Returns
Type Description
Google\Cloud\SecurityCenterManagement\V1\UpdateSecurityHealthAnalyticsCustomModuleRequest