Class Rule
Message represent a rule
Implements
Inherited Members
Namespace: Google.Apis.WorkloadManager.v1.Data
Assembly: Google.Apis.WorkloadManager.v1.dll
Syntax
public class Rule : IDirectResponseSchema
Properties
Description
descrite rule in plain language
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type | Description |
---|---|
string |
DisplayName
the name display in UI
Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
ErrorMessage
the message template for rule
Declaration
[JsonProperty("errorMessage")]
public virtual string ErrorMessage { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
rule name
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
PrimaryCategory
the primary category
Declaration
[JsonProperty("primaryCategory")]
public virtual string PrimaryCategory { get; set; }
Property Value
Type | Description |
---|---|
string |
Remediation
the remediation for the rule
Declaration
[JsonProperty("remediation")]
public virtual string Remediation { get; set; }
Property Value
Type | Description |
---|---|
string |
RevisionId
Output only. the version of the rule
Declaration
[JsonProperty("revisionId")]
public virtual string RevisionId { get; set; }
Property Value
Type | Description |
---|---|
string |
SecondaryCategory
the secondary category
Declaration
[JsonProperty("secondaryCategory")]
public virtual string SecondaryCategory { get; set; }
Property Value
Type | Description |
---|---|
string |
Severity
the severity of the rule
Declaration
[JsonProperty("severity")]
public virtual string Severity { get; set; }
Property Value
Type | Description |
---|---|
string |
Tags
List of user-defined tags
Declaration
[JsonProperty("tags")]
public virtual IList<string> Tags { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
Uri
the docuement url for the rule
Declaration
[JsonProperty("uri")]
public virtual string Uri { get; set; }
Property Value
Type | Description |
---|---|
string |