Google Cloud OS Config v1 API - Class OSPolicy.Types.Resource.Types.RepositoryResource.Types.ZypperRepository (2.1.0)

public sealed class ZypperRepository : IMessage<OSPolicy.Types.Resource.Types.RepositoryResource.Types.ZypperRepository>, IEquatable<OSPolicy.Types.Resource.Types.RepositoryResource.Types.ZypperRepository>, IDeepCloneable<OSPolicy.Types.Resource.Types.RepositoryResource.Types.ZypperRepository>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud OS Config v1 API class OSPolicy.Types.Resource.Types.RepositoryResource.Types.ZypperRepository.

Represents a single zypper package repository. These are added to a repo file that is managed at /etc/zypp/repos.d/google_osconfig.repo.

Inheritance

Object > OSPolicy.Types.Resource.Types.RepositoryResource.Types.ZypperRepository

Namespace

Google.Cloud.OsConfig.V1

Assembly

Google.Cloud.OsConfig.V1.dll

Constructors

ZypperRepository()

public ZypperRepository()

ZypperRepository(OSPolicy.Types.Resource.Types.RepositoryResource.Types.ZypperRepository)

public ZypperRepository(OSPolicy.Types.Resource.Types.RepositoryResource.Types.ZypperRepository other)
Parameter
NameDescription
otherOSPolicy.Types.Resource.Types.RepositoryResource.Types.ZypperRepository

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
RepeatedField<String>

Id

public string Id { get; set; }

Required. A one word, unique name for this repository. This is the repo id in the zypper config file and also the display_name if display_name is omitted. This id is also used as the unique identifier when checking for GuestPolicy conflicts.

Property Value
TypeDescription
String