Class: Google::Apis::OsconfigV1::ExecStep
- Inherits:
-
Object
- Object
- Google::Apis::OsconfigV1::ExecStep
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/osconfig_v1/classes.rb,
lib/google/apis/osconfig_v1/representations.rb,
lib/google/apis/osconfig_v1/representations.rb
Overview
A step that runs an executable for a PatchJob.
Instance Attribute Summary collapse
-
#linux_exec_step_config ⇒ Google::Apis::OsconfigV1::ExecStepConfig
Common configurations for an ExecStep.
-
#windows_exec_step_config ⇒ Google::Apis::OsconfigV1::ExecStepConfig
Common configurations for an ExecStep.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ExecStep
constructor
A new instance of ExecStep.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ExecStep
Returns a new instance of ExecStep.
249 250 251 |
# File 'lib/google/apis/osconfig_v1/classes.rb', line 249 def initialize(**args) update!(**args) end |
Instance Attribute Details
#linux_exec_step_config ⇒ Google::Apis::OsconfigV1::ExecStepConfig
Common configurations for an ExecStep.
Corresponds to the JSON property linuxExecStepConfig
242 243 244 |
# File 'lib/google/apis/osconfig_v1/classes.rb', line 242 def linux_exec_step_config @linux_exec_step_config end |
#windows_exec_step_config ⇒ Google::Apis::OsconfigV1::ExecStepConfig
Common configurations for an ExecStep.
Corresponds to the JSON property windowsExecStepConfig
247 248 249 |
# File 'lib/google/apis/osconfig_v1/classes.rb', line 247 def windows_exec_step_config @windows_exec_step_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
254 255 256 257 |
# File 'lib/google/apis/osconfig_v1/classes.rb', line 254 def update!(**args) @linux_exec_step_config = args[:linux_exec_step_config] if args.key?(:linux_exec_step_config) @windows_exec_step_config = args[:windows_exec_step_config] if args.key?(:windows_exec_step_config) end |