View Source GoogleApi.ContentWarehouse.V1.Model.GeostoreTextAffixProto (google_api_content_warehouse v0.3.0)

Represents text (with an associated language) that is affixed to the beginning and/or end of a primary text.

Attributes

  • language (type: String.t, default: nil) - The external form of a Google International Identifiers Initiative (III) LanguageCode object. See google3/i18n/identifiers/languagecode.h for details. These strings should be treated as opaque blobs. You can use LanguageCodeConverter::FromOther to convert the string to a LanguageCode reference. You can then call methods on the LanguageCode class to extract language/script/region subtags (if any). See also http://g3doc/i18n/identifiers/g3doc/using-iii. We place extra restrictions on languages in addition to what the III library requires. See http://go/geo-schema-reference/feature-properties/languages.md
  • prefix (type: String.t, default: nil) - Text to prepend to the primary text, including any necessary trailing whitespace. At least one of prefix or suffix is required.
  • suffix (type: String.t, default: nil) - Text to append to the end of the primary text, including any necessary leading whitespace. At least one of prefix or suffix is required.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GeostoreTextAffixProto{
  language: String.t() | nil,
  prefix: String.t() | nil,
  suffix: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.