Interface GuestPolicies.SoftwareRecipe.StepOrBuilder

    • Method Detail

      • hasFileCopy

        boolean hasFileCopy()
         Copies a file onto the instance.
         
        .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.CopyFile file_copy = 1;
        Returns:
        Whether the fileCopy field is set.
      • hasArchiveExtraction

        boolean hasArchiveExtraction()
         Extracts an archive into the specified directory.
         
        .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2;
        Returns:
        Whether the archiveExtraction field is set.
      • getArchiveExtraction

        GuestPolicies.SoftwareRecipe.Step.ExtractArchive getArchiveExtraction()
         Extracts an archive into the specified directory.
         
        .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2;
        Returns:
        The archiveExtraction.
      • hasMsiInstallation

        boolean hasMsiInstallation()
         Installs an MSI file.
         
        .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3;
        Returns:
        Whether the msiInstallation field is set.
      • getMsiInstallation

        GuestPolicies.SoftwareRecipe.Step.InstallMsi getMsiInstallation()
         Installs an MSI file.
         
        .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3;
        Returns:
        The msiInstallation.
      • hasDpkgInstallation

        boolean hasDpkgInstallation()
         Installs a deb file via dpkg.
         
        .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4;
        Returns:
        Whether the dpkgInstallation field is set.
      • getDpkgInstallation

        GuestPolicies.SoftwareRecipe.Step.InstallDpkg getDpkgInstallation()
         Installs a deb file via dpkg.
         
        .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4;
        Returns:
        The dpkgInstallation.
      • hasRpmInstallation

        boolean hasRpmInstallation()
         Installs an rpm file via the rpm utility.
         
        .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5;
        Returns:
        Whether the rpmInstallation field is set.
      • getRpmInstallation

        GuestPolicies.SoftwareRecipe.Step.InstallRpm getRpmInstallation()
         Installs an rpm file via the rpm utility.
         
        .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5;
        Returns:
        The rpmInstallation.
      • hasFileExec

        boolean hasFileExec()
         Executes an artifact or local file.
         
        .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExecFile file_exec = 6;
        Returns:
        Whether the fileExec field is set.
      • hasScriptRun

        boolean hasScriptRun()
         Runs commands in a shell.
         
        .google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript script_run = 7;
        Returns:
        Whether the scriptRun field is set.