Class CommutePreference
Input only. Parameters needed for commute search.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.CloudTalentSolution.v2.Data
Assembly: Google.Apis.CloudTalentSolution.v2.dll
Syntax
public class CommutePreference : IDirectResponseSchema
Properties
AllowNonStreetLevelAddress
Optional. 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 is not specified, only jobs that include street level addresses will be returned
by commute search.
Declaration
[JsonProperty("allowNonStreetLevelAddress")]
public virtual bool? AllowNonStreetLevelAddress { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
DepartureHourLocal
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.
Declaration
[JsonProperty("departureHourLocal")]
public virtual int? DepartureHourLocal { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Method
Required. The method of transportation for which to calculate the commute time.
Declaration
[JsonProperty("method")]
public virtual string Method { get; set; }
Property Value
Type | Description |
---|---|
System.String |
RoadTraffic
Optional. Specifies the traffic density to use when calculating commute time. Must not be present if departure_hour_local is specified.
Declaration
[JsonProperty("roadTraffic")]
public virtual string RoadTraffic { get; set; }
Property Value
Type | Description |
---|---|
System.String |
StartLocation
Required. The latitude and longitude of the location from which to calculate the commute time.
Declaration
[JsonProperty("startLocation")]
public virtual LatLng StartLocation { get; set; }
Property Value
Type | Description |
---|---|
LatLng |
TravelTime
Required. The maximum travel time in seconds. The maximum allowed value is 3600s
(one hour).
Format is 123s
.
Declaration
[JsonProperty("travelTime")]
public virtual object TravelTime { get; set; }
Property Value
Type | Description |
---|---|
System.Object |