Google Cloud OS Config v1alpha API - Class OSPolicy.Types.Resource.Types.RepositoryResource.Types.YumRepository (2.0.0-alpha03)

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.

Inheritance

object > OSPolicy.Types.Resource.Types.RepositoryResource.Types.YumRepository

Namespace

Google.Cloud.OsConfig.V1Alpha

Assembly

Google.Cloud.OsConfig.V1Alpha.dll

Constructors

YumRepository()

public YumRepository()

YumRepository(YumRepository)

public YumRepository(OSPolicy.Types.Resource.Types.RepositoryResource.Types.YumRepository other)
Parameter
NameDescription
otherOSPolicyTypesResourceTypesRepositoryResourceTypesYumRepository

Properties

BaseUrl

public string BaseUrl { get; set; }

Required. The location of the repository directory.

Property Value
TypeDescription
string

DisplayName

public string DisplayName { get; set; }

The display name of the repository.

Property Value
TypeDescription
string

GpgKeys

public RepeatedField<string> GpgKeys { get; }

URIs of GPG keys.

Property Value
TypeDescription
RepeatedFieldstring

Id

public string Id { get; set; }

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.

Property Value
TypeDescription
string