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.
Implements
IMessageOSPolicyTypesResourceTypesPackageResource, IEquatableOSPolicyTypesResourceTypesPackageResource, IDeepCloneableOSPolicyTypesResourceTypesPackageResource, IBufferMessage, IMessageNamespace
Google.Cloud.OsConfig.V1Assembly
Google.Cloud.OsConfig.V1.dll
Constructors
PackageResource()
public PackageResource()
PackageResource(PackageResource)
public PackageResource(OSPolicy.Types.Resource.Types.PackageResource other)
Parameter | |
---|---|
Name | Description |
other | OSPolicyTypesResourceTypesPackageResource |
Properties
Apt
public OSPolicy.Types.Resource.Types.PackageResource.Types.APT Apt { get; set; }
A package managed by Apt.
Property Value | |
---|---|
Type | Description |
OSPolicyTypesResourceTypesPackageResourceTypesAPT |
Deb
public OSPolicy.Types.Resource.Types.PackageResource.Types.Deb Deb { get; set; }
A deb package file.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
OSPolicyTypesResourceTypesPackageResourceTypesDesiredState |
Googet
public OSPolicy.Types.Resource.Types.PackageResource.Types.GooGet Googet { get; set; }
A package managed by GooGet.
Property Value | |
---|---|
Type | Description |
OSPolicyTypesResourceTypesPackageResourceTypesGooGet |
Msi
public OSPolicy.Types.Resource.Types.PackageResource.Types.MSI Msi { get; set; }
An MSI package.
Property Value | |
---|---|
Type | Description |
OSPolicyTypesResourceTypesPackageResourceTypesMSI |
Rpm
public OSPolicy.Types.Resource.Types.PackageResource.Types.RPM Rpm { get; set; }
An rpm package file.
Property Value | |
---|---|
Type | Description |
OSPolicyTypesResourceTypesPackageResourceTypesRPM |
SystemPackageCase
public OSPolicy.Types.Resource.Types.PackageResource.SystemPackageOneofCase SystemPackageCase { get; }
Property Value | |
---|---|
Type | Description |
OSPolicyTypesResourceTypesPackageResourceSystemPackageOneofCase |
Yum
public OSPolicy.Types.Resource.Types.PackageResource.Types.YUM Yum { get; set; }
A package managed by YUM.
Property Value | |
---|---|
Type | Description |
OSPolicyTypesResourceTypesPackageResourceTypesYUM |
Zypper
public OSPolicy.Types.Resource.Types.PackageResource.Types.Zypper Zypper { get; set; }
A package managed by Zypper.
Property Value | |
---|---|
Type | Description |
OSPolicyTypesResourceTypesPackageResourceTypesZypper |