Google Cloud OS Config v1 API - Class OSPolicy.Types.Resource.Types.RepositoryResource.Types.YumRepository (2.3.0)

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 v1 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.V1

Assembly

Google.Cloud.OsConfig.V1.dll

Constructors

YumRepository()

public YumRepository()

YumRepository(YumRepository)

public YumRepository(OSPolicy.Types.Resource.Types.RepositoryResource.Types.YumRepository other)
Parameter
Name Description
other OSPolicyTypesResourceTypesRepositoryResourceTypesYumRepository

Properties

BaseUrl

public string BaseUrl { get; set; }

Required. The location of the repository directory.

Property Value
Type Description
string

DisplayName

public string DisplayName { get; set; }

The display name of the repository.

Property Value
Type Description
string

GpgKeys

public RepeatedField<string> GpgKeys { get; }

URIs of GPG keys.

Property Value
Type Description
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
Type Description
string