public sealed class CommuteFilter : IMessage<CommuteFilter>, IEquatable<CommuteFilter>, IDeepCloneable<CommuteFilter>, IBufferMessage, IMessage
Parameters needed for commute search.
Inheritance
System.Object > CommuteFilterImplements
Google.Protobuf.IMessage<CommuteFilter>, System.IEquatable<CommuteFilter>, Google.Protobuf.IDeepCloneable<CommuteFilter>, Google.Protobuf.IBufferMessage, Google.Protobuf.IMessageNamespace
Google.Cloud.Talent.V4Assembly
Google.Cloud.Talent.V4.dll
Constructors
CommuteFilter()
public CommuteFilter()
CommuteFilter(CommuteFilter)
public CommuteFilter(CommuteFilter other)
Parameter | |
---|---|
Name | Description |
other | CommuteFilter |
Properties
AllowImpreciseAddresses
public bool AllowImpreciseAddresses { get; set; }
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.
Property Value | |
---|---|
Type | Description |
System.Boolean |
CommuteMethod
public CommuteMethod CommuteMethod { get; set; }
Required. The method of transportation to calculate the commute time for.
Property Value | |
---|---|
Type | Description |
CommuteMethod |
DepartureTime
public TimeOfDay DepartureTime { get; set; }
The departure time used to calculate traffic impact, represented as [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
Currently traffic model is restricted to hour level resolution.
Property Value | |
---|---|
Type | Description |
Google.Type.TimeOfDay |
RoadTraffic
public CommuteFilter.Types.RoadTraffic RoadTraffic { get; set; }
Specifies the traffic density to use when calculating commute time.
Property Value | |
---|---|
Type | Description |
CommuteFilter.Types.RoadTraffic |
StartCoordinates
public LatLng StartCoordinates { get; set; }
Required. The latitude and longitude of the location to calculate the commute time from.
Property Value | |
---|---|
Type | Description |
Google.Type.LatLng |
TrafficOptionCase
public CommuteFilter.TrafficOptionOneofCase TrafficOptionCase { get; }
Property Value | |
---|---|
Type | Description |
CommuteFilter.TrafficOptionOneofCase |
TravelDuration
public Duration TravelDuration { get; set; }
Required. The maximum travel time in seconds. The maximum allowed value is 3600s
(one hour). Format is 123s
.
Property Value | |
---|---|
Type | Description |
Google.Protobuf.WellKnownTypes.Duration |