View Source GoogleApi.ContentWarehouse.V1.Model.GeostoreTelephoneProto (google_api_content_warehouse v0.3.0)

This protocol buffer is used to represent telephone numbers and related information.

Attributes

  • callRate (type: list(GoogleApi.ContentWarehouse.V1.Model.GeostorePriceRangeProto.t), default: nil) - RESERVED
  • contactCategory (type: String.t, default: nil) - Disambiguates between the types of information or service a caller might seek when contacting this phone number.
  • flag (type: list(String.t), default: nil) -
  • isSharedNumber (type: boolean(), default: nil) - True if this phone number is not unique to this establishment and might be shared with other features. In case an establishment shares a phone number with a business chain of which it is a member, and the number canonically belongs to that chain, it should be marked as shared for the establishment but not shared for the chain.
  • label (type: list(GoogleApi.ContentWarehouse.V1.Model.GeostoreNameProto.t), default: nil) - RESERVED
  • language (type: list(String.t), default: nil) - RESERVED
  • metadata (type: GoogleApi.ContentWarehouse.V1.Model.GeostoreFieldMetadataProto.t, default: nil) - Field-level metadata for this telephone number.
  • number (type: GoogleApi.ContentWarehouse.V1.Model.TelephoneNumber.t, default: nil) - DEPRECATED This is deprecated in favor of phone_number below. An internationalized representation of a phone number. See //location/country/telephonenumber.proto
  • phoneNumber (type: GoogleApi.ContentWarehouse.V1.Model.I18nPhonenumbersPhoneNumber.t, default: nil) - An internationalized representation of a phone number. See //java/com/google/i18n/phonenumbers/phonenumber.proto
  • serviceLocationFeature (type: list(GoogleApi.ContentWarehouse.V1.Model.GeostoreFeatureIdProto.t), default: nil) - The features from which this phone number can be called from. For instance, if a phone number can only be called from Europe, this field will contain a reference to the TYPE_CONTINENT feature of Europe. This field is analogous to http://kg/schema/common/phone_number/service_location. The only valid destination feature types are TYPE_CONTINENT and TYPE_POLITICAL. If empty, this phone number can be called from anywhere in Earth (this is the case for the majority of phones).
  • type (type: String.t, default: nil) -

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GeostoreTelephoneProto{
  callRate:
    [GoogleApi.ContentWarehouse.V1.Model.GeostorePriceRangeProto.t()] | nil,
  contactCategory: String.t() | nil,
  flag: [String.t()] | nil,
  isSharedNumber: boolean() | nil,
  label: [GoogleApi.ContentWarehouse.V1.Model.GeostoreNameProto.t()] | nil,
  language: [String.t()] | nil,
  metadata:
    GoogleApi.ContentWarehouse.V1.Model.GeostoreFieldMetadataProto.t() | nil,
  number: GoogleApi.ContentWarehouse.V1.Model.TelephoneNumber.t() | nil,
  phoneNumber:
    GoogleApi.ContentWarehouse.V1.Model.I18nPhonenumbersPhoneNumber.t() | nil,
  serviceLocationFeature:
    [GoogleApi.ContentWarehouse.V1.Model.GeostoreFeatureIdProto.t()] | nil,
  type: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.