google_api_people v0.12.0 GoogleApi.People.V1.Model.UpdateContactPhotoRequest View Source

A request to update an existing contact's photo. All requests must have a valid photo format: JPEG or PNG.

Attributes

  • personFields (type: String.t, default: nil) - Optional. Not specifying any fields will skip the post mutate read. A field mask to restrict which fields on the person are returned. Multiple fields can be specified by separating them with commas. Valid values are:

    • addresses
    • ageRanges
    • biographies
    • birthdays
    • braggingRights
    • coverPhotos
    • emailAddresses
    • events
    • genders
    • imClients
    • interests
    • locales
    • memberships
    • metadata
    • names
    • nicknames
    • occupations
    • organizations
    • phoneNumbers
    • photos
    • relations
    • relationshipInterests
    • relationshipStatuses
    • residences
    • sipAddresses
    • skills
    • taglines
    • urls
    • userDefined
  • photoBytes (type: String.t, default: nil) - Raw photo bytes

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 Source
t() :: %GoogleApi.People.V1.Model.UpdateContactPhotoRequest{
  personFields: String.t(),
  photoBytes: String.t()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.