google_api_jobs v0.9.0 GoogleApi.Jobs.V3.Model.CommuteFilter View Source
Input only.
Parameters needed for commute search.
Attributes
allowImpreciseAddresses
(type:boolean()
, default:nil
) - Optional. If true, jobs without "precise" addresses (street level addresses or GPS coordinates) might also be returned. For city and coarser level addresses, text matching is used. If this field is set to false or is not specified, only jobs that include precise addresses are returned by Commute Search.Note: If
allow_imprecise_addresses
is set to true, Commute Search is not able to calculate accurate commute times to jobs with city level and coarser address information. Jobs with imprecise addresses will return atravel_duration
time of 0 regardless of distance from the job seeker.commuteMethod
(type:String.t
, default:nil
) - Required. The method of transportation for which to calculate the commute time.departureTime
(type:GoogleApi.Jobs.V3.Model.TimeOfDay.t
, default:nil
) - Optional. 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
) - Optional. Specifies the traffic density to use when calculating commute time.startCoordinates
(type:GoogleApi.Jobs.V3.Model.LatLng.t
, default:nil
) - Required. The latitude and longitude of the location from which to calculate the commute time.travelDuration
(type:String.t
, default:nil
) - Required. The maximum travel time in seconds. The maximum allowed value is3600s
(one hour). Format is123s
.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
t()
View Sourcet() :: %GoogleApi.Jobs.V3.Model.CommuteFilter{ allowImpreciseAddresses: boolean(), commuteMethod: String.t(), departureTime: GoogleApi.Jobs.V3.Model.TimeOfDay.t(), roadTraffic: String.t(), startCoordinates: GoogleApi.Jobs.V3.Model.LatLng.t(), travelDuration: String.t() }
Link to this section Functions
Unwrap a decoded JSON object into its complex fields.