Google Cloud OS Config v1 API - Class OSPolicy.Types.Resource.Types.PackageResource.Types.APT (2.1.0)

public sealed class APT : IMessage<OSPolicy.Types.Resource.Types.PackageResource.Types.APT>, IEquatable<OSPolicy.Types.Resource.Types.PackageResource.Types.APT>, IDeepCloneable<OSPolicy.Types.Resource.Types.PackageResource.Types.APT>, IBufferMessage, IMessage

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

A package managed by APT.

  • install: apt-get update && apt-get -y install [name]
  • remove: apt-get -y remove [name]

Inheritance

Object > OSPolicy.Types.Resource.Types.PackageResource.Types.APT

Namespace

Google.Cloud.OsConfig.V1

Assembly

Google.Cloud.OsConfig.V1.dll

Constructors

APT()

public APT()

APT(OSPolicy.Types.Resource.Types.PackageResource.Types.APT)

public APT(OSPolicy.Types.Resource.Types.PackageResource.Types.APT other)
Parameter
NameDescription
otherOSPolicy.Types.Resource.Types.PackageResource.Types.APT

Properties

Name

public string Name { get; set; }

Required. Package name.

Property Value
TypeDescription
String