release_tracks: [GA, BETA, ALPHA]

help_text:
  brief: |
    Delete Gateway Security Policy Rule.
  description: |
    Delete the specified Gateway Security Policy Rule.
  examples: |
      To delete a Gateway Security Policy Rule called 'my-rule', run:

        $ {command} my-rule --location={region} --gateway-security-policy={policy-name}

arguments:
  resource:
    spec: !REF googlecloudsdk.command_lib.network_security.resources:gatewaySecurityPolicyRule
    help_text: |
      Name of the Gateway Security Policy Rule you want to delete.
    is_positional: true

async:
  collection: networksecurity.projects.locations.operations

request: &request
  ALPHA:
    api_version: v1alpha1
  BETA:
    api_version: v1beta1
  GA:
    api_version: v1
  collection: networksecurity.projects.locations.gatewaySecurityPolicies.rules
