GoogleApi.Jobs.V3.Model.CommuteFilter (google_api_jobs v0.16.4) 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 a travel_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 is 3600s (one hour). Format is 123s.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Jobs.V3.Model.CommuteFilter{
  allowImpreciseAddresses: boolean() | nil,
  commuteMethod: String.t() | nil,
  departureTime: GoogleApi.Jobs.V3.Model.TimeOfDay.t() | nil,
  roadTraffic: String.t() | nil,
  startCoordinates: GoogleApi.Jobs.V3.Model.LatLng.t() | nil,
  travelDuration: String.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.