Reference documentation and code samples for the Chronicle V1 API class Google::Cloud::Chronicle::V1::CompilationDiagnostic.
CompilationDiagnostic represents a compilation diagnostic generated during a rule's compilation, such as a compilation error or a compilation warning.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#message
def message() -> ::String
Returns
- (::String) — Output only. The diagnostic message.
#position
def position() -> ::Google::Cloud::Chronicle::V1::CompilationPosition
Returns
- (::Google::Cloud::Chronicle::V1::CompilationPosition) — Output only. The approximate position in the rule text associated with the compilation diagnostic. Compilation Position may be empty.
#severity
def severity() -> ::Google::Cloud::Chronicle::V1::CompilationDiagnostic::Severity
Returns
- (::Google::Cloud::Chronicle::V1::CompilationDiagnostic::Severity) — Output only. The severity of a rule's compilation diagnostic.
#uri
def uri() -> ::String
Returns
- (::String) — Output only. Link to documentation that describes a diagnostic in more detail.