Class DeleteRuleRequest (0.1.0)

DeleteRuleRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request message for the DeleteRule method.

Attributes

Name Description
name str
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}
force bool
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.