Class 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. Clients should always set the date
field when
mutating birthdays.
Implements
Inherited Members
Namespace: Google.Apis.PeopleService.v1.Data
Assembly: Google.Apis.PeopleService.v1.dll
Syntax
public class Birthday : IDirectResponseSchema
Properties
Date
The structured date of the birthday.
Declaration
[JsonProperty("date")]
public virtual Date Date { get; set; }
Property Value
Type | Description |
---|---|
Date |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Metadata
Metadata about the birthday.
Declaration
[JsonProperty("metadata")]
public virtual FieldMetadata Metadata { get; set; }
Property Value
Type | Description |
---|---|
FieldMetadata |
Text
Prefer to use the date
field if set. A free-form string representing the user's birthday. This value is
not validated.
Declaration
[JsonProperty("text")]
public virtual string Text { get; set; }
Property Value
Type | Description |
---|---|
string |