class Google::Apis::OsconfigV1beta::SoftwareRecipeStep
An action that can be taken as part of installing or updating a recipe.
Attributes
Extracts an archive of the type specified in the specified directory. Corresponds to the JSON property `archiveExtraction` @return [Google::Apis::OsconfigV1beta::SoftwareRecipeStepExtractArchive]
Installs a deb via dpkg. Corresponds to the JSON property `dpkgInstallation` @return [Google::Apis::OsconfigV1beta::SoftwareRecipeStepInstallDpkg]
Copies the artifact to the specified path on the instance. Corresponds to the JSON property `fileCopy` @return [Google::Apis::OsconfigV1beta::SoftwareRecipeStepCopyFile]
Executes an artifact or local file. Corresponds to the JSON property `fileExec` @return [Google::Apis::OsconfigV1beta::SoftwareRecipeStepExecFile]
Installs an MSI file. Corresponds to the JSON property `msiInstallation` @return [Google::Apis::OsconfigV1beta::SoftwareRecipeStepInstallMsi]
Installs an rpm file via the rpm utility. Corresponds to the JSON property `rpmInstallation` @return [Google::Apis::OsconfigV1beta::SoftwareRecipeStepInstallRpm]
Runs a script through an interpreter. Corresponds to the JSON property `scriptRun` @return [Google::Apis::OsconfigV1beta::SoftwareRecipeStepRunScript]
Public Class Methods
# File lib/google/apis/osconfig_v1beta/classes.rb, line 1833 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/osconfig_v1beta/classes.rb, line 1838 def update!(**args) @archive_extraction = args[:archive_extraction] if args.key?(:archive_extraction) @dpkg_installation = args[:dpkg_installation] if args.key?(:dpkg_installation) @file_copy = args[:file_copy] if args.key?(:file_copy) @file_exec = args[:file_exec] if args.key?(:file_exec) @msi_installation = args[:msi_installation] if args.key?(:msi_installation) @rpm_installation = args[:rpm_installation] if args.key?(:rpm_installation) @script_run = args[:script_run] if args.key?(:script_run) end