class Google::Apis::DataflowV1b3::WorkerShutdownNotice
Shutdown notification from workers. This is to be sent by the shutdown script of the worker VM so that the backend knows that the VM is being shut down.
Attributes
reason[RW]
The reason for the worker shutdown. Current possible values are: “UNKNOWN”: shutdown reason is unknown. “PREEMPTION”: shutdown reason is preemption. Other possible reasons may be added in the future. Corresponds to the JSON property `reason` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/dataflow_v1b3/classes.rb, line 6704 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/dataflow_v1b3/classes.rb, line 6709 def update!(**args) @reason = args[:reason] if args.key?(:reason) end