public sealed class OSPolicy.Types.Resource.Types.RepositoryResource.Types.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
.
Implements
IMessageOSPolicyTypesResourceTypesRepositoryResourceTypesZypperRepository, IEquatableOSPolicyTypesResourceTypesRepositoryResourceTypesZypperRepository, IDeepCloneableOSPolicyTypesResourceTypesRepositoryResourceTypesZypperRepository, IBufferMessage, IMessageNamespace
Google.Cloud.OsConfig.V1Assembly
Google.Cloud.OsConfig.V1.dll
Constructors
ZypperRepository()
public ZypperRepository()
ZypperRepository(ZypperRepository)
public ZypperRepository(OSPolicy.Types.Resource.Types.RepositoryResource.Types.ZypperRepository other)
Parameter | |
---|---|
Name | Description |
other | OSPolicyTypesResourceTypesRepositoryResourceTypesZypperRepository |
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 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 | |
---|---|
Type | Description |
string |