release_tracks: [GA, BETA, ALPHA]

help_text:
  brief: |
    List ServerTlsPolicies.
  description: |
    List all ServerTlsPolicies in the current project.
  examples: |
      To list ServerTlsPolicies in the current project, run:

        $ {command}

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

arguments:
  resource:
    spec: !REF googlecloudsdk.command_lib.network_security.resources:allDefaultLocation
    help_text: |
      The location of the ServerTlsPolicies to display.

response:
  id_field: name

output:
  format: |
     table(
        name.basename():label=NAME:sort=1,
        name.segment(3):label=LOCATION,
        description:label=DESCRIPTION,
        create_time:label=CREATE_TIME,
        update_time:label=UPDATE_TIME
      )
