- release_tracks: [GA]

  help_text:
    brief: Use Google Cloud Natural Language API to identify entity-level sentiment.
    description: |
      Entity level sentiment combines both entity analysis and sentiment analysis
      and attempts to determine the sentiment (positive or negative) expressed
      about entities within the text.

      Currently only English is supported for this feature.
    examples: !COMMON help_text.language_examples.AES

  request:
    _COMMON_: request
    method: analyzeEntitySentiment

  arguments:
    params:
    - _COMMON_: args.content_group
    - _COMMON_: args.content
    - _COMMON_: args.language
    - _COMMON_: args.encoding

  output:
    format: json


- release_tracks: [ALPHA, BETA]

  help_text:
    brief: Use Google Cloud Natural Language API to identify entity-level sentiment.
    description: |
      Entity level sentiment combines both entity analysis and sentiment analysis
      and attempts to determine the sentiment (positive or negative) expressed
      about entities within the text.

      Currently only English is supported for this feature.
    examples: !COMMON help_text.language_examples.AES

  request:
    _COMMON_: request
    api_version: v1beta2
    method: analyzeEntitySentiment

  arguments:
    params:
    - _COMMON_: args.content_group
    - _COMMON_: args.content
    - _COMMON_: args.language
    - _COMMON_: args.encoding

  output:
    format: json
