- release_tracks: [BETA]
  help_text:
    brief: |
      List BeyondCorp client connector service resources (Deprecated).
    description: |
      List BeyondCorp client connector service resources based on project and location.

    examples: |
      To list all client connector services in a project for location us-central1 in table form, run:

        $ {command} --project=consumer-project-id --location=us-central1

      To list all client connector service in a project for location us-central1 with limit=1, run:

        $ {command} --project=consumer-project-id --location=us-central1 --limit=1

  request:
    collection: beyondcorp.projects.locations.clientConnectorServices
    BETA:
      api_version: v1

  arguments:
    resource:
      help_text: |
        Arguments and flags that define the BeyondCorp client connector services you want to list.
      spec: !REF googlecloudsdk.command_lib.beyondcorp.client_connector.resources:location

  output:
    format: |
      table(
        name.basename():label=NAME,
        displayName:label=DISPLAY_NAME,
        state:label=STATE,
        ingress.config.transportProtocol:label=INGRESS_TRANSPORT_PROTOCOL,
        ingress.config.destinationRoutes.address.list():label=INGRESS_DESTINATION_ROUTES_ADDRESS,
        ingress.config.destinationRoutes.netmask.list():label=INGRESS_DESTINATION_ROUTES_NETMASK,
        egress.peeredVpc.networkVpc:label=EGRESS_PEERED_NETWORK_VPC,
        createTime.date():label=CREATE_TIME,
        updateTime.date():label=UPDATE_TIME
      )
