class Google::Apis::PeopleV1::FieldMetadata

Metadata about a field.

Attributes

primary[RW]

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. Corresponds to the JSON property `primary` @return [Boolean]

primary?[RW]

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. Corresponds to the JSON property `primary` @return [Boolean]

source[RW]

The source of a field. Corresponds to the JSON property `source` @return [Google::Apis::PeopleV1::Source]

source_primary[RW]

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. Corresponds to the JSON property `sourcePrimary` @return [Boolean]

source_primary?[RW]

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. Corresponds to the JSON property `sourcePrimary` @return [Boolean]

verified[RW]

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. Corresponds to the JSON property `verified` @return [Boolean]

verified?[RW]

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. Corresponds to the JSON property `verified` @return [Boolean]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/people_v1/classes.rb, line 1039
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/people_v1/classes.rb, line 1044
def update!(**args)
  @primary = args[:primary] if args.key?(:primary)
  @source = args[:source] if args.key?(:source)
  @source_primary = args[:source_primary] if args.key?(:source_primary)
  @verified = args[:verified] if args.key?(:verified)
end