google_api_people v0.22.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. A field mask to restrict which fields on the person are returned. Multiple fields can be specified by separating them with commas. Defaults to empty if not set, which will skip the post mutate get. Valid values are:

    • addresses
    • ageRanges
    • biographies
    • birthdays
    • coverPhotos
    • emailAddresses
    • events
    • genders
    • imClients
    • interests
    • locales
    • memberships
    • metadata
    • names
    • nicknames
    • occupations
    • organizations
    • phoneNumbers
    • photos
    • relations
    • residences
    • sipAddresses
    • skills
    • urls
    • userDefined
  • photoBytes (type: String.t, default: nil) - Required. 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.