View Source GoogleApi.ContentWarehouse.V1.Model.QualityActionsNewsProviderAnnotationDataProvider (google_api_content_warehouse v0.4.0)

NextId: 6

Attributes

  • locales (type: list(String.t), default: nil) - List of supported locales for this provider. Must follow the format from go/iii, e.g.: 'en', 'en-US', 'en-GB', etc. Short forms without regions codes, such as, 'en' match all possible regions: en-US, en-GB, en-IN, etc.
  • officialName (type: String.t, default: nil) - The official name of the provider. Used in TTS and should be localized.
  • officialNamePronunciation (type: String.t, default: nil) - TTS hint for the pronunciation of the name. Should be left blank unless TTS performs poorly on official_name. Example: Without hinting, TTS mispronounces "The Daily 202" as "the daily two hundred and two". Feeding tts the string "the daily two oh two" produces correct TTS.
  • providerId (type: integer(), default: nil) - The provider id used for news source URL lookup in Kansas. See b/27250779 for details.
  • score (type: float(), default: nil) - A score of how confident the annotated span is a news provider. For example, a high score is assigned for span "bbc news", but a low score for span "bbc", which only triggers narrative news aqua parse for a query with explicit news intent, e.g [play news from bbc].

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.QualityActionsNewsProviderAnnotationDataProvider{
    locales: [String.t()] | nil,
    officialName: String.t() | nil,
    officialNamePronunciation: String.t() | nil,
    providerId: integer() | nil,
    score: float() | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.