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

View Source

A collection of phone numbers for the business. During updates, both fields must be set. Clients may not update just the primary or additional phone numbers using the update mask. International phone format is preferred, such as "+1 415 555 0132", see more in (https://developers.google.com/style/phone-numbers#international-phone-numbers).

Attributes

  • additionalPhones (type: list(String.t), default: nil) - Optional. Up to two phone numbers (mobile or landline, no fax) at which your business can be called, in addition to your primary phone number.
  • primaryPhone (type: String.t, default: nil) - Required. A phone number that connects to your individual business location as directly as possible. Use a local phone number instead of a central, call center helpline number whenever possible.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.MyBusinessBusinessInformation.V1.Model.PhoneNumbers{
  additionalPhones: [String.t()] | nil,
  primaryPhone: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.