- release_tracks: [ALPHA, GA]
  help_text:
    brief: List EdgeCacheKeyset resources.
    description: |
      List EdgeCacheKeyset resources.
    examples: |
      To list existing EdgeCacheKeyset resources, run:

        $ {command}

  request:
    collection: networkservices.projects.locations.edgeCacheKeysets
    ALPHA:
      api_version: v1alpha1
    GA:
      api_version: v1

  response:
    id_field: name

  arguments:
    resource:
      help_text: The location (defaults to global) of the resources.
      spec: !REF googlecloudsdk.command_lib.edge_cache.resources:location
      removed_flags: [location]

  output:
    format: |
      table(
        name.basename():label=NAME,
        publicKeys.len():label=PUBLIC_KEYS,
        updateTime:label=UPDATETIME
      )
