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

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

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

A resource that manages a system package.

Inheritance

object > OSPolicy.Types.Resource.Types.PackageResource

Namespace

Google.Cloud.OsConfig.V1

Assembly

Google.Cloud.OsConfig.V1.dll

Constructors

PackageResource()

public PackageResource()

PackageResource(PackageResource)

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

Properties

Apt

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

A package managed by Apt.

Property Value
TypeDescription
OSPolicyTypesResourceTypesPackageResourceTypesAPT

Deb

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

A deb package file.

Property Value
TypeDescription
OSPolicyTypesResourceTypesPackageResourceTypesDeb

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
OSPolicyTypesResourceTypesPackageResourceTypesDesiredState

Googet

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

A package managed by GooGet.

Property Value
TypeDescription
OSPolicyTypesResourceTypesPackageResourceTypesGooGet

Msi

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

An MSI package.

Property Value
TypeDescription
OSPolicyTypesResourceTypesPackageResourceTypesMSI

Rpm

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

An rpm package file.

Property Value
TypeDescription
OSPolicyTypesResourceTypesPackageResourceTypesRPM

SystemPackageCase

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

Yum

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

A package managed by YUM.

Property Value
TypeDescription
OSPolicyTypesResourceTypesPackageResourceTypesYUM

Zypper

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

A package managed by Zypper.

Property Value
TypeDescription
OSPolicyTypesResourceTypesPackageResourceTypesZypper