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

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 v1alpha API class OSPolicy.Types.Resource.Types.PackageResource.Types.RPM.

An RPM package file. RPM packages only support INSTALLED state.

Inheritance

object > OSPolicy.Types.Resource.Types.PackageResource.Types.RPM

Namespace

Google.Cloud.OsConfig.V1Alpha

Assembly

Google.Cloud.OsConfig.V1Alpha.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 or zypper -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