Class CommuteFilter
Parameters needed for commute search.
Implements
Inherited Members
Namespace: Google.Apis.CloudTalentSolution.v4.Data
Assembly: Google.Apis.CloudTalentSolution.v4.dll
Syntax
public class CommuteFilter : IDirectResponseSchema
Properties
AllowImpreciseAddresses
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 to
false
or isn't specified, only jobs that include street level addresses will be returned by commute
search.
Declaration
[JsonProperty("allowImpreciseAddresses")]
public virtual bool? AllowImpreciseAddresses { get; set; }
Property Value
Type | Description |
---|---|
bool? |
CommuteMethod
Required. The method of transportation to calculate the commute time for.
Declaration
[JsonProperty("commuteMethod")]
public virtual string CommuteMethod { get; set; }
Property Value
Type | Description |
---|---|
string |
DepartureTime
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.
Declaration
[JsonProperty("departureTime")]
public virtual TimeOfDay DepartureTime { get; set; }
Property Value
Type | Description |
---|---|
TimeOfDay |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
RoadTraffic
Specifies the traffic density to use when calculating commute time.
Declaration
[JsonProperty("roadTraffic")]
public virtual string RoadTraffic { get; set; }
Property Value
Type | Description |
---|---|
string |
StartCoordinates
Required. The latitude and longitude of the location to calculate the commute time from.
Declaration
[JsonProperty("startCoordinates")]
public virtual LatLng StartCoordinates { get; set; }
Property Value
Type | Description |
---|---|
LatLng |
TravelDuration
Required. The maximum travel time in seconds. The maximum allowed value is 3600s
(one hour). Format is
123s
.
Declaration
[JsonProperty("travelDuration")]
public virtual object TravelDuration { get; set; }
Property Value
Type | Description |
---|---|
object |