Reference documentation and code samples for the Google Cloud OsConfig V1 Client class YumSettings.
Yum patching is 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.
Generated from protobuf message google.cloud.osconfig.v1.YumSettings
Namespace
Google \ Cloud \ OsConfig \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ security
bool
Adds the --security
flag to yum update
. Not supported on all platforms.
↳ minimal
bool
Will cause patch to run yum update-minimal
instead.
↳ excludes
array
List of packages to exclude from update. These packages are excluded by using the yum --exclude
flag.
↳ exclusive_packages
array
An 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.
getSecurity
Adds the --security
flag to yum update
. Not supported on
all platforms.
bool
setSecurity
Adds the --security
flag to yum update
. Not supported on
all platforms.
var
bool
$this
getMinimal
Will cause patch to run yum update-minimal
instead.
bool
setMinimal
Will cause patch to run yum update-minimal
instead.
var
bool
$this
getExcludes
List of packages to exclude from update. These packages are excluded by
using the yum --exclude
flag.
setExcludes
List of packages to exclude from update. These packages are excluded by
using the yum --exclude
flag.
var
string[]
$this
getExclusivePackages
An 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.
setExclusivePackages
An 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.
var
string[]
$this