public sealed class DeleteRuleRequest : IMessage<DeleteRuleRequest>, IEquatable<DeleteRuleRequest>, IDeepCloneable<DeleteRuleRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Chronicle v1 API class DeleteRuleRequest.
Optional. If set to true, any retrohunts and any detections associated with
the rule will also be deleted. If set to false, the call will only succeed
if the rule has no associated retrohunts, including completed retrohunts,
and no associated detections. Regardless of this field's value, the rule
deployment associated with this rule will also be deleted.
Required. The name of the rule to delete. A rule revision timestamp cannot
be specified as part of the name, as deleting specific revisions is not
supported.
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 DeleteRuleRequest (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.DeleteRuleRequest)\n- [1.0.0-beta01](/dotnet/docs/reference/Google.Cloud.Chronicle.V1/1.0.0-beta01/Google.Cloud.Chronicle.V1.DeleteRuleRequest) \n\n public sealed class DeleteRuleRequest : IMessage\u003cDeleteRuleRequest\u003e, IEquatable\u003cDeleteRuleRequest\u003e, IDeepCloneable\u003cDeleteRuleRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Chronicle v1 API class DeleteRuleRequest.\n\nRequest message for the DeleteRule method. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e DeleteRuleRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[DeleteRuleRequest](/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.DeleteRuleRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DeleteRuleRequest](/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.DeleteRuleRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[DeleteRuleRequest](/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.DeleteRuleRequest), [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### DeleteRuleRequest()\n\n public DeleteRuleRequest()\n\n### DeleteRuleRequest(DeleteRuleRequest)\n\n public DeleteRuleRequest(DeleteRuleRequest other)\n\nProperties\n----------\n\n### Force\n\n public bool Force { get; set; }\n\nOptional. If set to true, any retrohunts and any detections associated with\nthe rule will also be deleted. If set to false, the call will only succeed\nif the rule has no associated retrohunts, including completed retrohunts,\nand no associated detections. Regardless of this field's value, the rule\ndeployment associated with this rule will also be deleted.\n\n### Name\n\n public string Name { get; set; }\n\nRequired. The name of the rule to delete. A rule revision timestamp cannot\nbe specified as part of the name, as deleting specific revisions is not\nsupported.\nFormat:\n`projects/{project}/locations/{location}/instances/{instance}/rules/{rule}`\n\n### RuleName\n\n public RuleName RuleName { get; set; }\n\n[RuleName](/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.RuleName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.DeleteRuleRequest#Google_Cloud_Chronicle_V1_DeleteRuleRequest_Name) resource name property."]]