google_api_mirror v0.6.0 GoogleApi.Mirror.V1.Model.Contact View Source
A person or group that can be used as a creator or a contact.
Attributes
acceptCommands
(type:list(GoogleApi.Mirror.V1.Model.Command.t)
, default:nil
) - A list of voice menu commands that a contact can handle. Glass shows up to three contacts for each voice menu command. If there are more than that, the three contacts with the highest priority are shown for that particular command.acceptTypes
(type:list(String.t)
, default:nil
) - A list of MIME types that a contact supports. The contact will be shown to the user if any of its acceptTypes matches any of the types of the attachments on the item. If no acceptTypes are given, the contact will be shown for all items.displayName
(type:String.t
, default:nil
) - The name to display for this contact.id
(type:String.t
, default:nil
) - An ID for this contact. This is generated by the application and is treated as an opaque token.imageUrls
(type:list(String.t)
, default:nil
) - Set of image URLs to display for a contact. Most contacts will have a single image, but a "group" contact may include up to 8 image URLs and they will be resized and cropped into a mosaic on the client.kind
(type:String.t
, default:mirror#contact
) - The type of resource. This is always mirror#contact.phoneNumber
(type:String.t
, default:nil
) - Primary phone number for the contact. This can be a fully-qualified number, with country calling code and area code, or a local number.priority
(type:integer()
, default:nil
) - Priority for the contact to determine ordering in a list of contacts. Contacts with higher priorities will be shown before ones with lower priorities.sharingFeatures
(type:list(String.t)
, default:nil
) - A list of sharing features that a contact can handle. Allowed values are:- ADD_CAPTION
source
(type:String.t
, default:nil
) - The ID of the application that created this contact. This is populated by the APIspeakableName
(type:String.t
, default:nil
) - Name of this contact as it should be pronounced. If this contact's name must be spoken as part of a voice disambiguation menu, this name is used as the expected pronunciation. This is useful for contact names with unpronounceable characters or whose display spelling is otherwise not phonetic.type
(type:String.t
, default:nil
) - The type for this contact. This is used for sorting in UIs. Allowed values are:- INDIVIDUAL - Represents a single person. This is the default.
- GROUP - Represents more than a single person.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Link to this type
t()
View Sourcet() :: %GoogleApi.Mirror.V1.Model.Contact{ acceptCommands: [GoogleApi.Mirror.V1.Model.Command.t()], acceptTypes: [String.t()], displayName: String.t(), id: String.t(), imageUrls: [String.t()], kind: String.t(), phoneNumber: String.t(), priority: integer(), sharingFeatures: [String.t()], source: String.t(), speakableName: String.t(), type: String.t() }
Link to this section Functions
Unwrap a decoded JSON object into its complex fields.