Class CommuteFilter
Input only. Parameters needed for commute search.
Implements
Inherited Members
Namespace: Google.Apis.CloudTalentSolution.v3p1beta1.Data
Assembly: Google.Apis.CloudTalentSolution.v3p1beta1.dll
Syntax
public class CommuteFilter : IDirectResponseSchema
Properties
AllowImpreciseAddresses
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.
Declaration
[JsonProperty("allowImpreciseAddresses")]
public virtual bool? AllowImpreciseAddresses { get; set; }
Property Value
Type | Description |
---|---|
bool? |
CommuteMethod
Required. The method of transportation for which to calculate the commute time.
Declaration
[JsonProperty("commuteMethod")]
public virtual string CommuteMethod { get; set; }
Property Value
Type | Description |
---|---|
string |
DepartureTime
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.
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
Optional. 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 from which to calculate the commute time.
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 |