Google Cloud Security Center Management V1 Client - Class CustomModuleValidationError (0.1.0)

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

An error encountered while validating the uploaded configuration of an Event Threat Detection Custom Module.

Generated from protobuf message google.cloud.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError

Namespace

Google \ Cloud \ SecurityCenterManagement \ V1 \ ValidateEventThreatDetectionCustomModuleResponse

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ description string

A description of the error, suitable for human consumption. Required.

↳ field_path string

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.

↳ start Google\Cloud\SecurityCenterManagement\V1\ValidateEventThreatDetectionCustomModuleResponse\Position

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.

↳ end Google\Cloud\SecurityCenterManagement\V1\ValidateEventThreatDetectionCustomModuleResponse\Position

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
TypeDescription
string

setDescription

A description of the error, suitable for human consumption. Required.

Parameter
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$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.

Returns
TypeDescription
Google\Cloud\SecurityCenterManagement\V1\ValidateEventThreatDetectionCustomModuleResponse\Position|null

hasStart

clearStart

setStart

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.

Parameter
NameDescription
var Google\Cloud\SecurityCenterManagement\V1\ValidateEventThreatDetectionCustomModuleResponse\Position
Returns
TypeDescription
$this

getEnd

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.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse.Position end = 4;

Returns
TypeDescription
Google\Cloud\SecurityCenterManagement\V1\ValidateEventThreatDetectionCustomModuleResponse\Position|null

hasEnd

clearEnd

setEnd

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.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse.Position end = 4;

Parameter
NameDescription
var Google\Cloud\SecurityCenterManagement\V1\ValidateEventThreatDetectionCustomModuleResponse\Position
Returns
TypeDescription
$this