NAME
Google::Cloud::Osconfig::Agentendpoint::V1beta::PatchJobs - Compiled Protocol Buffers messages for google/cloud/osconfig/agentendpoint/v1beta/patch_jobs.proto
SYNOPSIS
use Google::Cloud::Osconfig::Agentendpoint::V1beta::PatchJobs;
my $msg = Google::Cloud::Osconfig::Agentendpoint::V1beta::PatchJobs::PatchConfig->new({
reboot_config => $reboot_config,
retry_strategy => $retry_strategy,
apt => $apt,
yum => $yum,
});
# Read or update a field
my $val = $msg->reboot_config();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Osconfig::Agentendpoint::V1beta::PatchJobs::PatchConfig->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/osconfig/agentendpoint/v1beta/patch_jobs.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Osconfig::Agentendpoint::V1beta::PatchJobs::PatchConfig
Patch configuration specifications. Contains details on how to apply patches to a VM instance.
Inherits from Protobuf::Message.
Accessors
$msg->reboot_config()/$msg->reboot_config($value)Type:
Enum(Google::Cloud::Osconfig::Agentendpoint::V1beta::PatchConfig::RebootConfig)Post-patch reboot settings.
$msg->retry_strategy()/$msg->retry_strategy($value)Type:
Message(Google::Cloud::Osconfig::Agentendpoint::V1beta::PatchJobs::RetryStrategy)Retry strategy can be defined to have the agent retry patching during the window if patching fails. If omitted, the agent will use its default retry strategy.
$msg->apt()/$msg->apt($value)Type:
Message(Google::Cloud::Osconfig::Agentendpoint::V1beta::PatchJobs::AptSettings)Apt update settings. Use this override the default apt patch rules.
$msg->yum()/$msg->yum($value)Type:
Message(Google::Cloud::Osconfig::Agentendpoint::V1beta::PatchJobs::YumSettings)Yum update settings. Use this override the default yum patch rules.
$msg->goo()/$msg->goo($value)Type:
Message(Google::Cloud::Osconfig::Agentendpoint::V1beta::PatchJobs::GooSettings)Goo update settings. Use this override the default goo patch rules.
$msg->zypper()/$msg->zypper($value)Type:
Message(Google::Cloud::Osconfig::Agentendpoint::V1beta::PatchJobs::ZypperSettings)Zypper update settings. Use this override the default zypper patch rules.
$msg->windows_update()/$msg->windows_update($value)Type:
Message(Google::Cloud::Osconfig::Agentendpoint::V1beta::PatchJobs::WindowsUpdateSettings)Windows update settings. Use this override the default windows patch rules.
$msg->pre_step()/$msg->pre_step($value)Type:
Message(Google::Cloud::Osconfig::Agentendpoint::V1beta::PatchJobs::ExecStep)The ExecStep to run before the patch update.
$msg->post_step()/$msg->post_step($value)Type:
Message(Google::Cloud::Osconfig::Agentendpoint::V1beta::PatchJobs::ExecStep)The ExecStep to run after the patch update.
$msg->mig_instances_allowed()/$msg->mig_instances_allowed($value)Type:
BoolAllows the patch job to run on Managed instance groups (MIGs).
Enum: PatchConfig::RebootConfig
REBOOT_CONFIG_UNSPECIFIED=>0DEFAULT=>1ALWAYS=>2NEVER=>3
Google::Cloud::Osconfig::Agentendpoint::V1beta::PatchJobs::AptSettings
Apt patching will be performed by executing `apt-get update && apt-get upgrade`. Additional options can be set to control how this is executed.
Inherits from Protobuf::Message.
Accessors
$msg->type()/$msg->type($value)Type:
Enum(Google::Cloud::Osconfig::Agentendpoint::V1beta::AptSettings::Type)By changing the type to DIST, the patching will be performed using `apt-get dist-upgrade` instead.
$msg->excludes()/$msg->excludes($value)Type:
StringList of packages to exclude from update.
$msg->exclusive_packages()/$msg->exclusive_packages($value)Type:
StringAn exclusive list of packages to be updated. These are the only packages that will be updated. If these packages are not installed, they will be ignored. This field cannot be specified with any other patch configuration fields.
Enum: AptSettings::Type
TYPE_UNSPECIFIED=>0DIST=>1UPGRADE=>2
Google::Cloud::Osconfig::Agentendpoint::V1beta::PatchJobs::YumSettings
Yum patching will be performed by executing `yum update`. Additional options can be set to control how this is executed.
Note that not all settings are supported on all platforms.
Inherits from Protobuf::Message.
Accessors
$msg->security()/$msg->security($value)Type:
BoolAdds the `--security` flag to `yum update`. Not supported on all platforms.
$msg->minimal()/$msg->minimal($value)Type:
BoolWill cause patch to run `yum update-minimal` instead.
$msg->excludes()/$msg->excludes($value)Type:
StringList of packages to exclude from update. These packages will be excluded by using the yum `--exclude` flag.
$msg->exclusive_packages()/$msg->exclusive_packages($value)Type:
StringAn exclusive list of packages to be updated. These are the only packages that will be updated. If these packages are not installed, they will be ignored. This field must not be specified with any other patch configuration fields.
Google::Cloud::Osconfig::Agentendpoint::V1beta::PatchJobs::GooSettings
Googet patching is performed by running `googet update`.
Inherits from Protobuf::Message.
Google::Cloud::Osconfig::Agentendpoint::V1beta::PatchJobs::ZypperSettings
Zypper patching is performed by running `zypper patch`. See also https://en.opensuse.org/SDB:Zypper_manual.
Inherits from Protobuf::Message.
Accessors
$msg->with_optional()/$msg->with_optional($value)Type:
BoolAdds the `--with-optional` flag to `zypper patch`.
$msg->with_update()/$msg->with_update($value)Type:
BoolAdds the `--with-update` flag, to `zypper patch`.
$msg->categories()/$msg->categories($value)Type:
StringInstall only patches with these categories. Common categories include security, recommended, and feature.
$msg->severities()/$msg->severities($value)Type:
StringInstall only patches with these severities. Common severities include critical, important, moderate, and low.
$msg->excludes()/$msg->excludes($value)Type:
StringList of patches to exclude from update.
$msg->exclusive_patches()/$msg->exclusive_patches($value)Type:
StringAn exclusive list of patches to be updated. These are the only patches that will be installed using 'zypper patch patch:<patch_name>' command. This field must not be used with any other patch configuration fields.
Google::Cloud::Osconfig::Agentendpoint::V1beta::PatchJobs::WindowsUpdateSettings
Windows patching is performed using the Windows Update Agent.
Inherits from Protobuf::Message.
Accessors
$msg->classifications()/$msg->classifications($value)Type:
Enum(Google::Cloud::Osconfig::Agentendpoint::V1beta::WindowsUpdateSettings::Classification)Only apply updates of these windows update classifications. If empty, all updates will be applied.
$msg->excludes()/$msg->excludes($value)Type:
StringList of KBs to exclude from update.
$msg->exclusive_patches()/$msg->exclusive_patches($value)Type:
StringAn exclusive list of kbs to be updated. These are the only patches that will be updated. This field must not be used with other patch configurations.
Enum: WindowsUpdateSettings::Classification
CLASSIFICATION_UNSPECIFIED=>0CRITICAL=>1SECURITY=>2DEFINITION=>3DRIVER=>4FEATURE_PACK=>5SERVICE_PACK=>6TOOL=>7UPDATE_ROLLUP=>8UPDATE=>9
Google::Cloud::Osconfig::Agentendpoint::V1beta::PatchJobs::RetryStrategy
The strategy for retrying failed patches during the patch window.
Inherits from Protobuf::Message.
Accessors
$msg->enabled()/$msg->enabled($value)Type:
BoolIf true, the agent will continue to try and patch until the window has ended.
Google::Cloud::Osconfig::Agentendpoint::V1beta::PatchJobs::ExecStep
A step that runs an executable for a PatchJob.
Inherits from Protobuf::Message.
Accessors
$msg->linux_exec_step_config()/$msg->linux_exec_step_config($value)Type:
Message(Google::Cloud::Osconfig::Agentendpoint::V1beta::PatchJobs::ExecStepConfig)The ExecStepConfig for all Linux VMs targeted by the PatchJob.
$msg->windows_exec_step_config()/$msg->windows_exec_step_config($value)Type:
Message(Google::Cloud::Osconfig::Agentendpoint::V1beta::PatchJobs::ExecStepConfig)The ExecStepConfig for all Windows VMs targeted by the PatchJob.
Google::Cloud::Osconfig::Agentendpoint::V1beta::PatchJobs::ExecStepConfig
Common configurations for an ExecStep.
Inherits from Protobuf::Message.
Accessors
$msg->local_path()/$msg->local_path($value)Type:
StringAn absolute path to the executable on the VM.
$msg->gcs_object()/$msg->gcs_object($value)Type:
Message(Google::Cloud::Osconfig::Agentendpoint::V1beta::PatchJobs::GcsObject)A GCS object containing the executable.
$msg->allowed_success_codes()/$msg->allowed_success_codes($value)Type:
Int32Defaults to [0]. A list of possible return values that the execution can return to indicate a success.
$msg->interpreter()/$msg->interpreter($value)Type:
Enum(Google::Cloud::Osconfig::Agentendpoint::V1beta::ExecStepConfig::Interpreter)The script interpreter to use to run the script. If no interpreter is specified the script will be executed directly, which will likely only succeed for scripts with shebang lines. [Wikipedia shebang](https://en.wikipedia.org/wiki/Shebang_(Unix)).
Enum: ExecStepConfig::Interpreter
INTERPRETER_UNSPECIFIED=>0NONE=>3SHELL=>1POWERSHELL=>2
Google::Cloud::Osconfig::Agentendpoint::V1beta::PatchJobs::GcsObject
GCS object representation.
Inherits from Protobuf::Message.
Accessors
$msg->bucket()/$msg->bucket($value)Type:
StringBucket of the GCS object.
$msg->object()/$msg->object($value)Type:
StringName of the GCS object.
$msg->generation_number()/$msg->generation_number($value)Type:
Int64Generation number of the GCS object. This is used to ensure that the ExecStep specified by this PatchJob does not change.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Osconfig::Agentendpoint::V1beta::PatchJobs::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.