Class Location (2.13.0)

Location(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A resource that represents a location with full geographic information.

Attributes

NameDescription
location_type google.cloud.talent_v4beta1.types.Location.LocationType
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, and "Kansas City, KS, USA" has a type of LocationType.LOCALITY.
postal_address google.type.postal_address_pb2.PostalAddress
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.
lat_lng google.type.latlng_pb2.LatLng
An object representing a latitude/longitude pair.
radius_miles float
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.

Classes

LocationType

LocationType(value)

An enum which represents the type of a location.

Values: LOCATION_TYPE_UNSPECIFIED (0): Default value if the type isn't specified. COUNTRY (1): A country level location. ADMINISTRATIVE_AREA (2): A state or equivalent level location. SUB_ADMINISTRATIVE_AREA (3): A county or equivalent level location. LOCALITY (4): A city or equivalent level location. POSTAL_CODE (5): A postal code level location. SUB_LOCALITY (6): A sublocality is a subdivision of a locality, for example a city borough, ward, or arrondissement. Sublocalities are usually recognized by a local political authority. For example, Manhattan and Brooklyn are recognized as boroughs by the City of New York, and are therefore modeled as sublocalities. SUB_LOCALITY_1 (7): A district or equivalent level location. SUB_LOCALITY_2 (8): A smaller district or equivalent level display. NEIGHBORHOOD (9): A neighborhood level location. STREET_ADDRESS (10): A street address level location.