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
-
(::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 tofalse
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
-
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 tofalse
or isn't specified, only jobs that include street level addresses will be returned by commute search.
-
(::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 tofalse
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
- (::Google::Cloud::Talent::V4beta1::CommuteMethod) — Required. The method of transportation to calculate the commute time for.
#commute_method=
def commute_method=(value) -> ::Google::Cloud::Talent::V4beta1::CommuteMethod
- value (::Google::Cloud::Talent::V4beta1::CommuteMethod) — Required. The method of transportation to calculate the commute time for.
- (::Google::Cloud::Talent::V4beta1::CommuteMethod) — Required. The method of transportation to calculate the commute time for.
#departure_time
def departure_time() -> ::Google::Type::TimeOfDay
-
(::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.
Note: The following fields are mutually exclusive:
departure_time
,road_traffic
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#departure_time=
def departure_time=(value) -> ::Google::Type::TimeOfDay
-
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.
Note: The following fields are mutually exclusive:
departure_time
,road_traffic
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::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.
Note: The following fields are mutually exclusive:
departure_time
,road_traffic
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#road_traffic
def road_traffic() -> ::Google::Cloud::Talent::V4beta1::CommuteFilter::RoadTraffic
-
(::Google::Cloud::Talent::V4beta1::CommuteFilter::RoadTraffic) — Specifies the traffic density to use when calculating commute time.
Note: The following fields are mutually exclusive:
road_traffic
,departure_time
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#road_traffic=
def road_traffic=(value) -> ::Google::Cloud::Talent::V4beta1::CommuteFilter::RoadTraffic
-
value (::Google::Cloud::Talent::V4beta1::CommuteFilter::RoadTraffic) — Specifies the traffic density to use when calculating commute time.
Note: The following fields are mutually exclusive:
road_traffic
,departure_time
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Talent::V4beta1::CommuteFilter::RoadTraffic) — Specifies the traffic density to use when calculating commute time.
Note: The following fields are mutually exclusive:
road_traffic
,departure_time
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#start_coordinates
def start_coordinates() -> ::Google::Type::LatLng
- (::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
- value (::Google::Type::LatLng) — Required. The latitude and longitude of the location to calculate the commute time from.
- (::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
-
(::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
-
value (::Google::Protobuf::Duration) — Required. The maximum travel time in seconds. The maximum allowed value is
3600s
(one hour). Format is123s
.
-
(::Google::Protobuf::Duration) — Required. The maximum travel time in seconds. The maximum allowed value is
3600s
(one hour). Format is123s
.