Output only. The timestamp when the rule deployment archive state was last
set to true. If the rule deployment's current archive state is not set to
true, the field will be empty.
The archive state of the rule deployment.
Cannot be set to true unless enabled is set to false.
If set to true, alerting will automatically be set to false.
If currently set to true, enabled, alerting, and run_frequency cannot be
updated.
public RepeatedField<string> ConsumerRules { get; }
Output only. The names of the associated/chained consumer rules. Rules are
considered consumers of this rule if their rule text explicitly filters on
this rule's ruleid. Format:
projects/{project}/locations/{location}/instances/{instance}/rules/{rule}
public Timestamp LastAlertStatusChangeTime { get; set; }
Output only. The timestamp when the rule deployment alert state was lastly
changed. This is filled regardless of the current alert state. E.g. if the
current alert status is false, this timestamp will be the timestamp when
the alert status was changed to false.
Required. The resource name of the rule deployment.
Note that RuleDeployment is a child of the overall Rule, not any individual
revision, so the resource ID segment for the Rule resource must not
reference a specific revision.
Format:
projects/{project}/locations/{location}/instances/{instance}/rules/{rule}/deployment
public RepeatedField<string> ProducerRules { get; }
Output only. The names of the associated/chained producer rules. Rules are
considered producers for this rule if this rule explicitly filters on their
ruleid. Format:
projects/{project}/locations/{location}/instances/{instance}/rules/{rule}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Chronicle v1 API - Class RuleDeployment (1.0.0-beta02)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta02 (latest)](/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.RuleDeployment)\n- [1.0.0-beta01](/dotnet/docs/reference/Google.Cloud.Chronicle.V1/1.0.0-beta01/Google.Cloud.Chronicle.V1.RuleDeployment) \n\n public sealed class RuleDeployment : IMessage\u003cRuleDeployment\u003e, IEquatable\u003cRuleDeployment\u003e, IDeepCloneable\u003cRuleDeployment\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Chronicle v1 API class RuleDeployment.\n\nThe RuleDeployment resource represents the deployment state of a Rule. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e RuleDeployment \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[RuleDeployment](/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.RuleDeployment), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[RuleDeployment](/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.RuleDeployment), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[RuleDeployment](/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.RuleDeployment), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Chronicle.V1](/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Chronicle.V1.dll\n\nConstructors\n------------\n\n### RuleDeployment()\n\n public RuleDeployment()\n\n### RuleDeployment(RuleDeployment)\n\n public RuleDeployment(RuleDeployment other)\n\nProperties\n----------\n\n### Alerting\n\n public bool Alerting { get; set; }\n\nWhether detections resulting from this deployment should be considered\nalerts.\n\n### ArchiveTime\n\n public Timestamp ArchiveTime { get; set; }\n\nOutput only. The timestamp when the rule deployment archive state was last\nset to true. If the rule deployment's current archive state is not set to\ntrue, the field will be empty.\n\n### Archived\n\n public bool Archived { get; set; }\n\nThe archive state of the rule deployment.\nCannot be set to true unless enabled is set to false.\nIf set to true, alerting will automatically be set to false.\nIf currently set to true, enabled, alerting, and run_frequency cannot be\nupdated.\n\n### ConsumerRules\n\n public RepeatedField\u003cstring\u003e ConsumerRules { get; }\n\nOutput only. The names of the associated/chained consumer rules. Rules are\nconsidered consumers of this rule if their rule text explicitly filters on\nthis rule's ruleid. Format:\n`projects/{project}/locations/{location}/instances/{instance}/rules/{rule}`\n\n### ConsumerRulesAsInstanceNames\n\n public ResourceNameList\u003cInstanceName\u003e ConsumerRulesAsInstanceNames { get; }\n\n[InstanceName](/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.InstanceName)-typed view over the [ConsumerRules](/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.RuleDeployment#Google_Cloud_Chronicle_V1_RuleDeployment_ConsumerRules) resource name property.\n\n### Enabled\n\n public bool Enabled { get; set; }\n\nWhether the rule is currently deployed continuously against incoming data.\n\n### ExecutionState\n\n public RuleDeployment.Types.ExecutionState ExecutionState { get; set; }\n\nOutput only. The execution state of the rule deployment.\n\n### LastAlertStatusChangeTime\n\n public Timestamp LastAlertStatusChangeTime { get; set; }\n\nOutput only. The timestamp when the rule deployment alert state was lastly\nchanged. This is filled regardless of the current alert state. E.g. if the\ncurrent alert status is false, this timestamp will be the timestamp when\nthe alert status was changed to false.\n\n### Name\n\n public string Name { get; set; }\n\nRequired. The resource name of the rule deployment.\nNote that RuleDeployment is a child of the overall Rule, not any individual\nrevision, so the resource ID segment for the Rule resource must not\nreference a specific revision.\nFormat:\n`projects/{project}/locations/{location}/instances/{instance}/rules/{rule}/deployment`\n\n### ProducerRules\n\n public RepeatedField\u003cstring\u003e ProducerRules { get; }\n\nOutput only. The names of the associated/chained producer rules. Rules are\nconsidered producers for this rule if this rule explicitly filters on their\nruleid. Format:\n`projects/{project}/locations/{location}/instances/{instance}/rules/{rule}`\n\n### ProducerRulesAsInstanceNames\n\n public ResourceNameList\u003cInstanceName\u003e ProducerRulesAsInstanceNames { get; }\n\n[InstanceName](/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.InstanceName)-typed view over the [ProducerRules](/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.RuleDeployment#Google_Cloud_Chronicle_V1_RuleDeployment_ProducerRules) resource name property.\n\n### RuleDeploymentName\n\n public RuleDeploymentName RuleDeploymentName { get; set; }\n\n[RuleDeploymentName](/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.RuleDeploymentName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.RuleDeployment#Google_Cloud_Chronicle_V1_RuleDeployment_Name) resource name property.\n\n### RunFrequency\n\n public RunFrequency RunFrequency { get; set; }\n\nThe run frequency of the rule deployment."]]