public sealed class OSPolicy.Types.Resource.Types.RepositoryResource.Types.YumRepository : IMessage<OSPolicy.Types.Resource.Types.RepositoryResource.Types.YumRepository>, IEquatable<OSPolicy.Types.Resource.Types.RepositoryResource.Types.YumRepository>, IDeepCloneable<OSPolicy.Types.Resource.Types.RepositoryResource.Types.YumRepository>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud OS Config v1alpha API class OSPolicy.Types.Resource.Types.RepositoryResource.Types.YumRepository.
Represents a single yum package repository. These are added to a
repo file that is managed at
/etc/yum.repos.d/google_osconfig.repo.
Required. A one word, unique name for this repository. This is the repo
id in the yum config file and also the display_name if
display_name is omitted. This id is also used as the unique
identifier when checking for resource conflicts.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis documentation is for the \u003ccode\u003eYumRepository\u003c/code\u003e class within the Google Cloud OS Config v1alpha API, specifically for managing yum package repositories.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eYumRepository\u003c/code\u003e class is part of the \u003ccode\u003eOSPolicy.Types.Resource.Types.RepositoryResource.Types\u003c/code\u003e namespace, and it represents a single yum package repository managed at \u003ccode\u003e/etc/yum.repos.d/google_osconfig.repo\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eYumRepository\u003c/code\u003e class has properties such as \u003ccode\u003eBaseUrl\u003c/code\u003e (required location of the repository directory), \u003ccode\u003eDisplayName\u003c/code\u003e (the display name of the repository), \u003ccode\u003eGpgKeys\u003c/code\u003e (URIs of GPG keys), and \u003ccode\u003eId\u003c/code\u003e (a unique name for the repository, also used for conflict checking).\u003c/p\u003e\n"],["\u003cp\u003eThere are three versions listed for the \u003ccode\u003eYumRepository\u003c/code\u003e class, with \u003ccode\u003e2.0.0-alpha06\u003c/code\u003e being the latest, followed by \u003ccode\u003e2.0.0-alpha05\u003c/code\u003e and then \u003ccode\u003e1.0.0-alpha04\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements IMessage, IEquatable, IDeepCloneable and IBufferMessage and inherits from object, and has two constructors, one empty, and one taking a \u003ccode\u003eYumRepository\u003c/code\u003e as a parameter.\u003c/p\u003e\n"]]],[],null,[]]