Google Cloud Talent Solution V4 Client - Class CommuteInfo (1.3.5)

Reference documentation and code samples for the Google Cloud Talent Solution V4 Client class CommuteInfo.

Commute details related to this job.

Generated from protobuf message google.cloud.talent.v4.SearchJobsResponse.CommuteInfo

Namespace

Google \ Cloud \ Talent \ V4 \ SearchJobsResponse

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ job_location Google\Cloud\Talent\V4\Location

Location used as the destination in the commute calculation.

↳ travel_duration 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.

getJobLocation

Location used as the destination in the commute calculation.

Returns
Type Description
Google\Cloud\Talent\V4\Location|null

hasJobLocation

clearJobLocation

setJobLocation

Location used as the destination in the commute calculation.

Parameter
Name Description
var Google\Cloud\Talent\V4\Location
Returns
Type Description
$this

getTravelDuration

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
Type Description
Google\Protobuf\Duration|null

hasTravelDuration

clearTravelDuration

setTravelDuration

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.

Parameter
Name Description
var Google\Protobuf\Duration
Returns
Type Description
$this