GeostoreJobRelatedCategory

GoogleApi.ContentWarehouse.V1.Model.GeostoreJobRelatedCategory


Table of Contents ▼

Jump to a specific part of the page:

Description

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 List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. gcid (type: String.t, default: nil)
    -
  2. language (type: String.t, default: nil)
    -
  3. 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.

Type

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

Function

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

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.GeostoreJobRelatedCategory