class Google::Apis::PeopleV1::FieldMetadata

Metadata about a field.

Attributes

primary[RW]

True if the field is the primary field; false if the field is a secondary field. Corresponds to the JSON property `primary` @return [Boolean]

primary?[RW]

True if the field is the primary field; false if the field is a secondary field. 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]

verified[RW]

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]

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 generated/google/apis/people_v1/classes.rb, line 337
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

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