Show / Hide Table of Contents

Class Rule

A rule to be evaluated.

Inheritance
object
Rule
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.WorkloadManager.v1.Data
Assembly: Google.Apis.WorkloadManager.v1.dll
Syntax
public class Rule : IDirectResponseSchema

Properties

AssetType

The CAI asset type of the rule is evaluating, for joined asset types, it will be the corresponding primary asset types.

Declaration
[JsonProperty("assetType")]
public virtual string AssetType { get; set; }
Property Value
Type Description
string

Description

Describe 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

RuleType

The type of the rule.

Declaration
[JsonProperty("ruleType")]
public virtual string RuleType { 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 document url for the rule.

Declaration
[JsonProperty("uri")]
public virtual string Uri { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX