Class Address
A person's physical address. May be a P.O. box or street address. All fields are optional.
Implements
Inherited Members
Namespace: Google.Apis.PeopleService.v1.Data
Assembly: Google.Apis.PeopleService.v1.dll
Syntax
public class Address : IDirectResponseSchema
Properties
City
The city of the address.
Declaration
[JsonProperty("city")]
public virtual string City { get; set; }
Property Value
Type | Description |
---|---|
string |
Country
The country of the address.
Declaration
[JsonProperty("country")]
public virtual string Country { get; set; }
Property Value
Type | Description |
---|---|
string |
CountryCode
The ISO 3166-1 alpha-2 country code of the address.
Declaration
[JsonProperty("countryCode")]
public virtual string CountryCode { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
ExtendedAddress
The extended address of the address; for example, the apartment number.
Declaration
[JsonProperty("extendedAddress")]
public virtual string ExtendedAddress { get; set; }
Property Value
Type | Description |
---|---|
string |
FormattedType
Output only. The type of the address translated and formatted in the viewer's account locale or the
Accept-Language
HTTP header locale.
Declaration
[JsonProperty("formattedType")]
public virtual string FormattedType { get; set; }
Property Value
Type | Description |
---|---|
string |
FormattedValue
The unstructured value of the address. If this is not set by the user it will be automatically constructed from structured values.
Declaration
[JsonProperty("formattedValue")]
public virtual string FormattedValue { get; set; }
Property Value
Type | Description |
---|---|
string |
Metadata
Metadata about the address.
Declaration
[JsonProperty("metadata")]
public virtual FieldMetadata Metadata { get; set; }
Property Value
Type | Description |
---|---|
FieldMetadata |
PoBox
The P.O. box of the address.
Declaration
[JsonProperty("poBox")]
public virtual string PoBox { get; set; }
Property Value
Type | Description |
---|---|
string |
PostalCode
The postal code of the address.
Declaration
[JsonProperty("postalCode")]
public virtual string PostalCode { get; set; }
Property Value
Type | Description |
---|---|
string |
Region
The region of the address; for example, the state or province.
Declaration
[JsonProperty("region")]
public virtual string Region { get; set; }
Property Value
Type | Description |
---|---|
string |
StreetAddress
The street address.
Declaration
[JsonProperty("streetAddress")]
public virtual string StreetAddress { get; set; }
Property Value
Type | Description |
---|---|
string |
Type
The type of the address. The type can be custom or one of these predefined values: * home
* work
*
other
Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
Type | Description |
---|---|
string |