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

This is the category that a user picked this job type from at the time of input. The field serves two purposes: 1) The name is used in consumer surface similar to the heading name today (i.e., grouping jobs under the category. 2) The gcid is needed mainly for free-formed entries, for which GMB needs to map them to corresponding categories in the frontend, if applicable. Notice that the name and the id are both not expected to be in sync with gcid deprecation or location category change per product decision. In other words, they are not guaranteed to stay in sync, only guaranteed true at time of creation.

Attributes

  • gcid (type: String.t, default: nil) -
  • language (type: String.t, default: nil) -
  • name (type: String.t, default: nil) - Category name in the primary language of the feature. Generally intended to be used as a fallback when we are unable to fetch the name in the user's language.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GeostoreJobRelatedCategory{
  gcid: String.t() | nil,
  language: String.t() | nil,
  name: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.