Class: Google::Cloud::OsConfig::V1::YumSettings

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/osconfig/v1/patch_jobs.rb

Overview

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.

Instance Attribute Summary collapse

Instance Attribute Details

#excludes::Array<::String>

Returns List of packages to exclude from update. These packages are excluded by using the yum --exclude flag.

Returns:

  • (::Array<::String>)

    List of packages to exclude from update. These packages are excluded by using the yum --exclude flag.



487
488
489
490
# File 'proto_docs/google/cloud/osconfig/v1/patch_jobs.rb', line 487

class YumSettings
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#exclusive_packages::Array<::String>

Returns 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.

Returns:

  • (::Array<::String>)

    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.



487
488
489
490
# File 'proto_docs/google/cloud/osconfig/v1/patch_jobs.rb', line 487

class YumSettings
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#minimal::Boolean

Returns Will cause patch to run yum update-minimal instead.

Returns:

  • (::Boolean)

    Will cause patch to run yum update-minimal instead.



487
488
489
490
# File 'proto_docs/google/cloud/osconfig/v1/patch_jobs.rb', line 487

class YumSettings
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#security::Boolean

Returns Adds the --security flag to yum update. Not supported on all platforms.

Returns:

  • (::Boolean)

    Adds the --security flag to yum update. Not supported on all platforms.



487
488
489
490
# File 'proto_docs/google/cloud/osconfig/v1/patch_jobs.rb', line 487

class YumSettings
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end