Class: Google::Cloud::SecurityCenterManagement::V1::ValidateEventThreatDetectionCustomModuleResponse

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/securitycentermanagement/v1/security_center_management.rb

Overview

Defined Under Namespace

Classes: CustomModuleValidationError, Position

Instance Attribute Summary collapse

Instance Attribute Details

#errors::Array<::Google::Cloud::SecurityCenterManagement::V1::ValidateEventThreatDetectionCustomModuleResponse::CustomModuleValidationError>

Returns A list of errors returned by the validator. If the list is empty, there were no errors.

Returns:



1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
# File 'proto_docs/google/cloud/securitycentermanagement/v1/security_center_management.rb', line 1180

class ValidateEventThreatDetectionCustomModuleResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # An error encountered while validating the uploaded configuration of an
  # Event Threat Detection custom module.
  # @!attribute [rw] description
  #   @return [::String]
  #     A human-readable description of the error.
  # @!attribute [rw] field_path
  #   @return [::String]
  #     The path, in [RFC 6901: JSON
  #     Pointer](https://datatracker.ietf.org/doc/html/rfc6901) format, to the
  #     field that failed validation. Omitted if no specific field is affected.
  # @!attribute [rw] start
  #   @return [::Google::Cloud::SecurityCenterManagement::V1::ValidateEventThreatDetectionCustomModuleResponse::Position]
  #     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.
  # @!attribute [rw] end
  #   @return [::Google::Cloud::SecurityCenterManagement::V1::ValidateEventThreatDetectionCustomModuleResponse::Position]
  #     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.
  class CustomModuleValidationError
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A position in the uploaded text version of a module.
  # @!attribute [rw] line_number
  #   @return [::Integer]
  #     The line position in the text.
  # @!attribute [rw] column_number
  #   @return [::Integer]
  #     The column position in the line.
  class Position
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end