release_tracks: [ALPHA, BETA, GA]

help_text:
  brief: |
    List `LbRouteExtension` resources.
  description: |
    List all `LbRouteExtension` resources in the specified location of the
    current project.
  examples: |
      To list all `LbRouteExtension` resources in the current project located
      in `us-central1` region run:

        $ {command} --location=us-central1

request: &request
  ALPHA:
    api_version: v1alpha1
  BETA:
    api_version: v1beta1
  GA:
    api_version: v1

  collection: networkservices.projects.locations.lbRouteExtensions

arguments:
  resource:
    spec: !REF googlecloudsdk.command_lib.service_extensions.resources:location
    help_text: |
      The parent location.

response:
  id_field: name

output:
  format: |
      table(
        name.basename():label=NAME,
        loadBalancingScheme,
        updateTime.date(unit=1000, tz_default=UTC):label=LAST_MODIFIED
      )
