Class Relation
A person's relation to another person.
Inheritance
System.Object
Relation
Implements
Google.Apis.Requests.IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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 |
|---|---|
| System.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 |
|---|---|
| System.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 |
|---|---|
| System.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 |
|---|---|
| System.String |
Implements
Google.Apis.Requests.IDirectResponseSchema