The initial position of the error in the uploaded text version of the module. This field may be omitted if no specific position applies, or if one could not be computed.
The end position of the error in the uploaded text version of the module. This field may be omitted if no specific position applies, or if one could not be computed..
getDescription
A description of the error, suitable for human consumption. Required.
Returns
Type
Description
string
setDescription
A description of the error, suitable for human consumption. Required.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getFieldPath
The path, in RFC 8901 JSON Pointer format, to the field that failed
validation. This may be left empty if no specific field is affected.
Returns
Type
Description
string
setFieldPath
The path, in RFC 8901 JSON Pointer format, to the field that failed
validation. This may be left empty 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. This field may be omitted if no specific position applies, or if
one could not be computed.
The initial position of the error in the uploaded text version of the
module. This field may be omitted if no specific position applies, or if
one could not be computed.
The end position of the error in the uploaded text version of the
module. This field may be omitted if no specific position applies, or if
one could not be computed..
Generated from protobuf field optional .google.cloud.securitycenter.v1.Position end = 4;
The end position of the error in the uploaded text version of the
module. This field may be omitted if no specific position applies, or if
one could not be computed..
Generated from protobuf field optional .google.cloud.securitycenter.v1.Position end = 4;
[[["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-09 UTC."],[],[],null,["# Google Cloud Security Command Center V1 Client - Class CustomModuleValidationError (2.2.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.1 (latest)](/php/docs/reference/cloud-security-center/latest/V1.CustomModuleValidationError)\n- [2.2.0](/php/docs/reference/cloud-security-center/2.2.0/V1.CustomModuleValidationError)\n- [2.1.1](/php/docs/reference/cloud-security-center/2.1.1/V1.CustomModuleValidationError)\n- [2.0.4](/php/docs/reference/cloud-security-center/2.0.4/V1.CustomModuleValidationError)\n- [1.32.0](/php/docs/reference/cloud-security-center/1.32.0/V1.CustomModuleValidationError)\n- [1.31.0](/php/docs/reference/cloud-security-center/1.31.0/V1.CustomModuleValidationError)\n- [1.30.0](/php/docs/reference/cloud-security-center/1.30.0/V1.CustomModuleValidationError)\n- [1.29.0](/php/docs/reference/cloud-security-center/1.29.0/V1.CustomModuleValidationError)\n- [1.28.2](/php/docs/reference/cloud-security-center/1.28.2/V1.CustomModuleValidationError)\n- [1.21.0](/php/docs/reference/cloud-security-center/1.21.0/V1.CustomModuleValidationError)\n- [1.20.2](/php/docs/reference/cloud-security-center/1.20.2/V1.CustomModuleValidationError)\n- [1.19.1](/php/docs/reference/cloud-security-center/1.19.1/V1.CustomModuleValidationError)\n- [1.18.0](/php/docs/reference/cloud-security-center/1.18.0/V1.CustomModuleValidationError)\n- [1.17.0](/php/docs/reference/cloud-security-center/1.17.0/V1.CustomModuleValidationError)\n- [1.16.0](/php/docs/reference/cloud-security-center/1.16.0/V1.CustomModuleValidationError)\n- [1.15.1](/php/docs/reference/cloud-security-center/1.15.1/V1.CustomModuleValidationError)\n- [1.14.2](/php/docs/reference/cloud-security-center/1.14.2/V1.CustomModuleValidationError)\n- [1.13.1](/php/docs/reference/cloud-security-center/1.13.1/V1.CustomModuleValidationError) \nReference documentation and code samples for the Google Cloud Security Command Center 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.securitycenter.v1.CustomModuleValidationError`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ SecurityCenter \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getDescription\n\nA description of the error, suitable for human consumption. Required.\n\n### setDescription\n\nA description of the error, suitable for human consumption. Required.\n\n### getFieldPath\n\nThe path, in RFC 8901 JSON Pointer format, to the field that failed\nvalidation. This may be left empty if no specific field is affected.\n\n### setFieldPath\n\nThe path, in RFC 8901 JSON Pointer format, to the field that failed\nvalidation. This may be left empty if no specific field is affected.\n\n### getStart\n\nThe initial position of the error in the uploaded text version of the\nmodule. This field may be omitted if no specific position applies, or if\none could not 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. This field may be omitted if no specific position applies, or if\none could not be computed.\n\n### getEnd\n\nThe end position of the error in the uploaded text version of the\nmodule. This field may be omitted if no specific position applies, or if\none could not be computed..\n\nGenerated from protobuf field `optional .google.cloud.securitycenter.v1.Position end = 4;`\n\n### hasEnd\n\n### clearEnd\n\n### setEnd\n\nThe end position of the error in the uploaded text version of the\nmodule. This field may be omitted if no specific position applies, or if\none could not be computed..\n\nGenerated from protobuf field `optional .google.cloud.securitycenter.v1.Position end = 4;`"]]