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.
bool force = 2 [(.google.api.field_behavior) = OPTIONAL];
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}
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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Interface DeleteRuleRequestOrBuilder (0.10.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.10.0 (latest)](/java/docs/reference/google-cloud-chronicle/latest/com.google.cloud.chronicle.v1.DeleteRuleRequestOrBuilder)\n- [0.8.0](/java/docs/reference/google-cloud-chronicle/0.8.0/com.google.cloud.chronicle.v1.DeleteRuleRequestOrBuilder)\n- [0.6.0](/java/docs/reference/google-cloud-chronicle/0.6.0/com.google.cloud.chronicle.v1.DeleteRuleRequestOrBuilder)\n- [0.5.0](/java/docs/reference/google-cloud-chronicle/0.5.0/com.google.cloud.chronicle.v1.DeleteRuleRequestOrBuilder)\n- [0.2.0](/java/docs/reference/google-cloud-chronicle/0.2.0/com.google.cloud.chronicle.v1.DeleteRuleRequestOrBuilder)\n- [0.1.0](/java/docs/reference/google-cloud-chronicle/0.1.0/com.google.cloud.chronicle.v1.DeleteRuleRequestOrBuilder) \n\n public interface DeleteRuleRequestOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getForce()\n\n public abstract boolean getForce()\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`bool force = 2 [(.google.api.field_behavior) = OPTIONAL];`\n\n### getName()\n\n public abstract String getName()\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`\nstring name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }\n`\n\n### getNameBytes()\n\n public abstract ByteString getNameBytes()\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`\nstring name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }\n`"]]