Class Relation
A person's relation to another person.
Implements
Inherited Members
Namespace: Google.Apis.PeopleService.v1.Data
Assembly: Google.Apis.PeopleService.v1.dll
Syntax
public class Relation : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
FormattedType
Output only. The type of the relation translated and formatted in the viewer's account locale or the locale specified in the Accept-Language HTTP header.
Declaration
[JsonProperty("formattedType")]
public virtual string FormattedType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Metadata
Metadata about the relation.
Declaration
[JsonProperty("metadata")]
public virtual FieldMetadata Metadata { get; set; }
Property Value
| Type | Description |
|---|---|
| FieldMetadata |
Person
The name of the other person this relation refers to.
Declaration
[JsonProperty("person")]
public virtual string Person { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Type
The person's relation to the other person. The type can be custom or one of these predefined values: *
spouse * child * mother * father * parent * brother * sister * friend * relative *
domesticPartner * manager * assistant * referredBy * partner
Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
| Type | Description |
|---|---|
| string |