API hub v1 API - Class Issue (1.0.0-beta02)

public sealed class Issue : IMessage<Issue>, IEquatable<Issue>, IDeepCloneable<Issue>, IBufferMessage, IMessage

Reference documentation and code samples for the API hub v1 API class Issue.

Issue contains the details of a single issue found by the linter.

Inheritance

object > Issue

Namespace

Google.Cloud.ApiHub.V1

Assembly

Google.Cloud.ApiHub.V1.dll

Constructors

Issue()

public Issue()

Issue(Issue)

public Issue(Issue other)
Parameter
Name Description
other Issue

Properties

Code

public string Code { get; set; }

Required. Rule code unique to each rule defined in linter.

Property Value
Type Description
string

Message

public string Message { get; set; }

Required. Human-readable message describing the issue found by the linter.

Property Value
Type Description
string

Path

public RepeatedField<string> Path { get; }

Required. An array of strings indicating the location in the analyzed document where the rule was triggered.

Property Value
Type Description
RepeatedFieldstring

Range

public Range Range { get; set; }

Required. Object describing where in the file the issue was found.

Property Value
Type Description
Range

Severity

public Severity Severity { get; set; }

Required. Severity level of the rule violation.

Property Value
Type Description
Severity