Reference documentation and code samples for the Cloud Talent Solution V4beta1 API class Google::Cloud::Talent::V4beta1::SearchJobsResponse::CommuteInfo.
Commute details related to this job.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#job_location
def job_location() -> ::Google::Cloud::Talent::V4beta1::Location
Returns
- (::Google::Cloud::Talent::V4beta1::Location) — Location used as the destination in the commute calculation.
#job_location=
def job_location=(value) -> ::Google::Cloud::Talent::V4beta1::Location
Parameter
- value (::Google::Cloud::Talent::V4beta1::Location) — Location used as the destination in the commute calculation.
Returns
- (::Google::Cloud::Talent::V4beta1::Location) — Location used as the destination in the commute calculation.
#travel_duration
def travel_duration() -> ::Google::Protobuf::Duration
Returns
- (::Google::Protobuf::Duration) — The number of seconds required to travel to the job location from the query location. A duration of 0 seconds indicates that the job isn't reachable within the requested duration, but was returned as part of an expanded query.
#travel_duration=
def travel_duration=(value) -> ::Google::Protobuf::Duration
Parameter
- value (::Google::Protobuf::Duration) — The number of seconds required to travel to the job location from the query location. A duration of 0 seconds indicates that the job isn't reachable within the requested duration, but was returned as part of an expanded query.
Returns
- (::Google::Protobuf::Duration) — The number of seconds required to travel to the job location from the query location. A duration of 0 seconds indicates that the job isn't reachable within the requested duration, but was returned as part of an expanded query.