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

Attributes

  • duration (type: String.t, default: nil) - Describes how much time the service is going to take, e.g. how long it takes to do a haircut. Value of seconds must be from +60 (1 min) to +31,536,000 (365 days) inclusive. Value of nanos must be zero.
  • jobRelatedCategories (type: list(GoogleApi.ContentWarehouse.V1.Model.GeostoreJobRelatedCategory.t), default: nil) - Represents the name of a potential grouping of items. For TYPE_JOB, this is the category names of the categories that a user picked this job type from at the time of input.
  • jobTypeId (type: String.t, default: nil) - Unique identifier for a job. This is required for standard jobs and blank for free-form jobs. Job type ids are prefixed with "job_type_id:". Notice this is a unique string representation of a job across languages. E.g., “job_type_id:air_duct_repair”. The existence of a job_type_id means the job type is a standard one, and has a corresponding entry in the Standard Jobs Taxonomy.
  • jobTypeMid (type: String.t, default: nil) - Represents the MID corresponding to the job_category entity in the Knowledge Graph. For example, job_type_id="job_type_id:install_faucet", job_type_mid="/g/11hzzxjv3f".

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GeostoreJobMetadata{
  duration: String.t() | nil,
  jobRelatedCategories:
    [GoogleApi.ContentWarehouse.V1.Model.GeostoreJobRelatedCategory.t()] | nil,
  jobTypeId: String.t() | nil,
  jobTypeMid: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.