- release_tracks: [ALPHA, BETA]

  help_text:
    brief: Find and analyze medical entities in a document.
    description: Find and analyze medical entities in a document.
    examples: |
      To inspect input text for medical concepts and relations run:

        $ {command} --document-content="Example" --nlp-service="projects/my-project/locations/my-location/services/nlp"

  request:
    collection: healthcare.projects.locations.services.nlp
    method: analyzeEntities
    ALPHA:
      api_version: v1alpha2
    BETA:
      api_version: v1beta1

  arguments:
    resource:
      help_text: Cloud Healthcare NL API service be evaluated.
      spec: !REF googlecloudsdk.command_lib.healthcare.resources:nlp

    params:
    - arg_name: nlp-service
      api_field: nlpService
      required: true
      help_text: |
        The NLP Service name to be used.
    - arg_name: document-content
      api_field: analyzeEntitiesRequest.documentContent
      required: true
      help_text: |
        The input text to be analyzed.
