Cloud Talent Solution V4beta1 API - Class Google::Cloud::Talent::V4beta1::CommuteFilter (v0.7.0)

Reference documentation and code samples for the Cloud Talent Solution V4beta1 API class Google::Cloud::Talent::V4beta1::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 to false or 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 to false or 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 to false or isn't specified, only jobs that include street level addresses will be returned by commute search.

#commute_method

def commute_method() -> ::Google::Cloud::Talent::V4beta1::CommuteMethod
Returns

#commute_method=

def commute_method=(value) -> ::Google::Cloud::Talent::V4beta1::CommuteMethod
Parameter
Returns

#departure_time

def departure_time() -> ::Google::Type::TimeOfDay
Returns

#departure_time=

def departure_time=(value) -> ::Google::Type::TimeOfDay
Parameter
Returns

#road_traffic

def road_traffic() -> ::Google::Cloud::Talent::V4beta1::CommuteFilter::RoadTraffic
Returns

#road_traffic=

def road_traffic=(value) -> ::Google::Cloud::Talent::V4beta1::CommuteFilter::RoadTraffic
Parameter
Returns

#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 is 123s.

#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 is 123s.
Returns
  • (::Google::Protobuf::Duration) — Required. The maximum travel time in seconds. The maximum allowed value is 3600s (one hour). Format is 123s.