public sealed class Rule : IMessage<Rule>, IEquatable<Rule>, IDeepCloneable<Rule>, IBufferMessage, IMessageReference documentation and code samples for the Cloud Security Compliance v1 API class Rule.
A rule in the cloud control.
Namespace
Google.Cloud.CloudSecurityCompliance.V1Assembly
Google.Cloud.CloudSecurityCompliance.V1.dll
Constructors
Rule()
public Rule()Rule(Rule)
public Rule(Rule other)| Parameter | |
|---|---|
| Name | Description |
other |
Rule |
Properties
CelExpression
public CELExpression CelExpression { get; set; }The rule's logic expression in Common Expression Language (CEL).
| Property Value | |
|---|---|
| Type | Description |
CELExpression |
|
Description
public string Description { get; set; }Optional. The rule description. The maximum length is 2000 characters.
| Property Value | |
|---|---|
| Type | Description |
string |
|
ImplementationCase
public Rule.ImplementationOneofCase ImplementationCase { get; }| Property Value | |
|---|---|
| Type | Description |
RuleImplementationOneofCase |
|
RuleActionTypes
public RepeatedField<RuleActionType> RuleActionTypes { get; }Required. The functionality that's enabled by the rule.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldRuleActionType |
|