- release_tracks: [GA]

  help_text:
    brief: Use Google Cloud Natural Language API to identify sentiments in a text.
    description: |
      Sentiment Analysis inspects the given text and identifies the prevailing
      emotional opinion within the text, especially to determine a writer's
      attitude as positive, negative, or neutral.

      {language_help}
    language_help: !COMMON help_text.language_help_ga
    examples: !COMMON help_text.language_examples.AS

  request:
    _COMMON_: request
    method: analyzeSentiment

  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 sentiments in a text.
    description: |
      Sentiment Analysis inspects the given text and identifies the prevailing
      emotional opinion within the text, especially to determine a writer's
      attitude as positive, negative, or neutral.

      {language_help}
    language_help: !COMMON help_text.language_help
    examples: !COMMON help_text.language_examples.AS

  request:
    _COMMON_: request
    api_version: v1beta2
    method: analyzeSentiment

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

  output:
    format: json
