Class: Google::Apis::OsconfigV1beta::ExecStep
- Inherits:
-
Object
- Object
- Google::Apis::OsconfigV1beta::ExecStep
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/osconfig_v1beta/classes.rb,
generated/google/apis/osconfig_v1beta/representations.rb,
generated/google/apis/osconfig_v1beta/representations.rb
Overview
A step that runs an executable for a PatchJob.
Instance Attribute Summary collapse
-
#linux_exec_step_config ⇒ Google::Apis::OsconfigV1beta::ExecStepConfig
Common configurations for an ExecStep.
-
#windows_exec_step_config ⇒ Google::Apis::OsconfigV1beta::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.
390 391 392 |
# File 'generated/google/apis/osconfig_v1beta/classes.rb', line 390 def initialize(**args) update!(**args) end |
Instance Attribute Details
#linux_exec_step_config ⇒ Google::Apis::OsconfigV1beta::ExecStepConfig
Common configurations for an ExecStep.
Corresponds to the JSON property linuxExecStepConfig
383 384 385 |
# File 'generated/google/apis/osconfig_v1beta/classes.rb', line 383 def linux_exec_step_config @linux_exec_step_config end |
#windows_exec_step_config ⇒ Google::Apis::OsconfigV1beta::ExecStepConfig
Common configurations for an ExecStep.
Corresponds to the JSON property windowsExecStepConfig
388 389 390 |
# File 'generated/google/apis/osconfig_v1beta/classes.rb', line 388 def windows_exec_step_config @windows_exec_step_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
395 396 397 398 |
# File 'generated/google/apis/osconfig_v1beta/classes.rb', line 395 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 |