class Google::Apis::CoordinateV1::Job

A job.

Attributes

id[RW]

Job id. Corresponds to the JSON property `id` @return [String]

job_change[RW]

List of job changes since it was created. The first change corresponds to the state of the job when it was created. Corresponds to the JSON property `jobChange` @return [Array<Google::Apis::CoordinateV1::JobChange>]

kind[RW]

Identifies this object as a job. Corresponds to the JSON property `kind` @return [String]

state[RW]

Current state of a job. Corresponds to the JSON property `state` @return [Google::Apis::CoordinateV1::JobState]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/coordinate_v1/classes.rb, line 228
def update!(**args)
  @id = args[:id] if args.key?(:id)
  @job_change = args[:job_change] if args.key?(:job_change)
  @kind = args[:kind] if args.key?(:kind)
  @state = args[:state] if args.key?(:state)
end