Class: Google::Cloud::Talent::V4beta1::CommuteFilter

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/filters.rb

Overview

Parameters needed for commute search.

Defined Under Namespace

Modules: RoadTraffic

Instance Attribute Summary collapse

Instance Attribute Details

#allow_imprecise_addressestrue, false

Returns 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.

Returns:

  • (true, false)

    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.



617
618
619
620
621
622
623
624
625
626
627
628
629
# File 'lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/filters.rb', line 617

class CommuteFilter
  # The traffic density to use when calculating commute time.
  module RoadTraffic
    # Road traffic situation isn't specified.
    ROAD_TRAFFIC_UNSPECIFIED = 0

    # Optimal commute time without considering any traffic impact.
    TRAFFIC_FREE = 1

    # Commute time calculation takes in account the peak traffic impact.
    BUSY_HOUR = 2
  end
end

#commute_methodGoogle::Cloud::Talent::V4beta1::CommuteMethod

Returns Required. The method of transportation to calculate the commute time for.

Returns:



617
618
619
620
621
622
623
624
625
626
627
628
629
# File 'lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/filters.rb', line 617

class CommuteFilter
  # The traffic density to use when calculating commute time.
  module RoadTraffic
    # Road traffic situation isn't specified.
    ROAD_TRAFFIC_UNSPECIFIED = 0

    # Optimal commute time without considering any traffic impact.
    TRAFFIC_FREE = 1

    # Commute time calculation takes in account the peak traffic impact.
    BUSY_HOUR = 2
  end
end

#departure_timeGoogle::Type::TimeOfDay

Returns The departure time used to calculate traffic impact, represented as Type::TimeOfDay in local time zone.

Currently traffic model is restricted to hour level resolution.

Returns:

  • (Google::Type::TimeOfDay)

    The departure time used to calculate traffic impact, represented as Type::TimeOfDay in local time zone.

    Currently traffic model is restricted to hour level resolution.



617
618
619
620
621
622
623
624
625
626
627
628
629
# File 'lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/filters.rb', line 617

class CommuteFilter
  # The traffic density to use when calculating commute time.
  module RoadTraffic
    # Road traffic situation isn't specified.
    ROAD_TRAFFIC_UNSPECIFIED = 0

    # Optimal commute time without considering any traffic impact.
    TRAFFIC_FREE = 1

    # Commute time calculation takes in account the peak traffic impact.
    BUSY_HOUR = 2
  end
end

#road_trafficGoogle::Cloud::Talent::V4beta1::CommuteFilter::RoadTraffic

Returns Specifies the traffic density to use when calculating commute time.

Returns:



617
618
619
620
621
622
623
624
625
626
627
628
629
# File 'lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/filters.rb', line 617

class CommuteFilter
  # The traffic density to use when calculating commute time.
  module RoadTraffic
    # Road traffic situation isn't specified.
    ROAD_TRAFFIC_UNSPECIFIED = 0

    # Optimal commute time without considering any traffic impact.
    TRAFFIC_FREE = 1

    # Commute time calculation takes in account the peak traffic impact.
    BUSY_HOUR = 2
  end
end

#start_coordinatesGoogle::Type::LatLng

Returns Required. The latitude and longitude of the location to calculate the commute time from.

Returns:

  • (Google::Type::LatLng)

    Required. The latitude and longitude of the location to calculate the commute time from.



617
618
619
620
621
622
623
624
625
626
627
628
629
# File 'lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/filters.rb', line 617

class CommuteFilter
  # The traffic density to use when calculating commute time.
  module RoadTraffic
    # Road traffic situation isn't specified.
    ROAD_TRAFFIC_UNSPECIFIED = 0

    # Optimal commute time without considering any traffic impact.
    TRAFFIC_FREE = 1

    # Commute time calculation takes in account the peak traffic impact.
    BUSY_HOUR = 2
  end
end

#travel_durationGoogle::Protobuf::Duration

Returns Required. The maximum travel time in seconds. The maximum allowed value is 3600s (one hour). Format is 123s.

Returns:

  • (Google::Protobuf::Duration)

    Required. The maximum travel time in seconds. The maximum allowed value is 3600s (one hour). Format is 123s.



617
618
619
620
621
622
623
624
625
626
627
628
629
# File 'lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/filters.rb', line 617

class CommuteFilter
  # The traffic density to use when calculating commute time.
  module RoadTraffic
    # Road traffic situation isn't specified.
    ROAD_TRAFFIC_UNSPECIFIED = 0

    # Optimal commute time without considering any traffic impact.
    TRAFFIC_FREE = 1

    # Commute time calculation takes in account the peak traffic impact.
    BUSY_HOUR = 2
  end
end