class Google::Apis::CoordinateV1::JobChange

Change to a job. For example assigning the job to a different worker.

Attributes

kind[RW]

Identifies this object as a job change. 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]

timestamp[RW]

Time at which this change was applied. Corresponds to the JSON property `timestamp` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/coordinate_v1/classes.rb, line 255
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 260
def update!(**args)
  @kind = args[:kind] if args.key?(:kind)
  @state = args[:state] if args.key?(:state)
  @timestamp = args[:timestamp] if args.key?(:timestamp)
end