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

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

hasJobLocation

clearJobLocation

setJobLocation

Location used as the destination in the commute calculation.

Parameter
Name
Description
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

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
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: