# Cloud Talent Solution V4beta1 API - Class Google::Cloud::Talent::V4beta1::SearchJobsResponse::CommuteInfo (v0.19.0)

0.19.0 (latest) 0.18.1 0.17.1 0.16.0 0.15.0 0.14.1 0.13.0 0.12.0 0.11.1 0.10.2 0.9.0 0.8.1 0.7.0 0.6.1 0.5.0 0.4.6 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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4beta1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4beta1/latest/Google-Cloud-Talent-V4beta1-Location)) --- Location used as the destination in the commute calculation.
**Returns**

- ([::Google::Cloud::Talent::V4beta1::Location](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4beta1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4beta1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4beta1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4beta1/latest/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.