class Google::Apis::JobsV3::CommuteInfo

Output only. Commute details related to this job.

Attributes

job_location[RW]

Output only. A resource that represents a location with full geographic information. Corresponds to the JSON property `jobLocation` @return [Google::Apis::JobsV3::Location]

travel_duration[RW]

The number of seconds required to travel to the job location from the query location. A duration of 0 seconds indicates that the job is not reachable within the requested duration, but was returned as part of an expanded query. Corresponds to the JSON property `travelDuration` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/jobs_v3/classes.rb, line 281
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/jobs_v3/classes.rb, line 286
def update!(**args)
  @job_location = args[:job_location] if args.key?(:job_location)
  @travel_duration = args[:travel_duration] if args.key?(:travel_duration)
end