google_api_jobs v0.13.0 GoogleApi.Jobs.V2.Model.CommutePreference View Source
Input only.
Parameters needed for commute search.
Attributes
-
allowNonStreetLevelAddress
(type:boolean()
, default:nil
) - Optional. 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 is not specified, only jobs that include street level addresses will be returned by commute search. -
departureHourLocal
(type:integer()
, default:nil
) - Optional. The departure hour to use to calculate traffic impact. Accepts an integer between 0 and 23, representing the hour in the time zone of the start_location. Must not be present if road_traffic is specified. -
method
(type:String.t
, default:nil
) - Required. The method of transportation for which to calculate the commute time. -
roadTraffic
(type:String.t
, default:nil
) - Optional. Specifies the traffic density to use when calculating commute time. Must not be present if departure_hour_local is specified. -
startLocation
(type:GoogleApi.Jobs.V2.Model.LatLng.t
, default:nil
) - Required. The latitude and longitude of the location from which to calculate the commute time. -
travelTime
(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
Specs
Link to this section Functions
Specs
Unwrap a decoded JSON object into its complex fields.