View Source GoogleApi.People.V1.Model.FieldMetadata (google_api_people v0.41.0)

Metadata about a field.

Attributes

  • primary (type: boolean(), default: nil) - Output only. True if the field is the primary field for all sources in the person. Each person will have at most one field with primary set to true.
  • source (type: GoogleApi.People.V1.Model.Source.t, default: nil) - The source of the field.
  • sourcePrimary (type: boolean(), default: nil) - True if the field is the primary field for the source. Each source must have at most one field with source_primary set to true.
  • verified (type: boolean(), default: nil) - Output only. True if the field is verified; false if the field is unverified. A verified field is typically a name, email address, phone number, or website that has been confirmed to be owned by the person.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.People.V1.Model.FieldMetadata{
  primary: boolean() | nil,
  source: GoogleApi.People.V1.Model.Source.t() | nil,
  sourcePrimary: boolean() | nil,
  verified: boolean() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.