GoogleApi.MyBusinessBusinessInformation.V1.Model.Categories (google_api_my_business_business_information v0.5.2)

View Source

A collection of categories that describes the business. During updates, both fields must be set. Clients are prohibited from individually updating the primary or additional categories using the update mask.

Attributes

  • additionalCategories (type: list(GoogleApi.MyBusinessBusinessInformation.V1.Model.Category.t), default: nil) - Optional. Additional categories to describe your business. Categories help your customers find accurate, specific results for services they're interested in. To keep your business information accurate and live, make sure that you use as few categories as possible to describe your overall core business. Choose categories that are as specific as possible, but representative of your main business.
  • primaryCategory (type: GoogleApi.MyBusinessBusinessInformation.V1.Model.Category.t, default: nil) - Required. Category that best describes the core business this location engages in.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.MyBusinessBusinessInformation.V1.Model.Categories{
  additionalCategories:
    [GoogleApi.MyBusinessBusinessInformation.V1.Model.Category.t()] | nil,
  primaryCategory:
    GoogleApi.MyBusinessBusinessInformation.V1.Model.Category.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.