GeostoreTelephoneProto

GoogleApi.ContentWarehouse.V1.Model.GeostoreTelephoneProto


Table of Contents ▼

Jump to a specific part of the page:

Description

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

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. callRate (type: list(GoogleApi.ContentWarehouse.V1.Model.GeostorePriceRangeProto), default: nil)
    - RESERVED
  2. contactCategory (type: String.t, default: nil)
    - Disambiguates between the types of information or service a caller might seek when contacting this phone number.
  3. flag (type: list(String.t), default: nil)
    -
  4. 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.
  5. label (type: list(GoogleApi.ContentWarehouse.V1.Model.GeostoreNameProto), default: nil)
    - RESERVED
  6. language (type: list(String.t), default: nil)
    - RESERVED
  7. metadata (type: GoogleApi.ContentWarehouse.V1.Model.GeostoreFieldMetadataProto, default: nil)
    - Field-level metadata for this telephone number.
  8. number (type: GoogleApi.ContentWarehouse.V1.Model.TelephoneNumber, default: nil)
    - DEPRECATED This is deprecated in favor of phone_number below. An internationalized representation of a phone number. See //location/country/telephonenumber.proto
  9. phoneNumber (type: GoogleApi.ContentWarehouse.V1.Model.I18nPhonenumbersPhoneNumber, default: nil)
    - An internationalized representation of a phone number. See //java/com/google/i18n/phonenumbers/phonenumber.proto
  10. serviceLocationFeature (type: list(GoogleApi.ContentWarehouse.V1.Model.GeostoreFeatureIdProto), 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).
  11. type (type: String.t, default: nil)
    -

Type

@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
}

Function

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

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.GeostoreTelephoneProto