Interface DeleteRuleRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
DeleteRuleRequest, DeleteRuleRequest.Builder

@Generated public interface DeleteRuleRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Optional.
    Required.
    com.google.protobuf.ByteString
    Required.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getName

      String getName()
       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}`
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       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}`
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for name.
    • getForce

      boolean getForce()
       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];
      Returns:
      The force.