The initial position of the error in the uploaded text version of the module. Omitted if no specific position applies, or if the position could not be computed.
The end position of the error in the uploaded text version of the module. Omitted if no specific position applies, or if the position could not be computed.
getDescription
A human-readable description of the error.
Returns
Type
Description
string
setDescription
A human-readable description of the error.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getFieldPath
The path, in RFC 6901: JSON
Pointer format, to the
field that failed validation. Omitted if no specific field is affected.
Returns
Type
Description
string
setFieldPath
The path, in RFC 6901: JSON
Pointer format, to the
field that failed validation. Omitted if no specific field is affected.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getStart
The initial position of the error in the uploaded text version of the
module. Omitted if no specific position applies, or if the position could
not be computed.
The initial position of the error in the uploaded text version of the
module. Omitted if no specific position applies, or if the position could
not be computed.
[[["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 CustomModuleValidationError (1.2.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.1 (latest)](/php/docs/reference/cloud-securitycentermanagement/latest/V1.ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError)\n- [1.2.0](/php/docs/reference/cloud-securitycentermanagement/1.2.0/V1.ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError)\n- [1.1.3](/php/docs/reference/cloud-securitycentermanagement/1.1.3/V1.ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError)\n- [1.0.0](/php/docs/reference/cloud-securitycentermanagement/1.0.0/V1.ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError)\n- [0.3.2](/php/docs/reference/cloud-securitycentermanagement/0.3.2/V1.ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError)\n- [0.2.7](/php/docs/reference/cloud-securitycentermanagement/0.2.7/V1.ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError)\n- [0.1.0](/php/docs/reference/cloud-securitycentermanagement/0.1.0/V1.ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError) \nReference documentation and code samples for the Google Cloud Security Center Management V1 Client class CustomModuleValidationError.\n\nAn error encountered while validating the uploaded configuration of an\nEvent Threat Detection custom module.\n\nGenerated from protobuf message `google.cloud.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ SecurityCenterManagement \\\\ V1 \\\\ ValidateEventThreatDetectionCustomModuleResponse\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getDescription\n\nA human-readable description of the error.\n\n### setDescription\n\nA human-readable description of the error.\n\n### getFieldPath\n\nThe path, in [RFC 6901: JSON\nPointer](https://datatracker.ietf.org/doc/html/rfc6901) format, to the\nfield that failed validation. Omitted if no specific field is affected.\n\n### setFieldPath\n\nThe path, in [RFC 6901: JSON\nPointer](https://datatracker.ietf.org/doc/html/rfc6901) format, to the\nfield that failed validation. Omitted if no specific field is affected.\n\n### getStart\n\nThe initial position of the error in the uploaded text version of the\nmodule. Omitted if no specific position applies, or if the position could\nnot be computed.\n\n### hasStart\n\n### clearStart\n\n### setStart\n\nThe initial position of the error in the uploaded text version of the\nmodule. Omitted if no specific position applies, or if the position could\nnot be computed.\n\n### getEnd\n\nThe end position of the error in the uploaded text version of the module.\n\nOmitted if no specific position applies, or if the position could not be\ncomputed.\n\n### hasEnd\n\n### clearEnd\n\n### setEnd\n\nThe end position of the error in the uploaded text version of the module.\n\nOmitted if no specific position applies, or if the position could not be\ncomputed."]]