|
|
|
|
@ -222,7 +222,43 @@ message ProfileQuery {
|
|
|
|
|
// [LocationFilter.negated][google.cloud.talent.v4beta1.LocationFilter.negated]
|
|
|
|
|
// is specified, the result doesn't contain profiles from that location.
|
|
|
|
|
//
|
|
|
|
|
// For example, search for profiles with addresses in "New York City".
|
|
|
|
|
// If
|
|
|
|
|
// [LocationFilter.address][google.cloud.talent.v4beta1.LocationFilter.address]
|
|
|
|
|
// is provided, the
|
|
|
|
|
// [LocationType][google.cloud.talent.v4beta1.Location.LocationType], center
|
|
|
|
|
// point (latitude and longitude), and radius are automatically detected by
|
|
|
|
|
// the Google Maps Geocoding API and included as well. If
|
|
|
|
|
// [LocationFilter.address][google.cloud.talent.v4beta1.LocationFilter.address]
|
|
|
|
|
// is not recognized as a location, the filter falls back to keyword search.
|
|
|
|
|
//
|
|
|
|
|
// If the detected
|
|
|
|
|
// [LocationType][google.cloud.talent.v4beta1.Location.LocationType] is
|
|
|
|
|
// [LocationType.SUB_ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.Location.LocationType.SUB_ADMINISTRATIVE_AREA],
|
|
|
|
|
// [LocationType.ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.Location.LocationType.ADMINISTRATIVE_AREA],
|
|
|
|
|
// or
|
|
|
|
|
// [LocationType.COUNTRY][google.cloud.talent.v4beta1.Location.LocationType.COUNTRY],
|
|
|
|
|
// or location is recognized but a radius can not be determined by the
|
|
|
|
|
// geo-coder, the filter is performed against the detected location name
|
|
|
|
|
// (using exact text matching). Otherwise, the filter is performed against the
|
|
|
|
|
// detected center point and a radius. The largest value from among the
|
|
|
|
|
// following options is automatically set as the radius value:
|
|
|
|
|
// 1. 10 miles.
|
|
|
|
|
// 2. Detected location radius +
|
|
|
|
|
// [LocationFilter.distance_in_miles][google.cloud.talent.v4beta1.LocationFilter.distance_in_miles].
|
|
|
|
|
// 3. If the detected
|
|
|
|
|
// [LocationType][google.cloud.talent.v4beta1.Location.LocationType] is one of
|
|
|
|
|
// [LocationType.SUB_LOCALITY][google.cloud.talent.v4beta1.Location.LocationType.SUB_LOCALITY],
|
|
|
|
|
// [LocationType.SUB_LOCALITY_2][google.cloud.talent.v4beta1.Location.LocationType.SUB_LOCALITY_2],
|
|
|
|
|
// [LocationType.NEIGHBORHOOD][google.cloud.talent.v4beta1.Location.LocationType.NEIGHBORHOOD],
|
|
|
|
|
// [LocationType.POSTAL_CODE][google.cloud.talent.v4beta1.Location.LocationType.POSTAL_CODE],
|
|
|
|
|
// or
|
|
|
|
|
// [LocationType.STREET_ADDRESS][google.cloud.talent.v4beta1.Location.LocationType.STREET_ADDRESS],
|
|
|
|
|
// the following two values are calculated and the larger of the two is
|
|
|
|
|
// compared to #1 and #2, above:
|
|
|
|
|
// - Calculated radius of the city (from the city center) that contains the
|
|
|
|
|
// geo-coded location.
|
|
|
|
|
// - Distance from the city center (of the city containing the geo-coded
|
|
|
|
|
// location) to the detected location center + 0.5 miles.
|
|
|
|
|
repeated LocationFilter location_filters = 2;
|
|
|
|
|
|
|
|
|
|
// Optional. Job title filter specifies job titles of profiles to match on.
|
|
|
|
|
@ -376,7 +412,7 @@ message ProfileQuery {
|
|
|
|
|
//
|
|
|
|
|
// Geographic region of the search.
|
|
|
|
|
message LocationFilter {
|
|
|
|
|
// Specify whether including telecommute jobs.
|
|
|
|
|
// Specify whether to include telecommute jobs.
|
|
|
|
|
enum TelecommutePreference {
|
|
|
|
|
// Default value if the telecommute preference isn't specified.
|
|
|
|
|
TELECOMMUTE_PREFERENCE_UNSPECIFIED = 0;
|
|
|
|
|
@ -405,13 +441,13 @@ message LocationFilter {
|
|
|
|
|
// Note that this filter is not applicable for Profile Search related queries.
|
|
|
|
|
string region_code = 2;
|
|
|
|
|
|
|
|
|
|
// Optional. The latitude and longitude of the geographic center from which to
|
|
|
|
|
// search. This field's ignored if `address` is provided.
|
|
|
|
|
// Optional. The latitude and longitude of the geographic center to search
|
|
|
|
|
// from. This field is ignored if `address` is provided.
|
|
|
|
|
google.type.LatLng lat_lng = 3;
|
|
|
|
|
|
|
|
|
|
// Optional. The distance_in_miles is applied when the location being searched
|
|
|
|
|
// for is identified as a city or smaller. When the location being searched
|
|
|
|
|
// for is a state or larger, this field is ignored.
|
|
|
|
|
// for is identified as a city or smaller. This field is ignored if the
|
|
|
|
|
// location being searched for is a state or larger.
|
|
|
|
|
double distance_in_miles = 4;
|
|
|
|
|
|
|
|
|
|
// Optional. Allows the client to return jobs without a
|
|
|
|
|
@ -433,6 +469,8 @@ message LocationFilter {
|
|
|
|
|
// such as "Mountain View" or "telecommuting" jobs. However, when used in
|
|
|
|
|
// combination with other location filters, telecommuting jobs can be
|
|
|
|
|
// treated as less relevant than other jobs in the search response.
|
|
|
|
|
//
|
|
|
|
|
// This field is only used for job search requests.
|
|
|
|
|
TelecommutePreference telecommute_preference = 5;
|
|
|
|
|
|
|
|
|
|
// Optional. Whether to apply negation to the filter so profiles matching the
|
|
|
|
|
|