GoogleApi.MyBusinessBusinessInformation.V1.Model.FreeFormServiceItem (google_api_my_business_business_information v0.2.1) View Source

Represents a free-form service offered by the merchant. These are services that are not exposed as part of our structure service data. The merchant manually enters the names for of such services via a geomerchant surface.

Attributes

  • category (type: String.t, default: nil) - Required. This field represents the category name (i.e. the category's stable ID). The category and service_type_id should match the possible combinations provided in the Category message.
  • label (type: GoogleApi.MyBusinessBusinessInformation.V1.Model.Label.t, default: nil) - Required. Language-tagged labels for the item. We recommend that item names be 140 characters or less, and descriptions 250 characters or less. This field should only be set if the input is a custom service item. Standardized service types should be updated via service_type_id.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.MyBusinessBusinessInformation.V1.Model.FreeFormServiceItem{
  category: String.t() | nil,
  label: GoogleApi.MyBusinessBusinessInformation.V1.Model.Label.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.