Show / Hide Table of Contents

Class Address

A person's physical address. May be a P.O. box or street address. All fields are optional.

Inheritance
System.Object
Address
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 Address : IDirectResponseSchema

Properties

City

The city of the address.

Declaration
[JsonProperty("city")]
public virtual string City { get; set; }
Property Value
Type Description
System.String

Country

The country of the address.

Declaration
[JsonProperty("country")]
public virtual string Country { get; set; }
Property Value
Type Description
System.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
System.String

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.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
System.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
System.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
System.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
System.String

PostalCode

The postal code of the address.

Declaration
[JsonProperty("postalCode")]
public virtual string PostalCode { get; set; }
Property Value
Type Description
System.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
System.String

StreetAddress

The street address.

Declaration
[JsonProperty("streetAddress")]
public virtual string StreetAddress { get; set; }
Property Value
Type Description
System.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
System.String

Implements

Google.Apis.Requests.IDirectResponseSchema
Back to top