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

Stay organized with collections Save and categorize content based on your preferences.
public sealed class 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 v1alpha 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.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