View Source GoogleApi.CloudSearch.V1.Model.Person (google_api_cloud_search v0.23.1)

Object to represent a person.

Attributes

  • emailAddresses (type: list(GoogleApi.CloudSearch.V1.Model.EmailAddress.t), default: nil) - The person's email addresses
  • name (type: String.t, default: nil) - The resource name of the person to provide information about. See People.get from the Google People API.
  • obfuscatedId (type: String.t, default: nil) - Obfuscated ID of a person.
  • personNames (type: list(GoogleApi.CloudSearch.V1.Model.Name.t), default: nil) - The person's name
  • phoneNumbers (type: list(GoogleApi.CloudSearch.V1.Model.PhoneNumber.t), default: nil) - The person's phone numbers
  • photos (type: list(GoogleApi.CloudSearch.V1.Model.Photo.t), default: nil) - A person's read-only photo. A picture shown next to the person's name to help others recognize the person in search results.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CloudSearch.V1.Model.Person{
  emailAddresses: [GoogleApi.CloudSearch.V1.Model.EmailAddress.t()] | nil,
  name: String.t() | nil,
  obfuscatedId: String.t() | nil,
  personNames: [GoogleApi.CloudSearch.V1.Model.Name.t()] | nil,
  phoneNumbers: [GoogleApi.CloudSearch.V1.Model.PhoneNumber.t()] | nil,
  photos: [GoogleApi.CloudSearch.V1.Model.Photo.t()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.