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 v1 API class OSPolicy.Types.Resource.Types.PackageResource.
A resource that manages a system package.
Implements
IMessage<OSPolicy.Types.Resource.Types.PackageResource>, IEquatable<OSPolicy.Types.Resource.Types.PackageResource>, IDeepCloneable<OSPolicy.Types.Resource.Types.PackageResource>, IBufferMessage, IMessageNamespace
Google.Cloud.OsConfig.V1Assembly
Google.Cloud.OsConfig.V1.dll
Constructors
PackageResource()
public PackageResource()
PackageResource(OSPolicy.Types.Resource.Types.PackageResource)
public PackageResource(OSPolicy.Types.Resource.Types.PackageResource other)
Parameter | |
---|---|
Name | Description |
other | OSPolicy.Types.Resource.Types.PackageResource |
Properties
Apt
public OSPolicy.Types.Resource.Types.PackageResource.Types.APT Apt { get; set; }
A package managed by Apt.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
OSPolicy.Types.Resource.Types.PackageResource.Types.GooGet |
Msi
public OSPolicy.Types.Resource.Types.PackageResource.Types.MSI Msi { get; set; }
An MSI package.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
OSPolicy.Types.Resource.Types.PackageResource.Types.RPM |
SystemPackageCase
public OSPolicy.Types.Resource.Types.PackageResource.SystemPackageOneofCase SystemPackageCase { get; }
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
OSPolicy.Types.Resource.Types.PackageResource.Types.Zypper |