public sealed class OSPolicy.Types.Resource.Types.PackageResource.Types.RPM : IMessage<OSPolicy.Types.Resource.Types.PackageResource.Types.RPM>, IEquatable<OSPolicy.Types.Resource.Types.PackageResource.Types.RPM>, IDeepCloneable<OSPolicy.Types.Resource.Types.PackageResource.Types.RPM>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud OS Config v1 API class OSPolicy.Types.Resource.Types.PackageResource.Types.RPM.
An RPM package file. RPM packages only support INSTALLED state.
Implements
IMessageOSPolicyTypesResourceTypesPackageResourceTypesRPM, IEquatableOSPolicyTypesResourceTypesPackageResourceTypesRPM, IDeepCloneableOSPolicyTypesResourceTypesPackageResourceTypesRPM, IBufferMessage, IMessageNamespace
Google.Cloud.OsConfig.V1Assembly
Google.Cloud.OsConfig.V1.dll
Constructors
RPM()
public RPM()
RPM(RPM)
public RPM(OSPolicy.Types.Resource.Types.PackageResource.Types.RPM other)
Parameter | |
---|---|
Name | Description |
other |
OSPolicyTypesResourceTypesPackageResourceTypesRPM |
Properties
PullDeps
public bool PullDeps { get; set; }
Whether dependencies should also be installed.
- install when false:
rpm --upgrade --replacepkgs package.rpm
- install when true:
yum -y install package.rpm
orzypper -y install package.rpm
Property Value | |
---|---|
Type | Description |
bool |
Source
public OSPolicy.Types.Resource.Types.File Source { get; set; }
Required. An rpm package.
Property Value | |
---|---|
Type | Description |
OSPolicyTypesResourceTypesFile |