Class OSPolicy.Types.Resource.Types.PackageResource (1.0.0-alpha04)

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

A resource that manages a system package.

Inheritance

Object > OSPolicy.Types.Resource.Types.PackageResource

Namespace

Google.Cloud.OsConfig.V1Alpha

Assembly

Google.Cloud.OsConfig.V1Alpha.dll

Constructors

PackageResource()

public PackageResource()

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

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

Properties

Apt

public OSPolicy.Types.Resource.Types.PackageResource.Types.APT Apt { get; set; }

A package managed by Apt.

Property Value
TypeDescription
OSPolicy.Types.Resource.Types.PackageResource.Types.APT

Deb

public OSPolicy.Types.Resource.Types.PackageResource.Types.Deb Deb { get; set; }

A deb package file.

Property Value
TypeDescription
OSPolicy.Types.Resource.Types.PackageResource.Types.Deb

DesiredState

public OSPolicy.Types.Resource.Types.PackageResource.Types.DesiredState DesiredState { get; set; }

Required. The desired state the agent should maintain for this package.

Property Value
TypeDescription
OSPolicy.Types.Resource.Types.PackageResource.Types.DesiredState

Googet

public OSPolicy.Types.Resource.Types.PackageResource.Types.GooGet Googet { get; set; }

A package managed by GooGet.

Property Value
TypeDescription
OSPolicy.Types.Resource.Types.PackageResource.Types.GooGet

Msi

public OSPolicy.Types.Resource.Types.PackageResource.Types.MSI Msi { get; set; }

An MSI package.

Property Value
TypeDescription
OSPolicy.Types.Resource.Types.PackageResource.Types.MSI

Rpm

public OSPolicy.Types.Resource.Types.PackageResource.Types.RPM Rpm { get; set; }

An rpm package file.

Property Value
TypeDescription
OSPolicy.Types.Resource.Types.PackageResource.Types.RPM

SystemPackageCase

public OSPolicy.Types.Resource.Types.PackageResource.SystemPackageOneofCase SystemPackageCase { get; }
Property Value
TypeDescription
OSPolicy.Types.Resource.Types.PackageResource.SystemPackageOneofCase

Yum

public OSPolicy.Types.Resource.Types.PackageResource.Types.YUM Yum { get; set; }

A package managed by YUM.

Property Value
TypeDescription
OSPolicy.Types.Resource.Types.PackageResource.Types.YUM

Zypper

public OSPolicy.Types.Resource.Types.PackageResource.Types.Zypper Zypper { get; set; }

A package managed by Zypper.

Property Value
TypeDescription
OSPolicy.Types.Resource.Types.PackageResource.Types.Zypper