class Google::Apis::OsconfigV1beta::SoftwareRecipeStep

An action that can be taken as part of installing or updating a recipe.

Attributes

archive_extraction[RW]

Extracts an archive of the type specified in the specified directory. Corresponds to the JSON property `archiveExtraction` @return [Google::Apis::OsconfigV1beta::SoftwareRecipeStepExtractArchive]

dpkg_installation[RW]

Installs a deb via dpkg. Corresponds to the JSON property `dpkgInstallation` @return [Google::Apis::OsconfigV1beta::SoftwareRecipeStepInstallDpkg]

file_copy[RW]

Copies the artifact to the specified path on the instance. Corresponds to the JSON property `fileCopy` @return [Google::Apis::OsconfigV1beta::SoftwareRecipeStepCopyFile]

file_exec[RW]

Executes an artifact or local file. Corresponds to the JSON property `fileExec` @return [Google::Apis::OsconfigV1beta::SoftwareRecipeStepExecFile]

msi_installation[RW]

Installs an MSI file. Corresponds to the JSON property `msiInstallation` @return [Google::Apis::OsconfigV1beta::SoftwareRecipeStepInstallMsi]

rpm_installation[RW]

Installs an rpm file via the rpm utility. Corresponds to the JSON property `rpmInstallation` @return [Google::Apis::OsconfigV1beta::SoftwareRecipeStepInstallRpm]

script_run[RW]

Runs a script through an interpreter. Corresponds to the JSON property `scriptRun` @return [Google::Apis::OsconfigV1beta::SoftwareRecipeStepRunScript]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/osconfig_v1beta/classes.rb, line 1833
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

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