public RepeatedField<string> ExclusivePackages { get; }
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-12 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eYumSettings\u003c/code\u003e class is 2.4.0, part of the Google Cloud OS Config v1 API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eYumSettings\u003c/code\u003e is used to configure how Yum patching (\u003ccode\u003eyum update\u003c/code\u003e) is executed, allowing for options such as excluding or exclusively updating specific packages.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, facilitating various operations and comparisons.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eYumSettings\u003c/code\u003e include \u003ccode\u003eExcludes\u003c/code\u003e, \u003ccode\u003eExclusivePackages\u003c/code\u003e, \u003ccode\u003eMinimal\u003c/code\u003e, and \u003ccode\u003eSecurity\u003c/code\u003e, which provide control over package updates and the execution of the \u003ccode\u003eyum update\u003c/code\u003e command.\u003c/p\u003e\n"],["\u003cp\u003eThere are currently 11 versions of this class, from version 1.3.0 up to the current latest version of 2.4.0.\u003c/p\u003e\n"]]],[],null,["# Google Cloud OS Config v1 API - Class YumSettings (2.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.5.0 (latest)](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.YumSettings)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/2.4.0/Google.Cloud.OsConfig.V1.YumSettings)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/2.3.0/Google.Cloud.OsConfig.V1.YumSettings)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/2.2.0/Google.Cloud.OsConfig.V1.YumSettings)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/2.1.0/Google.Cloud.OsConfig.V1.YumSettings)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/2.0.0/Google.Cloud.OsConfig.V1.YumSettings)\n- [1.8.0](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/1.8.0/Google.Cloud.OsConfig.V1.YumSettings)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/1.7.0/Google.Cloud.OsConfig.V1.YumSettings)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/1.6.0/Google.Cloud.OsConfig.V1.YumSettings)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/1.5.0/Google.Cloud.OsConfig.V1.YumSettings)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/1.4.0/Google.Cloud.OsConfig.V1.YumSettings)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/1.3.0/Google.Cloud.OsConfig.V1.YumSettings) \n\n public sealed class YumSettings : IMessage\u003cYumSettings\u003e, IEquatable\u003cYumSettings\u003e, IDeepCloneable\u003cYumSettings\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud OS Config v1 API class YumSettings.\n\nYum patching is performed by executing `yum update`. Additional options\ncan be set to control how this is executed.\n\nNote that not all settings are supported on all platforms. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e YumSettings \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[YumSettings](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.YumSettings), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[YumSettings](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.YumSettings), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[YumSettings](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.YumSettings), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.OsConfig.V1](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.OsConfig.V1.dll\n\nConstructors\n------------\n\n### YumSettings()\n\n public YumSettings()\n\n### YumSettings(YumSettings)\n\n public YumSettings(YumSettings other)\n\nProperties\n----------\n\n### Excludes\n\n public RepeatedField\u003cstring\u003e Excludes { get; }\n\nList of packages to exclude from update. These packages are excluded by\nusing the yum `--exclude` flag.\n\n### ExclusivePackages\n\n public RepeatedField\u003cstring\u003e ExclusivePackages { get; }\n\nAn exclusive list of packages to be updated. These are the only packages\nthat will be updated. If these packages are not installed, they will be\nignored. This field must not be specified with any other patch\nconfiguration fields.\n\n### Minimal\n\n public bool Minimal { get; set; }\n\nWill cause patch to run `yum update-minimal` instead.\n\n### Security\n\n public bool Security { get; set; }\n\nAdds the `--security` flag to `yum update`. Not supported on\nall platforms."]]