google_api_people v0.4.1 GoogleApi.People.V1.Model.Photo View Source

A person's read-only photo. A picture shown next to the person's name to help others recognize the person.

Attributes

  • default (boolean()): True if the photo is a default photo; false if the photo is a user-provided photo. Defaults to: null.
  • metadata (FieldMetadata): Metadata about the photo. Defaults to: null.
  • url (String.t): The URL of the photo. You can change the desired size by appending a query parameter `sz=`<var>size</var> at the end of the url. Example: `https://lh3.googleusercontent.com/-T_wVWLlmg7w/AAAAAAAAAAI/AAAAAAAABa8/00gzXvDBYqw/s100/photo.jpg?sz=50` Defaults to: null.

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.Photo{
  default: any(),
  metadata: GoogleApi.People.V1.Model.FieldMetadata.t(),
  url: any()
}

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.