class Google::Apis::PeopleV1::AgeRangeType

A person's age range.

Attributes

age_range[RW]

The age range. Corresponds to the JSON property `ageRange` @return [String]

metadata[RW]

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

Public Class Methods

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