Reference documentation and code samples for the Cloud Talent Solution V4 API class Google::Cloud::Talent::V4::CommuteFilter.
Parameters needed for commute search.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#allow_imprecise_addresses
def allow_imprecise_addresses() -> ::Boolean
    Returns
    
  - 
        (::Boolean) — If true, jobs without street level addresses may also be returned. For city level addresses, the city center is used. For state and coarser level addresses, text matching is used. If this field is set tofalseor isn't specified, only jobs that include street level addresses will be returned by commute search.
#allow_imprecise_addresses=
def allow_imprecise_addresses=(value) -> ::Boolean
    Parameter
    
  - 
        value (::Boolean) — If true, jobs without street level addresses may also be returned. For city level addresses, the city center is used. For state and coarser level addresses, text matching is used. If this field is set tofalseor isn't specified, only jobs that include street level addresses will be returned by commute search.
    Returns
    
  - 
        (::Boolean) — If true, jobs without street level addresses may also be returned. For city level addresses, the city center is used. For state and coarser level addresses, text matching is used. If this field is set tofalseor isn't specified, only jobs that include street level addresses will be returned by commute search.
#commute_method
def commute_method() -> ::Google::Cloud::Talent::V4::CommuteMethod
    Returns
    
  - (::Google::Cloud::Talent::V4::CommuteMethod) — Required. The method of transportation to calculate the commute time for.
#commute_method=
def commute_method=(value) -> ::Google::Cloud::Talent::V4::CommuteMethod
    Parameter
    
  - value (::Google::Cloud::Talent::V4::CommuteMethod) — Required. The method of transportation to calculate the commute time for.
    Returns
    
  - (::Google::Cloud::Talent::V4::CommuteMethod) — Required. The method of transportation to calculate the commute time for.
#departure_time
def departure_time() -> ::Google::Type::TimeOfDay
    Returns
    
  - 
        (::Google::Type::TimeOfDay) — The departure time used to calculate traffic impact, represented as
google.type.TimeOfDay in local time zone.Currently traffic model is restricted to hour level resolution. 
#departure_time=
def departure_time=(value) -> ::Google::Type::TimeOfDay
    Parameter
    
  - 
        value (::Google::Type::TimeOfDay) — The departure time used to calculate traffic impact, represented as
google.type.TimeOfDay in local time zone.Currently traffic model is restricted to hour level resolution. 
    Returns
    
  - 
        (::Google::Type::TimeOfDay) — The departure time used to calculate traffic impact, represented as
google.type.TimeOfDay in local time zone.Currently traffic model is restricted to hour level resolution. 
#road_traffic
def road_traffic() -> ::Google::Cloud::Talent::V4::CommuteFilter::RoadTraffic
    Returns
    
  - (::Google::Cloud::Talent::V4::CommuteFilter::RoadTraffic) — Specifies the traffic density to use when calculating commute time.
#road_traffic=
def road_traffic=(value) -> ::Google::Cloud::Talent::V4::CommuteFilter::RoadTraffic
    Parameter
    
  - value (::Google::Cloud::Talent::V4::CommuteFilter::RoadTraffic) — Specifies the traffic density to use when calculating commute time.
    Returns
    
  - (::Google::Cloud::Talent::V4::CommuteFilter::RoadTraffic) — Specifies the traffic density to use when calculating commute time.
#start_coordinates
def start_coordinates() -> ::Google::Type::LatLng
    Returns
    
  - (::Google::Type::LatLng) — Required. The latitude and longitude of the location to calculate the commute time from.
#start_coordinates=
def start_coordinates=(value) -> ::Google::Type::LatLng
    Parameter
    
  - value (::Google::Type::LatLng) — Required. The latitude and longitude of the location to calculate the commute time from.
    Returns
    
  - (::Google::Type::LatLng) — Required. The latitude and longitude of the location to calculate the commute time from.
#travel_duration
def travel_duration() -> ::Google::Protobuf::Duration
    Returns
    
  - 
        (::Google::Protobuf::Duration) — Required. The maximum travel time in seconds. The maximum allowed value is
3600s(one hour). Format is123s.
#travel_duration=
def travel_duration=(value) -> ::Google::Protobuf::Duration
    Parameter
    
  - 
        value (::Google::Protobuf::Duration) — Required. The maximum travel time in seconds. The maximum allowed value is
3600s(one hour). Format is123s.
    Returns
    
- 
        (::Google::Protobuf::Duration) — Required. The maximum travel time in seconds. The maximum allowed value is
3600s(one hour). Format is123s.