Reference documentation and code samples for the Google Cloud Security Center Management V1 Client class UpdateSecurityHealthAnalyticsCustomModuleRequest.
Required. The fields to update. The following values are valid: * * custom_config * * enablement_state If you omit this field or set it to the wildcard value *, then all eligible 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.
getUpdateMask
Required. The fields to update. The following values are valid:
custom_config
enablement_state
If you omit this field or set it to the wildcard value *, then all
eligible 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 UpdateSecurityHealthAnalyticsCustomModuleRequest (1.2.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.1 (latest)](/php/docs/reference/cloud-securitycentermanagement/latest/V1.UpdateSecurityHealthAnalyticsCustomModuleRequest)\n- [1.2.0](/php/docs/reference/cloud-securitycentermanagement/1.2.0/V1.UpdateSecurityHealthAnalyticsCustomModuleRequest)\n- [1.1.3](/php/docs/reference/cloud-securitycentermanagement/1.1.3/V1.UpdateSecurityHealthAnalyticsCustomModuleRequest)\n- [1.0.0](/php/docs/reference/cloud-securitycentermanagement/1.0.0/V1.UpdateSecurityHealthAnalyticsCustomModuleRequest)\n- [0.3.2](/php/docs/reference/cloud-securitycentermanagement/0.3.2/V1.UpdateSecurityHealthAnalyticsCustomModuleRequest)\n- [0.2.7](/php/docs/reference/cloud-securitycentermanagement/0.2.7/V1.UpdateSecurityHealthAnalyticsCustomModuleRequest)\n- [0.1.0](/php/docs/reference/cloud-securitycentermanagement/0.1.0/V1.UpdateSecurityHealthAnalyticsCustomModuleRequest) \nReference documentation and code samples for the Google Cloud Security Center Management V1 Client class UpdateSecurityHealthAnalyticsCustomModuleRequest.\n\nRequest message for\n[SecurityCenterManagement.UpdateSecurityHealthAnalyticsCustomModule](/php/docs/reference/cloud-securitycentermanagement/latest/V1.Client.SecurityCenterManagementClient#_Google_Cloud_SecurityCenterManagement_V1_Client_SecurityCenterManagementClient__updateSecurityHealthAnalyticsCustomModule__).\n\nGenerated from protobuf message `google.cloud.securitycentermanagement.v1.UpdateSecurityHealthAnalyticsCustomModuleRequest`\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. The following values are valid:\n\n- `custom_config`\n- `enablement_state` If you omit this field or set it to the wildcard value `*`, then all eligible fields are updated.\n\n### hasUpdateMask\n\n### clearUpdateMask\n\n### setUpdateMask\n\nRequired. The fields to update. The following values are valid:\n\n- `custom_config`\n- `enablement_state` If you omit this field or set it to the wildcard value `*`, then all eligible fields are updated.\n\n### getSecurityHealthAnalyticsCustomModule\n\nRequired. The resource being updated.\n\n### hasSecurityHealthAnalyticsCustomModule\n\n### clearSecurityHealthAnalyticsCustomModule\n\n### setSecurityHealthAnalyticsCustomModule\n\nRequired. The resource 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"]]