class Google::Apis::PeopleV1::Residence

A person's past or current residence.

Attributes

current[RW]

True if the residence is the person's current residence; false if the residence is a past residence. Corresponds to the JSON property `current` @return [Boolean]

current?[RW]

True if the residence is the person's current residence; false if the residence is a past residence. Corresponds to the JSON property `current` @return [Boolean]

metadata[RW]

Metadata about a field. Corresponds to the JSON property `metadata` @return [Google::Apis::PeopleV1::FieldMetadata]

value[RW]

The address of the residence. Corresponds to the JSON property `value` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/people_v1/classes.rb, line 790
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 795
def update!(**args)
  @metadata = args[:metadata] if args.key?(:metadata)
  @value = args[:value] if args.key?(:value)
  @current = args[:current] if args.key?(:current)
end