class Google::Apis::PeopleV1::Birthday
A person's birthday. At least one of the `date` and `text` fields are specified. The `date` and `text` fields typically represent the same date, but are not guaranteed to.
Attributes
Represents a whole calendar date, for example a date of birth. The time of day and time zone are either specified elsewhere or are not significant. The date is relative to the [Proleptic Gregorian Calendar](en.wikipedia.org/ wiki/Proleptic_Gregorian_calendar). The day may be 0 to represent a year and month where the day is not significant. The year may be 0 to represent a month and day independent of year; for example, anniversary date. Corresponds to the JSON property `date` @return [Google::Apis::PeopleV1::Date]
Metadata about a field. Corresponds to the JSON property `metadata` @return [Google::Apis::PeopleV1::FieldMetadata]
A free-form string representing the user's birthday. Corresponds to the JSON property `text` @return [String]
Public Class Methods
# File generated/google/apis/people_v1/classes.rb, line 586 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/people_v1/classes.rb, line 591 def update!(**args) @metadata = args[:metadata] if args.key?(:metadata) @date = args[:date] if args.key?(:date) @text = args[:text] if args.key?(:text) end