Class OSPolicy.Types.Resource.Types.RepositoryResource.Types.AptRepository (1.7.0)

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

Represents a single apt package repository. These will be added to a repo file that will be managed at /etc/apt/sources.list.d/google_osconfig.list.

Inheritance

Object > OSPolicy.Types.Resource.Types.RepositoryResource.Types.AptRepository

Namespace

Google.Cloud.OsConfig.V1

Assembly

Google.Cloud.OsConfig.V1.dll

Constructors

AptRepository()

public AptRepository()

AptRepository(OSPolicy.Types.Resource.Types.RepositoryResource.Types.AptRepository)

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

Properties

ArchiveType

public OSPolicy.Types.Resource.Types.RepositoryResource.Types.AptRepository.Types.ArchiveType ArchiveType { get; set; }

Required. Type of archive files in this repository.

Property Value
TypeDescription
OSPolicy.Types.Resource.Types.RepositoryResource.Types.AptRepository.Types.ArchiveType

Components

public RepeatedField<string> Components { get; }

Required. List of components for this repository. Must contain at least one item.

Property Value
TypeDescription
RepeatedField<String>

Distribution

public string Distribution { get; set; }

Required. Distribution of this repository.

Property Value
TypeDescription
String

GpgKey

public string GpgKey { get; set; }

URI of the key file for this repository. The agent maintains a keyring at /etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg.

Property Value
TypeDescription
String

Uri

public string Uri { get; set; }

Required. URI for this repository.

Property Value
TypeDescription
String