public sealed class Location : IMessage<Location>, IEquatable<Location>, IDeepCloneable<Location>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Talent Solution v4 API class Location.
A resource that represents a location with full geographic information.
Namespace
Google.Cloud.Talent.V4Assembly
Google.Cloud.Talent.V4.dll
Constructors
Location()
public Location()
Location(Location)
public Location(Location other)
Parameter | |
---|---|
Name | Description |
other | Location |
Properties
LatLng
public LatLng LatLng { get; set; }
An object representing a latitude/longitude pair.
Property Value | |
---|---|
Type | Description |
LatLng |
LocationType
public Location.Types.LocationType LocationType { get; set; }
The type of a location, which corresponds to the address lines field of [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA" has a type of [LocationType.NEIGHBORHOOD][google.cloud.talent.v4.Location.LocationType.NEIGHBORHOOD], and "Kansas City, KS, USA" has a type of [LocationType.LOCALITY][google.cloud.talent.v4.Location.LocationType.LOCALITY].
Property Value | |
---|---|
Type | Description |
LocationTypesLocationType |
PostalAddress
public PostalAddress PostalAddress { get; set; }
Postal address of the location that includes human readable information, such as postal delivery and payments addresses. Given a postal address, a postal service can deliver items to a premises, P.O. Box, or other delivery location.
Property Value | |
---|---|
Type | Description |
PostalAddress |
RadiusMiles
public double RadiusMiles { get; set; }
Radius in miles of the job location. This value is derived from the location bounding box in which a circle with the specified radius centered from [google.type.LatLng][google.type.LatLng] covers the area associated with the job location. For example, currently, "Mountain View, CA, USA" has a radius of 6.17 miles.
Property Value | |
---|---|
Type | Description |
double |