Reference documentation and code samples for the Google Cloud Security Center Management V1 Client class UpdateEventThreatDetectionCustomModuleRequest.
Message for updating a EventThreatDetectionCustomModule
Generated from protobuf message google.cloud.securitycentermanagement.v1.UpdateEventThreatDetectionCustomModuleRequest
Optional. When set to true, the request will be validated (including IAM checks), but no module will be updated. An OK response indicates that the request is valid, while an error response indicates that the request is invalid. If the request is valid, a subsequent request to update the module could still fail for one of the following reasons: * * The state of your cloud resources changed; for example, you lost a required IAM permission * * An error occurred during creation of the module Defaults to false.
getUpdateMask
Required. The fields to update. If omitted, then all fields are updated.
Optional. When set to true, the request will be validated (including IAM
checks), but no module will be updated. An OK response indicates that the
request is valid, while an error response indicates that the request is
invalid.
If the request is valid, a subsequent request to update the module could
still fail for one of the following reasons:
The state of your cloud resources changed; for example, you lost a
required IAM permission
An error occurred during creation of the module
Defaults to false.
Returns
Type
Description
bool
setValidateOnly
Optional. When set to true, the request will be validated (including IAM
checks), but no module will be updated. An OK response indicates that the
request is valid, while an error response indicates that the request is
invalid.
If the request is valid, a subsequent request to update the module could
still fail for one of the following reasons:
The state of your cloud resources changed; for example, you lost a
required IAM permission
An error occurred during creation of the module
Defaults to false.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Security Center Management V1 Client - Class UpdateEventThreatDetectionCustomModuleRequest (1.2.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.1 (latest)](/php/docs/reference/cloud-securitycentermanagement/latest/V1.UpdateEventThreatDetectionCustomModuleRequest)\n- [1.2.0](/php/docs/reference/cloud-securitycentermanagement/1.2.0/V1.UpdateEventThreatDetectionCustomModuleRequest)\n- [1.1.3](/php/docs/reference/cloud-securitycentermanagement/1.1.3/V1.UpdateEventThreatDetectionCustomModuleRequest)\n- [1.0.0](/php/docs/reference/cloud-securitycentermanagement/1.0.0/V1.UpdateEventThreatDetectionCustomModuleRequest)\n- [0.3.2](/php/docs/reference/cloud-securitycentermanagement/0.3.2/V1.UpdateEventThreatDetectionCustomModuleRequest)\n- [0.2.7](/php/docs/reference/cloud-securitycentermanagement/0.2.7/V1.UpdateEventThreatDetectionCustomModuleRequest)\n- [0.1.0](/php/docs/reference/cloud-securitycentermanagement/0.1.0/V1.UpdateEventThreatDetectionCustomModuleRequest) \nReference documentation and code samples for the Google Cloud Security Center Management V1 Client class UpdateEventThreatDetectionCustomModuleRequest.\n\nMessage for updating a EventThreatDetectionCustomModule\n\nGenerated from protobuf message `google.cloud.securitycentermanagement.v1.UpdateEventThreatDetectionCustomModuleRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ SecurityCenterManagement \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getUpdateMask\n\nRequired. The fields to update. If omitted, then all fields are updated.\n\n### hasUpdateMask\n\n### clearUpdateMask\n\n### setUpdateMask\n\nRequired. The fields to update. If omitted, then all fields are updated.\n\n### getEventThreatDetectionCustomModule\n\nRequired. The module being updated.\n\n### hasEventThreatDetectionCustomModule\n\n### clearEventThreatDetectionCustomModule\n\n### setEventThreatDetectionCustomModule\n\nRequired. The module being updated.\n\n### getValidateOnly\n\nOptional. When set to `true`, the request will be validated (including IAM\nchecks), but no module will be updated. An `OK` response indicates that the\nrequest is valid, while an error response indicates that the request is\ninvalid.\n\nIf the request is valid, a subsequent request to update the module could\nstill fail for one of the following reasons:\n\n- The state of your cloud resources changed; for example, you lost a required IAM permission\n- An error occurred during creation of the module Defaults to `false`.\n\n### setValidateOnly\n\nOptional. When set to `true`, the request will be validated (including IAM\nchecks), but no module will be updated. An `OK` response indicates that the\nrequest is valid, while an error response indicates that the request is\ninvalid.\n\nIf the request is valid, a subsequent request to update the module could\nstill fail for one of the following reasons:\n\n- The state of your cloud resources changed; for example, you lost a required IAM permission\n- An error occurred during creation of the module Defaults to `false`.\n\n### static::build"]]