Class OSPolicy.Types.Resource.Types.PackageResource.Types.Deb (1.7.0)

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

A deb package file. dpkg packages only support INSTALLED state.

Inheritance

Object > OSPolicy.Types.Resource.Types.PackageResource.Types.Deb

Namespace

Google.Cloud.OsConfig.V1

Assembly

Google.Cloud.OsConfig.V1.dll

Constructors

Deb()

public Deb()

Deb(OSPolicy.Types.Resource.Types.PackageResource.Types.Deb)

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

Properties

PullDeps

public bool PullDeps { get; set; }

Whether dependencies should also be installed.

  • install when false: dpkg -i package
  • install when true: apt-get update &amp;&amp; apt-get -y install package.deb
Property Value
TypeDescription
Boolean

Source

public OSPolicy.Types.Resource.Types.File Source { get; set; }

Required. A deb package.

Property Value
TypeDescription
OSPolicy.Types.Resource.Types.File