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

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

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

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.V1Alpha

Assembly

Google.Cloud.OsConfig.V1Alpha.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