View Source GoogleApi.Jobs.V4.Model.CommuteFilter (google_api_jobs v0.19.0)
Parameters needed for commute search.
Attributes
-
allowImpreciseAddresses
(type:boolean()
, default:nil
) - Iftrue
, 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. -
commuteMethod
(type:String.t
, default:nil
) - Required. The method of transportation to calculate the commute time for. -
departureTime
(type:GoogleApi.Jobs.V4.Model.TimeOfDay.t
, default:nil
) - 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. -
roadTraffic
(type:String.t
, default:nil
) - Specifies the traffic density to use when calculating commute time. -
startCoordinates
(type:GoogleApi.Jobs.V4.Model.LatLng.t
, default:nil
) - Required. The latitude and longitude of the location to calculate the commute time from. -
travelDuration
(type:String.t
, default:nil
) - Required. The maximum travel time in seconds. The maximum allowed value is3600s
(one hour). Format is123s
.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.Jobs.V4.Model.CommuteFilter{ allowImpreciseAddresses: boolean() | nil, commuteMethod: String.t() | nil, departureTime: GoogleApi.Jobs.V4.Model.TimeOfDay.t() | nil, roadTraffic: String.t() | nil, startCoordinates: GoogleApi.Jobs.V4.Model.LatLng.t() | nil, travelDuration: String.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.